1 2015-05-13 Roland McGrath <roland@hack.frob.com>
3 * dirent/scandir64-tail.c: New file.
4 * dirent/Makefile (routines): Add them.
5 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
7 [!SCANDIR] (SCANDIR_TAIL): New macro.
8 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
9 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
10 (SCANDIRAT): Macro removed.
11 (SCANDIR_TAIL): New macro.
12 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14 (SCANDIRAT): Just call __opendirat and __scandir_tail.
15 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16 (READDIR): Macro removed.
17 (SCANDIR_TAIL): New macro.
18 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19 (SCANDIR_TAIL): New macro.
21 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22 * dirent/scandir-cancel.c: ... to this new file.
23 * dirent/Makefile (routines): Add it.
24 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
25 * sysdeps/unix/sysv/linux/i386/scandir64.c
26 (SKIP_SCANDIR_CANCEL): Macro removed.
27 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
29 * dirent/tst-scandir.c: New file.
30 * dirent/tst-scandir64.c: New file.
31 * dirent/Makefile (tests): Add them.
33 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
36 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
40 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
43 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
45 * benchtests/bench-strcoll.c: New benchmark.
46 * benchtests/Makefile: Generate locales and run benchmark.
47 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
48 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
49 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
50 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
51 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
52 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
53 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
54 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
55 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
56 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
57 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
58 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
59 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
60 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
61 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
62 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
63 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
64 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
65 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
66 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
67 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
68 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
69 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
70 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
72 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
74 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
75 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
77 2015-05-12 Roland McGrath <roland@hack.frob.com>
79 * posix/uname-values.h: New file.
80 * posix/uname.c: Include that instead of <config-name.h>.
81 * sysdeps/nacl/uname-values.h: New file.
82 * sysdeps/arm/nacl/uname-values.h: New file.
84 2015-05-12 Joseph Myers <joseph@codesourcery.com>
86 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
87 splitting into fields.
89 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
91 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
92 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
93 * locale/localeinfo.h: Add enum collation_encoding_type.
94 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
95 * programs/ld-collate.c (collate_output): Add encoding type info.
96 * string/strcoll_l.c (STRDIFF): New function.
97 * (STRCOLL): Use STRDIFF to skip over equal prefix.
98 * wcsmbs/wcscoll_l.c: Define STRDIFF.
100 2015-05-11 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
104 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
105 <fpu_control.h> instead of <math/fpu_control.c>.
106 * sysdeps/mips/mips32/fpu/Makefile: New file.
108 2015-05-11 Andreas Schwab <schwab@suse.de>
111 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
113 (_nss_compat_endgrent): Call nss_endgrent.
114 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
116 (_nss_compat_endpwent): Call nss_endpwent.
117 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
118 needent, call nss_setspent only if non-zero.
119 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
120 (internal_endspent): Don't call nss_endspent.
121 (_nss_compat_endspent): Call nss_endspent.
122 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
123 Remove. All uses removed.
124 (internal_setent): Remove parameter stayopen, add parameter
125 stream. Use it instead of global variable.
126 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
127 (internal_endent, internal_getent): Add parameter stream. Use it
128 instead of global variable.
129 (CONCAT(_nss_files_end,ENTNAME))
130 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
131 (_nss_files_get##name##_r): Pass local stream. Remove locking.
132 * nss/nss_files/files-alias.c (position, last_use): Remove. All
134 (internal_setent, internal_endent): Add parameter stream. Use it
135 instead of global variable.
136 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
138 (get_next_alias): Add parameter stream.
139 (_nss_files_getaliasent_r): Pass global stream.
140 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
141 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
142 (_nss_files_gethostbyname4_r): Pass local stream to
143 internal_setent, internal_getent and internal_endent. Remove
146 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
148 * tst-strfmon1.c (tests): Update expected currency symbol.
150 2015-05-08 Roland McGrath <roland@hack.frob.com>
152 * sysdeps/nacl/gethostname.c: New file.
154 2015-05-08 Joseph Myers <joseph@codesourcery.com>
156 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
158 * math/auto-libm-test-out: Regenerated.
159 * sysdeps/i386/fpu/libm-test-ulps: Update.
160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
162 2015-05-08 Carlos O'Donell <carlos@redhat.com>
165 * stdlib/tst-setcontext3.c: New file.
166 * stdlib/tst-setcontext3.sh: New file.
167 * stdlib/Makefile (tests): Add tst-setcontext3.
168 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
169 to verify test program created output file.
170 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
171 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
172 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
173 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
175 2015-05-06 Roland McGrath <roland@hack.frob.com>
178 * elf/tst-tlsalign.c: New file.
179 * elf/tst-tlsalign-static.c: New file.
180 * elf/tst-tlsalign-lib.c: New file.
181 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
182 (tests-static): Add tst-tlsalign-static.
183 (modules-names): Add tst-tlsalign-lib.
184 (test-xfail-tst-tlsalign): New variable.
185 (test-xfail-tst-tlsalign-static): New variable.
187 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
188 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
190 2015-05-06 Joseph Myers <joseph@codesourcery.com>
192 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
193 csqrt, erfc, sin and sincos.
194 * math/auto-libm-test-out: Regenerated.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
198 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
200 * sysdeps/aarch64/libm-test-ulps: Update.
202 2015-05-05 Joseph Myers <joseph@codesourcery.com>
204 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
205 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
206 * math/auto-libm-test-out: Regenerated.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
210 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
213 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
216 2015-05-05 Florian Weimer <fweimer@redhat.com>
218 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
219 Assume __ASSUME_FALLOCATE is always true.
220 * sysdeps/unix/sysv/linux/posix_fallocate64.c
221 (__posix_fallocate64_l64): Likweise.
222 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
223 (posix_fallocate): Likewise.
224 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
225 (__posix_fallocate64_l64): Likewise.
226 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
227 [!__ASSUME_FALLOCATE]: Add comment.
229 2015-05-05 Florian Weimer <fweimer@redhat.com>
231 * sysdeps/unix/sysv/linux/i386/Makefile
232 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
233 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
234 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
237 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
238 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
240 2015-05-02 Joseph Myers <joseph@codesourcery.com>
242 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
243 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
245 * math/auto-libm-test-out: Regenerated.
246 * sysdeps/i386/fpu/libm-test-ulps: Update.
247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249 2015-05-01 Joseph Myers <joseph@codesourcery.com>
251 * math/auto-libm-test-in: Add more tests of tgamma.
252 * math/auto-libm-test-out: Regenerated.
253 * sysdeps/i386/fpu/libm-test-ulps: Update.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256 * math/auto-libm-test-in: Add more tests of tanh.
257 * math/auto-libm-test-out: Regenerated.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
261 * math/auto-libm-test-in: Add more tests of tan.
262 * math/auto-libm-test-out: Regenerated.
263 * sysdeps/i386/fpu/libm-test-ulps: Update.
264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
266 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
267 * math/auto-libm-test-out: Regenerated.
268 * sysdeps/i386/fpu/libm-test-ulps: Update.
269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
271 * math/auto-libm-test-in: Add another test of pow.
272 * math/auto-libm-test-out: Regenerated.
273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
275 * math/auto-libm-test-in: Add more tests of lgamma.
276 * math/auto-libm-test-out: Regenerated.
277 * sysdeps/i386/fpu/libm-test-ulps: Update.
278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
280 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
282 * math/auto-libm-test-out: Regenerated.
283 * sysdeps/i386/fpu/libm-test-ulps: Update.
284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
286 2015-05-01 Mark Wielaard <mjw@redhat.com>
288 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
289 Elf64_Chdr structs and ELFCOMPRESS constants.
291 2015-05-01 Joseph Myers <joseph@codesourcery.com>
293 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
295 * math/auto-libm-test-out: Regenerated.
296 * sysdeps/i386/fpu/libm-test-ulps: Update.
297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
299 * math/auto-libm-test-in: Add more tests of erf and erfc.
300 * math/auto-libm-test-out: Regenerated.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
304 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
306 * config.h.in (HAVE_AARCH64_BE): Add.
308 2015-04-30 Joseph Myers <joseph@codesourcery.com>
310 * math/auto-libm-test-in: Add more tests of csqrt.
311 * math/auto-libm-test-out: Regenerated.
312 * sysdeps/i386/fpu/libm-test-ulps: Update.
313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315 * math/auto-libm-test-in: Add more tests of cosh and sinh.
316 * math/auto-libm-test-out: Regenerated.
317 * sysdeps/i386/fpu/libm-test-ulps: Update.
318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
322 2015-04-29 Roland McGrath <roland@hack.frob.com>
324 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
325 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
327 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
328 (euidaccess, eaccess): Define as weak aliases.
330 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
331 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
332 but __suseconds_t is often 'long int' so some sources assume that
333 type is being used (e.g. they use %ld to print tv_usec).
335 2015-04-29 Florian Weimer <fweimer@redhat.com>
338 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
340 * nss/tst-nss-getpwent.c: New file.
341 * nss/Makefile (tests): Add new test.
343 2015-04-28 Joseph Myers <joseph@codesourcery.com>
346 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
347 exponents less than 48 as cases where high part of mantissa needs
348 examining to determine whether argument is integral.
349 * math/libm-test.inc (round_test_data): Add more tests.
351 2015-04-28 Mark Wielaard <mjw@redhat.com>
353 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
355 2015-04-27 David S. Miller <davem@davemloft.net>
357 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
359 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
361 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
364 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
366 2015-04-27 Florian Weimer <fweimer@redhat.com>
369 * time/tzset.c (parse_tzname): Return error on memory allocation
371 * test-skeleton.c (struct temp_name_list): Change type of name
373 (add_temp_file): Create a copy of the file name.
374 (delete_temp_files): Deallocate memory.
375 (create_temp_file): Add comment.
377 2015-04-24 Florian Weimer <fweimer@redhat.com>
379 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
380 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
382 2015-04-24 Roland McGrath <roland@hack.frob.com>
384 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
385 * sysdeps/arm/configure: Regenerated.
387 2015-04-24 Florian Weimer <fweimer@redhat.com>
390 * time/tzfile.c (__tzfile_read): Check for large values of
391 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
392 * time/tzset.c (__tzstring_len): New function, based on the old
394 (__tzstring): Call __tzstring_len.
395 (parse_tzname): New helper function extracted from
396 __tzset_parse_tz. Call __tzstring_len, without making a copy of
398 (parse_offset): New helper function extracted from
399 __tzset_parse_tz. Replace switch with fallthrough with
400 initialization before sscanf.
401 (parse_rule): Likewise.
402 (__tzset_parse_tz): Rewrite using the new helper functions. Use
403 new-style function definition.
404 * timezone/Makefile (tests): Add tst-tzset.
405 (tst-tzset.out): Dependencies on time zone files.
406 (tst-tzset-ENV): Set TZDIR.
407 (testdata/XT%): Copy crafted time zone files.
408 * timezone/README: Mention crafted time zone files.
409 * timezone/testdata/XT1, timezone/testdata/XT2,
410 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
412 * timezone/tst-tzset.c: New test.
414 2015-04-24 Florian Weimer <fweimer@redhat.com>
416 * Makeconfig (+gccwarn): Remove -Winline.
418 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
420 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
422 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
424 * NEWS: Mention sysconf() cache information support for s390.
425 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
427 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
429 * math/k_casinh.c (__kernel_casinh): Use __copysign.
430 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
431 (__nearbyint): Likewise.
432 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
433 (copysignl): Likewise.
435 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
438 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
439 based on padding. (CVE-2015-1781)
441 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
443 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
445 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
446 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
447 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
448 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
449 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
450 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
452 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
453 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
454 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
455 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
456 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
457 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
458 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
459 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
460 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
461 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
463 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
464 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
465 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
466 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
467 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
469 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
471 * stdlib/setenv.c (__add_to_environ):
472 Dump core quickly if setenv (..., NULL, ...) is called.
473 This time, do it the right way, and pacify GCC with a pragma.
475 2015-04-17 Roland McGrath <roland@hack.frob.com>
477 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
478 IMAP->l_prev cannot be null, and #if out the code for the contrary
479 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
480 believe that NS (&_dl_ns[NSID]) could point outside the array.
482 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
483 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
484 before using NSID as an index.
486 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
489 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
490 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
491 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
493 2015-04-17 Roland McGrath <roland@hack.frob.com>
495 Add preliminary port to Google Native Client on ARM.
496 * abi-tags (.*-.*-nacl.*): New entry.
497 * sysdeps/arm/nacl: New directory.
498 * sysdeps/nacl: New directory.
500 2015-04-16 David S. Miller <davem@davemloft.net>
502 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
505 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
507 * sysdeps/tile/configure.ac: New file.
508 * sysdeps/tile/configure: Regenerated.
510 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
512 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
513 conditionals for weak_alias and libc_hidden_weak.
514 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
515 libc_hidden_weak and weak_alias.
516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
517 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
518 and weak_alias for static one.
520 2015-04-15 David S. Miller <davem@davemloft.net>
522 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
524 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
527 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
528 Use signed comparision instead of substraction to avoid
530 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
531 Take the sign of ret.
532 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
533 Do not expect precise return values. Only the sign matters.
534 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
535 * wcsmbs/test-wcsncmp.c: New File.
536 * string/test-strncmp.c: Add wcsncmp support.
538 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
541 * math/w_log1p.c: New file.
542 * math/w_log1pf.c: Likewise.
543 * math/w_log1pl.c: Likewise.
544 * math/Makefile (libm-calls): Add w_log1p.
545 * math/s_log1pl.c (log1pl): Remove weak_alias.
546 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
547 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
548 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
549 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
550 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
551 [NO_LONG_DOUBLE] (log1pl): Likewise.
552 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
553 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
554 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
555 (log1p): Remove long_double_symbol.
556 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
557 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
558 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
559 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
560 remove weak_alias for corresponding log1p function.
561 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
562 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
563 * sysdeps/ia64/fpu/w_log1p.c: New file.
564 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
565 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
566 * math/libm-test.inc (log1p_test_data): Add errno expectations.
568 2015-04-10 Joseph Myers <joseph@codesourcery.com>
571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
572 decimal exponent by 1.
573 * stdlib/tst-strtod-round-data: Add more tests.
574 * stdlib/tst-strtod-round.c (tests): Regenerated.
576 2015-04-09 Joseph Myers <joseph@codesourcery.com>
578 * math/auto-libm-test-in: Add more tests of clog and clog10.
579 * math/auto-libm-test-out: Regenerated.
580 * sysdeps/i386/fpu/libm-test-ulps: Update.
581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
583 2015-04-09 Roland McGrath <roland@hack.frob.com>
585 * Makeconfig (module-cppflags): Exclude all .v.i files.
586 (skip-module-cppflags): Variable removed.
588 * configure.ac (libc_config_ok): Initialize before reading
589 preconfigure scripts, not after.
590 * configure: Regenerated.
592 * test-skeleton.c (TIMEOUT): Move #define to top level.
593 (main): Grok environment variable TEST_DIRECT. If set, print
594 test expectation details into that file and then behave as if
597 2015-04-09 Florian Weimer <fweimer@redhat.com>
599 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
602 2015-04-08 David S. Miller <davem@davemloft.net>
604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
606 2015-04-08 Joseph Myers <joseph@codesourcery.com>
608 * math/auto-libm-test-in: Add more tests of atanh.
609 * math/auto-libm-test-out: Regenerated.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
613 * math/auto-libm-test-in: Add more tests of atan.
614 * math/auto-libm-test-out: Regenerated.
615 * sysdeps/i386/fpu/libm-test-ulps: Update.
616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
618 2015-04-08 Florian Weimer <fweimer@redhat.com>
620 * elf/pldd.c (main): Rewrite to use struct
621 scratch_buffer instead of extend_alloca.
622 * elf/pldd-xx.c (find_maps): Likewise.
623 * grp/initgroups.c: Include <scratch_buffer.h> instead of
625 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
626 scratch_buffer instead of extend_alloca.
627 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
628 grp/compat-initgroups.c.
629 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
630 Rewrite to use struct scratch_buffer instead of extend_alloca.
631 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
632 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
634 2015-04-08 Joseph Myers <joseph@codesourcery.com>
636 * math/auto-libm-test-in: Add more tests of cbrt.
637 * math/auto-libm-test-out: Regenerated.
638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
640 * math/auto-libm-test-in: Add more tests of cabs.
641 * math/auto-libm-test-out: Regenerated.
642 * sysdeps/i386/fpu/libm-test-ulps: Update.
643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
647 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
648 (__ieee754_atan2): Set FE_TONEAREST mode for internal
650 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
652 * math/auto-libm-test-out: Regenerated.
653 * sysdeps/i386/fpu/libm-test-ulps: Update.
654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
657 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
658 (atan): Set FE_TONEAREST mode for internal computations.
659 * math/auto-libm-test-in: Add more tests of atan.
660 * math/auto-libm-test-out: Regenerated.
662 2015-04-07 James Cowgill <james410@cowgill.org.uk>
665 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
667 2015-04-07 Florian Weimer <fweimer@redhat.com>
669 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
671 2015-04-07 Florian Weimer <fweimer@redhat.com>
673 * include/scratch_buffer.h: New file.
674 * malloc/scratch_buffer_grow.c: Likewise.
675 * malloc/scratch_buffer_grow_preserve.c: Likewise.
676 * malloc/scratch_buffer_set_array_size.c: Likewise.
677 * malloc/tst-scratch_buffer.c: Likewise.
678 * malloc/Makefile (routines): Add scratch_buffer_grow.
679 (tests): Add test case.
680 * malloc/Versions (GLIBC_PRIVATE): Export
681 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
682 __libc_scratch_buffer_set_array_size.
684 2015-04-06 Richard Henderson <rth@redhat.com>
686 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
687 * sysdeps/alpha/fpu/libm-test-ulps: Update.
689 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
690 unsigned int before printing.
692 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
695 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
696 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
698 2015-04-02 Florian Weimer <fweimer@redhat.com>
700 * include/libc-internal.h (libc_max_align_t): Define.
702 2015-04-02 Andreas Schwab <schwab@suse.de>
705 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
707 2015-04-02 Mel Gorman <mgorman@suse.de>
710 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
711 as well as the main arena.
713 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
716 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
717 sharing L2 cache to 2 for Silvermont/Knights Landing.
719 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
722 * config.make.in (have-protected-data): New.
723 * configure.ac: Check linker support for protected data symbol.
724 * configure: Regenerated.
725 * elf/Makefile (modules-names): Add tst-protected1moda and
726 tst-protected1modb if $(have-protected-data) is yes.
727 (tests): Add tst-protected1a and tst-protected1b if
728 $(have-protected-data) is yes.
729 ($(objpfx)tst-protected1a): New.
730 ($(objpfx)tst-protected1b): Likewise.
731 (tst-protected1modb.so-no-z-defs): Likewise.
732 * elf/tst-protected1a.c: New file.
733 * elf/tst-protected1b.c: Likewise.
734 * elf/tst-protected1mod.h: Likewise.
735 * elf/tst-protected1moda.c: Likewise.
736 * elf/tst-protected1modb.c: Likewise.
738 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
741 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
742 indicates it is called from do_lookup_x on relocation against
743 protected data, skip the data definion in the executable from
745 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
746 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
747 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
748 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
749 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
751 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
752 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
753 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
754 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
755 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
756 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
758 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
760 * sysdeps/nptl/pthread.h: Remove duplicate definition of
761 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
763 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
765 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
767 * sysdeps/x86_64/nptl/tls.h: Ditto.
769 2015-03-27 Roland McGrath <roland@hack.frob.com>
771 * dlfcn/tststatic.c (main): Converted to ...
773 (TEST_FUNCTION): New macro.
774 Include test-skeleton.c.
776 2015-03-26 Alan Modra <amodra@gmail.com>
778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
779 Don't segfault if ifunc resolver returns a NULL. Do set plt to
780 zero for undefined weak.
781 (elf_machine_plt_conflict): Similarly.
783 2015-03-25 Joseph Myers <joseph@codesourcery.com>
785 * math/auto-libm-test-in: Add more tests of acosh, asinh and
787 * math/auto-libm-test-out: Regenerated.
788 * sysdeps/i386/fpu/libm-test-ulps: Update.
789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
791 * math/auto-libm-test-in: Add another test of asin.
792 * math/auto-libm-test-out: Regenerated.
793 * sysdeps/i386/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
796 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
798 (LLL_EBX_REG): Likewise.
799 (LLL_ENTER_KERNEL): Likewise.
801 * math/auto-libm-test-in: Add more tests of asin.
802 * math/auto-libm-test-out: Regenerated.
803 * sysdeps/i386/fpu/libm-test-ulps: Update.
804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
807 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
808 libc_do_syscall_args): New structure.
809 (INTERNAL_SYSCALL_MAIN_0): New macro.
810 (INTERNAL_SYSCALL_MAIN_1): Likewise.
811 (INTERNAL_SYSCALL_MAIN_2): Likewise.
812 (INTERNAL_SYSCALL_MAIN_3): Likewise.
813 (INTERNAL_SYSCALL_MAIN_4): Likewise.
814 (INTERNAL_SYSCALL_MAIN_5): Likewise.
815 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
816 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
817 Replace conditional definitions by conditional definitions of ....
818 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
819 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
820 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
821 (libpthread-sysdep_routines): Add libc-do-syscall.
822 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
823 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
824 to __NR_futex not 240.
826 2015-03-25 Alan Modra <amodra@gmail.com>
828 * NEWS: Advertise TLS optimization.
829 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
830 (DT_PPC_NUM): Increment.
831 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
832 (CHECK_STATIC_TLS): Use here.
833 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
836 * sysdeps/powerpc/dl-tls.c: New file.
837 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
838 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
839 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
840 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
845 2015-03-25 Alan Modra <amodra@gmail.com>
847 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
848 for overlapping .opd entries" to "support...".
849 * sysdeps/powerpc/powerpc64/configure: Regenerate
851 2015-03-25 Joseph Myers <joseph@codesourcery.com>
853 * math/auto-libm-test-in: Add more tests of acos.
854 * math/auto-libm-test-out: Regenerated.
855 * sysdeps/i386/fpu/libm-test-ulps: Update.
856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
858 * math/auto-libm-test-in: Add more tests of expm1.
859 * math/auto-libm-test-out: Regenerated.
860 * sysdeps/i386/fpu/libm-test-ulps: Update.
861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
863 2015-03-24 Joseph Myers <joseph@codesourcery.com>
865 * math/auto-libm-test-in: Add more tests of cosh and sinh.
866 * math/auto-libm-test-out: Regenerated.
867 * sysdeps/i386/fpu/libm-test-ulps: Update.
868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
870 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873 * math/auto-libm-test-in: Add more tests of log2.
874 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
878 2015-03-23 Roland McGrath <roland@hack.frob.com>
880 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
881 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
882 _IO_IS_APPENDING bit in READ_WRITE instead.
884 2015-03-23 Florian Weimer <fweimer@redhat.com>
886 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
887 (__determine_cpumask_size): Replace extend_alloca with a
888 variable-length array. Do not treat res == 0 as an error.
890 2015-03-23 Florian Weimer <fweimer@redhat.com>
893 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
894 and integer overflow.
895 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
896 (main): Add integer overflow tests.
897 * manual/pattern.texi (Calling Wordexp): Document additional use
900 2015-03-23 Alan Modra <amodra@gmail.com>
902 * config.h.in: Remove HAVE_ASM_PPC_REL16.
903 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
904 and false branch of conditional.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
908 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
910 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
912 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
913 unused declaration of _hurd_intr_rpc_msg_in_trap.
914 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
915 defined instead of whether it is non-zero.
916 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
917 input constraint instead of both input and output constraint. Use ecx
918 clobber instead of %ecx.
919 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
920 mutex_unlock): Use a statement expression instead of an expression list.
921 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
922 type to vm_size_t instead of vm_address_t.
923 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
924 defined instead of whether it is non-zero.
925 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
926 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
927 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
928 comparisons with mapaddr.
929 * nscd/nscd-client.h: Include <time.h>.
930 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
931 9th parameter to __vm_region instead of int.
932 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
933 * scripts/check-local-headers.sh (exclude): Add device/,
934 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
937 2015-03-19 Roland McGrath <roland@hack.frob.com>
939 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
940 to account for alignment padding.
941 * sysdeps/arm/memmove.S: Likewise.
943 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
945 * sysdeps/unix/sysv/linux/generic/README: New file.
947 2015-03-18 Joseph Myers <joseph@codesourcery.com>
950 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
951 (futex_abstimed_wait)
952 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
953 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
954 of lll_futex_timed_wait.
956 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
959 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
961 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
968 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
969 entries with Static TLS too. Skip entries past the end of the
970 allocated DTV, from Alan Modra.
971 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
972 Static TLS DTV entry set up from...
973 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
974 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
975 * nptl/allocatestack.c (init_one_static_tls): ... and here...
976 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
978 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
979 that the slot we find is associated with the given map before
980 using its generation count.
981 * nptl_db/db_info.c: Include ldsodefs.h.
982 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
983 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
984 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
985 (link_map::l_tls_offset): New struct field.
986 (dtv_t::counter): Likewise.
987 (rtld_global): New struct.
988 (_rtld_global): New rtld variable.
989 (dl_tls_dtv_slotinfo_list): New rtld global field.
990 (dtv_slotinfo_list): New struct.
991 (dtv_slotinfo): Likewise.
992 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
993 (td_lookup): Rename to...
994 (td_mod_lookup): ... this. Use new mod parameter instead of
996 * nptl_db/td_thr_tlsbase.c: Include link.h.
997 (dtv_slotinfo_list, dtv_slotinfo): New functions.
998 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
999 addresses even if the DTV is out of date or missing them.
1000 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1001 index zero-length arrays.
1002 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1003 (td_lookup): Make it a macro implemented in terms of...
1004 (td_mod_lookup): ... this declaration.
1005 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1006 (DB_MAIN_VARIABLE): Likewise.
1008 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
1011 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1013 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
1015 * stdlib/setenv.c (__add_to_environ): Revert previous change.
1017 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
1020 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1021 (atomic_add, atomic_increment_and_test)
1022 (atomic_decrement_and_test): Fix 64-bit arithmetic.
1024 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
1026 * stdlib/setenv.c (__add_to_environ):
1027 Dump core quickly if setenv (..., NULL, ...) is called.
1029 2015-03-13 Roland McGrath <roland@hack.frob.com>
1031 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1032 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1033 all the necessary asm magic in one place.
1034 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1037 2015-03-13 Carlos O'Donell <carlos@redhat.com>
1040 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1041 traced file mtime. Use consistent log message.
1042 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1043 (register_traced_file): Call install_watches. Always set mtime.
1044 (invalidate_cache): Iterate over all trace files. Call install_watches.
1045 (inotify_check_files): Don't inline. Handle watching parent
1046 directories and configuration file movement in and out.
1047 (handle_inotify_events): New function.
1048 (main_loop_poll): Call handle_inotify_events.
1049 (main_loop_epoll): Likewise.
1050 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1051 (struct traced_file): Use array of inotify fds. Add parent directory,
1053 (struct database_dyn): Remove unused file_mtime.
1054 (init_traced_file): New inline function.
1055 (define_traced_file): New macro.
1056 * nss/nss_db/db-init.c: Use define_traced_file.
1057 (_nss_db_init): Use init_traced_file.
1058 * nss/nss_files/files-init.c: Use define_traced_file.
1059 (_nss_files_init): Use init_traced_file.
1061 2015-03-12 Joseph Myers <joseph@codesourcery.com>
1063 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1064 [_LIBC]: Do not include <stdlib.h>.
1065 [!_LIBC] (abort): Remove declaration.
1066 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1067 _FP_STATIC_ASSERT instead of conditionally calling abort.
1068 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1069 (_FP_EXTEND_CNAN): Likewise.
1070 (FP_TRUNC): Likewise.
1071 (__FP_CLZ): Likewise.
1072 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1074 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
1076 * manual/string.texi (XPG basename): Fix prototype.
1078 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1081 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1082 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1083 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1084 (__setcontext): Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1086 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1087 Call rt_sigprocmask syscall one time to set new signal mask
1088 and retrieve the current signal mask instead of two calls.
1089 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1090 (__swapcontext): Likewise.
1091 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1092 * stdlib/tst-setcontext2.c: New file.
1094 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1096 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1098 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
1101 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1104 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1107 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1109 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1111 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1112 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1114 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1115 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1116 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1117 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1118 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1119 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1121 * nptl_db/td_symbol_list.c (td_lookup): Remove
1122 HAVE_ASM_GLOBAL_DOT_NAME code.
1123 * sysdeps/powerpc/powerpc64/configure.ac: Remove
1124 HAVE_ASM_GLOBAL_DOT_NAME check.
1125 * sysdeps/powerpc/powerpc64/configure: Regenerate.
1126 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1127 (DOT_LABEL): Remove define.
1128 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1129 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1130 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1131 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1132 (__TLS_GET_ADDR): Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1134 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1136 2015-03-11 Carlos O'Donell <carlos@redhat.com>
1139 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1140 (_FPU_SETCW): Initialize cw from fpsr before storing.
1141 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1142 (fesetexceptflag): Rewrite using fpu_control.h.
1143 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1145 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
1148 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1150 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1152 2015-03-11 Joseph Myers <joseph@codesourcery.com>
1154 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1155 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1157 (_FP_FMA): Likewise.
1158 (_FP_DIV): Likewise.
1160 2015-03-10 Roland McGrath <roland@hack.frob.com>
1162 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1163 with 0 in that case.
1164 * Makefile (summarize-tests): New canned sequence, factored out of
1165 commands for targets tests and xtests. Display summary lines that
1166 don't start with PASS: or XFAIL: rather than ones that do start with
1167 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1168 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1169 do start with ERROR: or FAIL:.
1170 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1171 (except for [$(build-shared) = yes]).
1172 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1173 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1174 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1175 * nptl/Makefile: Revert 2015-03-04 changes.
1176 [$(CXX) empty] (tests-unsupported): New variable.
1177 * debug/Makefile: Likewise.
1179 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1180 gnulib file. Replace __attribute with __attribute__ throughout.
1182 2015-03-10 Carlos O'Donell <carlos@redhat.com>
1184 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1186 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1189 * math/auto-libm-test-in: Add another test of pow.
1190 * math/auto-libm-test-out: Regenerated.
1192 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1195 $(config-cflags-nofma).
1197 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1199 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1200 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1201 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1202 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1203 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1204 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1205 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1206 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1207 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1208 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1209 Add comment on closing #endif.
1211 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1213 * posix/wordexp.c (CHAR_IN_SET): New macro.
1214 (parse_param): Use it.
1216 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1220 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1223 * posix/wordexp.c (parse_param): Fix buffer overflow.
1224 * posix/wordexp-test.c (test_case): Add test case.
1226 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1229 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1230 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1232 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1235 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1236 (do_bz18043): Delete.
1238 (testit): Refactor to have words at the edge of unreadable page.
1240 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1243 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1244 Cleanup read-only streams as well.
1245 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1247 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1249 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1252 2015-03-07 Joseph Myers <joseph@codesourcery.com>
1254 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1256 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1257 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1258 * soft-fp/op-common.h (_FP_DECL): Likewise.
1260 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1262 * elf/ifuncdep2.c (global): Replace
1263 __attribute__((visibility("protected"))) with
1264 asm (".protected global").
1265 * elf/ifuncmod1.c (global): Likewise.
1266 * elf/ifuncmod5.c (global): Likewise.
1268 2015-03-06 Joseph Myers <joseph@codesourcery.com>
1270 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1271 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1273 2015-03-06 Roland McGrath <roland@hack.frob.com>
1275 * manual/install.texi (Configuring and compiling):
1276 Document test-wrapper-env-only.
1277 * INSTALL: Regenerated.
1279 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1282 * posix/wordexp.c (parse_param): Fix buffer overflow.
1283 * posix/wordexp-test.c (do_bz18043): Add test case.
1285 2015-03-06 Vincent Bernat <vincent@bernat.im>
1287 * time/tst-strptime2.c (do_test): Ensure failing tests are
1289 * time/tst-strptime3.c (do_test): Likewise.
1291 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1293 Fix aio_error thread-safety.
1294 * sysdeps/pthread/aio_error.c: New file
1295 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1298 2015-03-06 Florian Weimer <fweimer@redhat.com>
1300 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1301 (group_number, vfprintf): Use it.
1302 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1303 (JUMP, REF): Use it.
1304 (WORK_BUFFER_SIZE): New enum constant.
1305 (process_arg, vfprintf): Use it.
1307 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1309 * manual/errno.texi (Error Messages): Complete example function
1310 by adding missing #define.
1311 (program_invocation_name): Add statement indicating GNU
1312 extension and reference which header file declares the variable.
1313 (program_invocation_short_name): Likewise.
1315 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1317 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1320 2015-03-05 Roland McGrath <roland@hack.frob.com>
1322 * Makeconfig (test-wrapper-env-only): New variable.
1323 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1324 then use that with $(test-wrapper-env-only) rather than using
1325 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1327 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1330 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1331 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1332 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1333 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1334 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1335 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1336 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1337 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1339 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1340 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1342 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1344 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1348 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1351 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1353 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1354 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1356 2015-03-04 Roland McGrath <roland@hack.frob.com>
1358 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1359 (ETH_ALEN): New macro.
1360 (struct ether_addr): Use it for length of ether_addr_octet.
1362 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1363 (setdb): Don't call __nss_configure_lookup for "rpc".
1364 (do_test): Don't call test_rpc.
1365 (output_rpcent, test_rpc): Functions moved ...
1366 * sunrpc/test-rpcent.c: ... to this new file.
1367 * sunrpc/Makefile (tests): Add it.
1369 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1371 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1372 * nptl/tst-signal6.c: Likewise.
1373 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1374 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1376 * configure.ac (libc_cv_cxx_link_ok): New check.
1377 Reset CXX to empty if it fails to link.
1378 * configure: Regenerated.
1379 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1380 bug-atexit3-lib only if $(CXX) is nonempty.
1381 * nptl/Makefile (tests): Likewise for tst-cancel24.
1382 (tests, tests-static): Likewise for tst-cancel24-static.
1383 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1384 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1385 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1386 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1388 2015-03-04 Andreas Schwab <schwab@suse.de>
1391 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1392 for non-GCC compilers.
1393 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1396 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1399 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1400 integer before bitwise and assembly operations.
1401 (feclearexcept): Likewise.
1402 * math/test-fenvinline.c: New file.
1403 * math/Makefile: Add test-fenvinline test.
1405 2015-03-03 Alan Modra <amodra@gmail.com>
1408 * scripts/localplt.awk: Strip off symbol version.
1409 * NEWS: Mention bug fix.
1411 2015-03-02 Roland McGrath <roland@hack.frob.com>
1413 * sysdeps/pthread/timer_routines.c
1414 (timer_free_list, thread_free_list, thread_active_list): Make static.
1416 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1420 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1423 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1425 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1426 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1429 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1432 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1433 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1435 2015-03-02 Andreas Schwab <schwab@suse.de>
1437 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1440 2015-03-02 Florian Weimer <fweimer@redhat.com>
1442 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1443 Return error status.
1445 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1448 * locale/findlocale.c (_nl_find_locale): Introduce const
1449 version of loc_name and drop unsafe type casts.
1451 2015-02-27 Roland McGrath <roland@hack.frob.com>
1453 * dlfcn/tststatic2.c (main): Converted to ...
1454 (do_test): ... this.
1455 (TEST_FUNCTION): New macro.
1456 Include test-skeleton.c.
1458 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1461 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1462 (tests-pie): Add vismain.
1463 (CFLAGS-vismain.c): New.
1464 * elf/vismain.c: Add comments for PIE requirement.
1466 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1470 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1471 0x1p-56L as threshold for just returning the argument.
1472 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1473 0x1p-32L as threshold for just returning the argument.
1474 * math/auto-libm-test-in: Add more tests of atanh.
1475 * math/auto-libm-test-out: Regenerated.
1476 * sysdeps/i386/fpu/libm-test-ulps: Update.
1477 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1479 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1481 * string/bcopy.c (bcopy): Call memmove for performance.
1483 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1485 * string/bzero.c (__bzero): Call memset for performance.
1487 2015-02-27 John David Anglin <dave.anglin@bell.net>
1490 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1493 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1495 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1497 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1499 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1500 (__kernel_standard): Use CSTR macro when setting exc.name.
1501 * sysdeps/ieee754/Makefile [$(subdir) = math]
1502 (CFLAGS-k_standard.c): Remove variable.
1504 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1505 setting p and q from "else if" to "else".
1507 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1509 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1511 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1513 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1515 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1520 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1521 return pi/2 for arguments below 0x1p-113L.
1522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1523 return pi/2 for arguments below 0x1p-106L.
1524 * math/auto-libm-test-in: Add more tests of acos.
1525 * math/auto-libm-test-out: Regenerated.
1528 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1530 (__ieee754_asin): Force underflow exception for results with small
1532 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1534 (__ieee754_asinf): Force underflow exception for results with
1535 small absolute value.
1536 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1537 (__ieee754_asin): Force underflow exception for results with small
1539 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1540 (__ieee754_asinf): Force underflow exception for results with
1541 small absolute value.
1542 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1543 (__ieee754_asinl): Force underflow exception for results with
1544 small absolute value.
1545 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1546 (__ieee754_asinl): Force underflow exception for results with
1547 small absolute value.
1548 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1549 (__ieee754_asinl): Force underflow exception for results with
1550 small absolute value.
1551 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1553 * math/auto-libm-test-in: Do not mark underflow exceptions as
1554 possibly missing for bug 16351.
1555 * math/auto-libm-test-out: Regenerated.
1558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1559 of power of 2 down when low part has opposite sign.
1560 * math/libm-test.inc (logb_test_data): Add more tests.
1562 2015-02-26 Andreas Schwab <schwab@suse.de>
1565 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1566 over collating symbol inside a bracket expression. Minor cleanup.
1567 * posix/tst-fnmatch3.c (do_test): Add test case.
1569 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1572 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1573 Adjust exponent of power of 2 down when low part has opposite
1575 * math/libm-test.inc (ilogb_test_data): Add more tests.
1577 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1580 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1581 the previous change.
1584 * locale/findlocale.c (_nl_find_locale): Retry archive search
1585 after alias expansion.
1587 2015-02-25 Roland McGrath <roland@hack.frob.com>
1589 * iconv/tst-iconv3.c (main): Converted to ...
1590 (do_test): ... this.
1591 (TEST_FUNCTION): New macro.
1592 Include test-skeleton.c.
1594 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1595 (convert): Make function static.
1596 (test_unalign): Likewise. Add const to argument pointee types.
1597 (main): Replace with static function do_test.
1598 Print "Succeeded." only if RET is zero.
1599 (TEST_FUNCTION): New macro.
1600 Include test-skeleton.c.
1602 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1603 returns a null pointer.
1605 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1608 to __memcpy_ppc only for static builds.
1610 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1614 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1615 * math/auto-libm-test-in: Add more tests of asinh.
1616 * math/auto-libm-test-out: Regenerated.
1617 * sysdeps/i386/fpu/libm-test-ulps: Update.
1618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1620 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1623 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1624 and ip6_mtuinfo definitions here.
1625 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1626 in this define too. Update comment.
1628 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1630 * elf/sprof.c (load_shobj): Tweak error message to match others.
1632 2015-02-24 Kevin Easton <kevin@guarana.org>
1634 [BZ #16145] (partial fix)
1635 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1636 to reduce lock contention.
1638 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1640 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1641 (struct timex): Update time comment.
1642 (ADJ_SETOFFSET): Define.
1644 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1648 2**56 not 2**28 as threshold for log (2x) formula.
1649 * math/auto-libm-test-in: Add more tests of acosh.
1650 * math/auto-libm-test-out: Regenerated.
1651 * sysdeps/i386/fpu/libm-test-ulps: Update.
1652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1654 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1656 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1657 parenthesis around the buf assignment.
1658 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1660 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1663 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1664 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1665 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1666 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1667 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1668 * math/libm-test.inc (scalb_test_data): Add more tests.
1670 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1673 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1674 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1676 2015-02-24 Eric Rannaud <e@nanocritical.com>
1679 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1680 * io/bits/fcntl2.h (open): Use it.
1682 * io/open.c (__libc_open): Likewise.
1683 * io/open64.c (__libc_open64): Likewise.
1684 * io/open64_2.c (__open64_2): Likewise.
1685 * io/open_2.c (__open_2): Likewise.
1686 * io/openat.c (__openat): Likewise.
1687 * io/openat64.c (__openat64): Likewise.
1688 * io/openat64_2.c (__openat64_2): Likewise.
1689 * io/openat_2.c (__openat_2): Likewise.
1690 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1691 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1692 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1693 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1694 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1695 (__open_nocancel): Likewise.
1696 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1697 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1698 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1700 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1703 * resolv/gethnamaddr.c (getanswer): Skip logging if
1704 RES_USE_DNSSEC is set.
1705 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1707 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1709 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1711 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1713 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1714 201304L, for Unicode 7.
1716 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1719 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1720 shared library. Add gmon-start.os otherwise.
1721 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1722 $(objpfx)gmon-start.os if builing shared library.
1723 ($(objpfx)g$(static-start-installed-name)): Likewise.
1725 2015-02-23 Andreas Schwab <schwab@suse.de>
1727 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1729 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1732 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1733 (enlarge_userbuf): Likewise.
1735 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1737 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1738 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1739 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1740 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1742 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1744 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1745 expression inside statement expression.
1747 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1749 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1750 <sysdeps/nptl/lowlevellock.h> and remove macros and
1751 functions that are now defined there.
1752 (SYS_futex): Remove.
1753 (lll_compare_and_swap): Remove.
1754 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1756 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1759 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1760 instead of scandirat.
1761 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1762 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1763 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1765 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1766 (__scandirat): Declare. Use libc_hidden_proto.
1767 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1769 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1771 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1776 (__ieee754_atan2): For results with small absolute value, force
1777 underflow exception and remove excess range and precision from
1779 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1781 (__ieee754_atan2f): For results with small absolute value, force
1782 underflow exception and remove excess range and precision from
1784 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1786 (__atan): For results with small absolute value, force underflow
1787 exception and remove excess range and precision from return value.
1788 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1790 (__atanf): For results with small absolute value, force underflow
1791 exception and remove excess range and precision from return value.
1792 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1794 (__ieee754_atan2): Force underflow exception for results with
1795 small absolute value.
1796 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1798 (atan): Force underflow exception for results with small absolute
1800 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1801 (__atanf): Force underflow exception for results with small
1803 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1805 (__atanl): Force underflow exception for results with small
1807 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1808 (__atanl): Force underflow exception for results with small
1810 * sysdeps/x86/fpu/bits/mathinline.h
1811 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1812 (__ieee754_atan2): Only define inline for long double.
1813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1814 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1815 * math/auto-libm-test-in: Do not mark underflow exceptions as
1816 possibly missing for bug 15319. Add more tests of atan2.
1817 * math/auto-libm-test-out: Regenerated.
1818 * math/libm-test.inc (casin_test_data): Do not mark underflow
1819 exceptions as possibly missing for bug 15319.
1820 (casinh_test_data): Likewise.
1821 * sysdeps/i386/fpu/libm-test-ulps: Update.
1823 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1825 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1826 * sysdeps/mips/bits/endian.h: Fix comments.
1828 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1831 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1832 (hdestroy_r): Likewise.
1833 (hsearch_r): Likewise.
1834 (__hcreate_r): Declare and use libc_hidden_proto.
1835 (__hdestroy_r): Likewise.
1836 (__hsearch_r): Likewise.
1837 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1838 (hcreate): Call __hcreate_r instead of hcreate_r.
1839 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1840 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1841 as weak alias of __hcreate_r.
1842 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1844 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1846 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1848 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1849 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1850 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1851 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1853 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1855 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1856 arena_lock into a single arena_get.
1858 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1860 * dl-reloc.c: Inlucde libc-internal.h.
1861 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1862 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1863 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1864 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1865 (grow_heap): Likewise.
1866 * malloc/malloc.c: Include libc-internal.h.
1867 (do_check_malloc): Call powerof2.
1868 (sysmalloc): Use pagesize. Call ALIGN_UP.
1869 (systrim): Use pagesize.
1870 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1871 (__libc_valloc): Use pagesize.
1872 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1874 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1877 * include/sys/resource.h (__getrlimit64): Declare. Use
1879 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1880 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1881 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1883 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1885 [!getrlimit64] (getrlimit64): Define as weak alias of
1886 __getrlimit64. Use libc_hidden_weak.
1887 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1888 using __getrlimit64 not __new_getrlimit64.
1889 (__GI_getrlimit64): Likewise.
1890 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1892 (__GI_getrlimit64): Likewise.
1893 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1895 (getrlimit): Add __getrlimit64 alias.
1896 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1898 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1900 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1901 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1903 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1905 * libio/fileops.c: Add missing sys/mman.h
1906 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1908 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1910 * manual/math.texi (Errors in Math Functions): Clarify goals
1911 regarding inexact and underflow exceptions.
1913 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1915 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1916 * sysdeps/mips/memset.S: Ditto.
1918 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1920 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1922 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1924 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1925 (__v1longjmp): Remove versioned symbol.
1926 (__v1siglongjmp): Remove alias and versioned symbol.
1927 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1928 (__v2siglongjmp): Likewise.
1930 2015-02-16 Torvald Riegel <triegel@redhat.com>
1932 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1934 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1936 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1938 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1941 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1942 zero result does not depend on the sign resulting from
1944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1946 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1947 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1949 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1950 * math/libm-test.inc (remquo_test_data): Add more tests.
1952 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1954 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1955 Problem reported by J William Piggott.
1957 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1960 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1961 products 4 * y and 2 * y where those would overflow.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1964 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1965 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1966 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1967 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1968 * math/libm-test.inc (remquo_test_data): Add more tests.
1970 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1972 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1973 [defined _COMPILING_NEWLIB].
1974 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1975 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1977 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1978 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1980 2015-02-16 Torvald Riegel <triegel@redhat.com>
1982 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1985 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1988 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1989 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1990 HOST_STACK_END_ADDR): Likewise.
1992 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1994 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1995 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1996 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1998 2015-02-13 Roland McGrath <roland@hack.frob.com>
2000 * sysdeps/generic/c++-types.data: New file.
2001 * sysdeps/generic/ld.abilist: New file.
2002 * sysdeps/generic/libBrokenLocale.abilist: New file.
2003 * sysdeps/generic/libanl.abilist: New file.
2004 * sysdeps/generic/libc.abilist: New file.
2005 * sysdeps/generic/libcrypt.abilist: New file.
2006 * sysdeps/generic/libdl.abilist: New file.
2007 * sysdeps/generic/libm.abilist: New file.
2008 * sysdeps/generic/libpthread.abilist: New file.
2009 * sysdeps/generic/libresolv.abilist: New file.
2010 * sysdeps/generic/librt.abilist: New file.
2012 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2016 Compute absolute value of x as modified by fmod, not original
2018 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2019 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
2020 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
2021 RUN_TEST_ffI_f1_mod8.
2022 (remquo_test_data): Add more tests.
2024 2015-02-13 Roland McGrath <roland@hack.frob.com>
2026 * sysdeps/init_array/pt-crti.S: New file.
2028 2015-02-13 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2032 __builtin_fmaf instead of relying on contraction of a * b + c.
2034 2015-02-12 J William Piggott <elseifthen@gmx.com>
2037 * manual/time.texi: correct the zoneinfo path in the TZ Variable
2040 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2043 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2044 __builtin_fma instead of relying on contraction of a * b + c.
2046 2015-02-12 Roland McGrath <roland@hack.frob.com>
2048 * Makeconfig (ASFLAGS): Add -Werror=undef.
2049 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2050 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2051 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2053 * Makeconfig (after-link): New variable.
2054 (+link-pie, +link-pie-tests): Use it.
2055 (+link-static, +link-static-tests): Likewise.
2056 (+link, +link-tests): Likewise.
2057 * Makerules (build-module, build-module-asneeded): Likewise.
2058 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2060 * elf/Makefile ($(objpfx)ld.so): Likewise.
2062 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
2065 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2066 both struct timeval and struct timespec.
2068 2015-02-12 Joseph Myers <joseph@codesourcery.com>
2071 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2073 (__ieee754_exp2l): Do not multiply small fractional parts by
2075 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2078 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2079 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2080 * math/auto-libm-test-in: Add more tests of exp2.
2081 * math/auto-libm-test-out: Regenerated.
2083 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2085 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2088 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2093 2015-02-12 Andreas Schwab <schwab@suse.de>
2096 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2097 Filter out elision flags from value returned in kind.
2098 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2099 * nptl/tst-pthread-mutexattr.c: New file.
2101 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
2103 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2104 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2105 into gnu-gnu, and update comment to refer to abi-tags.
2107 2015-02-11 Joseph Myers <joseph@codesourcery.com>
2110 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2111 (__sincos): Set errno to EDOM for infinite argument.
2112 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2113 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2114 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2115 (__sincosl): Set errno to EDOM for infinite argument.
2116 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2117 (__sincosl): Set errno to EDOM for infinite argument.
2118 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2119 (__sincosl): Set errno to EDOM for infinite argument.
2120 * math/libm-test.inc (sincos_test_data): Test errno setting.
2122 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
2124 * string/strxfrm_l.c: Remove #define STRCMP.
2125 * string/strcoll_l.c: Remove #define STRLEN.
2126 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2127 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2129 2015-02-10 Joseph Myers <joseph@codesourcery.com>
2131 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2132 * sysdeps/mips/mips32/sfp-machine.h: ... here.
2133 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2134 * sysdeps/mips/mips64/Makefile: ... here.
2135 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2136 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2137 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2138 * sysdeps/mips/mips64/sfp-machine.h: ... here.
2139 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2140 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2141 * sysdeps/mips/mips64/n64/Implies: Likewise.
2143 2015-02-10 Roland McGrath <roland@hack.frob.com>
2145 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2146 <sys/time.h>, <string.h>, and <errno.h>.
2147 (dest_offset, dest_address, value, zero): Remove unused variables.
2148 (ldouble): Remove typedef.
2149 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2150 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
2152 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2153 (check): Function removed.
2155 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2156 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2157 Don't call set_sigaction_FP and remove_sigaction_FP here.
2158 (ldouble_test): Just use 'long double' as macro argument, no need for
2159 the 'ldouble' typedef.
2160 (do_test): Set up SIGFPE handler at start, using plain signal rather
2161 than sigaction. Fix code style.
2163 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2169 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2171 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2172 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2174 * sysdeps/powerpc/configure.ac: Remove file.
2175 * sysdeps/powerpc/configure: Likewise.
2177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2178 [sysdep_routines]: Remove wordcopy-power6 object.
2179 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2180 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2182 (__memmove_ppc32): Likewise.
2183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2185 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2186 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2187 Remove preprocessor.
2189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2190 [sysdep_routines]: Remove wide chars objects.
2191 [wcsmbs]: New rule for wide char objects.
2193 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2194 Remove wordcopy-power6 obejct.
2195 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2196 Use local call for wordcopy and memcpy symbols.
2197 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2198 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2199 implementation for loader.
2200 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2202 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2203 Remove wordcopy-power7 object.
2204 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2205 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2206 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2207 (_wordcopy_fwd_dest_aligned): Likewise.
2208 (_wordcopy_bwd_aligned): Likewise.
2209 (_wordcopy_bwd_dest_aligned): Likewise.
2211 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2212 Rewrite to call __memmove_ppc instead of include default
2215 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2216 Remove wide chars objects.
2217 [wcsmbs]: New rule for wide char objects.
2219 2015-02-09 Andreas Schwab <schwab@suse.de>
2222 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2223 in terms of __O_DIRECTORY.
2225 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2227 * time/getdate.c: Include <stdbool.h>.
2228 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2230 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2233 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2235 Add ersatz _Static_assert on older C hosts
2236 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2237 pre-C11 C platform that is not known to support _Static_assert.
2239 2015-02-07 Richard Braun <rbraun@sceen.net>
2241 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2243 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2245 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2247 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2248 priority against unexistent AIO_PRIO_DELTA_MAX.
2249 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2251 * misc/fchflags.c (fchflags): Likewise.
2252 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2253 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2254 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2255 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2256 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2258 [__USE_MISC] (chflags, fchflags): Declare functions.
2259 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2260 EINVAL when nfds is greater than FD_SETSIZE.
2261 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2262 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2264 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2265 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2266 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2268 * hurd/hurd/signal.h (_hurd_self_sigstate,
2269 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2270 Explicit casts from void *.
2271 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2272 * abi-tags: Rename gnu-gnu os into gnu.
2275 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2276 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2277 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2278 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2279 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2280 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2283 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2284 duplicates ADDR->sun_path with sockaddr LEN limitation.
2285 * sysdeps/mach/hurd/connect.c: Include <string.h>
2286 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2287 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2288 * sysdeps/mach/hurd/sendto.c: Likewise.
2289 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2290 implementing it by hand.
2292 2015-02-06 Roland McGrath <roland@hack.frob.com>
2294 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2295 Use sfi_breg on ldr.
2296 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2299 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2301 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2302 Test SIGSETXID only if it's defined.
2304 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2306 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2307 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2309 * nptl/tst-align2.c: Moved ...
2310 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2311 * nptl/Makefile (tests): Remove tst-align2.
2312 * sysdeps/unix/sysv/linux/Makefile
2313 [$(subdir) = nptl] (tests): Add tst-align-clone.
2314 * nptl/tst-getpid1.c: Moved ...
2315 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2316 * nptl/tst-getpid2.c: Moved ...
2317 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2318 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2319 * sysdeps/unix/sysv/linux/Makefile
2320 [$(subdir) = nptl] (tests): ... here.
2321 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2322 * sysdeps/unix/sysv/linux/Makefile
2323 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2325 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2326 Drop trailing \n from perror argument. Use return rather than exit.
2328 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2330 * nptl/tst-cancel21.c (do_test): Likewise.
2331 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2332 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2333 [!SA_SIGINFO]: Make it a stub test.
2335 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2336 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2338 * posix/tst-getlogin.c: Move to ...
2339 * login/tst-getlogin.c: ... here.
2340 * posix/Makefile (tests): Move tst-getlogin to ...
2341 * login/Makefile (tests): ... here.
2343 * libio/tst-atime.c (do_test): Move local variables SV and E
2344 inside [ST_NOATIME] conditional.
2346 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2348 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2350 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2351 (wait_code): New function replaces macro.
2352 Call nanosleep rather than syscall.
2354 * nptl/pt-system.c: Rewritten. Put everything under
2355 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2356 Use IFUNC to redirect when possible.
2358 * nptl/pt-longjmp.c: Rewritten. Put everything under
2359 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2360 Use IFUNC to redirect when possible.
2362 * nptl/pt-fork.c: Rewritten. Put everything under
2363 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2364 Use IFUNC to redirect when possible.
2365 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2367 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2368 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2369 unconditionally nowadays. This included the only reference to
2370 __vdso_clock_gettime that appears outside libc proper.
2371 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2372 Remove version set (containing only __vdso_clock_gettime).
2373 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2374 Add attribute_hidden.
2375 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2376 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2377 libc_hidden_data_def.
2378 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2379 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2381 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2382 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2383 setrpcent, and getrpcport to ...
2384 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2385 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2386 getrpcbynumber_r, and getrpcent_r to ...
2387 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2388 * inet/getrpcbyname.c: Moved ...
2389 * sunrpc/getrpcbyname.c: ... here.
2390 * inet/getrpcbyname_r.c: Moved ...
2391 * sunrpc/getrpcbyname_r.c: ... here.
2392 * inet/getrpcbynumber.c: Moved ...
2393 * sunrpc/getrpcbynumber.c: ... here.
2394 * inet/getrpcbynumber_r.c: Moved ...
2395 * sunrpc/getrpcbynumber_r.c: ... here.
2396 * inet/getrpcent.c: Moved ...
2397 * sunrpc/getrpcent.c: ... here.
2398 * inet/getrpcent_r.c: Moved ...
2399 * sunrpc/getrpcent_r.c: ... here.
2400 * inet/Makefile (routines): Move those to ...
2401 * sunrpc/Makefile (routines): ... here.
2402 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2403 the $(subdirs) list.
2404 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2405 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2406 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2407 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2409 * elf/Makefile (routines): Include $(all-dl-routines), not just
2411 (rtld-routines): Likewise. Use = rather than :=.
2412 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2413 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2414 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2415 * sysdeps/arm/Makefile: Likewise.
2416 * sysdeps/i386/Makefile: Likewise.
2417 * sysdeps/x86_64/Makefile: Likewise.
2418 * sysdeps/hppa/Makefile [$(subdir) = elf]
2419 (sysdep_routines, sysdep-rtld-routines): Don't add
2420 $(sysdep-dl-routines) to these.
2421 * sysdeps/ia64/Makefile: Likewise.
2422 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2423 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2424 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2425 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2426 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2427 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2428 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2429 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2430 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2431 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2432 these; sysdep-dl-routines alone is enough.
2434 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2437 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2438 where multiplication results in zero and third argument is finite
2440 * math/auto-libm-test-in: Add more tests of fma.
2441 * math/auto-libm-test-out: Regenerated.
2443 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2444 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2445 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2446 (_FP_CMP_EQ): Likewise.
2447 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2449 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2450 extra argument CHECK_NAN. Redefine as wrapper around
2453 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2455 * version.h (RELEASE): Set to "stable".
2456 (VERSION): Set to "2.21"
2457 * include/features.h (__GLIBC_MINOR__): Set to 21.
2459 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2461 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2462 Paul Eggert <eggert@cs.ucla.edu>
2465 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2466 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2467 size in bytes. Store needed elements in wpmax. Use needed size
2468 in bytes for extend_alloca.
2470 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2472 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2473 binutls 2.25, and texinfo 5.2.
2474 * INSTALL: Regenerate.
2475 * sysdeps/nios2/configure: Regenerate.
2476 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2477 * manual/contrib.texi: Update.
2501 * po/pt_BR.po: Update.
2510 * po/zh_CN.po: Update.
2511 * po/zh_TW.po: Update.
2513 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2514 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2515 * sysdeps/hppa/dl-irel.h: Remove #warning.
2516 * sysdeps/hppa/entry.h: Provide prototype for
2517 __canonicalize_funcptr_for_compare and cast argument.
2518 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2519 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2520 * sysdeps/hppa/sotruss-lib.c: New file.
2521 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2522 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2523 (atomic_compare_and_exchange_bool_acq): Likewise.
2524 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2525 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2527 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2528 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2529 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2531 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2533 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2534 called function in non-PIC case.
2536 2015-01-31 David S. Miller <davem@davemloft.net>
2538 * sysdeps/sparc/sparc32/bits/atomic.h
2539 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2540 unlock not after it.
2541 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2542 volatile register usage warnings from the compiler.
2544 * sysdeps/sparc/nptl/sem_init.c: Delete.
2545 * sysdeps/sparc/nptl/sem_post.c: Delete.
2546 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2547 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2548 * sysdeps/sparc/sparc32/sem_init.c: New file.
2549 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2550 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2551 padding explicitly initialized.
2552 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2553 padding for in-semaphore spinlock.
2554 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2555 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2556 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2557 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2558 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2559 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2560 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2561 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2563 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2564 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2566 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2569 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2570 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2571 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2573 (index_AVX_Fast_Unaligned_Load): Likewise.
2574 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2575 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2576 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2577 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2578 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2579 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2580 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2581 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2582 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2584 2015-01-29 Andreas Schwab <schwab@suse.de>
2586 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2588 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2591 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2593 2015-01-28 Martin Sebor <msebor@redhat.com>
2595 * math/README.libm-test: Clarify. Add "How to read the test output."
2597 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2599 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2602 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2604 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2605 (__HAVE_64B_ATOMICS): Define to 0.
2607 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2610 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2611 value to set as new flag.
2614 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2615 and use _ARCH_PPCSQ instead.
2616 (__ieee754_sqrt): Likewise.
2617 (__ieee754_sqrtf): Likewise.
2618 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2619 _ARCH_PPCSQ is defined.
2620 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2622 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2623 _ARCH_PPCSQ is defined.
2624 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2626 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2628 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2630 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2631 bug (GCC BZ #64739).
2633 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2635 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2636 Mark _retval as used.
2637 (lll_futex_wake_unlock): Likewise.
2638 (lll_futex_timed_wait_requeue_pi): Likewise.
2640 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2641 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2644 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2647 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2648 (__bswap_64): Mark as __always_inline.
2650 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2653 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2654 when none of the search directories exist.
2656 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2659 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2660 power8 in .machine directive.
2663 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2664 set dependency from opd value.
2666 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2669 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2672 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2675 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2677 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2679 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2680 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2681 Replace 1UL with (uint64_t) 1.
2682 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2685 2015-01-23 Roland McGrath <roland@hack.frob.com>
2687 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2688 (if_freenameindex): Likewise.
2690 * resource/getrlimit64.c: Add missing libc_hidden_def.
2692 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2694 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2696 (_FP_FMA): Likewise.
2697 (_FP_TO_INT_ROUND): Likewise.
2698 (_FP_FROM_INT): Likewise.
2700 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2703 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2704 Make code racy and cancel safe.
2706 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2708 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2709 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2712 * pwd/tst-getpw.c: Rewrite.
2715 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2716 (modules-names): Add moddummy1 and moddummy2.
2717 ($(objpfx)tst-rec-dlopen): Define.
2718 * dlfcn/moddummy1.c: New file.
2719 * dlfcn/moddummy2.c: New file.
2720 * dlfcn/tst-rec-dlopen.c: New file.
2721 * elf/dl-cache.c (_dl_load_cache_lookup):
2722 Return char*. Copy result with alloca/strcpy/strdup.
2723 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2724 returns char*. Free cached. If not saving realname
2726 * elf/dl-open.c (dl_open_worker): Do not assert that
2727 _r_debug->r_state is RT_CONSISTENT.
2728 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2731 2015-01-21 Torvald Riegel <triegel@redhat.com>
2732 Carlos O'Donell <carlos@redhat.com>
2735 * nptl/sem_waitcommon.c: New file.
2736 * nptl/sem_wait.c: Include sem_waitcommon.c.
2737 (__sem_wait_cleanup, do_futex_wait): Remove.
2738 (__new_sem_wait): Adapt.
2739 (__new_sem_trywait): New function.
2740 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2741 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2742 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2743 (sem_timedwait): Adapt.
2744 * nptl/sem_post.c (__new_sem_post): Adapt.
2745 (futex_wake): New function.
2746 (__old_sem_post): Add release MO fence.
2747 * nptl/sem_open.c (sem_open): Adapt.
2748 * nptl/sem_init.c (__new_sem_init): Adapt.
2749 (futex_private_if_supported): New function.
2750 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2751 (__old_sem_getvalue): Add using previous code.
2752 * sysdeps/nptl/internaltypes.h: Adapt.
2753 * nptl/tst-sem13.c (do_test): Adapt.
2754 * nptl/tst-sem11.c (main): Adapt.
2755 * nptl/sem_trywait.c: Remove.
2756 * nptl/DESIGN-sem.txt: Remove.
2757 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2758 (gen-as-const-headers): Remove structsem.sym.
2759 * nptl/structsem.sym: Remove.
2760 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2761 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2762 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2763 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2764 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2765 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2766 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2767 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2768 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2769 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2770 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2771 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2772 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2773 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2774 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2775 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2776 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2777 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2778 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2779 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2780 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2781 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2783 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2785 * INSTALL: Regenerated.
2787 * po/libc.pot: Regenerated.
2789 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2790 Sandra Loosemore <sandra@codesourcery.com>
2791 Andrew Jenner <andrew@codesourcery.com>
2792 Joseph Myers <joseph@codesourcery.com>
2793 Nathan Sidwell <nathan@codesourcery.com>
2795 * NEWS: Mention new Nios II port.
2796 * sysdeps/nios2/Implies: New file.
2797 * sysdeps/nios2/Makefile: New file.
2798 * sysdeps/nios2/Subdirs: New file.
2799 * sysdeps/nios2/Versions: New file.
2800 * sysdeps/nios2/__longjmp.S: New file.
2801 * sysdeps/nios2/abort-instr.h: New file.
2802 * sysdeps/nios2/backtrace.c: New file.
2803 * sysdeps/nios2/bits/endian.h: New file.
2804 * sysdeps/nios2/bits/fenv.h: New file.
2805 * sysdeps/nios2/bits/link.h: New file.
2806 * sysdeps/nios2/bits/setjmp.h: New file.
2807 * sysdeps/nios2/bsd-_setjmp.S: New file.
2808 * sysdeps/nios2/bsd-setjmp.S: New file.
2809 * sysdeps/nios2/configure: New generated file.
2810 * sysdeps/nios2/configure.ac: New file.
2811 * sysdeps/nios2/crti.S: New file.
2812 * sysdeps/nios2/crtn.S: New file.
2813 * sysdeps/nios2/dl-init.c: New file.
2814 * sysdeps/nios2/dl-machine.h: New file.
2815 * sysdeps/nios2/dl-sysdep.h: New file.
2816 * sysdeps/nios2/dl-tls.h: New file.
2817 * sysdeps/nios2/dl-trampoline.S: New file.
2818 * sysdeps/nios2/gccframe.h: New file.
2819 * sysdeps/nios2/gmp-mparam.h: New file.
2820 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2821 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2822 * sysdeps/nios2/ldsodefs.h: New file.
2823 * sysdeps/nios2/libc-tls.c: New file.
2824 * sysdeps/nios2/libm-test-ulps: New file.
2825 * sysdeps/nios2/machine-gmon.h: New file.
2826 * sysdeps/nios2/math-tests.h: New file.
2827 * sysdeps/nios2/math_private.h: New file.
2828 * sysdeps/nios2/memusage.h: New file.
2829 * sysdeps/nios2/nptl/Makefile: New file.
2830 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2831 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2832 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2833 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2834 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2835 * sysdeps/nios2/nptl/tls.h: New file.
2836 * sysdeps/nios2/preconfigure: New file.
2837 * sysdeps/nios2/s_fma.c: New file.
2838 * sysdeps/nios2/s_fmaf.c: New file.
2839 * sysdeps/nios2/setjmp.S: New file.
2840 * sysdeps/nios2/sfp-machine.h: New file.
2841 * sysdeps/nios2/sotruss-lib.c: New file.
2842 * sysdeps/nios2/stackguard-macros.h: New file.
2843 * sysdeps/nios2/stackinfo.h: New file.
2844 * sysdeps/nios2/start.S: New file.
2845 * sysdeps/nios2/sysdep.h: New file.
2846 * sysdeps/nios2/tls-macros.h: New file.
2847 * sysdeps/nios2/tst-audit.h: New file.
2848 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2849 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2850 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2851 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2852 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2853 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2854 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2855 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2856 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2857 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2858 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2859 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2860 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2861 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2862 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2863 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2864 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2865 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2866 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2867 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2868 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2869 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2870 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2871 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2872 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2873 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2874 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2875 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2876 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2877 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2878 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2879 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2880 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2881 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2882 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2883 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2884 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2885 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2886 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2887 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2888 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2889 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2890 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2891 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2893 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2896 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2897 (getutent): Use weak_alias in non SHARED case
2898 and default_symbol_version in SHARED case.
2899 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2900 (getutent_r, pututline): Likewise.
2901 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2902 (getutid): Likewise.
2903 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2904 (getutid_r): Likewise.
2905 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2906 (getutline): Likewise.
2907 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2908 (getutline_r): Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2910 (updwtmp): Likewise.
2912 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2915 * sysdeps/s390/s390-32/memcmp.S
2916 (memcmp_g5): Rename to __memcmp_g5.
2917 * sysdeps/s390/s390-32/memcpy.S
2918 (memcpy_g5): Rename to __memcpy_g5.
2919 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2920 (memcpy_mvcle) Rename to __memcpy_mvcle.
2921 * sysdeps/s390/s390-32/memset.S
2922 (memset_g5): Rename to __memset_g5.
2923 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2924 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2925 and use prefixed functions.
2926 * sysdeps/s390/s390-32/multiarch/memcmp.S
2927 (memcmp_z196): Rename to __memcmp_z196.
2928 (memcmp_z10): Rename to __memcmp_z10.
2929 (memcmp): Set alias to __memcmp_g5.
2930 (bcmp): Set alias to __memcmp_g5.
2931 * sysdeps/s390/s390-32/multiarch/memcpy.S
2932 (memcpy_z196): Rename to __memcpy_z196.
2933 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2934 (memcpy_z10): Rename to __memcpy_z10.
2935 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2936 (memcpy): Set alias to __memcpy_g5.
2937 * sysdeps/s390/s390-32/multiarch/memset.S
2938 (memset_z196): Rename to __memset_z196.
2939 Jump to __memset_mvcle instead of memset_mvcle.
2940 (memset_z10): Rename to __memset_z10.
2941 Jump to __memset_mvcle instead of memset_mvcle.
2942 (memset_mvcle) Rename to __memset_mvcle.
2943 (memset): Set alias to __memset_g5.
2944 * sysdeps/s390/s390-64/memcmp.S
2945 (memcmp_z900): Rename to __memcmp_z900.
2946 * sysdeps/s390/s390-64/memcpy.S
2947 (memcpy_z900): Rename to __memcpy_z900.
2948 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2949 (memcpy_mvcle) Rename to __memcpy_mvcle.
2950 * sysdeps/s390/s390-64/memset.S
2951 (memset_z900): Rename to __memset_z900.
2952 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2953 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2954 and use prefixed functions.
2955 * sysdeps/s390/s390-64/multiarch/memcmp.S
2956 (memcmp_z196): Rename to __memcmp_z196.
2957 (memcmp_z10): Rename to __memcmp_z10.
2958 (memcmp): Set alias to __memcmp_z900.
2959 (bcmp): Set alias to __memcmp_z900.
2960 * sysdeps/s390/s390-64/multiarch/memcpy.S
2961 (memcpy_z196): Rename to __memcpy_z196.
2962 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2963 (memcpy_z10): Rename to __memcpy_z10.
2964 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2965 (memcpy): Set alias to __memcpy_z900.
2966 * sysdeps/s390/s390-64/multiarch/memset.S
2967 (memset_z196): Rename to __memset_z196.
2968 Jump to __memset_mvcle instead of memset_mvcle.
2969 (memset_z10): Rename to __memset_z10.
2970 Jump to __memset_mvcle instead of memset_mvcle.
2971 (memset_mvcle) Rename to __memset_mvcle.
2972 (memset): Set alias to __memset_z900.
2974 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2977 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2978 __fesetenv instead of fesetenv.
2980 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2982 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2985 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2987 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2991 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2992 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2993 strncmp-power8 object.
2994 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2995 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2996 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2999 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3000 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3002 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3003 trailing byte check.
3005 2015-01-13 David S. Miller <davem@davemloft.net>
3007 * include/signal.h (__sigreturn): Guard with __USE_MISC.
3009 2015-01-13 Roland McGrath <roland@hack.frob.com>
3011 * login/logout.c (logout): Use memset rather than bzero.
3012 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3013 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3014 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3015 (_gethtbyaddr): Likewise.
3016 * locale/programs/simple-hash.c (bcopy): Macro removed.
3018 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3021 Add strcmp-power8 object.
3022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3023 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3024 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3025 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3026 __strcmp_power8 implementation.
3027 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3030 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3031 Add strncpy-power8 and stpncpy-power8 objects.
3032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3033 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3035 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3036 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3037 __stpncpy_power8 implementation.
3038 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3039 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3040 __strncpy_power8 implementation.
3041 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3042 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3045 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3046 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3047 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3049 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3050 strncat-power8 object.
3051 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3052 __strcat_power8 implementation.
3053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3054 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3055 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3056 optimized strcat for power8.
3058 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3059 strcpy-power8 and stpcpy-power8 objects.
3060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3061 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3063 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3064 multiarch stpcpy implementation for POWER8.
3065 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3066 multiarch strcpy implementation for POWER8.
3067 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3068 __strcpy_power8 function.
3069 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3071 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3075 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
3078 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3079 weights and rules. Use do_xfrm_cached if data fits in cache,
3080 do_xfrm otherwise. Moved former main loop to...
3081 * (do_xfrm_cached): New function.
3082 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3083 find_idx, find_position and stack_push.
3084 * (find_idx): New function.
3085 * (find_position): Likewise.
3086 * localedata/sort-test.sh: Added test run for do_xfrm.
3087 * localedata/xfrm-test.c (main): Added command line option
3088 -nocache to run the test with strings that are too large for
3091 2015-01-13 Torvald Riegel <triegel@redhat.com>
3093 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3094 variable to lll_futex_wake call, not the value itself.
3096 2015-01-12 Joseph Myers <joseph@codesourcery.com>
3099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3100 twom64. Adjust value to 0x1p-64L.
3101 (__scalblnl): Only return standard underflowing result for K <=
3102 -64 not K <= -63; adjust exponent for underflowing result by 64
3104 * math/libm-test.inc (scalbn_test_data): Add more tests.
3105 (scalbln_test_data): Likewise.
3108 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3110 (__scalblnl): Get new exponent of adjusted subnormal value from ES
3112 * math/libm-test.inc (scalbn_test_data): Add more tests.
3113 (scalbln_test_data): Likewise.
3115 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116 Stefani Seibold <stefani@seibold.net>
3118 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3119 (sysdep_routines): Add dl-vdso here, ...
3120 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3121 (sysdep_routines): ... not here.
3122 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3123 fallback when vDSO is not presented.
3124 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3125 Define with libc_hidden_proto/libc_hidden_data_def definitions.
3126 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3127 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3128 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3130 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3131 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3132 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3134 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
3135 fallback configurable symbol when vDSO is not available.
3136 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3137 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
3138 be able to redefine fallback symbol when vDSO is not available.
3139 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3140 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3142 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3145 (TLS_INIT_TP): Add tm_capable initialization.
3146 (TLS_DEFINE_INIT_TP): Likewise.
3147 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3149 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3150 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3152 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3153 transactoion is lock elision is built and TCB tm_capable is set.
3154 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3156 (INTERNAL_SYSCALL_NCS): Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3158 (INTERNAL_SYSCALL_NCS): Likewise.
3159 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3161 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3163 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3164 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3165 and remove it for 32 bits case.
3166 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3169 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3170 Disable lock elision with rdlocks if elision is not available.
3172 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3173 (sysdep_routines): Add lock elision objects.
3174 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3175 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3176 [pthread_mutex_t] (__elision): Add field.
3177 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3178 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3179 elision definitions for powerpc.
3180 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3181 implementation of lock elision for powerpc.
3182 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3183 implementation of timed lock elision for powerpc.
3184 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3185 implementation of trylock with lock elision for powerpc.
3186 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3187 implementaion of unlock for lock elision for powerpc.
3188 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3189 automatic enable lock elision for mutexes.
3190 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3191 transaction execution definitions for powerpc.
3192 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3194 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3195 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3196 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3197 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3200 2015-01-09 Roland McGrath <roland@hack.frob.com>
3202 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3203 for #include of <shm-directory.h>.
3205 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3208 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3210 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3213 * NEWS: Mention bug fix.
3214 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3215 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3216 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3218 2015-01-09 Torvald Riegel <triegel@redhat.com>
3220 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3222 2015-01-09 Torvald Riegel <triegel@redhat.com>
3224 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3226 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3228 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3229 pointer and cast to uintptr_t.
3231 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3233 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3235 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3237 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3239 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3242 2015-01-08 Roland McGrath <roland@hack.frob.com>
3244 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3245 <nptl/pthreadP.h> instead.
3246 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3248 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3250 [__SIGRTMIN] (init): Function removed.
3251 [__SIGRTMIN] (initialized): Variable removed.
3252 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3253 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3254 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3255 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3256 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3257 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3258 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3259 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3260 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3261 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3262 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3263 * sysdeps/nptl/allocrtsig.c: New file.
3264 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3265 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3266 * sysdeps/generic/testrtsig.h: File removed.
3268 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3269 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3271 * nptl/nptl-init.c (pthread_functions): Conditionalize
3272 .ptr__nptl_setxid initialization on [SIGSETXID].
3274 * sysdeps/nptl/sys/procfs.h: New file.
3275 * nptl_db/Makefile (headers): Add it.
3276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3278 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3279 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3280 * nptl/pthread_attr_setaffinity.c: Include it.
3281 * nptl/pthread_setattr_default_np.c: Likewise.
3282 * nptl/check-cpuset.h: New file.
3284 2015-01-08 Richard Henderson <rth@redhat.com>
3286 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3287 (CFLAGS-tst-execstack-prog.c): Likewise.
3288 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3290 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3291 Sandra Loosemore <sandra@codesourcery.com>
3292 Andrew Jenner <andrew@codesourcery.com>
3293 Joseph Myers <joseph@codesourcery.com>
3294 Nathan Sidwell <nathan@codesourcery.com>
3296 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3297 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3298 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3299 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3300 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3301 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3302 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3303 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3304 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3305 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3306 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3307 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3308 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3309 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3310 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3311 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3312 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3314 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3317 timespec struct member in syscall macro.
3318 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3319 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3320 first timeval struct member in syscall macro.
3321 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3323 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3326 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3327 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3328 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3329 __feupdateenv and define as weak alias of __feupdateenv. Use
3331 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3333 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3334 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3335 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3336 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3338 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3339 __feupdateenv and define as weak alias of __feupdateenv. Use
3341 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3343 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3344 __feupdateenv and define as weak alias of __feupdateenv. Use
3346 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3348 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3349 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3350 (__feupdateenv): Likewise.
3351 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3352 __feupdateenv and define as weak alias of __feupdateenv. Use
3354 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3355 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3357 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3359 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3361 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3362 __feupdateenv instead of feupdateenv.
3363 (default_libc_feupdateenv_test): Likewise.
3364 (libc_feresetround_ctx): Likewise.
3366 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3368 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3371 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3373 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3374 COLL_SYM in a couple of places to avoid uninitialized variable
3375 wanings on tilegx gcc 4.8.2.
3377 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3379 * sysdeps/aarch64/strcpy.S: New file.
3380 * sysdeps/aarch64/stpcpy.S: New file.
3383 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3385 * sysdeps/aarch64/strrchr.S: New file.
3388 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3391 * stdlib/setenv.c: Fix memory leak when setting large,
3394 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3397 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3398 and tabs from buffer before parsing fstab entry.
3399 * misc/tst-mntent.c (main): Add test for mount entry with
3400 trailing spaces and tabs.
3402 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3405 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3406 * math/fesetround.c (fesetround): Rename to __fesetround and
3407 define as weak alias of __fesetround. Use libm_hidden_weak.
3408 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3409 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3410 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3411 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3412 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3413 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3414 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3415 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3416 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3417 __fesetround_inline.
3418 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3419 __fesetround_inline instead of __fesetround.
3420 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3421 __fesetround and define as weak alias of __fesetround. Use
3422 libm_hidden_weak. Call __fesetround_inline instead of
3424 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3425 __fesetround and define as weak alias of __fesetround. Use
3427 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3429 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3431 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3432 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3433 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3434 __fesetround and define as weak alias of __fesetround. Use
3436 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3437 __fesetround instead of fesetround.
3438 (default_libc_feholdexcept_setround): Likewise.
3439 (libc_feholdsetround_ctx): Likewise.
3440 (libc_feholdsetround_noex_ctx): Likewise.
3443 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3444 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3445 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3446 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3447 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3448 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3449 define as weak alias of __fesetenv. Use libm_hidden_weak.
3450 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3451 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3452 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3453 define as weak alias of __fesetenv. Use libm_hidden_weak.
3454 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3455 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3456 define as weak alias of __fesetenv. Use libm_hidden_weak.
3457 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3459 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3460 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3462 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3463 define as weak alias of __fesetenv. Use libm_hidden_weak.
3464 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3465 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3466 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3467 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3468 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3469 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3470 __fesetenv instead of fesetenv.
3471 (libc_feresetround_noex_ctx): Likewise.
3472 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3473 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3474 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3475 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3476 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3477 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3478 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3479 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3480 (__feupdateenv): Likewise.
3481 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3482 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3483 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3484 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3486 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3489 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3490 addresses have been freed.
3492 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3494 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3497 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3499 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3500 Clean up check_pf allocation pattern. addresses
3502 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3504 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3505 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3506 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3507 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3508 * nptl/pthread_join.c (pthread_join): Likewise.
3509 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3510 * sysdeps/posix/waitid.c (__waitid): Likewise.
3511 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3512 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3513 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3514 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3517 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3518 (__libc_pread64): Likewise.
3519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3520 (__libc_pwrite): Likewise.
3521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3522 (__libc_pwrite64): Likewsie.
3523 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3524 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3525 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3526 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3527 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3528 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3529 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3533 (__libc_pread64): Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3537 (__libc_pwrite64): Likewise.
3538 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3539 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3540 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3541 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3542 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3543 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3544 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3545 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3546 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3547 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3548 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3549 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3550 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3551 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3552 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3553 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3556 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3558 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3559 (CFLAGS-test-double.c): Likewise.
3560 (CFLAGS-test-ldouble.c): Likewise.
3561 (CPPFLAGS-test-ifloat.c): Likewise.
3562 (CPPFLAGS-test-idouble.c): Likewise.
3563 (CPPFLAGS-test-ildoubl.c): Likewise.
3564 (CFLAGS-test-test-fenv.c): Remove variable.
3565 (CFLAGS-test-misc.c): Likewise.
3567 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3570 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3571 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3572 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3573 CLOCKS_PER_SEC == 1000000.
3574 * time/clocktest.c (main): Replace %ld with %jd and cast to
3577 2015-01-05 Roland McGrath <roland@hack.frob.com>
3579 * sysdeps/generic/unwind-resume.h: New file.
3580 * sysdeps/gnu/unwind-resume.c: Include it.
3581 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3582 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3584 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3585 global rather than static.
3586 (_Unwind_Resume): Update user.
3587 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3588 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3589 rather than static. Add __attribute__ ((cold)).
3590 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3591 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3592 * sysdeps/arm/arm-unwind-resume.S: New file.
3593 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3594 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3595 * sysdeps/arm/Makefile [$(subdir) = csu]
3596 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3597 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3598 Add rt-arm-unwind-resume.
3600 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3601 Add pt-arm-unwind-resume.
3602 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3603 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3605 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3608 * include/fenv.h (__feholdexcept): Declare. Use
3610 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3611 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3612 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3613 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3614 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3615 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3616 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3617 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3618 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3619 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3620 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3621 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3622 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3623 (feholdexcept): Likewise.
3624 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3625 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3626 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3627 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3628 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3629 __feholdexcept instead of feholdexcept.
3630 (default_libc_feholdexcept_setround): Likewise.
3632 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3634 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3635 to avoid using stl/str to align destination.
3637 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3639 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3641 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3644 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3645 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3646 Define as weak alias not strong alias.
3648 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3650 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3651 bltzal with addiupc.
3652 (RTLD_START): Ditto.
3654 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3656 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3657 for __vdso_* functions in declarations.
3658 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3660 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3661 INTERNAL_VSYSCALL): Use struct return types to check for error.
3663 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3664 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3665 function with cast from llround().
3666 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3667 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3670 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3673 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3674 Define as weak alias not strong alias.
3677 * ctype/ctype-c99.c: New file. isblank implementation moved from
3679 * ctype/ctype-extn.c: ... here.
3680 (__isblank_l): Move to ...
3681 * ctype/ctype-c99_l.c: ... here. New file.
3682 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3683 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3685 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3686 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3687 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3688 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3689 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3692 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3693 (posix_fadvise64): Define as weak alias not strong alias.
3694 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3695 (posix_fallocate64): Likewise.
3696 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3698 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3699 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3700 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3701 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3702 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3704 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3707 * NEWS: Mention bug fix.
3708 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3709 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3710 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3711 (HOST_STACK_END_ADDR): Likewise.
3713 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3716 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3717 * math/fegetround.c (fegetround): Rename to __fegetround and
3718 define as weak alias of __fegetround. Use libm_hidden_weak.
3719 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3720 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3721 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3722 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3723 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3724 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3725 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3726 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3727 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3728 Undefine after rather than before function definition; use
3729 parentheses around function name in definition.
3730 (__fegetround): Also undefine macro after function definition.
3731 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3732 __fegetround and define as weak alias of __fegetround. Use
3733 libm_hidden_weak. Do not undefine as macro.
3734 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3736 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3737 __fegetround and define as weak alias of __fegetround. Use
3739 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3740 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3741 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3742 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3743 __fegetround and define as weak alias of __fegetround. Use
3745 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3746 __fegetround instead of fegetround.
3749 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3750 Condition macro definition on [__USE_MISC].
3753 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3754 (struct sigaction): Change type of sa_flags field to int.
3757 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3758 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3761 * nptl/version.c (banner): Use single year in copyright notice.
3763 * NEWS: Update copyright dates.
3764 * catgets/gencat.c (print_version): Likewise.
3765 * csu/version.c (banner): Likewise.
3766 * debug/catchsegv.sh: Likewise.
3767 * debug/pcprofiledump.c (print_version): Likewise.
3768 * debug/xtrace.sh (do_version): Likewise.
3769 * elf/ldconfig.c (print_version): Likewise.
3770 * elf/ldd.bash.in: Likewise.
3771 * elf/pldd.c (print_version): Likewise.
3772 * elf/sotruss.sh: Likewise.
3773 * elf/sprof.c (print_version): Likewise.
3774 * iconv/iconv_prog.c (print_version): Likewise.
3775 * iconv/iconvconfig.c (print_version): Likewise.
3776 * locale/programs/locale.c (print_version): Likewise.
3777 * locale/programs/localedef.c (print_version): Likewise.
3778 * login/programs/pt_chown.c (print_version): Likewise.
3779 * malloc/memusage.sh (do_version): Likewise.
3780 * malloc/memusagestat.c (print_version): Likewise.
3781 * malloc/mtrace.pl: Likewise.
3782 * manual/libc.texinfo: Likewise.
3783 * nptl/version.c (banner): Likewise.
3784 * nscd/nscd.c (print_version): Likewise.
3785 * nss/getent.c (print_version): Likewise.
3786 * nss/makedb.c (print_version): Likewise.
3787 * posix/getconf.c (main): Likewise.
3788 * scripts/test-installation.pl: Likewise.
3789 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3791 2015-01-02 Will Newton <will.newton@linaro.org>
3793 * sysdeps/arm/armv7/configure: Removed.
3794 * sysdeps/arm/armv7/configure.ac: Likewise.
3796 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3798 * All files with FSF copyright notices: Update copyright dates
3799 using scripts/update-copyrights.
3800 * intl/plural.c: Regenerated.
3801 * locale/programs/charmap-kw.h: Likewise.
3802 * locale/programs/locfile-kw.h: Likewise.
3804 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3806 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3808 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3811 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3812 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3813 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3814 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3815 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3816 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3817 define as weak alias of __fegetenv. Use libm_hidden_weak.
3818 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3819 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3820 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3821 define as weak alias of __fegetenv. Use libm_hidden_weak.
3822 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3823 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3824 define as weak alias of __fegetenv. Use libm_hidden_weak.
3825 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3827 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3828 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3830 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3831 define as weak alias of __fegetenv. Use libm_hidden_weak.
3832 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3833 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3834 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3835 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3836 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3837 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3838 __fegetenv instead of fegetenv.
3839 (libc_feholdsetround_noex_ctx): Likewise.
3841 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3843 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3844 (Elf_MIPS_ABIFlags_v0): New structure.
3845 (EF_MIPS_FP64): Define.
3846 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3847 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3848 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3849 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3850 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3851 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3852 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3853 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3854 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3855 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3856 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3857 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3858 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3859 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3860 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3861 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3862 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3863 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3864 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3865 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3866 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3867 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3869 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3871 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3872 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3873 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3874 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3875 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3876 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3877 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3878 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3879 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3880 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3881 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3882 record the current FP ABI extension.
3883 (mips-mode-switch): Define to show if kernel headers support mode
3885 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3886 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3887 supported SYSV ABI version to 3.
3888 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3891 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3892 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3894 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3896 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3898 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3900 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3901 __fegetround and redefine to call __fegetround. Remove condition
3902 on [!__NO_MATH_INLINES].
3903 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3905 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3908 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3909 instead of <fenv_libc.h>.
3910 (__llrintl): Call fegetround instead of __fegetround.
3911 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3912 instead of <fenv_libc.h>.
3913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3914 (__lrintl): Call fegetround instead of __fegetround.
3915 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3916 instead of <fenv_libc.h>.
3917 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3918 (__rintl): Call fegetround instead of __fegetround.
3920 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3922 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3925 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3928 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3929 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3930 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3932 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3934 * sysdeps/i386/tls-macros.h: Include <features.h>.
3935 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3939 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3940 define for GCC >= 5.0.
3942 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3944 * math/test-fenv.c (test_single_exception, set_single_exc,
3945 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3946 feexcp_mask_test, feenable_test, fe_single_test): Add
3947 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3948 case where they are not used.
3949 * math/libm-test.inc: Likewise.
3950 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3951 unused in the absence of FP rounding/exception support.
3952 * stdio-common/tst-printf-round.c: Likewise.
3953 * stdlib/tst-strtod-round.c: Likewise.
3954 * stdlib/tst-strtod-underflow.c: Likewise.
3956 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3959 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3960 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3961 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3962 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3964 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3965 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3966 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3968 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3969 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3971 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3973 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3974 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3975 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3977 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3979 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3980 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3981 (__feraiseexcept): Likewise.
3982 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3983 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3985 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3986 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3988 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3989 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3990 Use libm_hidden_def.
3991 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3993 (feraiseexcept): Define as weak not strong alias. Use
3995 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3996 New inline function. Factored out of ...
3997 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3998 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3999 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4001 * math/w_acos.c (__acos): Likewise.
4002 * math/w_asin.c (__asin): Likewise.
4003 * math/w_ilogb.c (__ilogb): Likewise.
4004 * math/w_j0.c (y0): Likewise.
4005 * math/w_j1.c (y1): Likewise.
4006 * math/w_jn.c (yn): Likewise.
4007 * math/w_log.c (__log): Likewise.
4008 * math/w_log10.c (__log10): Likewise.
4009 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4010 * sysdeps/aarch64/fpu/math_private.h
4011 (libc_feupdateenv_test_aarch64): Likewise.
4012 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4013 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4014 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4015 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4016 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4017 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4018 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4019 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4020 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4021 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4023 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4026 * io/test-utime.c (main): Replace %ld with %jd and cast to
4028 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4029 * nptl/tst-mutex5.c: Include <stdint.h>.
4030 (do_test): Replace %ld with %jd and cast to intmax_t.
4031 * posix/tst-regex.c (run_test): Likewise.
4032 (run_test_backwards): Likewise.
4033 * rt/tst-clock.c: Include <stdint.h>.
4034 (clock_test): Replace %ld with %jd and cast to intmax_t.
4035 * rt/tst-cpuclock1.c: Include <stdint.h>.
4036 (do_test): Replace %lu with %ju and cast to uintmax_t.
4037 * rt/tst-cpuclock2.c: Include <stdint.h>.
4038 (do_test): Replace %lu with %ju and cast to uintmax_t.
4039 * rt/tst-mqueue1.c: Include <stdint.h>.
4040 (check_attrs): Replace %ld with %jd and cast to intmax_t.
4041 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4043 * rt/tst-mqueue4.c (do_test): Likewise.
4044 * rt/tst-timer4.c: Include <stdint.h>.
4045 (check_ts): Replace %ld with %jd and cast to intmax_t.
4046 (do_test): Likewise.
4047 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4048 and cast to intmax_t.
4049 * sysdeps/pthread/tst-timer.c (main): Likewise.
4050 * time/clocktest.c (main): Likewise.
4051 * time/tst-posixtz.c (do_test): Likewise.
4052 * timezone/tst-timezone.c (main): Likewise.
4054 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
4055 H.J. Lu <hongjiu.lu@intel.com>
4057 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4058 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4062 version if bit_Fast_Unaligned_Load is set.
4063 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4070 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4071 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4072 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4074 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4075 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4076 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4077 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4079 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
4081 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4082 instead of #if to avoid a Wundef warning.
4083 * stdlib/tst-limits.c (do_test): Likewise.
4085 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4086 parallel other exception macros.
4087 (fegetenv): Convert from macro to extern inline so that it applies
4088 retroactively to inline functions already seen by the compiler.
4089 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4091 * posix/Makefile (before-compile): Use $(objpfx) for
4092 posix-conf-vars-def.h.
4094 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4096 * posix/getconf.c (main): Use size_t for type of I.
4097 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4100 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4101 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4102 * posix/posix-envs.def: Likewise.
4103 * sysdeps/posix/sysconf.c: Likewise.
4104 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4105 (specs): Remove array.
4106 * scripts/gen-posix-conf-vars.awk: Support generation of specs
4109 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4110 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4111 (__sysconf): Use CONF_IS_* macros.
4113 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4114 ($(objpfx)posix-conf-vars-def.h): New target.
4115 * posix/posix-conf-vars.list: New file.
4116 * posix/posix-conf-vars.h: New file.
4117 * posix/confstr.c: Include posix-conf-vars.h.
4118 (confstr): Use CONF_IS_* macros.
4119 * posix/posix-envs.def: Include posix-conf-vars.h. Use
4121 * scripts/gen-posix-conf-vars.awk: New file.
4123 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
4125 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4126 fegetround): Add no-op macros to avoid linknamespace issues.
4128 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4129 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4131 * sysdeps/unix/sysv/linux/tile/sysdep.h
4132 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4133 assembly-specific section to avoid a redefinition warning.
4135 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4136 long before casting to pointer to avoid a cast warning.
4138 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
4140 * sysdeps/tile/tilegx/Implies: New file.
4142 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
4144 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4146 2014-12-23 Florian Weimer <fweimer@redhat.com>
4148 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4150 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4152 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4154 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4155 <kernel-features.h>.
4156 (__utimes) [__NR_utimes]: Make code unconditional.
4157 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4158 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4159 (__ASSUME_UTIMES): Do not undefine.
4160 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4161 (__ASSUME_UTIMES): Likewise.
4162 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4163 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4164 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4165 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4167 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4169 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4171 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4174 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4175 alias to weak alias for j0l, y0l.
4176 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4177 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4180 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4183 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
4185 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4186 to zero if not already defined.
4188 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4191 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4192 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4193 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4194 (char *) casts added.
4195 * sysdeps/ieee754/k_standardf.c: New file.
4196 * sysdeps/ieee754/k_standardl.c: Likewise.
4197 * math/Makefile (libm-support): Remove k_standard.
4198 (libm-calls): Add k_standard.
4200 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4202 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4203 Optimize to avoid an unnecessary FPCR read.
4205 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4207 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4208 Optimize to reduce FPCR/FPSR accesses.
4210 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4212 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4213 Call libc_fetestexcept_aarch64.
4215 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4217 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4218 Call libc_fesetround_aarch64.
4220 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4223 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4224 (__bind): Do not define as weak alias.
4225 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4227 (__getsockname): Do not define as weak alias.
4229 2014-12-22 Will Newton <will.newton@linaro.org>
4231 * manual/install.texi: Document that we require bison 2.7
4233 * INSTALL: Regenerate.
4234 * configure.ac: Use AC_CHECK_PROG_VER instead of
4235 AC_PATH_PROG when checking for bison and check for
4236 version 2.7 or above.
4237 * configure: Regenerate.
4239 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4242 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4243 * sysdeps/tile/ffsll.c (ffsll): To here.
4245 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4247 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4249 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4251 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4253 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4254 hidden ___tls_get_addr.
4255 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4256 hidden __tls_get_addr.
4257 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4258 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4261 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4263 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4266 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4268 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4269 from "call _dl_init@PLT".
4270 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4272 2014-12-21 Anders Kaseorg <andersk@mit.edu>
4274 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4277 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4279 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4281 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4284 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4287 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4289 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4291 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4292 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4293 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4294 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4295 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4297 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4299 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4300 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4301 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4302 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4303 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4305 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4307 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4309 * string/strncat.c (STRNCAT): Simplify implementation.
4311 2014-12-19 David S. Miller <davem@davemloft.net>
4313 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4314 access the quad as both a long double and as a series of 4 words.
4316 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4317 link_map->l_info array access.
4319 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4321 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4323 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4324 * math/atest-exp2.c (TIMEOUT): Likewise.
4325 * math/atest-sincos.c (TIMEOUT): Likewise.
4327 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4329 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4330 -Wno-error with -fno-builtin-lround.
4332 2014-12-19 Torvald Riegel <triegel@redhat.com>
4334 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4335 Contains futex constants and functions moved over from ...
4336 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4337 <lowlevellock-futex.h>.
4338 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4339 (lll_timedwait_tid): Add comments and parentheses around macro
4342 2014-12-19 Torvald Riegel <triegel@redhat.com>
4344 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4345 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4346 (__lll_private_flag): Remove.
4347 (lll_futex_wait): Likewise.
4348 (lll_futex_timed_wait): Likewise.
4349 (lll_futex_wake): Likewise.
4350 (lll_futex_requeue): Likewise.
4351 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4352 (__lll_timedwait_tid): Spell out argument names.
4353 (lll_timedwait_tid): Add comments and parentheses around macro
4355 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4356 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4358 2014-12-19 Torvald Riegel <triegel@redhat.com>
4360 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4361 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4362 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4363 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4364 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4365 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4366 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4367 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4368 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4369 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4370 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4371 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4372 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4373 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4374 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4375 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4376 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4377 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4378 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4380 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4382 * sysdeps/x86_64/x32/Makefile: New file.
4384 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4386 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4387 1L with (mp_limb_t) 1.
4389 2014-12-17 Roland McGrath <roland@hack.frob.com>
4391 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4392 * nptl/libc_pthread_init.c: ... here.
4393 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4394 * nptl/register-atfork.c: ... here.
4396 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4397 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4398 Use assert_perror to check its return value.
4399 (__gai_create_helper_thread): Likewise.
4401 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4403 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4405 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4408 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4410 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4412 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4414 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4416 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4417 (profil_counter): Likewise.
4418 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4419 (profil_counter): Likewise.
4420 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4422 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4424 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4425 (profil_counter): Likewise.
4426 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4428 [!__profil_counter] (profil_counter): Define as weak alias of
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4431 (profil_counter): Rename to __profil_counter.
4432 [!__profil_counter] (profil_counter): Define as weak alias of
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4435 (profil_counter): Rename to __profil_counter.
4436 [!__profil_counter] (profil_counter): Define as weak alias of
4438 * sysdeps/posix/profil.c: Update comment referring to
4440 (__profil): Use __profil_counter instead of profil_counter.
4441 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4442 __profil_counter. Use __profil_counter_ushort and
4443 __profil_counter_uint in definitions.
4444 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4445 instead of profil_counter_uint and profil_counter_ushort.
4448 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4449 define as weak alias of __inet_makeaddr.
4450 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4451 as weak alias of __inet_addr.
4452 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4453 as weak alias of __inet_pton. Use libc_hidden_weak.
4454 * include/arpa/inet.h (__inet_pton): Declare. Use
4456 (inet_makeaddr): Don't use libc_hidden_proto.
4457 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4458 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4459 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4460 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4462 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4463 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4465 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4467 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4469 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4471 * stdio-common/bug-vfprintf-nargs.c (do_test):
4472 Cast value to intptr_t to avoid format warning
4473 for usage with PRIdPTR printing macro.
4475 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4477 * libio/tst-widetext.c (do_test):
4478 Use format type %td instead of %Zd for ptrdiff_t
4479 in order to avoid format warning.
4481 2014-12-17 Andreas Schwab <schwab@suse.de>
4483 * nscd/mem.c (gc): Add size_t cast to match printf format.
4485 2014-12-16 Roland McGrath <roland@hack.frob.com>
4487 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4488 (init): Apply PTR_MANGLE to pointers before storing them.
4489 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4492 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4495 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4496 define as weak alias of __memrchr.
4497 (__memrchr): Do not define as strong alias of memrchr.
4498 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4500 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4501 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4502 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4505 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4506 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4507 (if_indextoname): Rename to __if_indextoname and define as weak
4508 alias of __if_indextoname. Use libc_hidden_weak.
4509 (if_freenameindex): Rename to __if_freenameindex and define as
4510 weak alias of __if_freenameindex.
4511 (if_nameindex): Rename to __if_nameindex and define as weak alias
4513 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4514 __if_nametoindex and define as weak alias of __if_nametoindex.
4515 Use libc_hidden_weak.
4516 (if_freenameindex): Rename to __if_freenameindex and define as
4517 weak alias of __if_freenameindex.
4518 (if_nameindex): Rename to __if_nameindex and define as weak alias
4520 (if_indextoname): Rename to __if_indextoname and define as weak
4521 alias of __if_indextoname. Use libc_hidden_weak.
4522 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4523 __if_nametoindex and define as weak alias of __if_nametoindex.
4524 Use libc_hidden_weak.
4525 (if_freenameindex): Rename to __if_freenameindex and define as
4526 weak alias of __if_freenameindex. Use libc_hidden_weak.
4527 (if_nameindex_netlink): Use __if_freenameindex instead of
4529 (if_nameindex): Rename to __if_nameindex and define as weak alias
4530 of __if_nameindex. Use libc_hidden_weak.
4531 (if_indextoname): Rename to __if_indextoname and define as weak
4532 alias of __if_indextoname. Use libc_hidden_weak.
4533 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4535 [!_ISOMAC] (__if_freenameindex): Likewise.
4536 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4538 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4540 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4541 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4542 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4543 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4544 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4545 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4546 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4548 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4550 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4551 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4553 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4555 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4556 subscript above bounds'
4558 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4561 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4563 * libio/tst-fopenloc.c: Use test-skeleton.c.
4565 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4566 (entry): Rename to ITEM.
4567 (do_test, comp): Adjust.
4569 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4571 2014-12-16 Torvald Riegel <triegel@redhat.com>
4573 * string/tester.c: Include <libc-internal.h>.
4574 (test_memset): Ignore -Wmemset-transposed-args.
4576 2014-12-16 Torvald Riegel <triegel@redhat.com>
4578 * misc/tst-mntent2.c (do_test): Fix warning.
4580 2014-12-16 Torvald Riegel <triegel@redhat.com>
4582 * elf/tst-unique4lib.cc(a): Mark as used.
4584 2014-12-16 Florian Weimer <fweimer@redhat.com>
4587 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4590 2014-12-16 Allan McRae <allan@archlinux.org>
4592 * stdio-common/Makefile (tests): Re-add bug26.
4594 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4597 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4600 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4602 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4603 (__lll_lock_wait): Likewise.
4604 (__lll_timedlock_wait): Likewise.
4605 (__lll_timedwait_tid): Likewise.
4606 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4607 (__lll_robust_timedlock_wait): Likewise.
4608 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4609 (lll_cond_trylock): Likewise.
4610 (__lll_lock): Likewise.
4611 (__lll_robust_lock): Likewise.
4612 (__lll_cond_lock): Likewise.
4613 (lll_robust_cond_lock): Likewise.
4614 (__lll_timedlock): Likewise.
4615 (__lll_robust_timedlock): Likewise.
4616 (__lll_unlock): Likewise.
4617 (__lll_robust_unlock): Likewise.
4618 (lll_wait_tid): Likewise.
4619 (lll_timedwait_tid): Likewise.
4621 2014-12-15 Torvald Riegel <triegel@redhat.com>
4623 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4625 2014-12-15 Torvald Riegel <triegel@redhat.com>
4627 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4629 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4631 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4632 * stdio-common/tst-sprintf.c: Likewise.
4634 2014-12-15 Torvald Riegel <triegel@redhat.com>
4636 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4638 2014-12-15 Jeff Law <law@redhat.com>
4641 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4642 on the heap. (CVE-2012-3406)
4643 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4644 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4645 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4647 2014-12-15 Will Newton <will.newton@linaro.org>
4649 * manual/install.texi: Bump required version of texinfo
4651 * INSTALL: Regenerated.
4652 * configure.ac: Check for makeinfo version 4.7 and above.
4653 * configure: Regenerated.
4655 2014-12-12 Roland McGrath <roland@hack.frob.com>
4657 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4658 PREFIX, string constant to insert between directory and name.
4659 * sysdeps/posix/shm_open.c: Update caller.
4660 * sysdeps/posix/shm_unlink.c: Likewise.
4661 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4662 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4663 (SEM_SHM_PREFIX): New macro.
4664 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4665 [$(have-thread-library) = no].
4666 * nptl/Makefile (libpthread-routines): Add shm-directory.
4667 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4668 * sysdeps/nptl/shm-directory.h: New file.
4669 * sysdeps/posix/shm-directory.c
4670 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4671 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4672 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4674 (__where_is_shmfs): Function removed.
4675 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4677 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4679 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4681 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4682 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4683 unconditional for use inside libpthread.
4684 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4686 2014-12-12 Roland McGrath <roland@hack.frob.com>
4688 * nptl/pthread_getaffinity.c: New file.
4689 * nptl/pthread_setaffinity.c: New file.
4690 * nptl/pthread_getname.c: New file.
4691 * nptl/pthread_setname.c: New file.
4693 * nptl/pthread_create.c (START_THREAD_DEFN)
4694 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4696 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4697 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4699 * resolv/res_send.c (send_vc): Disable warning resplen may
4700 be used uninitialized.
4702 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4705 (ATTR_NULL): New define checks ATTR against NULL.
4706 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4707 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4709 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4713 (mem2mem_check): Revert my previous change.
4714 (malloc_check_get_size): Revert my previous change.
4715 (mem2chunk_check): Revert my previous change.
4717 2014-12-11 Roland McGrath <roland@hack.frob.com>
4719 * sysdeps/posix/shm-directory.c: New file.
4720 * sysdeps/posix/shm-directory.h: New file.
4721 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4722 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4723 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4724 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4725 Transmute EPERM to EACCES.
4726 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4728 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4729 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4731 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4733 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4734 pointer and cast to uintptr_t.
4735 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4736 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4737 Add cast to avoid warning.
4738 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4740 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4742 * nptl/semaphore.h: Move to ...
4743 * sysdeps/pthread/semaphore.h: ... here.
4744 * Makefile (installed-headers): Change nptl/semaphore.h to
4745 sysdeps/pthread/semaphore.h.
4747 2014-12-11 Roland McGrath <roland@hack.frob.com>
4749 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4750 generated error format strings.
4752 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4753 -Wformat-extra-args warnings for scanf formats.
4754 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4755 test of zero-length format (duh).
4756 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4757 corner-case scanf format test.
4758 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4759 generated fprintf format string.
4760 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4761 corner-case sprintf format tests.
4762 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4763 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4764 -Wformat-extra-args warnings throughout.
4765 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4766 (CFLAGS-scanf4.c): Likewise.
4767 (CFLAGS-scanf7.c): Likewise.
4768 (CFLAGS-tst-sprintf.c): Likewise.
4769 (CFLAGS-tst-printf.c): Likewise.
4770 (CFLAGS-tst-printfsz.c): Likewise.
4772 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4774 * include/cpio.h: New file.
4775 * include/fmtmsg.h: Likewise.
4777 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4778 corresponding format argument to size_t.
4779 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4781 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4782 corresponding format argument to size_t.
4783 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4785 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4786 corresponding format argument to size_t.
4787 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4788 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4789 (CFLAGS-tst-mbswcs2.c): Likewise.
4790 (CFLAGS-tst-mbswcs3.c): Likewise.
4791 (CFLAGS-tst-mbswcs4.c): Likewise.
4792 (CFLAGS-tst-mbswcs5.c): Likewise.
4793 (CFLAGS-tst-trans.c): Likewise
4795 2014-12-11 Roland McGrath <roland@hack.frob.com>
4797 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4798 rather than assuming they won't contain any '%'s.
4800 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4802 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4803 inhibit_loop_to_libcall to avoid recursive calls.
4804 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4805 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4807 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4809 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4812 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4814 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4815 integer value instead of boolean.
4817 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4819 * malloc/malloc.c: Fix powerof2 check.
4821 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4823 * locale/programs/locfile.h (maybe_swap_uint32):
4824 Remove inline and add unused attribute.
4826 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4828 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4829 Truncating assembler expression to a .long expression.
4831 2014-12-11 Andreas Schwab <schwab@suse.de>
4833 * elf/rtld.c (struct map_args): Constify str member.
4834 (do_preload): Constify fname argument.
4836 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4838 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4839 constants definition.
4841 2014-12-11 Andreas Schwab <schwab@suse.de>
4844 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4845 FORCE_ELISION instead of DO_ELISION.
4846 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4848 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4851 * iconvdata/gconv-modules: Remove duplicate entry.
4853 2014-12-11 Will Newton <will.newton@linaro.org>
4855 Merge gettext 0.19.3 into intl/.
4857 This involves a number of cosmetic changes to comments
4858 and ANSI function definitions and prototypes throughout
4859 all the files. The gettext copyright header is used but
4860 with the date ranges taken from the glibc copy.
4862 * NEWS: Add gettext merge to 2.21.
4863 * intl/bindtextdom.c: Switch to gettext copyright.
4864 Use ANSI definitions and prototypes.
4865 Use gl_* locking primitives rather than __libc_* ones.
4866 Use __builtin_expect rather than __glibc_likely/unlikely.
4867 * intl/dcgettext.c: Switch to gettext copyright.
4868 Use ANSI definitions and prototypes.
4869 * intl/dcigettext.c: Switch to gettext copyright.
4870 Use ANSI definitions and prototypes.
4871 (INTDIV0_RAISES_SIGFPE): New define.
4872 Use gl_* locking primitives rather than __libc_* ones.
4873 Include eval-plural.h instead of plural-eval.c.
4874 Use __builtin_expect rather than __glibc_likely/unlikely.
4875 * intl/dcngettext.c: Switch to gettext copyright.
4876 Use ANSI definitions and prototypes.
4877 * intl/dgettext.c: Likewise.
4878 * intl/dngettext.c: Likewise.
4879 * intl/plural-eval.c: Renamed to...
4880 * intl/eval-plural.h: ...this.
4881 * intl/explodename.c: Switch to gettext copyright.
4882 Use ANSI definitions and prototypes.
4883 (_nl_explode_name): Use strchr instead of __rawmemchr.
4884 * intl/finddomain.c: Switch to gettext copyright.
4885 Use ANSI definitions and prototypes.
4886 Use gl_* locking primitives rather than __libc_* ones.
4887 (_nl_find_domain): Use malloc rather than alloca for
4888 allocation of temporary locale name.
4889 * intl/gettext.c: Switch to gettext copyright.
4890 Use ANSI definitions and prototypes.
4891 * intl/gettextP.h: Switch to gettext copyright.
4892 Use ANSI definitions and prototypes.
4893 Use gl_* locking primitives rather than __libc_* ones.
4894 * intl/gmo.h: Switch to gettext copyright.
4895 (struct sysdep_string): Move struct segment_pair outside of
4897 * intl/hash-string.c: Use ANSI definitions and prototypes.
4898 * intl/hash-string.h: Switch to gettext copyright.
4899 Use ANSI definitions and prototypes.
4900 * intl/l10nflist.c: Switch to gettext copyright.
4901 Use ANSI definitions and prototypes.
4902 (_nl_normalize_codeset): Avoid integer overflow.
4903 * intl/loadinfo.h: Switch to gettext copyright.
4904 Use ANSI definitions and prototypes.
4905 (LIBINTL_DLL_EXPORTED): New define.
4906 (PATH_SEPARATOR): New define.
4907 * intl/loadmsgcat.c: Switch to gettext copyright.
4908 * intl/localealias.c: Switch to gettext copyright.
4909 Use ANSI definitions and prototypes.
4910 (_nl_expand_alias): Use PATH_SEPARATOR.
4911 * intl/ngettext.c: Switch to gettext copyright.
4912 Use ANSI definitions and prototypes.
4913 * intl/plural-exp.c: Likewise.
4914 * intl/plural-exp.h: Switch to gettext copyright.
4915 Use ANSI definitions and prototypes.
4916 (struct expression): Move definition of enum operator outside
4917 of struct definition.
4918 * intl/plural.c: Regenerate.
4919 * intl/plural.y: Switch to gettext copyright.
4920 Use ANSI definitions and prototypes.
4922 * intl/textdomain.c: Switch to gettext copyright.
4923 Use ANSI definitions and prototypes.
4924 Use gl_* locking primitives rather than __libc_* ones.
4926 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4928 * debug/warning-nop.c: Add used atrribute.
4930 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4932 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4934 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4935 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4936 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4938 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4939 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4943 Undefine after defining function. Define as weak alias of
4944 __wcschr. Use libc_hidden_weak.
4945 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4946 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4947 (libc_hidden_def): Also define __GI___wcschr alias.
4948 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4949 __wcschr and define as weak alias of __wcschr.
4950 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4952 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4953 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4954 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4955 libc_hidden_weak. Do not use libc_hidden_def.
4956 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4957 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4958 __GI___wcschr alias.
4959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4960 [IS_IN (libc)] (wcschr): Define as macro expanding to
4962 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4963 [IS_IN (libc)] (__wcschr_power6): Likewise.
4964 [IS_IN (libc)] (__wcschr_power7): Likewise.
4965 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4967 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4969 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4970 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4971 __wcschr and define as weak alias of __wcschr. Use
4972 libc_hidden_builtin_def.
4973 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4974 as weak alias of __wcschr. Use libc_hidden_weak.
4975 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4977 * time/era.c (_nl_init_era_entries): Likewise.
4978 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4980 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4981 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4983 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4985 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4986 format for long int variable.
4988 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4991 * manual/search.texi: (Array Sort Function): Remove claim how to make
4994 2014-12-10 Andreas Schwab <schwab@suse.de>
4997 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4998 user-controlled locks.
5000 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
5002 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5005 2014-12-10 Joseph Myers <joseph@codesourcery.com>
5007 * configure.ac (--disable-werror): New configure option.
5008 (enable_werror): New AC_SUBST.
5009 * configure: Regenerated.
5010 * config.make.in (enable-werror): New variable.
5011 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5013 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5014 * manual/install.texi (Configuring and compiling): Document
5016 * INSTALL: Regenerated.
5017 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5018 (CFLAGS-tst-chk2.c): Likewise.
5019 (CFLAGS-tst-chk3.c): Likewise.
5020 (CFLAGS-tst-chk4.cc): Likewise.
5021 (CFLAGS-tst-chk5.cc): Likewise.
5022 (CFLAGS-tst-chk6.cc): Likewise.
5023 (CFLAGS-tst-lfschk1.c): Likewise.
5024 (CFLAGS-tst-lfschk2.c): Likewise.
5025 (CFLAGS-tst-lfschk3.c): Likewise.
5026 (CFLAGS-tst-lfschk4.cc): Likewise.
5027 (CFLAGS-tst-lfschk5.cc): Likewise.
5028 (CFLAGS-tst-lfschk6.cc): Likewise.
5030 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5031 (main): Disable -Wdeprecated-declarations around calls to
5032 register_printf_function.
5034 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5035 (do_test): Disable -Wdiv-by-zero around some calls to
5036 fwrite_unlocked and fread_unlocked.
5038 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5039 (DIAG_POP_NEEDS_COMMENT): Likewise.
5040 (_DIAG_STR1): Likewise.
5041 (_DIAG_STR): Likewise.
5042 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5043 * stdio-common/bug21.c: Include <libc-internal.h>.
5044 (do_test): Disable -Wformat around call to sscanf.
5045 * stdio-common/scanf14.c: Include <libc-internal.h>.
5046 (main): Disable -Wformat around some calls to scanf functions.
5048 2014-12-09 Torvald Riegel <triegel@redhat.com>
5050 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5052 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5055 stack variable alignment.
5057 2014-12-06 Joseph Myers <joseph@codesourcery.com>
5060 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5061 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5062 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5063 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5064 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5065 __getrlimit instead of getrlimit.
5066 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5067 __gettimeofday instead of gettimeofday.
5068 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5070 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5072 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5073 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5075 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5076 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5078 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5081 for wide-character tests.
5083 2014-12-04 Roland McGrath <roland@hack.frob.com>
5085 * io/openat64.c: #include <libc-internal.h>
5086 (__openat64): Prototypify. Use ignore_value on MODE.
5087 * io/openat.c: Likewise.
5088 * misc/reboot.c: #include <libc-internal.h>
5089 (reboot): Prototypify. Use ignore_value on HOWTO.
5090 * misc/ptrace.c: #include <libc-internal.h>
5091 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
5093 2014-12-04 Joseph Myers <joseph@codesourcery.com>
5095 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5096 XPG4, UNIX98 and XOPEN2K.
5097 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5099 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5101 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5103 * libio/fileops.c: Use ISO C style for function definitions.
5104 * libio/iofopen.c: Likewise.
5105 * libio/wfileops.c: Likewise.
5108 * libio/fileops.c (_IO_new_file_underflow): Unset cached
5110 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5111 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5112 (fgets_func): Function pointer to fgets and fgetws.
5113 (do_ftell_test): Add test to verify ftell value after read
5115 (do_test): Set fgets_func.
5117 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5118 O_TRUNC flag for w and w+ modes.
5119 (do_rewind_test): Likewise.
5120 (do_ftell_test): Likewise.
5121 (do_write_test): Likewise.
5124 * libio/fileops.c (do_ftell): Seek only when there are
5126 * libio/wfileops.c (do_ftell_wide): Likewise.
5127 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5129 (do_one_test): Call it.
5131 2014-12-03 Joseph Myers <joseph@codesourcery.com>
5133 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5134 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5135 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5137 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5138 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5139 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5141 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5143 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5145 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5148 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5149 as weak alias of __getifaddrs. Use libc_hidden_weak.
5150 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5151 __freeifaddrs. Use libc_hidden_weak.
5152 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5153 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5154 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5155 __freeifaddrs. Use libc_hidden_weak.
5156 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5157 __getifaddrs and define as weak alias of __getifaddrs. Use
5159 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5160 __freeifaddrs. Use libc_hidden_weak.
5161 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5163 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5164 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5166 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5169 * sysdeps/mips/start.S (__start): Use indirect jump to call
5172 2014-12-02 Joseph Myers <joseph@codesourcery.com>
5174 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5176 * nptl/tst-mutex1.c: Include <stdbool.h>.
5177 [!ATTR] (ATTR_NULL): New macro.
5178 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5179 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5180 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5182 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5186 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5187 Change conditional to [__USE_MISC].
5190 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5192 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5194 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5196 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5198 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5199 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5200 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5201 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5202 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5203 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5204 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5205 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5206 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5208 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5210 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5213 Remove strpbrk objects.
5214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5215 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5216 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5217 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5218 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5219 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5221 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5222 Remove strcspn objects.
5223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5224 (__libc_ifunc_impl_list): Remove strcspn implementation.
5225 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5226 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5227 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5228 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5230 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5231 Remove strspn objetcs.
5232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5233 (__libc_ifunc_impl_list): Remove strspn implementation.
5234 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5235 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5236 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5237 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5239 2014-12-01 James Lemke <jwlemke@codesourcery.com>
5243 (mem2mem_check): Add a terminator to the chain of checking blocks.
5244 (malloc_check_get_size): Use it here.
5245 (mem2chunk_check): Ditto.
5247 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5249 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5250 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5252 2014-11-29 Carlos O'Donell <carlos@redhat.com>
5254 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5256 * nptl/nptl-init.c: Include libc-internal.h.
5257 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5259 * elf/ldconfig.c (search_dir): Expand comment.
5261 2014-11-29 Joseph Myers <joseph@codesourcery.com>
5263 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5265 (linknamespace-symlist-stdlibs-tests): Likewise.
5266 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5267 instead of $(objpfx)symlist-stdlibs.
5268 (linknamespace-libs-isoc): New variable.
5269 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5270 (linknamespace-libs-ISO): New variable.
5271 (linknamespace-libs-ISO99): Likewise.
5272 (linknamespace-libs-ISO11): Likewise.
5273 (linknamespace-libs-XPG3): Likewise.
5274 (linknamespace-libs-XPG4): Likewise.
5275 (linknamespace-libs-POSIX): Likewise.
5276 (linknamespace-libs-UNIX98): Likewise.
5277 (linknamespace-libs-XOPEN2K): Likewise.
5278 (linknamespace-libs-POSIX2008): Likewise.
5279 (linknamespace-libs-XOPEN2K8): Likewise.
5280 ($(objpfx)symlist-stdlibs): Replace by
5281 $(linknamespace-symlist-stdlibs-tests). Use
5282 $(linknamespace-libs-$*) as set of libraries.
5283 ($(linknamespace-header-tests)): Update dependencies. Use
5284 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5285 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5286 * conform/linknamespace.pl: Remove comment about considering
5287 definitions of symbols from irrelevant libraries.
5289 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5292 * elf/dl-tls.c: Include <atomic.h>.
5293 (oom): Remove #ifdef SHARED/#endif.
5294 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5295 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5296 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5298 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5299 * nptl/Makefile (tests): Add tst-stack4.
5300 (modules-names): Add tst-stack4mod.
5301 ($(objpfx)tst-stack4): New.
5302 (tst-stack4mod.sos): Likewise.
5303 ($(objpfx)tst-stack4.out): Likewise.
5304 ($(tst-stack4mod.sos)): Likewise.
5306 * nptl/tst-stack4.c: New file.
5307 * nptl/tst-stack4mod.c: Likewise.
5309 2014-11-27 J. Brown <jb999@gmx.de>
5311 * sysdeps/x86/bits/string.h: Add recent CPUs.
5313 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5315 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5318 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5321 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5324 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5326 * nscd/connections.c: Include libc-internal.h because of macro
5329 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5331 * string/bits/string3.h (__warn_memset_zero_len): Don't
5332 declare for gcc newer than 5.0.
5333 (memset): Don't test for zero-length __LEN for gcc newer than
5336 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5338 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5339 size_t for %zu format.
5341 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5342 difference, not %ju.
5344 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5346 * include/libc-internal.h (ignore_value): New macro.
5347 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5350 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5353 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5354 pthread_cleanup_push to void *.
5356 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5361 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5362 instead of 1L << 52.
5364 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5365 * libio/bug-rewind2.c (do_test): Likewise.
5367 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5368 * debug/test-strcpy_chk-ifunc.c: Likewise.
5369 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5370 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5371 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5372 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5373 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5374 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5375 * Rules [$(multi-arch) = no] (tests): Do not filter out
5377 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5378 * debug/Makefile (tests-ifunc): Remove variable.
5379 (tests): Do not add $(tests-ifunc).
5380 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5381 (tests): Do not add $(tests-ifunc).
5382 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5383 [TEST_IFUNC]: Remove conditionals.
5384 * string/test-string.h (TEST_IFUNC): Remove macro.
5385 [TEST_IFUNC]: Remove conditionals.
5387 * string/test-strchr.c [!WIDE] (L): New macro.
5388 [WIDE] (L): Likewise.
5389 (check1): Use CHAR instead of char. Use L on string and character
5392 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5394 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5396 * sysdeps/powerpc/bits/atomic.h
5397 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5398 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5399 (atomic_exchange_and_add_acq): Likewise.
5400 (atomic_exchange_and_add_rel): Likewise.
5401 * sysdeps/powerpc/powerpc32/bits/atomic.h
5402 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5403 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5404 * sysdeps/powerpc/powerpc64/bits/atomic.h
5405 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5406 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5408 2014-11-26 Torvald Riegel <triegel@redhat.com>
5410 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5411 Change synchronization of __sched_fifo_min_prio and
5412 __sched_fifo_max_prio.
5413 * nptl/pthread_mutexattr_getprioceiling.c
5414 (pthread_mutexattr_getprioceiling): Likewise.
5415 * nptl/pthread_mutexattr_setprioceiling.c
5416 (pthread_mutexattr_setprioceiling): Likewise.
5417 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5418 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5421 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5423 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5426 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5428 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5429 third argument const.
5431 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5433 fnmatch: work around GCC compiler warning bug with uninit var
5434 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5435 This works around a bug with x86-64 GCC 4.9.2 and earlier
5436 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5437 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5438 used uninitialized in this function [-Wmaybe-uninitialized]".
5440 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5442 * posix/bug-regex31.c (main): Return RES not 0.
5444 2014-11-25 Anton Blanchard <anton@samba.org>
5446 * sysdeps/powerpc/bits/atomic.h
5447 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5449 2014-11-24 Sterling Augustine <saugustine@google.com>
5451 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5453 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5456 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5458 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5461 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5462 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5464 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5465 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5467 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5469 * string/strncpy.c (strncpy): Improve performance by using memset.
5471 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5473 * string/strcpy.c (strcpy):
5474 Improve performance by using strlen and memcpy.
5476 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5478 * string/strcoll_l.c (get_next_seq): __always_inline.
5479 * string/strcoll_l.c (do_compare): __always_inline.
5481 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5483 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5485 * include/mqueue.h: Likewise.
5486 * include/stdlib.h: Likewise.
5488 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5489 (get_null_defines): Adjust.
5490 * sunrpc/Makefile: Adjust comment.
5491 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5492 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5493 (CFLAGS-interp.c): Likewise.
5494 (CFLAGS-ldconfig.c): Likewise.
5495 (CPPFLAGS-.os): Likewise.
5496 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5497 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5498 * extra-modules.mk (extra-modules.mk): Likewise.
5499 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5500 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5501 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5502 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5503 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5504 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5505 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5506 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5507 * iconvdata/Makefile (CPPFLAGS): Likewise.
5508 (cpp-srcs-left): Add libof for all iconvdata routines.
5509 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5510 * include/assert.h: Likewise.
5511 * include/ctype.h: Likewise.
5512 * include/errno.h: Likewise.
5513 * include/libc-symbols.h: Likewise.
5514 * include/math.h: Likewise.
5515 * include/netdb.h: Likewise.
5516 * include/resolv.h: Likewise.
5517 * include/stdio.h: Likewise.
5518 * include/stdlib.h: Likewise.
5519 * include/string.h: Likewise.
5520 * include/sys/stat.h: Likewise.
5521 * include/wctype.h: Likewise.
5522 * intl/l10nflist.c: Likewise.
5523 * libidn/idn-stub.c: Likewise.
5524 * libio/libioP.h: Likewise.
5525 * nptl/libc_multiple_threads.c: Likewise.
5526 * nptl/pthreadP.h: Likewise.
5527 * posix/regex_internal.h: Likewise.
5528 * resolv/res_hconf.c: Likewise.
5529 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5530 * sysdeps/arm/memmove.S: Likewise.
5531 * sysdeps/arm/sysdep.h: Likewise.
5532 * sysdeps/generic/_itoa.h: Likewise.
5533 * sysdeps/generic/symbol-hacks.h: Likewise.
5534 * sysdeps/gnu/errlist.awk: Likewise.
5535 * sysdeps/gnu/errlist.c: Likewise.
5536 * sysdeps/i386/i586/memcpy.S: Likewise.
5537 * sysdeps/i386/i586/memset.S: Likewise.
5538 * sysdeps/i386/i686/memcpy.S: Likewise.
5539 * sysdeps/i386/i686/memmove.S: Likewise.
5540 * sysdeps/i386/i686/mempcpy.S: Likewise.
5541 * sysdeps/i386/i686/memset.S: Likewise.
5542 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5543 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5544 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5545 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5546 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5547 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5548 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5549 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5550 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5551 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5552 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5553 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5554 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5555 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5556 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5557 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5558 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5559 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5560 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5561 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5562 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5563 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5567 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5568 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5569 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5575 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5581 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5585 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5586 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5587 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5588 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5589 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5590 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5591 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5592 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5593 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5594 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5595 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5596 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5598 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5599 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5600 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5603 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5604 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5605 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5606 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5607 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5608 * sysdeps/posix/closedir.c: Likewise.
5609 * sysdeps/posix/opendir.c: Likewise.
5610 * sysdeps/posix/readdir.c: Likewise.
5611 * sysdeps/posix/rewinddir.c: Likewise.
5612 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5613 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5614 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5615 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5616 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5618 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5623 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5624 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5625 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5626 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5627 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5629 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5630 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5631 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5633 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5635 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5638 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5639 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5640 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5643 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5645 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5647 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5648 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5649 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5650 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5651 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5652 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5653 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5654 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5656 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5657 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5658 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5659 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5660 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5662 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5663 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5664 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5665 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5666 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5667 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5669 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5670 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5671 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5672 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5673 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5674 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5675 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5676 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5677 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5678 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5679 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5680 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5681 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5682 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5683 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5684 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5685 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5686 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5687 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5688 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5689 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5690 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5691 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5692 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5693 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5694 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5695 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5696 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5697 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5698 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5699 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5700 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5701 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5702 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5703 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5704 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5706 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5708 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5710 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5713 * sysdeps/unix/alpha/sysdep.S: Likewise.
5714 * sysdeps/unix/alpha/sysdep.h: Likewise.
5715 * sysdeps/unix/make-syscalls.sh: Likewise.
5716 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5718 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5719 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5720 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5721 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5722 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5723 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5724 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5725 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5726 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5727 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5729 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5730 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5731 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5732 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5733 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5734 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5735 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5736 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5737 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5738 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5739 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5740 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5741 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5742 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5745 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5746 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5750 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5754 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5755 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5756 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5757 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5758 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5759 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5760 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5762 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5763 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5764 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5765 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5766 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5767 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5768 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5769 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5770 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5771 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5772 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5774 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5775 * sysdeps/x86_64/memcpy.S: Likewise.
5776 * sysdeps/x86_64/memmove.c: Likewise.
5777 * sysdeps/x86_64/memset.S: Likewise.
5778 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5779 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5780 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5781 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5782 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5783 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5784 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5785 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5786 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5787 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5788 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5789 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5790 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5791 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5792 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5793 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5794 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5795 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5796 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5797 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5798 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5799 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5800 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5801 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5802 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5803 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5804 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5805 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5807 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5808 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5809 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5810 * sysdeps/x86_64/strcmp.S: Likewise.
5812 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5814 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5815 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5816 * elf/rtld-Rules: Likewise.
5817 * elf/setup-vdso.h: Likewise.
5818 * include/assert.h: Likewise.
5819 * include/bits/stdlib-float.h: Likewise.
5820 * include/errno.h: Likewise.
5821 * include/sys/stat.h: Likewise.
5822 * include/unistd.h: Likewise.
5823 * sysdeps/aarch64/setjmp.S: Likewise.
5824 * sysdeps/alpha/setjmp.S: Likewise.
5825 * sysdeps/arm/__longjmp.S: Likewise.
5826 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5827 * sysdeps/arm/setjmp.S: Likewise.
5828 * sysdeps/arm/sysdep.h: Likewise.
5829 * sysdeps/generic/_itoa.h: Likewise.
5830 * sysdeps/generic/dl-sysdep.h: Likewise.
5831 * sysdeps/generic/ldsodefs.h: Likewise.
5832 * sysdeps/i386/dl-tls.h: Likewise.
5833 * sysdeps/i386/setjmp.S: Likewise.
5834 * sysdeps/m68k/setjmp.c: Likewise.
5835 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5836 * sysdeps/mach/hurd/opendir.c: Likewise.
5837 * sysdeps/posix/getcwd.c: Likewise.
5838 * sysdeps/posix/opendir.c: Likewise.
5839 * sysdeps/posix/profil.c: Likewise.
5840 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5841 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5842 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5843 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5844 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5845 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5846 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5847 * sysdeps/s390/dl-tls.h: Likewise.
5848 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5849 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5850 * sysdeps/sh/sh3/setjmp.S: Likewise.
5851 * sysdeps/sh/sh4/setjmp.S: Likewise.
5852 * sysdeps/unix/alpha/sysdep.h: Likewise.
5853 * sysdeps/unix/arm/sysdep.S: Likewise.
5854 * sysdeps/unix/i386/sysdep.S: Likewise.
5855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5856 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5857 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5858 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5859 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5860 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5861 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5862 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5863 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5864 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5865 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5866 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5867 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5870 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5873 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5874 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5875 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5878 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5879 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5880 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5882 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5883 * sysdeps/x86_64/setjmp.S: Likewise.
5885 * include/math.h: Use IS_IN instead of IS_IN_libm.
5886 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5890 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5896 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5898 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5906 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5907 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5908 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5909 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5910 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5911 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5913 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5914 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5915 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5917 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5918 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5929 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5931 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5932 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5933 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5934 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5940 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5941 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5942 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5944 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5945 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5946 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5947 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5948 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5949 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5951 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5953 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5955 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5957 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5958 * nptl/pthreadP.h: Likewise.
5959 * nptl_db/structs.def: Likewise.
5960 * sysdeps/arm/sysdep.h: Likewise.
5961 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5962 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5963 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5964 * sysdeps/unix/alpha/sysdep.h: Likewise.
5965 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5966 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5967 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5968 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5969 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5970 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5971 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5972 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5973 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5974 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5975 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5976 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5977 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5978 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5983 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5986 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5987 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5988 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5989 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5990 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5992 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5993 * nptl/pthreadP.h: Likewise.
5994 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5995 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5996 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5997 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5998 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5999 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6000 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6001 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6002 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6003 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6004 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6005 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6011 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6012 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6015 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6016 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6017 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6019 * dlfcn/dladdr.c: Use IS_IN.
6020 * dlfcn/dladdr1.c: Likewise.
6021 * dlfcn/dlclose.c: Likewise.
6022 * dlfcn/dlerror.c: Likewise.
6023 * dlfcn/dlinfo.c: Likewise.
6024 * dlfcn/dlmopen.c: Likewise.
6025 * dlfcn/dlopen.c: Likewise.
6026 * dlfcn/dlsym.c: Likewise.
6027 * dlfcn/dlvsym.c: Likewise.
6029 * include/ifaddrs.h: Use IS_IN.
6030 * inet/check_pf.c: Likewise.
6031 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6032 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6034 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6036 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6037 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6039 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6040 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6043 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6045 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6046 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6047 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6048 * include/libc-symbols.h (IS_IN_LIB): New macro.
6049 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6050 * include/netdb.h: Likewise.
6051 * include/stap-probe.h: Remove all uses of IN_LIB.
6053 * Makeconfig (module-cppflags-real): Define MODULE_NAME
6054 instead of IN_MODULE.
6055 * include/libc-symbols.h (IN_MODULE): Define using
6057 (PASTE_NAME, PASTE_NAME1): New macros.
6058 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6060 (STAP_PROBE_ASM): Likewise.
6062 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
6064 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6065 __mach_init in dlopened libc.
6067 2014-11-22 Mike Frysinger <vapier@gentoo.org>
6069 * sysdeps/arm/preconfigure.ac: Delete EABI check.
6070 * sysdeps/arm/preconfigure: Regenerate.
6072 2014-11-21 Roland McGrath <roland@hack.frob.com>
6074 * nptl/pthread_create.c (__pthread_create_2_1): Set
6075 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6076 when copying values from IATTR into PD.
6078 2014-11-21 Will Newton <will.newton@linaro.org>
6079 Andrew Pinski <andrew.pinski@caviumnetworks.com>
6081 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6082 Refactor inline-asm. Also add comment.
6084 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6085 ElfW macro instead of hardcoded Elf64 types.
6086 (la_aarch64_gnu_pltenter): Likewise.
6087 * sysdeps/aarch64/dl-machine.h
6088 (elf_machine_runtime_setup): Use ElfW(Addr).
6090 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6091 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6092 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6093 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6094 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6095 (R_AARCH64_TLS_DTPMOD64): Rename to ..
6096 (R_AARCH64_TLS_DTPMOD): This.
6097 (R_AARCH64_TLS_DTPREL64): Rename to ...
6098 (R_AARCH64_TLS_DTPREL): This.
6099 (R_AARCH64_TLS_TPREL64): Rename to ...
6100 (R_AARCH64_TLS_TPREL): This.
6101 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6102 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6103 R_AARCH64_TLS_TPREL64.
6104 (elf_machine_rela): Likewise.
6106 2014-11-21 Torvald Riegel <triegel@redhat.com>
6108 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6109 by setting it to 0. 64b atomics are not supported currently.
6111 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6114 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6115 search domain names.
6117 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6121 * resolv/res_query.c (__libc_res_nquerydomain): Retain
6123 * posix/tst-getaddrinfo5.c: New.
6124 * posix/Makefile (tests): Add it.
6126 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6130 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6131 after parsing line but before break_if_match.
6132 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6133 if there is a protocol mismatch.
6135 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6137 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6138 because the potential race is on the user-supplied stream.
6140 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6142 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6143 string literal if not passed a buffer.
6144 * manual/job.texi (ctermid): Update reasoning, note deviation
6145 from posix, suggest mtasurace when not passed a buffer, for
6146 future non-preliminary safety notes.
6148 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6150 * manual/users.texi (cuserid): Fix MT-Safety note for the case
6151 of not passing it a buffer.
6152 Reported by Peng Haitao.
6154 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
6156 * manual/Makefile ($(objpfx)stamp-summary): Require
6157 check-safety.sh to pass.
6158 * manual/check-safety.sh: Wish for verification that every
6159 @deftypefn and @deftypefun is followed by a @safety remark.
6161 2014-11-20 Roland McGrath <roland@hack.frob.com>
6163 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6165 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6166 PTHREAD_CANCEL_ASYNCHRONOUS.
6167 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6170 * nptl/default-sched.h: New file.
6171 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6172 * nptl/pthread_create.c: Include it.
6173 (__pthread_create_2_1): Use collect_default_sched instead of making
6174 Linux syscalls here directly.
6176 2014-11-20 Torvald Riegel <triegel@redhat.com>
6178 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6179 __pthread_once): Use C11 atomics.
6181 2014-11-20 Torvald Riegel <triegel@redhat.com>
6183 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6185 2014-11-20 Torvald Riegel <triegel@redhat.com>
6187 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6188 atomic_thread_fence_acquire, atomic_thread_fence_release,
6189 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6190 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6191 atomic_compare_exchange_weak_relaxed,
6192 atomic_compare_exchange_weak_acquire,
6193 atomic_compare_exchange_weak_release,
6194 atomic_exchange_acquire, atomic_exchange_release,
6195 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6196 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6197 atomic_fetch_and_acquire,
6198 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6200 2014-11-20 Torvald Riegel <triegel@redhat.com>
6202 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6203 USE_ATOMIC_COMPILER_BUILTINS): Define.
6204 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6205 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6206 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6207 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6208 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6210 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6212 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6213 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6214 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6216 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6218 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6219 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6220 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6221 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6222 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6223 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6224 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6225 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6226 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6227 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6228 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6229 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6230 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6231 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6232 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6233 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6234 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6235 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6236 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6237 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6238 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6239 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6241 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6242 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6243 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6245 2014-11-19 Roland McGrath <roland@hack.frob.com>
6247 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6248 the sched_priority value here. It was already checked when the user
6249 called pthread_attr_setschedparam.
6251 * nptl/tst-bad-schedattr.c: New file.
6252 * nptl/Makefile (tests): Add it.
6254 2014-11-19 Carlos O'Donell <carlos@redhat.com>
6255 Florian Weimer <fweimer@redhat.com>
6256 Joseph Myers <joseph@codesourcery.com>
6257 Adam Conrad <adconrad@0c3.net>
6258 Andreas Schwab <schwab@suse.de>
6259 Brooks <bmoses@google.com>
6262 * wordexp-test.c (__dso_handle): Add prototype.
6263 (__register_atfork): Likewise.
6264 (__app_register_atfork): New function.
6265 (registered_forks): New global.
6266 (register_fork): New function.
6267 (test_case): Add 3 new tests for WRDE_CMDSUB.
6268 (main): Call __app_register_atfork.
6269 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6270 fork count is non-zero fail the test.
6271 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6273 (parse_dollars): Remove check for WRDE_NOCMD.
6274 (parse_dquote): Likewise.
6276 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6278 * Makeconfig (built-modules): List non-library modules to be
6280 (module-cppflags): Include libc-modules.h for
6281 everything except shlib-versions.v.i.
6283 (before-compile): Add libc-modules.h.
6284 ($(common-objpfx)libc-modules.h,
6285 $(common-objpfx)libc-modules.stmp): New targets.
6286 (common-generated): Add libc-modules.h and libc-modules.stmp.
6287 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6288 * include/libc-symbols.h: Don't include libc-modules.h.
6289 * include/libc-modules.h: Remove file.
6290 * scripts/gen-libc-modules.awk: New script to generate
6292 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6293 Depend on libc-modules.stmp.
6295 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6297 * Makeconfig (in-module): Get value of libof set for the
6299 (CPPFLAGS): Use $(in-module).
6300 * Makerules: Don't suffix routine names for nonlib.
6301 * include/libc-modules.h: New file.
6302 * include/libc-symbols.h: Include libc-modules.h
6303 (IS_IN): New macro to replace IS_IN_* macros.
6304 * elf/Makefile: Set libof-* for each routine.
6305 * elf/rtld-Rules: Likewise.
6306 * extra-modules.mk: Likewise.
6307 * iconv/Makefile: Likewise.
6308 * iconvdata/Makefile: Likewise.
6309 * locale/Makefile: Likewise.
6310 * malloc/Makefile: Likewise.
6311 * nss/Makefile: Likewise.
6312 * sysdeps/gnu/Makefile: Likewise.
6313 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6314 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6315 * sysdeps/s390/s390-64/Makefile: Likewise.
6316 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6317 CPPFLAGS for nscd instead of nonlib.
6319 2014-11-18 Roland McGrath <roland@hack.frob.com>
6321 * nptl/createthread.c: New file.
6323 * nptl/createthread.c: Moved ...
6324 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6326 * nptl/createthread.c: Add proper top-line comment.
6327 (do_clone): Folded into ...
6328 (create_thread): ... here. Take new arguments STOPPED_START and
6329 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6330 increment __nptl_threads, do event-reporting logic, do
6331 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6332 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6333 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6334 just send SIGCANCEL.
6335 * nptl/pthread_create.c: Forward-declare create_thread before
6336 including createthread.c.
6337 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6338 declaration, and new macro START_THREAD_SELF to replace argument.
6339 Remove return statement.
6340 (report_thread_creation): New function.
6341 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6342 synchronization logic, and __nptl_nthreads increment here, around
6343 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6344 PD->parent_cancelhandling here, before create_thread. When
6345 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6346 __deallocate_stack, and ENOMEM translation here.
6348 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6351 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6352 (mptwo): Rename to __mptwo.
6353 (__inv): Use __mptwo instead of mptwo.
6354 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6355 (mptwo): Rename to __mptwo.
6356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6357 of mpone and __mptwo instead of mptwo.
6358 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6361 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6362 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6363 of mpone and __mptwo instead of mptwo.
6364 (__mpranred): Use __mpone instead of mpone.
6365 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6367 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6368 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6369 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6370 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6371 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6372 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6373 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6374 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6375 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6376 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6377 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6378 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6379 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6380 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6381 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6382 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6383 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6384 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6385 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6387 2014-11-18 Tom de Vries <tom@codesoucery.com>
6389 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6390 replace BSD Handler xref with BSD Signal Handling.
6392 2014-11-17 Richard Henderson <rth@redhat.com>
6394 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6395 (_FP_PACK_RAW_2): Remove.
6396 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6397 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6398 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6399 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6400 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6401 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6402 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6403 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6404 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6405 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6406 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6407 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6408 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6409 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6410 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6411 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6413 2014-11-14 Roland McGrath <roland@hack.frob.com>
6415 * signal/signal.h [__USE_MISC]
6416 (struct sigvec): Remove type.
6417 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6418 (sigvec): Remove declaration.
6419 * sysdeps/posix/sigvec.c: Moved ...
6420 * signal/sigvec.c: ... here, replacing old file.
6421 (struct sigvec): New type, copied from old signal.h definition.
6422 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6423 (__sigvec): Convert definition to prototype.
6424 (sigvec): Replace weak_alias with compat_symbol.
6425 * signal/Versions (libc: GLIBC_2.21): New version set.
6426 * include/signal.h: Remove __sigvec declaration.
6427 * sysdeps/unix/bsd/sigvec.c: Remove file.
6428 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6429 * manual/signal.texi (BSD Handler): Remove subsection.
6430 Move siginterrupt up to ...
6431 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6432 (Blocking in BSD): Fold subsection into its parent.
6433 * NEWS: Mention sigvec removal.
6435 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6437 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6438 (DLA_FMS): Make definition conditional only on [__FMA4__].
6439 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6442 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6443 Make definition conditional only on [PROF].
6444 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6446 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6447 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6449 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6451 * include/signal.h (__sigpause): Move declaration above call to
6453 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6455 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6456 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6458 2014-11-14 David S. Miller <davem@davemloft.net>
6460 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6461 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6463 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6465 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6466 * configure: Regenerated.
6467 * manual/install.texi (Tools for Compilation): Document a
6468 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6469 compiler verified to work.
6470 * INSTALL: Regenerated.
6472 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6473 redeclare with asm name.
6474 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6475 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6476 including <string.h>.
6477 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6478 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6479 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6480 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6481 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6482 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6483 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6485 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6487 * stdlib/strtol.c (__strtol): Use prototype definition.
6490 * stdlib/strtol.c (SYM__): New macro.
6492 (__strtol): Likewise.
6493 (strtol): Rename to __strtol and define as weak alias of
6494 __strtol. Use libc_hidden_weak.
6496 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6498 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6499 Use numbered labels in inline assembly.
6501 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6503 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6504 Add setjmp LIBC_PROBE.
6505 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6507 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6508 Add longjmp, longjmp_target LIBC_PROBE.
6509 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6512 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6514 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6515 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6516 to get rid of unused variable warning.
6518 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6520 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6521 Check for unwind_backtrace == NULL only in SHARED case.
6522 (__backchain_backtrace): Compile only in SHARED case.
6523 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6525 (__backchain_backtrace): Declare as static.
6527 2014-11-12 Roland McGrath <roland@hack.frob.com>
6529 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6530 (__libc_multiple_threads_ptr): Variable moved ...
6531 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6533 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6535 * conform/GlibcConform.pm: New file.
6536 * conform/conformtest.pl: Use GlibcConform module.
6537 * conform/linknamespace.pl: New file.
6538 * conform/list-header-symbols.pl: Likewise.
6539 * conform/Makefile (linknamespace-symlists-base): New variable.
6540 (linknamespace-symlists-tests): Likewise.
6541 (linknamespace-header-base): Likewise.
6542 (linknamespace-header-tests): Likewise.
6543 (tests-special): Add new tests.
6544 ($(linknamespace-symlists-tests)): New rule.
6545 (linknamespace-libs): New variable.
6546 ($(objpfx)symlist-stdlibs): New rule.
6547 ($(linknamespace-header-tests)): Likewise.
6548 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6549 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6550 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6551 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6552 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6553 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6554 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6555 (test-xfail-ISO/math.h/linknamespace): Likewise.
6556 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6557 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6558 (test-xfail-ISO/time.h/linknamespace): Likewise.
6559 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6560 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6561 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6562 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6563 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6564 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6565 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6566 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6567 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6568 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6569 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6570 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6571 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6572 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6573 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6574 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6575 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6576 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6577 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6578 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6579 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6580 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6581 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6582 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6583 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6584 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6585 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6586 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6587 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6588 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6589 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6590 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6591 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6592 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6593 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6594 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6595 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6596 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6597 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6598 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6599 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6600 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6601 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6602 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6603 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6604 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6605 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6606 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6607 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6608 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6609 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6610 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6611 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6612 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6613 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6614 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6615 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6616 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6617 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6618 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6619 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6620 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6621 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6622 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6623 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6624 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6625 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6626 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6627 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6628 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6629 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6630 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6631 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6632 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6633 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6634 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6635 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6636 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6637 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6638 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6639 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6640 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6641 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6642 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6643 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6644 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6645 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6646 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6647 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6648 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6649 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6650 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6651 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6652 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6653 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6654 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6655 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6656 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6657 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6658 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6659 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6660 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6661 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6662 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6663 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6664 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6665 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6666 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6667 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6668 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6669 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6670 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6671 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6672 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6673 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6674 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6675 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6676 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6677 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6678 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6679 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6680 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6681 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6682 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6683 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6684 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6685 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6686 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6687 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6688 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6689 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6690 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6691 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6692 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6693 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6694 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6695 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6696 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6697 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6698 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6699 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6700 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6701 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6702 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6703 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6704 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6705 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6706 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6707 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6708 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6711 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6715 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6716 (memmem): Rename to __memmem and define as weak alias of
6717 __memmem. Use libc_hidden_weak.
6718 (__memmem): Use libc_hidden_def.
6719 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6720 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6724 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6725 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6726 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6727 and define as weak alias of __fgets_unlocked. Use
6729 (__fgets_unlocked): Use libc_hidden_def.
6730 * include/stdio.h (__fgets_unlocked): Declare. Use
6732 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6733 __fgets_unlocked instead of fgets_unlocked.
6734 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6735 (GET_NPROCS_CONF_PARSER): Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6737 (GET_NPROCS_CONF_PARSER): Likewise.
6740 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6741 weak alias of __wmemset. Use libc_hidden_weak.
6742 (__wmemset): Use libc_hidden_def.
6743 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6744 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6748 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6749 with asm name __mempcpy.
6750 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6753 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6754 and define as weak alias of __rawmemchr.
6755 (__rawmemchr): Do not define as strong alias of rawmemchr.
6758 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6760 (qsort): Call __qsort_r instead of qsort_r.
6761 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6762 (__qsort_r): Declare. Call libc_hidden_proto.
6763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6765 * nscd/gai.c (__qsort_r): Define to qsort_r.
6766 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6767 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6768 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6771 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6772 define as weak alias of __malloc_info.
6775 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6776 as weak alias of __rewinddir. Don't use libc_hidden_def.
6777 (__rewinddir): Use libc_hidden_def.
6778 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6779 as weak alias of __rewinddir. Don't use libc_hidden_def.
6780 (__rewinddir): Use libc_hidden_def.
6781 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6782 weak alias of __rewinddir. Don't use libc_hidden_def.
6783 (__rewinddir): Use libc_hidden_def.
6784 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6785 (__rewinddir): Use libc_hidden_proto.
6786 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6788 (__getcwd): Use __rewinddir instead of rewinddir.
6791 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6792 alias of __fileno. Use libc_hidden_weak.
6793 (__fileno): Use libc_hidden_def.
6794 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6795 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6797 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6799 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6800 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6802 (fread_unlocked): Don't use libc_hidden_ver.
6803 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6804 and define as weak alias of __fread_unlocked. Don't use
6806 (__fread_unlocked): Use libc_hidden_def.
6807 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6808 (ftello): Don't use libc_hidden_proto.
6809 (__ftello): Declare. Use libc_hidden_proto.
6810 (fread_unlocked): Don't use libc_hidden_proto.
6811 (__fread_unlocked): Declare. Use libc_hidden_proto.
6812 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6813 and __ftello instead of fileno, fread_unlocked and ftello.
6815 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6817 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6821 (_dl_start_user): Likewise.
6822 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6824 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6825 Siddhesh Poyarekar <siddhesh@redhat.com>
6827 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6828 Move argv and envp down instead of moving argc up.
6829 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6831 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6834 * test-skeleton.c (main): Return successful if one of
6835 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6836 * string/tst-strcoll-overflow.c: Define expected status.
6838 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6841 * locale/iso-639.def: Define Bhili and Tulu language codes.
6843 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6845 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6847 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6850 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6852 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6854 * configure.ac: Updated check of minimal required version to
6856 * manual/install.texi (Tools for Compilation): Updated version
6858 * configure: Regenerated.
6859 * INSTALL: Likewise.
6861 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6863 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6866 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6868 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6869 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6870 (__waitpid): Don't define as alias. Use libc_hidden_def not
6872 (waitpid): Define as alias of __waitpid.
6873 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6875 (__waitpid): Don't define as alias. Use libc_hidden_def not
6877 (waitpid): Define as alias of __waitpid.
6878 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6879 __libc_waitpid alias.
6880 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6881 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6883 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6885 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6887 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6889 (__waitpid): Don't define as alias. Use libc_hidden_def not
6891 (waitpid): Define as alias of __waitpid.
6893 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6895 * manual/llio.texi: Add comment that write safety has been
6898 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6899 (localplt-build-dso): Add elf/ld.so.
6900 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6901 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6904 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6909 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6910 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6911 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6912 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6913 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6914 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6915 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6916 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6917 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6921 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6924 * include/libc-symbols.h (INTUSE): Remove macro.
6926 (INTVARDEF): Likewise.
6927 (_INTVARDEF): Likewise.
6928 (INTDEF2): Likewise.
6929 (INTVARDEF2): Likewise.
6930 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6931 rtld_hidden_def instead of INTVARDEF.
6932 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6933 (_dl_starting_up_internal): Remove declaration.
6934 (_dl_starting_up): Use rtld_hidden_proto.
6935 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6937 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6938 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6940 * elf/dl-writev.h (_dl_writev): Likewise.
6941 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6942 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6943 _dl_starting_up_internal.
6945 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6947 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6950 2014-11-05 Will Newton <will.newton@linaro.org>
6952 * benchtests/Makefile: (bench-malloc): Add malloc thread
6953 scalability benchmark.
6954 * benchtests/bench-malloc-threads.c: New file.
6956 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6958 * sysdeps/aarch64/strchrnul.S: New file.
6960 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6964 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6972 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6975 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6977 * catgets/test-gencat.c: Use test-skeleton.c.
6978 * catgets/tst-catgets.c: Likewise.
6979 * csu/tst-empty.c: Likewise.
6980 * elf/tst-audit2.c: Likewise.
6981 * elf/tst-global1.c: Likewise.
6982 * elf/tst-pathopt.c: Likewise.
6983 * elf/tst-piemod1.c: Likewise.
6984 * elf/tst-tls10.c: Likewise.
6985 * elf/tst-tls11.c: Likewise.
6986 * elf/tst-tls12.c: Likewise.
6987 * gnulib/tst-gcc.c: Likewise.
6988 * iconvdata/tst-e2big.c: Likewise.
6989 * iconvdata/tst-loading.c: Likewise.
6990 * iconv/tst-iconv1.c: Likewise.
6991 * iconv/tst-iconv2.c: Likewise.
6992 * inet/test-inet6_opt.c: Likewise.
6993 * inet/tst-gethnm.c: Likewise.
6994 * inet/tst-network.c: Likewise.
6995 * inet/tst-ntoa.c: Likewise.
6996 * intl/tst-codeset.c: Likewise.
6997 * intl/tst-gettext2.c: Likewise.
6998 * intl/tst-gettext3.c: Likewise.
6999 * intl/tst-ngettext.c: Likewise.
7000 * intl/tst-translit.c: Likewise.
7001 * io/test-stat.c: Likewise.
7002 * libio/test-fmemopen.c: Likewise.
7003 * libio/tst-freopen.c: Likewise.
7004 * libio/tst-sscanf.c: Likewise.
7005 * libio/tst-ungetwc1.c: Likewise.
7006 * libio/tst-ungetwc2.c: Likewise.
7007 * libio/tst-widetext.c: Likewise.
7008 * localedata/tst-ctype.c: Likewise.
7009 * localedata/tst-digits.c: Likewise.
7010 * localedata/tst-leaks.c: Likewise.
7011 * localedata/tst-mbswcs1.c: Likewise.
7012 * localedata/tst-mbswcs2.c: Likewise.
7013 * localedata/tst-mbswcs3.c: Likewise.
7014 * localedata/tst-mbswcs4.c: Likewise.
7015 * localedata/tst-mbswcs5.c: Likewise.
7016 * localedata/tst-setlocale.c: Likewise.
7017 * localedata/tst-trans.c: Likewise.
7018 * localedata/tst-wctype.c: Likewise.
7019 * localedata/tst-xlocale1.c: Likewise.
7020 * login/tst-grantpt.c: Likewise.
7021 * malloc/tst-calloc.c: Likewise.
7022 * malloc/tst-malloc.c: Likewise.
7023 * malloc/tst-mallocstate.c: Likewise.
7024 * malloc/tst-mcheck.c: Likewise.
7025 * malloc/tst-mtrace.c: Likewise.
7026 * malloc/tst-obstack.c: Likewise.
7027 * math/atest-exp2.c: Likewise.
7028 * math/atest-exp.c: Likewise.
7029 * math/atest-sincos.c: Likewise.
7030 * math/test-matherr.c: Likewise.
7031 * math/test-misc.c: Likewise.
7032 * math/test-powl.c: Likewise.
7033 * math/tst-definitions.c: Likewise.
7034 * misc/tst-dirname.c: Likewise.
7035 * misc/tst-efgcvt.c: Likewise.
7036 * misc/tst-fdset.c: Likewise.
7037 * misc/tst-hsearch.c: Likewise.
7038 * misc/tst-mntent2.c: Likewise.
7039 * nptl/tst-sem7.c: Likewise.
7040 * nptl/tst-sem8.c: Likewise.
7041 * nptl/tst-sem9.c: Likewise.
7042 * nss/test-netdb.c: Likewise.
7043 * posix/tst-fnmatch.c: Likewise.
7044 * posix/tst-getlogin.c: Likewise.
7045 * posix/tst-gnuglob.c: Likewise.
7046 * posix/tst-mmap.c: Likewise.
7047 * pwd/tst-getpw.c: Likewise.
7048 * resolv/tst-inet_ntop.c: Likewise.
7049 * rt/tst-timer.c: Likewise.
7050 * stdio-common/test-fseek.c: Likewise.
7051 * stdio-common/test-popen.c: Likewise.
7052 * stdio-common/test-vfprintf.c: Likewise.
7053 * stdio-common/tst-cookie.c: Likewise.
7054 * stdio-common/tst-fileno.c: Likewise.
7055 * stdio-common/tst-gets.c: Likewise.
7056 * stdio-common/tst-obprintf.c: Likewise.
7057 * stdio-common/tst-perror.c: Likewise.
7058 * stdio-common/tst-sprintf2.c: Likewise.
7059 * stdio-common/tst-sprintf3.c: Likewise.
7060 * stdio-common/tst-sprintf.c: Likewise.
7061 * stdio-common/tst-swprintf.c: Likewise.
7062 * stdio-common/tst-tmpnam.c: Likewise.
7063 * stdio-common/tst-unbputc.c: Likewise.
7064 * stdio-common/tst-wc-printf.c: Likewise.
7065 * stdlib/tst-environ.c: Likewise.
7066 * stdlib/tst-fmtmsg.c: Likewise.
7067 * stdlib/tst-limits.c: Likewise.
7068 * stdlib/tst-rand48-2.c: Likewise.
7069 * stdlib/tst-rand48.c: Likewise.
7070 * stdlib/tst-random2.c: Likewise.
7071 * stdlib/tst-random.c: Likewise.
7072 * stdlib/tst-strtol.c: Likewise.
7073 * stdlib/tst-strtoll.c: Likewise.
7074 * stdlib/tst-tls-atexit.c: Likewise.
7075 * stdlib/tst-xpg-basename.c: Likewise.
7076 * string/test-ffs.c: Likewise.
7077 * string/tst-bswap.c: Likewise.
7078 * string/tst-inlcall.c: Likewise.
7079 * string/tst-strtok.c: Likewise.
7080 * string/tst-strxfrm.c: Likewise.
7081 * sysdeps/x86_64/tst-audit10.c: Likewise.
7082 * sysdeps/x86_64/tst-audit3.c: Likewise.
7083 * sysdeps/x86_64/tst-audit4.c: Likewise.
7084 * sysdeps/x86_64/tst-audit5.c: Likewise.
7085 * time/tst-ftime_l.c: Likewise.
7086 * time/tst-getdate.c: Likewise.
7087 * time/tst-mktime3.c: Likewise.
7088 * time/tst-mktime.c: Likewise.
7089 * time/tst-posixtz.c: Likewise.
7090 * time/tst-strptime2.c: Likewise.
7091 * time/tst-strptime3.c: Likewise.
7092 * wcsmbs/tst-btowc.c: Likewise.
7093 * wcsmbs/tst-mbrtowc.c: Likewise.
7094 * wcsmbs/tst-mbsrtowcs.c: Likewise.
7095 * wcsmbs/tst-wchar-h.c: Likewise.
7096 * wcsmbs/tst-wcpncpy.c: Likewise.
7097 * wcsmbs/tst-wcrtomb.c: Likewise.
7098 * wcsmbs/tst-wcsnlen.c: Likewise.
7099 * wcsmbs/tst-wcstof.c: Likewise.
7101 2014-11-04 Joseph Myers <joseph@codesourcery.com>
7104 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7106 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7108 (_dl_mcount): Use rtld_hidden_proto.
7109 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7111 * elf/rtld.c (_rtld_global_ro): Likewise.
7114 * elf/dl-init.c (_dl_init): Don't use INTDEF.
7115 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7116 of _dl_init_internal.
7117 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7118 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7119 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7120 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7121 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7122 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7123 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7124 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7125 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7126 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7127 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7128 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7130 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7131 * sysdeps/tile/dl-start.S (_start): Likewise.
7132 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7133 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7136 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7137 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7138 (rtld_progname): Make macro definition unconditional.
7139 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7141 (dlmopen_doit): Do not use INTUSE with _dl_argv.
7142 (dl_main): Likewise.
7143 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7144 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7145 instead of _dl_argv_internal.
7146 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7147 __GI__dl_argv instead of INTUSE(_dl_argv).
7148 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7149 __GI__dl_argv instead of _dl_argv_internal.
7151 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7152 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7154 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7155 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7157 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7158 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7160 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7161 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7163 2014-11-04 Andreas Schwab <schwab@suse.de>
7165 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7167 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7170 mtvsrd instruction in binary form.
7172 2014-11-03 Andreas Schwab <schwab@suse.de>
7175 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7176 for less than MB_LEN_MAX use a local buffer of that size.
7177 * libio/tst-fputws.c: New file.
7178 * libio/Makefile (tests): Add tst-fputws.
7180 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7182 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7183 the size of the fpu_fr.fpu_dregs[] array.
7185 2014-11-01 Joseph Myers <joseph@codesourcery.com>
7187 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7188 (__nanosleep): Do not define as alias.
7189 (nanosleep): Define as alias of __nanosleep.
7190 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7191 __libc_nanosleep name.
7193 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7195 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7196 install.texi in comment.
7198 2014-10-31 Torvald Riegel <triegel@redhat.com>
7200 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7201 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7202 ... add here and use lwsync or sync ...
7203 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7204 ... and add here using lwsync.
7206 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7208 * elf/dl-machine-reject-phdr.h: New file.
7209 * elf/dl-load.c: #include that.
7210 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7211 if that returned true.
7213 2014-10-31 Roland McGrath <roland@hack.frob.com>
7216 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7217 gen-as-const-headers chunk. Add a big scare comment after the last
7218 safe place to touch before-compile.
7220 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7222 * manual/install.texi (Tools for Compilation): Update autoconf
7223 version requirements.
7224 * INSTALL: Regenerated.
7226 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7227 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7228 (__libc_pselect): Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7236 2014-10-31 Torvald Riegel <triegel@redhat.com>
7238 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7239 correct barrier instruction.
7240 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7242 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7245 2014-10-30 Roland McGrath <roland@hack.frob.com>
7247 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7248 after defining inlines. Instead, just use parens to defeat macro
7249 expansion of __isctype in its declaration.
7251 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7253 * include/sys/uio.h (__libc_readv): Remove declaration.
7254 (__libc_writev): Likewise.
7255 * misc/readv.c (__libc_readv): Rename to __readv.
7256 (__readv): Do not define as alias.
7257 (readv): Define as alias of __readv.
7258 * misc/writev.c (__libc_writev): Rename to __writev.
7259 (__writev): Do not define as alias.
7260 (writev): Define as alias of __writev.
7261 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7262 (__readv): Do not define as alias.
7263 (readv): Define unconditionally as alias of __readv.
7264 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7265 (__writev): Do not define as alias.
7266 (writev): Define unconditionally as alias of __writev.
7267 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7269 (writev): Do not define __libc_writev name.
7271 2014-10-30 Roland McGrath <roland@hack.frob.com>
7273 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7274 (convert_charseq): New function, broken out of ...
7275 (use_from_charmap): ... here. Call it.
7276 (use_to_charmap): Use convert_charseq and free instead of duplicating
7277 its code with a variable-length stack struct.
7279 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7281 * include/fcntl.h (__libc_creat): Remove declaration.
7282 * io/creat.c (__libc_creat): Rename to creat.
7283 (creat): Do not define as alias.
7284 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7285 of creat instead of __libc_creat.
7286 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7288 (creat): Do not define as alias.
7289 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7291 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7293 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7296 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7298 * manual/llio.texi: Add comments discussing why write() may be
7299 considered MT-unsafe on Linux.
7301 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7303 * dl-load.c (local_strdup): Remove.
7304 (expand_dynamic_string_token): Use __strdup.
7305 (decompose_rpath): Likewise.
7306 (_dl_map_object): Likewise.
7308 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7311 * sysdeps/generic/unwind-dw2-fde.c
7312 (__register_frame_info_bases_internal): Do not declare.
7313 (__register_frame_info_table_bases_internal): Likewise.
7314 (__deregister_frame_info_bases_internal): Likewise.
7315 (__register_frame_info_bases): Declare and use hidden_proto before
7316 definition. Use hidden_def instead of INTDEF.
7317 (__register_frame_info_table_bases): Likewise.
7318 (__deregister_frame_info_bases): Likewise.
7319 (__register_frame_info): Do not use INTUSE.
7320 (__register_frame): Likewise.
7321 (__register_frame_info_table): Likewise.
7322 (__register_frame_table): Likewise.
7323 (__deregister_frame_info): Likewise.
7324 (__deregister_frame): Likewise.
7326 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7328 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7329 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7331 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7333 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7336 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7339 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7340 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7341 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7342 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7343 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7344 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7345 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7346 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7347 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7348 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7350 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7351 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7353 (setfsuid): Likewise.
7354 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7355 (setfsuid): Likewise.
7356 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7357 (setfsuid): Likewise.
7358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7360 (setfsuid): Likewise.
7361 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7362 (setfsuid): Likewise.
7363 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7365 (setfsuid): Likewise.
7367 2014-10-27 Andreas Schwab <schwab@suse.de>
7370 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7371 check for Slow_SSE4_2 feature bit.
7372 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7373 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7374 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7375 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7377 2014-10-24 Roland McGrath <roland@hack.frob.com>
7379 * configure.ac: Validate compiler version with a empirical test of
7380 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7382 * configure: Regenerated.
7384 * inet/htons.c (htons): Prototypify.
7385 * inet/htonl.c (htonl): Likewise.
7387 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7389 * string/strncat.c (strncat): Improve performance by using strlen.
7391 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7393 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7395 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7397 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7398 Call libc_fetestexcept_aarch64.
7400 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7402 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7403 Call libc_feholdexcept_aarch64.
7405 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7407 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7408 Call get_rounding_mode.
7410 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7412 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7415 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7417 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7420 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7423 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7424 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7425 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7426 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7427 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7428 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7429 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7430 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7431 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7432 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7434 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7435 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7436 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7437 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7438 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7439 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7440 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7441 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7442 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7443 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7445 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7446 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7447 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7448 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7449 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7450 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7451 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7452 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7453 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7454 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7455 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7456 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7457 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7458 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7459 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7460 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7461 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7462 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7463 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7465 (geteuid): Likewise.
7468 (getresgid): Likewise.
7469 (getresuid): Likewise.
7470 (getgroups): Likewise.
7471 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7472 (geteuid): Likewise.
7475 (getresgid): Likewise.
7476 (getresuid): Likewise.
7477 (getgroups): Likewise.
7478 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7479 (geteuid): Likewise.
7482 (getresgid): Likewise.
7483 (getresuid): Likewise.
7484 (getgroups): Likewise.
7485 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7487 (geteuid): Likewise.
7490 (getresgid): Likewise.
7491 (getresuid): Likewise.
7492 (getgroups): Likewise.
7493 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7494 (geteuid): Likewise.
7497 (getresgid): Likewise.
7498 (getresuid): Likewise.
7499 (getgroups): Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7502 (geteuid): Likewise.
7505 (getgroups): Likewise.
7508 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7509 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7510 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7511 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7512 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7513 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7514 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7515 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7516 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7517 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7518 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7522 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7529 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7532 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7537 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7539 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7542 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7544 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7547 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7549 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7550 Remove unused include.
7552 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7554 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7555 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7556 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7557 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7559 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7560 Helge Deller <deller@gmx.de>
7563 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7564 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7565 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7567 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7570 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7571 Remove macro definition.
7572 (__ashrdi3_v_glibc20): Likewise.
7573 (__lshrdi3_v_glibc20): Likewise.
7574 (__cmpdi2_v_glibc20): Likewise.
7575 (__ucmpdi2_v_glibc20): Likewise.
7576 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7577 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7578 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7579 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7580 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7581 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7583 2014-10-22 Roland McGrath <roland@hack.frob.com>
7585 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7586 old GNU extension [0] syntax.
7587 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7588 alloca rather than an array member with variable length.
7589 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7590 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7591 (parse_opt): ... here. Likewise use alloca there.
7592 Validate the -i argument before checking for rootness.
7593 (send_shutdown): New function, broken out of ...
7594 (parse_opt): ... here.
7596 2014-10-22 Roland McGrath <roland@hack.frob.com>
7598 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7599 macro to get at the _rt_local_ro field.
7600 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7601 ([PIC] case) or _dl_hwcap ([!PIC] case).
7602 * sysdeps/arm/setjmp.S: Likewise.
7604 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7605 * sysdeps/arm/configure.ac: New check to define it.
7606 * sysdeps/arm/configure: Regenerated.
7607 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7608 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7609 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7610 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7611 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7612 Use move/movt pair instead of a load.
7613 (LDST_GLOBAL): Macro removed.
7614 (LDR_GLOBAL): New macro replaces it.
7615 (LDR_HIDDEN): New macro.
7616 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7617 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7619 * setjmp/tst-setjmp-static.c: New file.
7620 * setjmp/Makefile (tests): Add it.
7621 (tests-static): New variable.
7623 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7626 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7628 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7631 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7633 2014-10-21 Roland McGrath <roland@hack.frob.com>
7635 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7637 2014-10-20 Roland McGrath <roland@hack.frob.com>
7639 * io/fts.c (dirent_not_directory): New function.
7640 (fts_build): Call it.
7642 2014-10-20 Roland McGrath <roland@hack.frob.com>
7644 * nptl/version.c (__nptl_main): Use normal __write rather than
7646 (banner): Update copyright years.
7648 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7650 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7651 * nptl/pthread_cond_timedwait.c: Likewise.
7652 * nptl/pthread_mutex_timedlock.c: Likewise.
7653 * nptl/sem_timedwait.c: Likewise.
7655 * sysdeps/nptl/bits/libc-lock.h
7656 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7657 (__libc_lock_init_recursive): Return void, not 0.
7658 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7659 (__libc_rwlock_init): Likewise.
7660 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7662 2014-10-20 Torvald Riegel <triegel@redhat.com>
7665 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7666 (__pthread_once_slow): ... here.
7667 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7668 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7670 2014-10-20 Torvald Riegel <triegel@redhat.com>
7673 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7674 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7675 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7676 * nptl/pthread_once.c (__pthread_once): Likewise.
7679 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7682 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7684 (writev): Use __libc_writev as strong name.
7685 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7686 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7688 2014-10-17 Roland McGrath <roland@hack.frob.com>
7690 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7692 * sysdeps/i386/nptl/tls.h
7693 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7694 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7696 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7697 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7698 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7699 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7700 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7701 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7703 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7704 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7706 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7708 (__pthread_mutex_init): ... here. Call it.
7709 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7710 Conditionalize PI cases on [__NR_futex].
7711 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7712 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7713 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7715 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7716 conditional on [SIGSETXID].
7717 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7718 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7719 is defined. Likewise for SIGSETXID.
7720 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7721 Conditionalize definitions on [SIGSETXID].
7722 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7723 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7724 unblocking on [SIGCANCEL].
7726 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7727 [__NR_set_robust_list].
7729 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7731 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7732 (do_compare): Likewise.
7734 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7737 * string/strcoll_l.c: Don't include stdio.h.
7738 (coll_seq): Remove members idxarr and rulearr.
7739 (get_next_seq_cached): Remove function.
7740 (get_next_seq): Likewise.
7741 (get_next_seq_nocache): Rename to get_next_seq.
7742 (do_compare): Remove function.
7743 (do_compare_nocache): Rename to do_compare.
7744 (STRCOLL): Remove weight and rules cache.
7746 2014-10-16 Roland McGrath <roland@hack.frob.com>
7748 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7749 * sysdeps/arm/sfp-machine.h: ... to here.
7750 * sysdeps/arm/Implies: Remove arm/soft-fp.
7752 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7754 * conform/data/sys/utsname.h-data (*_t): Allow.
7755 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7756 [POSIX] (WEXITED): Do not expect constant.
7757 [POSIX] (WSTOPPED): Likewise.
7758 [POSIX] (WNOHANG): Likewise.
7759 [POSIX] (WNOWAIT): Likewise.
7760 [POSIX] (siginfo_t): Do not expect type or elements.
7761 [POSIX] (pid_t): Do not expect type.
7762 [POSIX] (signal.h): Do not allow header.
7763 [POSIX] (sys/resource.h): Likewise.
7764 [POSIX] (si_*): Do not allow pattern.
7765 [POSIX] (W*): Likewise.
7766 [POSIX] (P_*): Likewise.
7767 [POSIX] (BUS_*): Likewise.
7768 [POSIX] (CLD_*): Likewise.
7769 [POSIX] (FPE_*): Likewise.
7770 [POSIX] (ILL_*): Likewise.
7771 [POSIX] (POLL_*): Likewise.
7772 [POSIX] (SEGV_*): Likewise.
7773 [POSIX] (SI_*): Likewise.
7774 [POSIX] (TRAP_*): Likewise.
7775 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7778 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7782 infinite loop when __recvmsg returns 0.
7784 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7786 * CANCEL-FCT-WAIVE: Remove file.
7787 * CANCEL-FILE-WAIVE: Likewise.
7790 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7791 instead of INTVARDEF.
7792 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7793 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7794 rtld_hidden_data_def instead of INTVARDEF.
7795 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7796 * elf/dl-deps.c (expand_dst): Likewise.
7797 * elf/dl-load.c (_dl_dst_count): Likewise.
7798 (_dl_dst_substitute): Likewise.
7799 (decompose_rpath): Likewise.
7800 (_dl_init_paths): Likewise.
7801 (open_path): Likewise.
7802 (_dl_map_object): Likewise.
7803 * elf/rtld.c (dl_main): Likewise.
7804 (process_dl_audit): Likewise.
7805 (process_envvars): Likewise.
7806 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7808 (__libc_enable_secure): Use rtld_hidden_proto.
7810 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7813 (add_path): New function broken out of _dl_rtld_di_serinfo.
7814 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7816 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7818 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7819 parentheses around macro arguments.
7820 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7824 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7825 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7827 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7828 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7829 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7831 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7832 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7833 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7834 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7835 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7836 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7838 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7842 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7843 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7845 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7846 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7847 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7849 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7850 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7851 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7852 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7853 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7854 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7855 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7857 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7858 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7859 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7860 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7861 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7862 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7863 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7864 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7865 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7866 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7867 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7868 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7869 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7870 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7871 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7872 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7873 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7874 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7875 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7876 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7877 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7878 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7879 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7880 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7881 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7882 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7883 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7884 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7885 (_FP_FRAC_SRS_1): Likewise.
7886 (_FP_FRAC_CLZ_1): Likewise.
7887 (_FP_MUL_MEAT_1_imm): Likewise.
7888 (_FP_MUL_MEAT_1_wide): Likewise.
7889 (_FP_MUL_MEAT_1_hard): Likewise.
7890 (_FP_SQRT_MEAT_1): Likewise.
7891 (_FP_FRAC_ASSEMBLE_1): Likewise.
7892 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7893 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7894 (__FP_CLZ_2): Likewise.
7895 (_FP_MUL_MEAT_2_wide): Likewise.
7896 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7897 (_FP_MUL_MEAT_2_gmp): Likewise.
7898 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7899 (_FP_SQRT_MEAT_2): Likewise.
7900 (_FP_FRAC_ASSEMBLE_2): Likewise.
7901 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7902 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7903 (_FP_FRAC_CLZ_4): Likewise.
7904 (_FP_MUL_MEAT_4_wide): Likewise.
7905 (_FP_MUL_MEAT_4_gmp): Likewise.
7906 (_FP_SQRT_MEAT_4): Likewise.
7907 (_FP_FRAC_ASSEMBLE_4): Likewise.
7908 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7909 * soft-fp/op-common.h (_FP_CMP): Likewise.
7910 (_FP_CMP_EQ): Likewise.
7911 (_FP_CMP_UNORD): Likewise.
7912 (_FP_TO_INT): Likewise.
7913 (_FP_FROM_INT): Likewise.
7914 [!__FP_CLZ] (__FP_CLZ): Likewise.
7915 (_FP_DIV_HELP_imm): Likewise.
7916 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7918 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7920 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7921 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7922 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7923 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7924 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7925 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7928 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7929 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7930 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7931 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7932 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7933 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7934 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7935 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7936 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7938 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7939 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7940 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7941 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7943 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7946 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7947 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7948 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7949 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7950 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7951 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7952 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7953 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7954 (FP_UNPACK_RAW_SP): Likewise.
7955 (FP_PACK_RAW_S): Likewise.
7956 (FP_PACK_RAW_SP): Likewise.
7957 (FP_UNPACK_S): Likewise.
7958 (FP_UNPACK_SP): Likewise.
7959 (FP_UNPACK_SEMIRAW_S): Likewise.
7960 (FP_UNPACK_SEMIRAW_SP): Likewise.
7961 (FP_PACK_S): Likewise.
7962 (FP_PACK_SP): Likewise.
7963 (FP_PACK_SEMIRAW_S): Likewise.
7964 (FP_PACK_SEMIRAW_SP): Likewise.
7965 (_FP_SQRT_MEAT_S): Likewise.
7966 (FP_CMP_S): Likewise.
7967 (FP_CMP_EQ_S): Likewise.
7968 (FP_CMP_UNORD_S): Likewise.
7969 (FP_TO_INT_S): Likewise.
7970 (FP_FROM_INT_S): Likewise.
7972 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7974 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7975 (FP_EX_INVALID_IMZ): Likewise.
7976 (FP_EX_INVALID_IMZ_FMA): Likewise.
7977 (FP_EX_INVALID_ISI): Likewise.
7978 (FP_EX_INVALID_ZDZ): Likewise.
7979 (FP_EX_INVALID_IDI): Likewise.
7980 (FP_EX_INVALID_SQRT): Likewise.
7981 (FP_EX_INVALID_CVI): Likewise.
7982 (FP_EX_INVALID_VC): Likewise.
7983 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7984 "invalid" exceptions.
7985 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7986 (_FP_ADD_INTERNAL): Likewise.
7987 (_FP_MUL): Likewise.
7988 (_FP_FMA): Likewise.
7989 (_FP_DIV): Likewise.
7990 (_FP_CMP_CHECK_NAN): Likewise.
7991 (_FP_SQRT): Likewise.
7992 (_FP_TO_INT): Likewise.
7993 (FP_EXTEND): Likewise.
7995 2014-10-09 Allan McRae <allan@archlinux.org>
7997 * po/fr.po: Update French translation from translation project.
7999 2014-10-09 Joseph Myers <joseph@codesourcery.com>
8002 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8004 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8005 (__cxa_atexit): Use libc_hidden_proto.
8006 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8009 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8011 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8012 [!_ISOMAC] (__iswspace_l_internal): Likewise.
8013 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8014 [!_ISOMAC] (__iswctype_internal): Likewise.
8015 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8016 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8018 (fcntl): Remove __fcntl_internal alias.
8019 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8020 __connect_internal alias.
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8024 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8025 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8027 (_FP_CHECK_FLUSH_ZERO): New macro.
8028 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8029 (_FP_CMP): Likewise.
8030 (_FP_CMP_EQ): Likewise.
8031 (_FP_TO_INT): Do not set inexact for subnormal arguments if
8033 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8034 (FP_TRUNC): Likewise.
8036 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8037 treated as invalid conversion, not as normal exponent.
8039 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8040 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
8041 (_FP_CMP_EQ): Likewise.
8042 (_FP_CMP_UNORD): Likewise.
8043 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8044 (FP_CMP_EQ_D): Likewise.
8045 (FP_CMP_UNORD_D): Likewise.
8046 * soft-fp/extended.h (FP_CMP_E): Likewise.
8047 (FP_CMP_EQ_E): Likewise.
8048 (FP_CMP_UNORD_E): Likewise.
8049 * soft-fp/quad.h (FP_CMP_Q): Likewise.
8050 (FP_CMP_EQ_Q): Likewise.
8051 (FP_CMP_UNORD_Q): Likewise.
8052 * soft-fp/single.h (FP_CMP_S): Likewise.
8053 (FP_CMP_EQ_S): Likewise.
8054 (FP_CMP_UNORD_S): Likewise.
8055 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8056 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8057 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8058 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8059 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8060 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8061 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8062 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8063 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8064 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8065 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8066 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8067 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8069 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8071 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8072 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8074 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8076 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8077 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8078 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8079 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8081 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8083 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8084 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8086 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8088 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8089 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8090 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8091 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8094 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8095 a subnormal result, set the underflow exception if trapping on
8096 underflow is enabled.
8097 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8098 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8099 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8101 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8102 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8103 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8104 * soft-fp/extendxftf2.c (__extendxftf2): Use
8105 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8107 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8108 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8109 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8110 FP_HANDLE_EXCEPTIONS.
8111 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8112 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8113 FP_HANDLE_EXCEPTIONS.
8114 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8115 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8116 FP_HANDLE_EXCEPTIONS.
8117 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8118 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8119 FP_HANDLE_EXCEPTIONS.
8121 2014-10-08 Joseph Myers <joseph@codesourcery.com>
8124 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8125 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8127 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8128 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8130 (__adjtimex): Define using libc_hidden_ver.
8131 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8133 (ntp_gettime): Call __adjtimex directly.
8134 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8136 (ntp_gettimex): Call __adjtimex directly.
8137 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8138 __adjtimex_internal alias.
8140 2014-10-08 Roland McGrath <roland@hack.frob.com>
8143 * nscd/nscd.c (more_help): Rewrite list of tables collection
8144 using xstrdup and asprintf.
8146 * nscd/nscd_conf.c: Remove local xstrdup declaration.
8148 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8149 Roland McGrath <roland@hack.frob.com>
8151 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8152 (do_lookup_unique): ... local function 'enter' here; update callers.
8154 2014-10-06 Joseph Myers <joseph@codesourcery.com>
8156 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8157 compat_symbol calls on [SHARED].
8158 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8159 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8161 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8162 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8163 (oldsetrlimit): Remove.
8164 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8166 (lchown): New syscall entry.
8167 (oldsetrlimit): Remove.
8168 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8170 (oldsetrlimit): Remove.
8171 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8174 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8175 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8176 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8177 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8179 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8181 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8186 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8189 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8190 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8191 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8192 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8194 (__old_sem_post): Likewise.
8196 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
8198 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8199 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8200 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8201 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8202 Use INLINE_VSYSCALL macro.
8203 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8204 __vdso_clock_gettime.
8205 * sysdeps/unix/sysv/linux/tile/init-first.c
8206 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8207 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8208 __vdso_clock_gettime.
8210 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8211 to set up frame more cleanly.
8213 * sysdeps/tile/memcmp.c: New file.
8215 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8217 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8218 * sysdeps/tile/tilegx/strcasestr.c: New file.
8219 * sysdeps/tile/tilegx/strnlen.c: New file.
8220 * sysdeps/tile/tilegx/strstr.c: New file.
8222 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8224 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
8226 * nptl/tst-setuid3.c: Write errors to stdout.
8228 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8231 (preload): New functions broken out of _dl_map_object_deps.
8232 (_dl_map_object_deps): Remove a nested function. Update call sites.
8234 2014-10-01 Joseph Myers <joseph@codesourcery.com>
8237 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8238 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8240 2014-10-01 Steve Ellcey <sellcey@mips.com>
8242 * sysdeps/mips/strcmp.S: New.
8244 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8247 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8249 (mkdirat): Likewise.
8250 (readlinkat): Likewise.
8251 (renameat): Likewise.
8252 (symlinkat): Likewise.
8253 (unlinkat): Likewise.
8254 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8255 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8256 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8257 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8258 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8259 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8260 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8262 2014-09-30 Will Newton <will.newton@linaro.org>
8264 * math/math.h: Define long double math functions if
8265 _LIBC_TEST is defined.
8266 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8268 * localedata/Makefile: Move assignment to tests-special
8269 into an ifdef testing run-built-tests.
8270 * timezone/Makefile: Likewise.
8272 2014-09-29 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8275 with $(BASH) not $(SHELL).
8277 2014-09-29 Carlos O'Donell <carlos@redhat.com>
8278 Matthew LeGendre <legendre1@llnl.gov>
8281 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8284 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8286 * stdio-common/printf_fp.c
8287 (hack_digit): New function, broken out of ...
8288 (__printf_fp): ... local function here. Update call sites.
8289 hack_digit now takes an additional parameter that is a pointer
8290 to a struct of the referenced locals. Those locals moved inside
8291 the struct and references updated.
8293 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8295 * aclocal.m4: Require autoconf 2.69.
8296 * configure: Regenerated.
8297 * sysdeps/aarch64/configure: Likewise.
8298 * sysdeps/alpha/configure: Likewise.
8299 * sysdeps/arm/armv7/configure: Likewise.
8300 * sysdeps/arm/configure: Likewise.
8301 * sysdeps/ia64/configure: Likewise.
8302 * sysdeps/mach/configure: Likewise.
8303 * sysdeps/mips/configure: Likewise.
8304 * sysdeps/s390/configure: Likewise.
8305 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8308 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8310 * sysdeps/ia64/configure.ac: Likewise.
8312 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8315 specify symbol version for ld.so. Do not include entry for
8317 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8318 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8319 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8322 * Makeconfig [$(build-shared) = yes]
8323 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8325 [$(build-shared) = yes && $(soversions.mk-done) = t]
8326 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8327 [$(build-shared) = yes && $(soversions.mk-done) = t]
8328 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8330 [$(build-shared) = yes && $(soversions.mk-done) = t]
8331 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8333 [$(build-shared) = yes && $(soversions.mk-done) = t]
8334 (common-generated): Don't append gnu/lib-names.h and
8335 gnu/lib-names.stmp here.
8336 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8337 (lib-names-h-abi): New variable.
8338 [$(build-shared) = yes && $(soversions.mk-done) = t]
8339 (lib-names-stmp-abi): Likewise.
8340 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8341 abi-variants] (before-compile): Append
8342 $(common-objpfx)$(lib-names-h-abi).
8343 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8344 abi-variants] (common-generated): Append gnu/lib-names.h.
8345 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8346 abi-variants] (install-others-nosubdir): Depend on
8347 $(inst_includedir)/$(lib-names-h-abi).
8348 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8349 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8350 [$(build-shared) = yes && $(soversions.mk-done) = t]
8351 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8352 [$(build-shared) = yes && $(soversions.mk-done) = t]
8353 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8354 [$(build-shared) = yes && $(soversions.mk-done) = t]
8355 (common-generated): Append $(lib-names-h-abi) and
8356 $(lib-names-stmp-abi).
8357 * scripts/lib-names.awk: Do not handle multi being set.
8358 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8360 (abi-lp64_be-ld-soname): Likewise.
8361 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8363 (abi-hard-ld-soname): Likewise.
8364 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8365 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8367 (abi-o32_hard-ld-soname): Likewise.
8368 (abi-o32_soft_2008-ld-soname): Likewise.
8369 (abi-o32_hard_2008-ld-soname): Likewise.
8370 (abi-n32_soft-ld-soname): Likewise.
8371 (abi-n32_hard-ld-soname): Likewise.
8372 (abi-n32_soft_2008-ld-soname): Likewise.
8373 (abi-n32_hard_2008-ld-soname): Likewise.
8374 (abi-n64_soft-ld-soname): Likewise.
8375 (abi-n64_hard-ld-soname): Likewise.
8376 (abi-n64_soft_2008-ld-soname): Likewise.
8377 (abi-n64_hard_2008-ld-soname): Likewise.
8378 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8380 (abi-64-v2-ld-soname): Likewise.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8383 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8385 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8387 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8389 (abi-64-ld-soname): Likewise.
8390 (abi-x32-ld-soname): Likewise.
8391 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8393 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8395 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8398 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8399 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8400 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8402 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8403 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8404 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8405 syscall entry for GLIBC_2.2 symbol version.
8406 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8409 (setrlimit): Likewise.
8410 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8413 2014-09-23 Will Newton <will.newton@linaro.org>
8415 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8416 _LINUX_ARM_SYSDEP_H include guard too.
8417 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8420 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8422 * sysdeps/unix/sysv/linux/eventfd.c:
8423 Make first argument unsigned.
8424 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8425 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8427 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8429 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8430 * socket/sys/socket.h: Likewise
8431 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8433 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8435 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8437 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8439 * time/tst-ftime.c: New test.
8440 * time/Makefile (tests): Add tst-ftime.
8442 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8444 * soft-fp/extended.h: Fix comment formatting.
8445 * soft-fp/op-1.h: Likewise.
8446 * soft-fp/op-2.h: Likewise.
8447 * soft-fp/op-4.h: Likewise.
8448 * soft-fp/op-8.h: Likewise.
8449 * soft-fp/op-common.h: Likewise.
8450 * soft-fp/soft-fp.h: Likewise.
8452 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8454 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8457 * Makeconfig (soversions-default-setname): Remove variable.
8458 ($(common-objpfx)soversions.i): Don't pass default_setname to
8460 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8461 oldest_abi to abi-versions.awk.
8462 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8463 * config.make.in (oldest-abi): Remove variable.
8464 * configure.ac (--enable-oldest-abi): Remove configure option.
8465 * configure: Regenerated.
8466 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8468 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8469 * scripts/soversions.awk: Do not handle default_setname variable.
8470 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8472 * sysdeps/mach/hurd/configure: Regenerated.
8473 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8475 * sysdeps/unix/sysv/linux/configure: Regenerated.
8477 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8479 * elf/Makefile (CFLAGS-interp.c): Remove.
8480 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8482 * elf/interp.c: Include generated runtime-linker.h
8484 * Makerules (lib%.so): Don't include $(+interp) in
8486 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8487 * dlfcn/eval.c: Remove file.
8489 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8493 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8497 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8499 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8500 Jakub Jelinek <jakub@redhat.com>
8503 * libio/stdio.h: Check definition of __fortify_function
8504 instead of __extern_always_inline to include bits/stdio2.h.
8505 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8506 check if __extern_always_inline is defined.
8507 [__USE_MISC || __USE_XOPEN]: Likewise.
8508 [__USE_ISOC99] Likewise.
8509 * misc/sys/cdefs.h (__fortify_function): Define only if
8510 __extern_always_inline is defined.
8511 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8512 __extern_always_inline and __extern_inline only for g++-4.3
8513 and newer or a compatible gcc.
8515 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8518 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8519 last change to handle zero prefix length.
8521 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8523 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8526 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8529 2014-09-13 Allan McRae <allan@archlinux.org>
8531 * po/ru.po: Update Russian translation from translation project.
8533 2014-09-12 Roland McGrath <roland@hack.frob.com>
8535 * locale/programs/locale.c (show_locale_vars): Inline local function
8536 into its sole call site. Clean up some style nits.
8537 (print_item): New function, broken out of ...
8538 (show_info): ... local function here. Clean up style nits.
8540 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8542 (set_class_defaults): ... local function set_default here.
8543 Define set_default as a macro locally to pass constant parameters.
8544 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8545 rather than a shared local.
8547 * stdlib/rpmatch.c (try): New function, broken out of ...
8548 (rpmatch): ... local function here. Also, prototypify definition.
8550 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8552 * scripts/soversions.awk: Do not handle configuration names.
8553 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8554 vendor and os variables to soversions.awk.
8555 * configure.ac: Do not modify gnu-* host_os.
8556 * configure: Regenerated
8557 * shlib-versions: Remove first column with configuration names.
8558 * nptl/shlib-versions: Likewise.
8559 * nptl_db/shlib-versions: Likewise.
8560 * sysdeps/hppa/shlib-versions: Likewise.
8561 * sysdeps/m68k/shlib-versions: Likewise.
8562 * sysdeps/mach/hurd/shlib-versions: Likewise.
8563 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8564 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8565 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8566 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8567 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8568 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8569 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8570 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8573 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8574 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8575 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8576 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8578 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8579 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8580 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8583 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8586 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8588 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8590 * shlib-versions: Remove OS-specific entries. Moved to files in
8592 * sysdeps/mach/hurd/shlib-versions: New file.
8593 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8595 * nptl/shlib-versions: Remove architecture-specific entries.
8596 Moved to files in sysdeps.
8597 * shlib-versions: Likewise.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8600 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8601 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8605 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8606 (UDP_NO_CHECK6_RX): Likewise.
8608 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8610 * sysdeps/posix/sysconf.c (__sysconf): Spell
8611 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8613 2014-08-12 Florian Weimer <fweimer@redhat.com>
8615 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8617 * iconv/Versions (__gconv_transliterate): Export for use from
8619 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8620 (struct __gconv_trans_data, __gconv_trans_fct,
8621 __gconv_trans_context_fct, __gconv_trans_query_fct,
8622 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8624 (struct __gconv_step_data): Remove __trans member.
8625 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8626 longer hidden. Remove unused trans_data argument.
8627 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8628 (__gconv_translit_find): Remove declaration.
8629 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8631 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8632 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8633 trans_data argument. Add hidden definition.
8634 (__gconv_translit_find): Remove.
8635 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8636 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8637 * iconv/skeleton.c: Remove transliteration initialization.
8638 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8639 __gconv_step_data initialization.
8640 * libio/iofwide.c (__libio_translit_): Remove.
8641 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8642 * wcsmbs/btowc.c (__btowc): Likewise.
8643 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8644 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8645 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8646 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8647 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8648 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8649 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8650 * wcsmbs/wctob.c (wctob): Likewise.
8652 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8655 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8656 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8658 * sysdeps/x86/Makefile: Adjust.
8660 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8661 Roland McGrath <roland@hack.frob.com>
8663 * locale/weight.h: Add include guard.
8664 (findidx): Make static rather than auto; take new parameters
8665 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8666 * locale/weightwc.h: Likewise.
8667 * posix/fnmatch_loop.c
8668 (FCT): Change type of EXTRA from int32_t to wint_t.
8669 Don't include either header inside the function.
8670 Call FINDIDX rather than findidx, and pass new arguments.
8671 #undef FINDIDX at the end of the file.
8672 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8673 FINDIDX before including fnmatch_loop.c for the non-wide version.
8674 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8675 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8676 for the wide version.
8677 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8678 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8679 Pass new arguments to findidx.
8680 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8681 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8682 Don't #include it inside the function. Pass new arguments to findidx.
8683 * posix/regex_internal.h
8684 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8685 (re_string_elem_size_at): Don't #include it inside the function.
8686 Pass new arguments to findidx.
8687 * string/strcoll_l.c: #include WEIGHT_H at top level.
8688 (get_next_seq): Don't #include it inside the function.
8689 Pass new arguments to findidx.
8690 (get_next_seq_nocache): Likewise.
8691 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8692 (STRXFRM): Don't #include it inside the function.
8693 Pass new arguments to findidx.
8695 2014-09-11 Florian Weimer <fweimer@redhat.com>
8698 * malloc/malloc.c (unlink): Turn asserts into a call to
8701 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8704 * libio/wfileops (do_ftell_wide): Free OUT.
8706 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8708 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8710 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8713 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8714 group if the current group is empty.
8716 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8718 * benchtests/bench-memset.c (test_main): Add more test from size
8719 from 32 to 512 bytes.
8720 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8721 Add POWER8 memset object.
8722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8723 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8724 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8726 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8728 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8729 multiarch POWER8 memset optimization.
8730 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8731 POWER8 memset optimization.
8733 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8734 Remove bzero multiarch objects.
8735 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8736 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8737 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8738 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8740 [__bzero]: Redefine to specific name.
8741 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8742 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8743 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8745 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8746 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8748 2014-09-10 Florian Weimer <fweimer@redhat.com>
8750 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8751 warnings into errors.
8753 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8754 __cxa_thread_atexit_impl prototype.
8756 2014-09-09 Steve Ellcey <sellcey@mips.com>
8758 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8759 Fix capitalization of error message.
8761 2014-09-09 Steve Ellcey <sellcey@mips.com>
8763 * sysdeps/mips/preconfigure: Modify ABI tests.
8765 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8767 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8769 2014-09-07 Roland McGrath <roland@hack.frob.com>
8770 Carlos O'Donell <carlos@systemhalted.org>
8772 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8773 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8774 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8775 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8776 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8777 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8778 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8779 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8780 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8781 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8782 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8783 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8784 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8785 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8786 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8787 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8788 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8789 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8790 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8791 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8792 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8793 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8794 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8795 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8796 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8797 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8798 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8799 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8800 Deconditionalize the code that was previously under [RESET_PID].
8801 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8802 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8803 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8804 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8807 2014-09-08 Allan McRae <allan@archlinux.org>
8809 * version.h (RELEASE): Set to "development".
8810 (VERSION): Set to "2.20.90"
8812 2014-09-07 Allan McRae <allan@archlinux.org
8814 * version.h (RELEASE): Set to "stable".
8815 (VERSION): Set to "2.20"
8816 * include/features.h (__GLIBC_MINOR__): Set to 20.
8818 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8821 * po/ko.po: Update Korean translation from translation project.
8823 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8826 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8827 macro for handling signed relocations.
8829 2014-09-03 Florian Weimer <fweimer@redhat.com>
8832 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8833 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8835 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8836 * iconvdata/ibm935.c (BODY): Likewise.
8837 * iconvdata/ibm937.c (BODY): Likewise.
8838 * iconvdata/ibm939.c (BODY): Likewise.
8839 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8841 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8843 * iconvdata/run-iconv-test.sh: New test loop for checking for
8846 2014-09-02 Khem Raj <raj.khem@gmail.com>
8848 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8851 2014-09-01 Allan McRae <allan@archlinux.org>
8853 * po/eo.po: Update Esperanto translation from translation project.
8855 * po/ca.po: Update Catalan translation from translation project.
8857 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8859 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8862 2014-08-27 Mark Wielaard <mjw@redhat.com>
8865 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8866 to call set_thread_area instead of hand written asm.
8867 (__NR_set_thread_area): Removed define.
8868 (TLS_FLAG_WRITABLE): Likewise.
8869 (__ASSUME_SET_THREAD_AREA): Remove check.
8870 (TLS_EBX_ARG): Remove define.
8871 (TLS_LOAD_EBX): Likewise.
8873 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8875 Simplify atomicity of socket creation in bind.
8877 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8878 looking up the name after linking the file.
8880 2014-08-27 Allan McRae <allan@archlinux.org>
8882 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8884 2014-08-26 Florian Weimer <fweimer@redhat.com>
8887 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8888 trans_compare, open_translit, __gconv_translit_find):
8889 Remove module loading code.
8891 2014-08-26 Allan McRae <allan@archlinux.org>
8893 * po/vi.po: Update Vietnamese translation from translation project.
8895 * po/uk.po: Update Ukrainian translation from translation project.
8897 * po/fr.po: Update French translation from translation project.
8899 * po/ru.po: Update Russian translation from translation project.
8901 * po/pl.po: Update Polish translation from translation project.
8903 * po/cs.po: Update Czech translation from translation project.
8905 * po/de.po: Update German translation from translation project.
8907 * po/bg.po: Update Bulgarian translation from translation project.
8909 * po/sv.po: Update Sweedish translation from translation project.
8911 * po/nl.po: Update Dutch translation from translation project.
8913 * po/es.po: Update Spanish translation from translation project.
8915 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8917 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8919 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8920 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8921 (CPPFLAGS-iconvconfig): Likewise.
8922 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8924 * include/libc-symbols.h: Remove unnecessary check for
8926 * nptl/pthreadP.h: Likewise.
8927 * sysdeps/aarch64/setjmp.S: Likewise.
8928 * sysdeps/alpha/setjmp.S: Likewise.
8929 * sysdeps/arm/sysdep.h: Likewise.
8930 * sysdeps/i386/setjmp.S: Likewise.
8931 * sysdeps/m68k/setjmp.c: Likewise.
8932 * sysdeps/posix/getcwd.c: Likewise.
8933 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8934 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8935 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8936 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8937 * sysdeps/sh/sh3/setjmp.S: Likewise.
8938 * sysdeps/sh/sh4/setjmp.S: Likewise.
8939 * sysdeps/unix/alpha/sysdep.h: Likewise.
8940 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8941 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8942 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8943 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8948 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8951 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8952 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8953 * sysdeps/x86_64/setjmp.S: Likewise.
8955 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8958 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8960 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8961 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8963 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8965 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8968 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8969 and __x86_64__ when disabling x87 inline functions.
8971 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8974 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8975 asm statement with __cpuid_count.
8977 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8979 * configure.ac: Change __ehdr_start code to dereference the struct.
8980 Run readelf on the output to look for relocations.
8981 * configure: Regenerated.
8983 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8986 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8988 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8990 2014-08-12 Roland McGrath <roland@hack.frob.com>
8992 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8994 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8997 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8998 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9000 2014-08-12 Sean Anderson <seanga2@gmail.com>
9002 * malloc/malloc.c: Fix typo in comment.
9004 2014-08-09 Allan McRae <allan@archlinux.org>
9006 * Regenerate libc.po.
9008 2014-08-08 Mike Frysinger <vapier@gentoo.org>
9010 * intl/tst-gettext2.sh: Check every lang file for creation.
9012 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9014 * sysdeps/aarch64/fpu/math_private.h
9015 (libc_feholdsetround_noex_aarch64_ctx): New function.
9017 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
9019 * sysdeps/arm/armv6/strcpy.S (strcpy):
9020 Fix performance issue in misaligned cases.
9022 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9024 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9025 Move definition from termios.h.
9026 (struct termio): Likewise.
9027 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9028 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9029 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9030 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9032 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9033 Move definition to ioctl-types.h
9034 (struct termio): Likewise.
9035 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9036 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9037 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9038 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9041 2014-08-05 Richard Henderson <rth@redhat.com>
9043 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9045 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9047 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9048 Use __feraiseexcept.
9049 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9050 Protect libm symbols with IS_IN_libm.
9052 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9054 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
9056 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9058 2014-08-04 Will Newton <will.newton@linaro.org>
9060 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9063 2014-08-04 Mike Frysinger <vapier@gentoo.org>
9065 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9066 variants for each function.
9068 2014-08-04 Roland McGrath <roland@hack.frob.com>
9070 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9072 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9073 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9075 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9076 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9077 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9078 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9079 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9080 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9081 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9082 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9083 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9084 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9085 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9086 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9089 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9090 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9091 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9093 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9094 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9095 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9096 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9098 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9099 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9100 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9101 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9105 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9106 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9107 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9108 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9109 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9110 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9111 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9112 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9113 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9114 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9115 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9116 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9117 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9118 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9119 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9120 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9121 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9122 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9123 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9124 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9125 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9126 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9127 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9129 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9130 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9132 2014-08-04 Roland McGrath <roland@hack.frob.com>
9134 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9135 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9136 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9137 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9138 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9139 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9141 2014-08-04 Roland McGrath <roland@hack.frob.com>
9143 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9144 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9145 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9146 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9148 2014-08-04 Roland McGrath <roland@hack.frob.com>
9150 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9151 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9152 (__libc_vfork): Define function under this name.
9153 (__vfork): Define as an alias.
9154 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9155 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9157 2014-08-04 Roland McGrath <roland@hack.frob.com>
9159 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9160 that was previously under [RESET_PID].
9161 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9163 2014-08-04 Andreas Schwab <schwab@suse.de>
9165 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9167 2014-08-03 Mike Frysinger <vapier@gentoo.org>
9169 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9172 2014-08-01 Roland McGrath <roland@hack.frob.com>
9174 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9176 2014-08-01 Richard Henderon <rth@redhat.com>
9178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9179 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9180 typo in exact zero test.
9181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9182 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9185 2014-08-01 Roland McGrath <roland@hack.frob.com>
9187 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9188 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9189 * sysdeps/arm/sysdep.h: ... here.
9190 [!__ASSEMBLER__]: Include <stdint.h>.
9192 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9194 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9195 (HAVE_WCTYPE_H): Likewise.
9196 (HAVE_ISWCTYPE): Likewise.
9197 (ENABLE_NLS): Likewise.
9198 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9199 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9201 * posix/regex_internal.c: Check if DEBUG is defined and is
9204 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9205 (HAVE_MBSRTOWCS): Likewise.
9206 * posix/fnmatch.c: Include string.h unconditionally.
9208 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9210 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9213 2014-07-31 Roland McGrath <roland@hack.frob.com>
9215 * sysdeps/generic/safe-fatal.h: New file.
9216 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9217 * nptl/forward.c: Include it.
9218 (__pthread_unwind): Use __safe_fatal as default action, rather
9219 than a bogus use of INTERNAL_SYSCALL that could never work.
9221 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9222 * configure.ac (libc_cv_builtin_trap): New test.
9223 * configure: Regenerated.
9224 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9225 (ABORT_INSTRUCTION): Define using __builtin_trap.
9227 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9228 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9229 * sysdeps/nptl/nptl-signals.h: New file.
9230 * nptl/pthreadP.h: Include <nptl-signals.h>.
9232 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9234 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9235 (ONE_DIRECTION): Define.
9236 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9237 (ONE_DIRECTION): Define.
9238 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9239 (ONE_DIRECTION): Define.
9241 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9243 * sysdeps/s390/Makefile: Delete file.
9244 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9245 * sysdeps/s390/__longjmp.c: Delete file.
9246 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9247 Remove fields __flags and __reserved.
9248 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9250 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9251 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9252 * sysdeps/s390/rtld-setjmp.S: Likewise.
9253 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9254 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9255 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9256 * sysdeps/s390/s390-32/setjmp.S: ... here.
9258 (__sigsetjmp): Remove setting __flags field.
9259 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9260 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9261 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9262 * sysdeps/s390/s390-64/setjmp.S: ... here.
9264 (__sigsetjmp): Remove setting __flags field.
9265 * sysdeps/s390/setjmp.S: Delete file.
9266 * sysdeps/s390/sigjmp.c: Likewise.
9267 * sysdeps/s390/v1-longjmp.c: Likewise.
9268 * sysdeps/s390/v1-setjmp.h: Likewise.
9269 * sysdeps/s390/v1-sigjmp.c: Likewise.
9270 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9271 Remove v1-longjmp_chk.
9272 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9273 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9274 Include debug/longjmp_chk.c and add versioning.
9275 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9276 Include nptl/pt-longjmp.c and add versioning.
9277 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9278 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9279 Include __longjmp.c.
9280 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9282 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9283 (__getcontext): Remove setting __flags field.
9285 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9286 Don't restore upper high grps.
9287 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9289 (__swapcontext): Remove setting uc_flags field.
9290 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9292 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9293 Include __longjmp.c.
9294 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9296 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9297 (__getcontext): Remove setting __flags field.
9299 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9300 (__swapcontext): Remove setting uc_flags field.
9301 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9302 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9303 Remove fields uc_high_gprs and __reserved.
9304 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9305 New file with reverted content.
9306 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9307 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9309 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9312 2014-07-31 Andreas Schwab <schwab@suse.de>
9314 * config.h.in (HAVE_IFUNC): Define to 0.
9315 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9318 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9321 memmove-avx-unaligned, memcpy-avx-unaligned and
9322 mempcpy-avx-unaligned.
9323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9324 Add tests for AVX memcpy functions.
9325 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9326 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9328 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9329 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9331 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9332 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9334 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9335 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9336 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9338 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9341 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9344 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9347 * manual/llio.texi: Add section about open file description locks.
9348 * manual/examples/ofdlocks.c: Example of open file description
9350 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9351 F_OFD_SETLK, and F_OFD_SETLKW.
9353 2014-07-23 Allan McRae <allan@archlinux.org>
9355 * po/es.po: Update Spanish translation from translation project.
9357 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9359 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9361 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9364 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9365 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9366 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9368 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9371 * math/fesetenv.c (__fesetenv)
9372 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9373 * math/feupdateenv.c (__feupdateenv)
9374 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9376 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9377 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9378 (__ASSUME_SOCKETCALL): Do not define.
9380 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9381 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9382 (__ASSUME_SOCKETCALL): Do not define.
9383 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9384 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9385 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9386 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9387 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9388 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9389 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9390 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9392 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9393 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9394 (__ASSUME_SOCKETCALL): Do not define.
9395 (__ASSUME_IPC64): Define unconditionally.
9396 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9397 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9398 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9399 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9400 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9401 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9402 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9405 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9406 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9407 (__ASSUME_SOCKETCALL): Do not define.
9408 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9409 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9410 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9411 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9412 (__ASSUME_REQUEUE_PI): Define unconditionally.
9413 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9414 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9415 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9416 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9417 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9418 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9420 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9421 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9422 (__ASSUME_SOCKETCALL): Do not define.
9423 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9424 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9425 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9426 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9427 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9428 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9431 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9432 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9433 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9434 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9435 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9436 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9437 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9438 (__ASSUME_GETCPU_SYSCALL): Likewise.
9440 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9441 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9442 cases for individual architectures.
9443 * sysdeps/gnu/configure: Regenerated.
9444 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9445 LIBC_SLIBDIR_RTLDDIR.
9446 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9447 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9448 LIBC_SLIBDIR_RTLDDIR.
9449 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9451 LIBC_SLIBDIR_RTLDDIR.
9452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9454 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9455 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9457 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9458 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9460 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9461 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9462 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9463 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9465 * sysdeps/aarch64/shlib-versions: Move to ...
9466 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9467 * sysdeps/alpha/shlib-versions: Move to ...
9468 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9469 * sysdeps/arm/shlib-versions: Move to ...
9470 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9471 * sysdeps/hppa/shlib-versions: Move all contents except for
9472 libgcc_s entry to ...
9473 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9475 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9476 * sysdeps/ia64/shlib-versions: Move to ...
9477 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9479 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9480 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9481 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9482 * sysdeps/microblaze/shlib-versions: Move to ...
9483 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9484 * sysdeps/mips/shlib-versions: Move to ...
9485 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9487 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9488 * sysdeps/tile/shlib-versions: Move to ...
9489 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9490 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9492 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9493 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9495 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9497 2014-07-17 Will Newton <will.newton@linaro.org>
9499 * sysdeps/arm/bits/atomic.h
9500 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9501 (__arch_compare_and_exchange_bool_16_int): Likewise.
9502 (__arch_compare_and_exchange_bool_64_int): Likewise.
9504 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9505 into an #else block.
9507 2014-07-16 Roland McGrath <roland@hack.frob.com>
9509 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9510 just Linux configurations. Test empirically that the compiler sets
9511 __ARM_EABI__, rather than using the tuple to decide.
9512 * sysdeps/arm/preconfigure: Regenerated.
9513 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9514 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9515 contents appended ...
9516 * sysdeps/arm/configure.ac: ... here.
9517 * sysdeps/arm/configure: Regenerated.
9519 2014-07-15 Roland McGrath <roland@hack.frob.com>
9521 * nptl/pthread_kill.c: New file.
9522 * nptl/pthread_sigmask.c: New file.
9523 * nptl/pthread_sigqueue.c: New file.
9525 * sysdeps/nptl/lowlevellock.h: New file.
9526 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9527 * sysdeps/nptl/lowlevellock-futex.h: New file.
9529 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9530 Remove dead declarations.
9532 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9534 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9535 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9537 * sysdeps/x86_64/configure.ac: Likewise.
9538 * sysdeps/i386/configure: Regenerated.
9539 * sysdeps/x86_64/configure: Likewise.
9540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9541 memset-avx2 only if config-cflags-avx2 is yes.
9542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9543 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9545 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9546 only if HAVE_AVX2_SUPPORT is defined.
9547 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9549 2014-07-14 Alan Modra <amodra@gmail.com>
9552 * elf/elf.h (DT_PPC64_NUM): Correct value.
9553 * NEWS: Add to fixed bug list.
9555 2014-07-13 Jim Meyering <meyering@fb.com>
9558 regex: don't deref NULL upon heap allocation failure
9559 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9560 failure in one more place.
9561 To trigger the segfault, configure grep -with-included-regex,
9562 build it, and run these commands:
9563 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9565 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9567 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9569 2014-07-11 Richard Henderson <rth@redhat.com>
9571 * sysdeps/aarch64/libm-test-ulps: Update.
9573 2014-07-10 Florian Weimer <fweimer@redhat.com>
9576 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9577 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9578 (__nptl_setxid): Initialize error member. Call
9579 __nptl_setxid_error.
9580 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9581 * nptl/descr.h (struct xid_command): Add error member.
9582 * nptl/tst-setuid3.c: New file.
9583 * nptl/Makefile (tests): Add it.
9585 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9587 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9589 (__lll_trylock): Use __lll_base_trylock.
9590 (__lll_cond_trylock): Likewise.
9592 2014-07-10 Roland McGrath <roland@hack.frob.com>
9594 * nptl/pthread_create.c (start_thread): Use atomic_or and
9595 lll_futex_wake directly rather than lll_robust_dead.
9596 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9597 (lll_robust_dead): Macro removed.
9598 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9599 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9600 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9601 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9602 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9603 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9604 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9605 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9606 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9608 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9609 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9611 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9614 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9615 Use atomic_compare_and_exchange_val_acq directly rather than
9617 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9618 (__lll_robust_trylock, lll_robust_trylock): Removed.
9619 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9620 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9621 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9622 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9623 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9624 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9625 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9626 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9627 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9628 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9629 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9630 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9631 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9632 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9634 2014-07-02 Florian Weimer <fweimer@redhat.com>
9636 * manual/locale.texi (Locale Names): New section documenting
9637 locale name syntax. Adjust menu and node chaining accordingly.
9638 (Choosing Locale): Reference Locale Names, Locale Categories.
9639 Mention setting LC_ALL=C. Reflect that name syntax is now
9641 (Locale Categories): New section title. Reference Locale Names.
9642 LC_ALL is an environment variable, but not a category.
9643 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9644 description, now in Locale Name. Reference that section. Locale
9645 name syntax is now documented.
9647 2014-07-02 Florian Weimer <fweimer@redhat.com>
9650 * locale/findlocale.c (name_present, valid_locale_name): New
9652 (_nl_find_locale): Use the loc_name variable to store name
9653 candidates. Call name_present and valid_locale_name to check and
9654 validate locale names. Return an error if the locale is invalid.
9656 2014-07-02 Florian Weimer <fweimer@redhat.com>
9658 * locale/setlocale.c (setlocale): Use strdup for allocating
9659 composite name copy.
9661 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9663 Sync up with gnulib.
9664 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9665 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9666 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9667 and _GL_ARG_NONNULL.
9668 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9669 [!_LIBC]: Include code for Windows and Cygwin.
9670 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9671 Include prototype for int strerror_r.
9672 [!_LIBC] (is_open): New function.
9673 (flush_stdout): New function.
9674 (print_errno_message): Use it.
9676 (error_at_line): Likewise.
9677 (error_tail) Add function attribute macros. Use
9680 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9682 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9684 * io/ftw.c: Include sys/param.h unconditionally.
9686 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9689 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9691 (freecache): New function to free CACHE on exit.
9693 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9696 2014-07-09 David S. Miller <davem@davemloft.net>
9698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9700 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9701 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9702 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9703 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9704 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9705 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9706 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9707 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9708 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9709 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9710 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9711 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9712 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9714 2014-07-09 Andreas Schwab <schwab@suse.de>
9716 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9718 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9719 (do_test): Likewise.
9721 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9723 2014-07-09 Will Newton <will.newton@linaro.org>
9725 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9726 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9727 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9728 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9729 * sysdeps/hppa/start.S (_start): Likewise.
9731 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9733 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9735 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9738 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9740 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9741 after checking that it is non-NULL.
9743 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9745 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9747 * sysdeps/powerpc/memmove.c: Remove file.
9748 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9749 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9750 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9751 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9752 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9753 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9754 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9755 string memmove instead of removed powerpc one.
9757 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9758 [weak_alias]: Fix compiler warning due trailing data.
9759 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9760 [weak_alias]: Likewise.
9761 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9762 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9765 (__libc_ifunc_impl_list): Add memmove functions.
9767 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9769 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9771 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9773 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9775 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9777 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9779 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9781 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9783 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9785 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9787 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9789 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9791 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9793 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9795 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9797 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9799 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9801 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9804 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9807 to avoid alignment traps in non-cacheable memory.
9808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9812 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9813 file: multiarch power7 memmove.
9814 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9815 multiarch default memmove.
9816 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9817 multiarch memove for powerpc32/power4.
9819 * string/bcopy.c: Use full path to include memmove.c.
9820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9822 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9823 bcopy for powerpc64.
9824 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9825 bcopy for powerpc64.
9826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9827 and memmove implementations.
9828 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9829 optimized multiarch memmove for POWER7/powerpc64.
9830 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9831 default multiarch memmove for powerpc64.
9832 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9833 multiarch for powerpc64.
9834 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9835 for POWER7/powerpc64.
9836 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9837 memmove for POWER7/powerpc64.
9839 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9842 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9843 __ELF_NATIVE_CLASS equal to 64.
9845 2014-07-07 Roland McGrath <roland@hack.frob.com>
9847 * sysdeps/nptl/lowlevellock.h: File removed.
9849 * NEWS: NPTL is no longer an add-on!
9850 * nptl/internaltypes.h: Moved ...
9851 * sysdeps/nptl/internaltypes.h: ... here.
9852 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9853 * sysdeps/nptl/fork.c: Likewise.
9854 * sysdeps/nptl/gai_misc.h: Likewise.
9855 * sysdeps/nptl/librt-cancellation.c: Likewise.
9856 * sysdeps/nptl/jmp-unwind.c: Likewise.
9857 * sysdeps/nptl/setxid.h: Likewise.
9858 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9859 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9860 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9861 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9862 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9863 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9864 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9865 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9866 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9867 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9868 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9869 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9870 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9871 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9872 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9873 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9874 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9875 * nptl/Makeconfig: Moved ...
9876 * sysdeps/nptl/Makeconfig: ... here.
9877 * nptl/configure: File removed.
9878 * nptl/ANNOUNCE: File removed.
9879 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9880 * sysdeps/unix/sysv/linux/configure: Regenerated.
9882 * nptl/Makefile (routines): Add libc_pthread_init,
9883 libc_multiple_threads, register-atfork and unregister-atfork.
9884 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9885 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9886 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9887 pthread-pi-defines.sym, structsem.sym.
9888 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9889 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9890 [$(subdir) = nptl] (tests): Add tst-setgetname.
9891 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9892 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9893 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9894 [!LIBC_SIGACTION]: Remove aliases.
9895 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9896 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9897 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9898 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9899 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9902 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9903 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9904 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9905 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9906 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9907 __libc_allocate_rtsig_private.
9908 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9909 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9910 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9911 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9912 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9913 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9914 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9915 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9916 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9917 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9918 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9919 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9920 * nptl/internaltypes.h: ... here.
9921 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9922 * sysdeps/nptl/jmp-unwind.c: ... here.
9923 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9924 * nptl/libc-lowlevellock.c: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9926 * nptl/libc_multiple_threads.c: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9928 * nptl/libc_pthread_init.c: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9930 * nptl/lowlevelbarrier.sym: ... here.
9931 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9932 * nptl/lowlevelcond.sym: ... here.
9933 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9934 * nptl/lowlevellock.c: ... here.
9935 * nptl/lowlevellock.h: Moved ...
9936 * sysdeps/nptl/lowlevellock.h: ... here.
9937 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9938 * nptl/lowlevelrobustlock.c: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9940 * nptl/lowlevelrobustlock.sym: ... here.
9941 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9942 * nptl/lowlevelrwlock.sym: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9944 * nptl/pt-fork.c: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9946 * nptl/pthread-pi-defines.sym: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9948 * nptl/pthread_attr_getaffinity.c: ... here.
9949 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9950 * nptl/pthread_attr_setaffinity.c: ... here.
9951 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9952 * nptl/pthread_mutex_cond_lock.c: ... here.
9953 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9955 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9956 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9957 * nptl/pthread_once.c: ... here, replacing old file.
9958 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9959 * nptl/pthread_yield.c: ... here.
9960 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9961 * nptl/register-atfork.c: ... here.
9962 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9963 * nptl/sem_post.c: ... here.
9964 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9965 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9966 * nptl/sem_timedwait.c: ... here.
9967 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9968 * nptl/sem_trywait.c: ... here.
9969 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9970 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9971 * nptl/sem_wait.c: ... here.
9972 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9973 * nptl/structsem.sym: ... here.
9974 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9975 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9976 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9977 * nptl/unregister-atfork.c: ... here.
9978 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9979 * nptl/unwindbuf.sym: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9981 * sysdeps/nptl/fork.c: ... here.
9982 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9983 * sysdeps/nptl/fork.h: ... here.
9984 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9985 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9986 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9987 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9988 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9989 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9990 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9991 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9992 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9993 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9994 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9995 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9996 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9998 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9999 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10000 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10001 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10002 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10003 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10004 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10005 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10006 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10007 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10008 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10009 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10010 * sysdeps/unix/sysv/linux/raise.c: ... here.
10011 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10012 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10013 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10014 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10015 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10016 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10017 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10018 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10019 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10020 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10021 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10022 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10023 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10024 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10025 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10027 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10029 * sysdeps/generic/memcopy.h: Add comment for
10030 MEMCPY_OK_FOR_FWD_MEMMOVE.
10032 2014-07-04 Will Newton <will.newton@linaro.org>
10034 * string/memchr.c: Merge from gnulib.
10035 [_LIBC]: Remove conditionals.
10036 (__ptr_t): Remove define.
10037 (LONG_MAX_32_BITS): Likewise.
10038 (LONG_MAX): Likewise.
10039 (MEMCHR): Use ANSI prototype and optimize algorithm.
10041 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10043 2014-07-03 Roland McGrath <roland@hack.frob.com>
10045 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10046 (lll_futex_timed_wait_bitset): Fix syscall argument count.
10048 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10049 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10050 in a bare environment with no <stdlib.h> installed.
10051 * sysdeps/nptl/configure: Regenerated.
10053 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10055 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10056 AC_EGREP_CPP for kernel header checks, so they only succeed if
10057 including <linux/version.h> actually works right.
10058 * sysdeps/unix/sysv/linux/configure: Regenerated.
10060 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10061 value so it's not diagnosed as unused.
10063 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10064 thing) with "ifeq ($(subdir),rt)".
10066 2014-07-03 Richard Henderson <rth@redhat.com>
10068 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10069 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10070 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10072 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10073 (math_force_eval): New.
10075 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10076 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10078 * sysdeps/alpha/fpu/s_round.c: Remove file.
10079 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10081 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10082 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10083 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10084 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10085 (_dl_start, print_statistics): Likewise.
10086 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10087 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10089 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10090 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10091 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10092 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10093 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10094 (HP_SMALL_TIMING_AVAIL): Define.
10095 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10096 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10097 (HP_SMALL_TIMING_AVAIL): Define.
10098 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10099 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10101 * sysdeps/aarch64/hp-timing.h: New file.
10103 * sysdeps/generic/hp-timing.h: Remove dead comment.
10104 * sysdeps/generic/hp-timing-common.h: New file.
10105 * sysdeps/alpha/hp-timing.h: Include it.
10106 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10107 * sysdeps/i386/i686/hp-timing.h: Likewise.
10108 * sysdeps/ia64/hp-timing.h: Likewise.
10109 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10110 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10111 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10112 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10113 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10114 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10115 (hp_timing_t): New.
10117 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10118 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10119 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10120 * elf/rtld.c (_dl_start_final): Likewise.
10121 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10122 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10123 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10124 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10125 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10126 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10127 (HP_TIMING_DIFF_INIT): Remove.
10128 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10130 (HP_TIMING_DIFF_INIT): Remove.
10131 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10132 * sysdeps/i386/i686/hp-timing.c: Remove file.
10133 * sysdeps/x86_64/hp-timing.c: Remove file.
10134 * sysdeps/ia64/hp-timing.c: Remove file.
10135 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10136 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10137 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10138 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10140 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10141 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10142 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10143 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10144 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10145 (HP_TIMING_ACCUM): Remove.
10146 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10147 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10148 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10150 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10151 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10152 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10153 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10155 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10156 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10157 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10159 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10161 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10163 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10165 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10167 Sync up with gettext.
10168 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10169 [_MSC_VER]: Include malloc.h
10170 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10171 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10172 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10173 TEMP_FAILURE_RETRY. Cast return of alloca.
10174 [!_LIBC] Call gl_rwlock_init.
10175 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10177 2014-07-02 Roland McGrath <roland@hack.frob.com>
10179 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10180 before checking its value.
10182 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10184 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10186 * debug/memcpy_chk.c: Don't include pagecopy.h.
10187 * debug/mempcpy_chk.c: Likewise.
10188 * string/memcpy.c: Likewise.
10189 * string/memmove.c: Likewise.
10190 * sysdeps/powerpc/memmove.c: Likewise.
10191 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10192 definition of PAGE_COPY_FWD_MAYBE here...
10193 * sysdeps/generic/pagecopy.h: ... from here.
10194 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10196 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10197 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10203 (__libc_ifunc_impl_list): Likewise.
10204 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10205 multiarch strcat for PPC64.
10206 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10207 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10209 2014-07-02 Roland McGrath <roland@hack.frob.com>
10211 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10213 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10215 * intl/loadmsgcat.c: Remove declaration of
10216 get_sysdep_segment_value.
10217 (get_sysdep_segment_value): Use ISO C style.
10218 (_nl_load_domain): Use ISO C style. Get rid of redundant
10219 semicolon. Fix typo and formatting in comment.
10220 (_nl_unload_domain): Use ISO C style.
10222 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10224 2014-07-02 Will Newton <will.newton@linaro.org>
10226 * malloc/obstack.c: Merge from gnulib master.
10227 [HAVE_CONFIG_H]: Remove conditional code.
10228 [!_LIBC]: Include config.h.
10229 [!ELIDE_CODE]: Don't include inttypes.h, include
10230 stdint.h unconditionally.
10231 (print_and_abort): Mark as _Noreturn.
10232 (_obstack_allocated_p): Mark as __attribute_pure__.
10233 (obstack_free): Rename to __obstack_free.
10234 [!__attribute__]: Remove conditional code.
10235 * malloc/obstack.h: Merge from gnulib master.
10236 [__cplusplus]: Move conditional down.
10237 [!__attribute_pure__]: Define __attribute_pure__ here
10238 if it is not already defined.
10239 (_obstack_memory_used): Mark as __attribute_pure__.
10240 [!__obstack_free]: Define as obstack_free.
10241 [__GNUC__]: Remove check for ancient NeXT gcc.
10243 2014-07-02 Will Newton <will.newton@linaro.org>
10244 Paul Eggert <eggert@cs.ucla.edu>
10246 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10248 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10250 * resolv/gethnamaddr.c: Add comment warning that the file is
10253 2014-07-01 Carlos O'Donell <carlos@redhat.com>
10255 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10258 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10259 entry for aio_cancel and aio_cancel64.
10260 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10261 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10262 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10263 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10264 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10265 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10266 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10267 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10268 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10269 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10270 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10271 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10272 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10274 2014-07-01 Roland McGrath <roland@hack.frob.com>
10276 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10277 * nptl/pthread_mutex_lock.c: Likewise.
10278 * nptl/pthread_mutex_timedlock.c: Likewise.
10279 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10281 2014-07-01 Richard henderson <rth@redhat.com>
10283 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10284 (__isnan, __isnanl): Remove.
10285 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10287 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10289 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10291 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10293 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10295 * resolv/nss_dns/dns-host.c (getanswer_r)
10296 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10298 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10300 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10301 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10303 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10304 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10306 2014-07-01 Roland McGrath <roland@hack.frob.com>
10308 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10309 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10311 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10312 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10314 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10315 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10317 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10318 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10320 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10321 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10322 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10323 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10325 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10326 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10327 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10331 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10333 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10346 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10347 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10348 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10350 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10352 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10354 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10357 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10358 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10359 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10360 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10361 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10363 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10365 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10366 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10367 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10370 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10374 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10376 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10377 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10379 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10381 * sysdeps/arm/libm-test-ulps: Regenerated.
10383 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10384 Roland McGrath <roland@hack.frob.com>
10386 * test-skeleton.c (signal_handler): Kill the whole process group
10387 before killing the child individually.
10388 (main): Report any failure on `setpgid'.
10390 2014-06-30 Roland McGrath <roland@hack.frob.com>
10392 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10393 from _TLS_H to _ARM_NPTL_TLS_H.
10394 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10395 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10397 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10401 (__expm1l): Return argument unchanged when small but not
10404 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10405 include macro name.
10406 (_FP_UNPACK_RAW_1_P): Likewise.
10407 (_FP_PACK_RAW_1): Likewise.
10408 (_FP_PACK_RAW_1_P): Likewise.
10409 (_FP_MUL_MEAT_1_wide): Likewise.
10410 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10411 (_FP_MUL_MEAT_1_hard): Likewise.
10412 (_FP_DIV_MEAT_1_imm): Likewise.
10413 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10414 (_FP_DIV_MEAT_1_udiv): Likewise.
10415 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10416 (_FP_UNPACK_RAW_2): Likewise.
10417 (_FP_UNPACK_RAW_2_P): Likewise.
10418 (_FP_PACK_RAW_2): Likewise.
10419 (_FP_PACK_RAW_2_P): Likewise.
10420 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10421 (_FP_MUL_MEAT_2_wide): Likewise.
10422 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10423 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10424 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10425 (_FP_MUL_MEAT_2_gmp): Likewise.
10426 (_FP_DIV_MEAT_2_udiv): Likewise.
10427 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10428 (_FP_FRAC_SRL_4): Likewise.
10429 (_FP_FRAC_SRST_4): Likewise.
10430 (_FP_FRAC_SRS_4): Likewise.
10431 (_FP_UNPACK_RAW_4): Likewise.
10432 (_FP_UNPACK_RAW_4_P): Likewise.
10433 (_FP_PACK_RAW_4): Likewise.
10434 (_FP_PACK_RAW_4_P): Likewise.
10435 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10436 (_FP_MUL_MEAT_4_wide): Likewise.
10437 (_FP_MUL_MEAT_4_gmp): Likewise.
10438 (umul_ppppmnnn): Likewise.
10439 (_FP_DIV_MEAT_4_udiv): Likewise.
10440 (__FP_FRAC_ADD_4): Likewise.
10441 (__FP_FRAC_SUB_3): Likewise.
10442 (__FP_FRAC_SUB_4): Likewise.
10443 (__FP_FRAC_DEC_3): Likewise.
10444 (__FP_FRAC_DEC_4): Likewise.
10445 (__FP_FRAC_ADDI_4): Likewise.
10446 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10447 (_FP_FRAC_SRL_8): Likewise.
10448 (_FP_FRAC_SRS_8): Likewise.
10450 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10451 include macro name.
10452 (FP_UNPACK_RAW_EP): Likewise.
10453 (FP_PACK_RAW_E): Likewise.
10454 (FP_PACK_RAW_EP): Likewise.
10455 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10456 (_FP_ISSIGNAN): Likewise.
10457 (_FP_ADD_INTERNAL): Likewise.
10458 (_FP_FMA): Likewise.
10459 (_FP_CMP): Likewise.
10460 (_FP_SQRT): Likewise.
10461 (_FP_TO_INT): Likewise.
10462 (_FP_FROM_INT): Likewise.
10463 (FP_EXTEND): Likewise.
10464 (_FP_DIV_MEAT_N_loop): Likewise.
10466 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10468 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10471 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10474 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10475 result with correct sign in case of exponents that produce
10476 overflow except for X very close to 1.
10478 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10480 mktime: merge #if/#ifdef usage from glibc
10481 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10482 as that works with both Glibc's and Gnulib's style.
10483 See thread starting at Siddhesh Poyarekar's bug report at:
10484 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10486 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10488 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10489 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10490 * sysdeps/tile/tilegx/memmove.c: Remove file.
10492 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10494 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10495 abi-name definition.
10496 * scripts/soversions.awk: Do not handle or generate ABI lines.
10497 * shlib-versions: Remove ABI entries.
10498 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10499 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10501 2014-06-27 Roland McGrath <roland@hack.frob.com>
10503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10504 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10505 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10508 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10511 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10513 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10514 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10515 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10516 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10518 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10520 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10522 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10524 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10527 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10529 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10531 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10534 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10537 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10538 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10539 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10540 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10544 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10545 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10546 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10547 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10548 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10551 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10553 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10554 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10556 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10559 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10561 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10564 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10567 Identical file removed.
10568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10570 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10572 Identical file removed.
10573 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10574 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10575 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10577 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10579 Identical file removed.
10580 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10581 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10583 Identical file removed.
10584 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10585 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10587 Identical file removed.
10588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10589 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10590 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10591 Identical file removed.
10592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10594 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10596 Identical file removed.
10597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10599 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10601 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10603 Identical file removed.
10604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10606 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10609 Identical file removed.
10610 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10612 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10614 Identical file removed.
10615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10617 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10618 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10619 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10621 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10622 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10624 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10626 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10628 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10629 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10630 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10631 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10632 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10634 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10637 * nscd/nscd.c (monitor_child): Return exit status of child
10638 instead of return value from wait syscall.
10640 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10642 * configure.ac (libc_commonpagesize): Remove variable.
10643 (libc_relro_required): Likewise.
10644 (libc_cv_z_relro): Remove configure test.
10645 * configure: Regenerated.
10646 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10648 (libc_relro_required): Likewise.
10649 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10650 (libc_relro_required): Likewise.
10651 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10652 (libc_relro_required): Likewise.
10653 * sysdeps/arm/preconfigure: Regenerated.
10654 * sysdeps/ia64/preconfigure: Remove file.
10655 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10657 (libc_relro_required): Likewise.
10661 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10662 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10663 recompute overflowing results in original rounding mode.
10664 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10665 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10666 recompute overflowing results in original rounding mode.
10667 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10668 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10669 recompute overflowing results in original rounding mode.
10670 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10671 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10672 recompute overflowing results in original rounding mode.
10673 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10674 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10675 recompute overflowing results in original rounding mode.
10676 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10677 (libc_feholdsetround_ctx): New macro.
10678 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10679 * sysdeps/i386/fpu/libm-test-ulps: Update.
10680 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10682 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10684 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10685 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10686 corresponding .cpsetup call.
10688 2014-06-26 Roland McGrath <roland@hack.frob.com>
10690 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10691 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10692 * sysdeps/arm/Makefile [$(subdir) = csu]
10693 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10694 (static-only-routines): Add aeabi_read_tp here.
10695 (shared-only-routines): Add libc-aeabi_read_tp here.
10696 (CFLAGS-libc-start.c): Add -fexceptions here.
10697 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10698 (sysdep_routines, static-only-routines, shared-only-routines):
10699 Don't add to these here.
10700 (CFLAGS-libc-start.c): Likewise.
10702 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10703 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10704 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10705 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10706 * sysdeps/arm/Makefile [$(subdir) = rt]
10707 (librt-sysdep_routines, librt-shared-only-routines):
10708 Append rt-aeabi_unwind_cpp_pr1 here.
10709 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10710 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10711 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10712 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10713 Append nptl-aeabi_unwind_cpp_pr1 here.
10714 (tests): Filter out tst-cleanupx4 here.
10715 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10716 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10717 Don't do those here.
10719 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10721 * scripts/list-sources.sh: Do not handle ports specially.
10723 2014-06-26 Roland McGrath <roland@hack.frob.com>
10725 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10726 * sysdeps/arm/feupdateenv.c: Likewise.
10728 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10730 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10732 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10733 trailing whitespace removed.
10734 * scripts/config.guess: Update to version 2014-03-23.
10735 * scripts/config.sub: Update to version 2014-05-01
10736 * scripts/install-sh: Update to version 2013-12-25.23.
10737 * scripts/move-if-change: Update from gnulib.
10739 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10741 * debug/memmove_chk.c: Remove pagecopy.h include.
10743 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10745 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10746 identical to gnulib mktime.
10748 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10750 * configure.ac: Do not test for machine being rs6000. Do not test
10751 for powerpc*-*soft.
10752 * configure: Regenerated.
10755 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10757 * configure: Regenerated.
10758 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10759 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10760 Remove configure test.
10761 * sysdeps/arm/configure: Regenerated.
10762 * sysdeps/nptl/configure.ac: Do not check
10763 libc_cv_asm_cfi_directives.
10764 * sysdeps/nptl/configure: Regenerated.
10765 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10766 * sysdeps/x86_64/nptl/configure: Remove generated file.
10767 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10769 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10771 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10773 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10774 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10775 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10778 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10779 instead of whether it is defined.
10780 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10781 * sysdeps/hppa/dl-machine.h: Likewise.
10782 * sysdeps/ia64/dl-machine.h: Likewise.
10783 * sysdeps/m68k/dl-machine.h: Likewise.
10784 * sysdeps/microblaze/dl-machine.h: Likewise.
10785 * sysdeps/mips/dl-machine.: Likewise.
10786 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10787 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10788 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10789 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10790 * sysdeps/sh/dl-machine.h: Likewise.
10791 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10792 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10793 * sysdeps/tile/dl-machine.h: Likewise.
10794 * sysdeps/x86_64/dl-machine.h: Likewise.
10796 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10798 (verify_persistent_db): Likewise.
10800 2014-06-26 Roland McGrath <roland@hack.frob.com>
10802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10803 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10805 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10808 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10813 Identical file removed.
10814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10826 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10828 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10830 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10833 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10835 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10837 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10839 Identical file removed.
10840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10841 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10843 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10846 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10849 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10851 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10853 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10855 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10857 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10860 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10863 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10865 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10868 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10870 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10872 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10874 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10875 * sysdeps/unix/sysv/linux/s390/Versions
10876 (libpthread: GLIBC_2.19): New version set.
10877 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10878 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10879 (librt: GLIBC_2.3.3): New version set.
10880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10881 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10882 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10883 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10884 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10885 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10886 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10887 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10888 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10889 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10890 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10891 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10892 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10894 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10895 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10896 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10897 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10898 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10899 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10900 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10902 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10903 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10904 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10906 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10907 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10908 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10909 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10910 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10916 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10917 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10918 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10920 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10922 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10924 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10926 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10927 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10928 (__libc_vfork): Define the function under this name.
10929 [!NOT_IN_libc] (__vfork): Make this an alias.
10930 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10932 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10933 (__libc_vfork): Define the function under this name.
10934 [!NOT_IN_libc] (__vfork): Make this an alias.
10935 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10936 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10937 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10939 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10940 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10942 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10943 code that was previously under [RESET_PID].
10944 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10945 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10946 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10948 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10949 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10950 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10951 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10952 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10953 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10954 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10955 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10956 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10957 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10958 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10960 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10964 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10965 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10966 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10967 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10968 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10984 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10985 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10986 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10987 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10988 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10990 2014-06-25 Roland McGrath <roland@hack.frob.com>
10992 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10993 that was previously under [RESET_PID].
10994 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10996 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10998 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10999 not undefine and redefine.
11000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11001 [O_CLOEXEC]: Make code unconditional.
11002 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11003 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11004 <kernel-features.h>.
11005 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11006 conditional variable definition.
11007 (shm_open) [O_CLOEXEC]: Make code unconditional.
11008 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11011 * configure.ac (USE_REGPARMS): Don't define here.
11012 * configure: Regenerated.
11013 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11014 * sysdeps/i386/configure: Regenerated.
11016 * nptl/createthread.c: Don't include kernel-features.h.
11017 * nptl/pthread_cancel.c: Likewise.
11018 * nptl/pthread_condattr_setclock.c: Likewise.
11019 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11020 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11021 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11022 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11023 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11024 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11028 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11029 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11030 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11031 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11032 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11033 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11034 * nscd/gai.c: Likewise.
11035 * nss/nss_db/db-open.c: Likewise.
11036 * sysdeps/generic/ldsodefs.h: Likewise.
11037 * sysdeps/sh/nptl/tls.h: Likewise.
11038 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11039 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11040 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11041 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11042 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11043 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11044 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11045 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11047 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11048 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11049 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11050 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11051 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11052 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11053 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11054 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11055 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11056 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11057 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11058 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11059 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11060 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11061 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11062 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11063 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11064 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11065 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11066 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11067 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11068 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11069 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11070 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11071 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11072 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11073 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11074 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11075 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11076 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11077 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11078 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11079 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11080 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11081 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11082 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11083 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11084 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11085 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11086 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11087 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11088 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11089 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11090 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11091 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11092 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11093 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11094 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11095 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11118 * sysdeps/unix/sysv/linux/pread.c: Likewise.
11119 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11120 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11121 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11122 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11123 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11124 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11125 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11126 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11127 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11128 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11129 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11130 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11131 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11132 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11133 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11134 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11135 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11136 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11137 * sysdeps/unix/sysv/linux/system.c: Likewise.
11138 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11139 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11140 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11141 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11142 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11144 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11146 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11147 * configure: Regenerated.
11148 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11150 * configure.ac (base_machine): Do not set specially for particular
11152 * configure: Regenerated.
11153 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11154 settings from configure.ac.
11155 * sysdeps/i386/preconfigure: New file.
11156 * sysdeps/s390/preconfigure: Likewise.
11157 * sysdeps/sh/preconfigure: Likewise.
11158 * sysdeps/sparc/preconfigure: Likewise.
11160 2014-06-25 Roland McGrath <roland@hack.frob.com>
11162 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11163 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11164 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11165 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11166 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11167 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11168 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11169 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11170 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11171 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11172 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11173 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11174 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11175 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11176 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11177 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11179 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11180 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11182 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11183 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11184 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11185 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11186 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11187 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11188 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11189 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11190 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11191 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11192 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11193 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11194 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11195 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11196 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11197 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11198 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11199 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11200 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11201 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11202 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11203 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11204 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11205 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11206 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11207 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11208 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11209 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11211 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11212 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11213 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11214 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11215 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11216 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11217 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11218 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11219 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11222 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11224 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11227 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11235 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11237 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11239 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11241 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11244 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11247 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11249 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11252 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11254 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11256 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11258 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11263 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11271 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11273 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11275 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11277 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11280 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11283 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11285 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11288 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11290 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11292 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11294 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11296 * timezone/checktab.awk: Update from tzcode 2014e.
11297 * timezone/private.h: Likewise.
11298 * timezone/tzfile.h: Likewise.
11299 * timezone/zdump.c: Likewise.
11300 * timezone/zic.c: Likewise.
11302 * sysdeps/unix/sysv/linux/kernel-features.h
11303 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11305 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11306 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11307 Remove conditional code.
11309 2014-06-25 Will Newton <will.newton@linaro.org>
11311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11312 (_dl_arm_cap_flags): Add HWCAP2 values.
11313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11314 (_DL_HWCAP_COUNT): Increase to 37.
11315 (_DL_HWCAP_LAST): New define.
11316 (_DL_HWCAP2_LAST): New define.
11317 (_dl_procinfo): Add support for printing
11319 (_dl_string_hwcap): Use _dl_hwcap_string.
11321 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11325 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11327 * README: Do not mention ports directory.
11329 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11331 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11332 <kernel-features.h>.
11333 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11334 conditional variable definition.
11335 (__futimes): Update comment.
11336 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11337 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11340 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11341 arguments close to 0.
11342 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11346 * math/auto-libm-test-in: Add more tests of exp10.
11347 * math/auto-libm-test-out: Regenerated.
11348 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11350 * sysdeps/unix/sysv/linux/kernel-features.h
11351 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11352 * sysdeps/unix/sysv/linux/readv.c: Do not include
11353 <kernel-features.h>.
11354 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11355 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11356 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11358 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11360 * sysdeps/unix/sysv/linux/writev.c: Do not include
11361 <kernel-features.h>.
11362 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11363 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11364 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11366 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11369 2014-06-25 Will Newton <will.newton@linaro.org>
11371 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11372 comment changes throughout the file. Remove checks
11373 for HAVE_*_H definitions that are not required.
11374 (__gen_tempname): Call abort if an unknown kind value is
11377 2014-06-25 Andreas Schwab <schwab@suse.de>
11380 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11381 scalbln, scalblnf, scalblnl in libc.
11383 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11386 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11387 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11388 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11390 2014-06-24 Roland McGrath <roland@hack.frob.com>
11392 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11393 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11394 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11395 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11397 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11398 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11400 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11401 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11402 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11403 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11404 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11405 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11406 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11407 * sysdeps/x86/bits/semaphore.h: ... here.
11408 * sysdeps/x86/nptl/elide.h: Moved ...
11409 * sysdeps/x86/elide.h: ... here.
11410 * sysdeps/x86_64/nptl/Implies: File removed.
11411 * sysdeps/i386/nptl/Implies: File removed.
11413 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11416 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11417 return the argument for normal arguments with exponent below -64.
11418 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11420 * math/auto-libm-test-in: Add another test of expm1.
11421 * math/auto-libm-test-out: Regenerated.
11424 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11425 calling __erfcl for arguments at least 16.
11426 * math/auto-libm-test-in: Add more tests of erf.
11427 * math/auto-libm-test-out: Regenerated.
11429 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11430 individual architectures.
11431 * sysdeps/unix/sysv/linux/configure: Regenerated.
11432 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11433 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11434 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11435 (ldd_rewrite_script): Define variable.
11436 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11441 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11442 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11443 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11444 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11445 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11446 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11447 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11448 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11450 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11453 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11454 Rename member __data.d to __data.__elision_data.
11456 2014-06-24 Wilco <wdijkstr@arm.com>
11458 * NEWS: Add 16918 to fixed bug list.
11460 2014-06-24 Wilco <wdijkstr@arm.com>
11462 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11464 2014-06-24 Wilco <wdijkstr@arm.com>
11466 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11467 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11468 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11469 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11470 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11471 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11472 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11475 2014-06-24 Wilco <wdijkstr@arm.com>
11477 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11479 2014-06-24 Wilco <wdijkstr@arm.com>
11481 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11482 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11483 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11484 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11486 2014-06-24 Wilco <wdijkstr@arm.com>
11489 * sysdeps/arm/feupdateenv.c (feupdateenv):
11490 Rewrite to reduce FPSCR accesses and fix return value.
11492 2014-06-24 Wilco <wdijkstr@arm.com>
11494 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11495 Optimize to avoid unnecessary FPSCR writes.
11496 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11497 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11498 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11499 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11501 2014-06-24 Wilco <wdijkstr@arm.com>
11503 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11504 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11505 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11506 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11507 Call libc_fetestexcept_vfp.
11508 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11509 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11510 __SOFTFP__ ifdef so that they can be built for softfp.
11512 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11514 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11515 argument type signed char.
11517 * Makerules (check-abi): Dump diff of symlist if the test
11520 2014-06-23 Roland McGrath <roland@hack.frob.com>
11522 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11525 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11526 Remove unused variable ST.
11528 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11533 small arguments before calling __expm1.
11534 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11535 small arguments before calling __expm1f.
11536 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11537 small arguments before calling __expm1l.
11538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11540 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11541 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11542 spurious underflow for some cosh tests.
11543 * math/auto-libm-test-out: Regenerated.
11544 * sysdeps/i386/fpu/libm-test-ulps: Update.
11547 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11548 (__ieee754_y1): Set errno if return value overflows.
11549 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11550 (__ieee754_y1f): Set errno if return value overflows.
11551 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11552 (__ieee754_y1l): Set errno if return value overflows.
11553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11554 (__ieee754_y1l): Set errno if return value overflows.
11555 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11556 * math/auto-libm-test-out: Regenerated.
11558 * math/gen-auto-libm-tests.c: Document use of
11559 ignore-zero-inf-sign.
11560 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11561 (input_flags): Add ignore-zero-inf-sign.
11562 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11563 * math/gen-libm-test.pl (generate_testfile): Handle
11564 ignore-zero-inf-sign.
11565 * math/auto-libm-test-in: Mark some cpow tests with
11566 ignore-zero-inf-sign and some with xfail-rounding.
11567 * math/auto-libm-test-out: Regenerated.
11568 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11569 * sysdeps/i386/fpu/libm-test-ulps: Update.
11570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11573 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11574 overflowing or underflowing operations take place with sign of
11576 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11577 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11579 (__ieee754_pow): Recompute overflowing and underflowing results in
11580 original rounding mode.
11581 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11582 (__powl_helper): Allow negative argument X and scale negated value
11583 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11584 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11585 overflowing or underflowing operations take place with sign of
11587 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11589 * math/auto-libm-test-in: Add more tests of pow.
11590 * math/auto-libm-test-out: Regenerated.
11591 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11592 (pow_tonearest_test_data): Remove.
11593 (pow_test_tonearest): Likewise.
11594 (pow_towardzero_test_data): Likewise.
11595 (pow_test_towardzero): Likewise.
11596 (pow_downward_test_data): Likewise.
11597 (pow_test_downward): Likewise.
11598 (pow_upward_test_data): Likewise.
11599 (pow_test_upward): Likewise.
11600 (main): Don't call removed functions.
11601 * sysdeps/i386/fpu/libm-test-ulps: Update.
11602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604 2014-06-23 Roland McGrath <roland@hack.frob.com>
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11780 2014-06-23 Will Newton <will.newton@linaro.org>
11781 Wilco <wdijkstr@arm.com>
11783 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11784 implementation. Include get-rounding-mode.h.
11785 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11786 [!libc_feholdsetround_noex_ctx]: Define
11787 libc_feholdsetround_noex_ctx.
11788 [!libc_feholdsetround_noexf_ctx]: Define
11789 libc_feholdsetround_noexf_ctx.
11790 [!libc_feholdsetround_noexl_ctx]: Define
11791 libc_feholdsetround_noexl_ctx.
11792 (libc_feholdsetround_ctx): New function.
11793 (libc_feresetround_ctx): New function.
11794 (libc_feholdsetround_noex_ctx): New function.
11795 (libc_feresetround_noex_ctx): New function.
11797 2014-06-23 Roland McGrath <roland@hack.frob.com>
11799 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11800 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11801 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11802 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11803 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11804 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11806 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11807 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11808 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11809 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11810 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11811 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11813 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11815 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11818 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11820 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11821 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11823 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11826 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11828 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11829 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11830 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11831 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11832 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11833 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11835 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11836 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11838 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11839 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11840 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11843 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11844 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11845 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11846 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11847 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11848 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11849 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11850 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11851 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11852 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11854 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11857 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11859 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11861 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11863 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11864 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11867 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11870 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11871 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11872 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11873 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11874 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11875 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11877 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11879 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11880 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11881 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11883 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11884 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11885 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11888 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11889 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11890 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11892 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11893 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11894 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11895 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11896 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11897 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11898 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11899 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11900 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11901 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11902 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11904 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11905 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11908 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11909 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11912 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11915 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11916 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11917 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11918 (IPV6_PMTUDISC_INTERFACE): Likewise.
11919 (IPV6_PMTUDISC_OMIT): Likewise.
11921 2014-06-23 Andreas Schwab <schwab@suse.de>
11923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11924 Remove unused errout label.
11926 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11929 macro: hardware supports Vector Crypto instructions.
11931 2014-06-23 Will Newton <will.newton@linaro.org>
11933 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11934 rather than __builtin_expect.
11936 * elf/dl-lookup.c (undefined_msg): Remove variable.
11937 (_dl_lookup_symbol_x): Replace undefined_msg with string
11940 * elf/dl-lookup.c (do_lookup_unique): New function.
11941 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11942 to a separate function.
11944 2014-06-23 Andreas Schwab <schwab@suse.de>
11947 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11948 before reading the next line.
11950 2014-06-23 Will Newton <will.newton@linaro.org>
11952 * test-skeleton.c (signal_handler): Use printf and %m
11953 rather than perror. Use printf rather than fprintf to
11954 stderr. Use puts rather than fputs to stderr.
11957 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11959 * nscd/nscd.c (thread_info_t): Remove typedef.
11960 (thread_info): Remove variable.
11962 2014-06-21 Allan McRae <allan@archlinux.org>
11964 * NEWS: Mention CVE-2014-4043.
11966 2014-06-20 Roland McGrath <roland@hack.frob.com>
11968 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11969 * nptl/smp.h: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11973 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11974 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11975 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11976 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11978 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11979 * nptl/stack-aliasing.h: New file.
11980 * sysdeps/i386/i686/stack-aliasing.h: New file.
11981 * sysdeps/i386/i686/nptl/Makefile: File removed.
11982 * sysdeps/x86_64/stack-aliasing.h: New file.
11983 * sysdeps/x86_64/nptl/Makefile
11984 (CFLAGS-pthread_create.c): Variable removed.
11986 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11987 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11989 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11990 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11993 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11995 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11996 (__ASSUME_SIGFRAME_V2): Remove macro.
11997 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11998 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11999 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12000 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12001 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12002 Declare as function. Remove conditional macro definitions.
12003 (__default_rt_sa_restorer): Likewise.
12004 (__default_sa_restorer_v1): Remove declaration.
12005 (__default_sa_restorer_v2): Likewise.
12006 (__default_rt_sa_restorer_v1): Likewise.
12007 (__default_rt_sa_restorer_v2): Likewise.
12008 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12009 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12010 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12012 2014-06-20 Roland McGrath <roland@hack.frob.com>
12014 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12015 (libpthread-routines): Add sysdep.
12016 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12017 * sysdeps/unix/sysv/linux/sparc/Versions
12018 (libpthread: GLIBC_2.3.3): New version set.
12019 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12020 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12021 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12022 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12023 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
12024 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12026 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12027 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12028 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12029 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12030 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12031 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12032 * sysdeps/sparc/nptl/sem_init.c: ... here.
12033 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12034 * sysdeps/sparc/nptl/sem_post.c: ... here.
12035 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12036 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12037 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12038 * sysdeps/sparc/nptl/sem_wait.c: ... here.
12039 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12040 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12041 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12042 (libpthread-routines): Add cpu_relax.
12043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12045 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12046 (librt: GLIBC_2.3.3): New version set.
12047 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12048 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12049 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12050 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12053 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12056 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12058 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12060 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12062 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12064 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12067 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12075 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12079 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12083 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12087 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12090 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12096 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12097 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12098 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12101 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12103 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12104 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12105 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12107 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12109 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12110 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12111 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12112 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12113 * nscd/nscd.c: Likewise.
12114 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12115 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12116 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12117 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12119 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12120 <kernel-features.h>.
12121 (init_mq_netlink): Remove conditional have_sock_cloexec
12122 definitions. Remove code conditional on have_sock_cloexec < 0.
12123 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12124 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12125 * sysdeps/unix/sysv/linux/opensock.c: Do not include
12126 <kernel-features.h>.
12127 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12128 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12130 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12133 Add tests for memset_chk and memset.
12135 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12138 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12141 * elf/tst-dl-iter-static.c: New file.
12142 * elf/Makefile (tests-static): Add tst-dl-iter-static.
12144 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12147 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12149 * sysdeps/unix/sysv/linux/kernel-features.h
12150 (__ASSUME_F_GETOWN_EX): Remove macro.
12151 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12152 <kernel-features.h>.
12153 (miss_F_GETOWN_EX): Remove variable or macro.
12154 (do_fcntl): Do not check miss_F_GETOWN_EX.
12155 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12157 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12160 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12161 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12163 * sysdeps/unix/sysv/linux/kernel-features.h
12164 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12165 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12166 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12167 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12169 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12172 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12173 Fix calculation of the symbol's value.
12174 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12175 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12176 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12177 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12178 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12179 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12180 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12181 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12182 (modules-names): Add `tst-armtlsdescmod',
12183 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12184 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12185 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12186 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12187 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12188 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12189 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12190 ($(objpfx)tst-armtlsdescloc): New dependency.
12191 ($(objpfx)tst-armtlsdescextnow): Likewise.
12192 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12193 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12194 TLS scheme support.
12195 * sysdeps/arm/configure: Regenerate.
12197 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12199 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12200 (__atfct_seterrno_2): Likewise.
12201 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12202 <kernel-features.h>.
12203 (__ASSUME_ATFCTS): Do not undefine and redefine.
12204 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12205 (__have_atfcts): Remove conditional definition.
12206 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12207 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12208 unreachable if [__ASSUME_ATFCTS].
12209 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12210 not undefine and redefine.
12211 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12212 <kernel-features.h>.
12213 (faccessat) [__NR_faccessat]: Make code unconditional.
12214 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12215 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12216 <kernel-features.h>.
12217 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12218 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12219 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12220 <kernel-features.h>.
12221 (fchownat) [__NR_fchownat]: Make code unconditional.
12222 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12223 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12224 <kernel-features.h>.
12225 (futimesat) [__NR_futimesat]: Make code unconditional.
12226 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12227 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12228 <kernel-features.h>.
12229 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12230 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12231 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12232 <kernel-features.h>.
12233 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12234 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12235 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12236 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12237 <kernel-features.h>.
12238 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12239 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12240 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12241 <kernel-features.h>.
12242 (linkat) [__NR_linkat]: Make code unconditional.
12243 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12244 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12245 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12246 <kernel-features.h>.
12247 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12248 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12249 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12250 <kernel-features.h>.
12251 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12252 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12253 * sysdeps/unix/sysv/linux/openat.c: Do not include
12254 <kernel-features.h>.
12255 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12256 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12257 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12258 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12259 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12260 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12261 <kernel-features.h>.
12262 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12263 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12264 result of INLINE_SYSCALL directly, not via int variable.
12265 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12266 <kernel-features.h>.
12267 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12268 (renameat) [__NR_renameat]: Make code unconditional.
12269 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12270 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12271 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12272 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12273 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12274 (__ASSUME_ATFCTS): Do not undefine and redefine.
12275 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12276 <kernel-features.h>.
12277 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12278 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12279 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12280 <kernel-features.h>.
12281 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12282 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12283 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12284 (__ASSUME_ATFCTS): Do not undefine and redefine.
12285 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12286 <kernel-features.h>.
12287 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12288 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12289 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12290 <kernel-features.h>.
12291 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12292 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12294 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12296 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12298 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12301 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12302 constructed tree before returning error.
12303 * posix/bug-regexp36.c: Expand test case.
12305 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12308 * math/libm-test.inc (scalbln_test_date):
12309 Add errno expectations.
12310 * math/w_scalblnf.c: New File.
12311 Add wrapper which checks for setting errno to ERANGE.
12312 Add weak_alias for corresponding scalbln function.
12313 * math/w_scalbln.c: Likewise.
12314 * math/w_scalblnl.c: Likewise.
12315 * math/Makefile (libm-calls): Add w_scalbln.
12316 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12317 Remove weak_alias for corresponding scalbln function.
12318 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12322 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12323 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12324 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12325 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12326 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12327 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12328 Remove long_double_symbol for scalblnl function in libm, libc.
12329 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12330 Add wrapper which checks for setting errno to ERANGE.
12331 Add long_double_symbol for scalblnl function in libm, libc.
12332 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12333 Remove long_double_symbol for scalblnl in libm.
12334 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12335 Add wrapper which checks for setting errno to ERANGE.
12336 Add long_double_symbol for scalblnl function in libm.
12337 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12338 Do not use wrapper because of own implementation.
12340 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12342 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12343 3 bytes for __pad1 for x32.
12344 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12346 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12347 H.J. Lu <hongjiu.lu@intel.com>
12349 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12350 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12351 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12352 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12353 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12355 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12358 * posix/regcomp.c (parse_expression): Deallocate partially
12359 constructed tree before returning error.
12360 * posix/Makefile.c (tests): Add bug-regex36.
12361 (generated): Add bug-regex36.mtrace.
12362 (tests-special): Add $(objpfx)bug-regex36-mem.out
12363 (bug-regex36-ENV): New variable.
12364 ($(objpfx)bug-regex36-mem.out): New rule.
12365 * posix/bug-regex36.c: New file.
12367 2014-06-19 Will Newton <will.newton@linaro.org>
12369 * malloc/malloc.c (systrim): If extra is zero then return
12372 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12374 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12376 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12378 * sysdeps/aarch64/strchr.S: New file.
12380 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12383 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12384 from arguments -2 or below.
12385 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12386 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12388 2014-06-18 Andreas Schwab <schwab@suse.de>
12391 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12392 of a bracket expr not to run off the end of the string.
12393 * posix/Makefile (tests): Add tst-fnmatch3.
12394 * posix/tst-fnmatch3.c: New file.
12396 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12398 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12399 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12400 [$(cross-compiling) = no]: Likewise.
12401 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12402 [$(cross-compiling) = no]: Likewise.
12404 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12407 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12408 double, adjusted for any remainder from the high double.
12409 * math/libm-test.inc (nearbyint): Add tests.
12412 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414 * nptl/sysdeps/powerpc/Makefile: Moved ...
12415 * sysdeps/powerpc/nptl/Makefile: ... here.
12416 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12417 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12418 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12419 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12420 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12421 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12422 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12423 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12424 * nptl/sysdeps/powerpc/tls.h: Moved ...
12425 * sysdeps/powerpc/nptl/tls.h: ... here.
12427 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12430 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12431 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12432 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12433 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12434 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12435 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12436 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12437 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12438 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12440 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12442 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12444 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12446 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12449 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12452 2014-06-16 Florian Weimer <fweimer@redhat.com>
12455 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12456 non-executed part of the test.
12458 2014-06-16 Andreas Schwab <schwab@suse.de>
12460 * string/bits/string2.h (strdup, strndup): Update feature guard.
12462 2014-06-14 David S. Miller <davem@davemloft.net>
12464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12466 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12468 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12469 that was previously under [RESET_PID].
12470 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12472 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12473 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12474 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12475 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12476 (__libc_vfork): New strong alias.
12477 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12479 2014-06-14 Andi Kleen <ak@linux.intel.com>
12481 * sysdeps/generic/elide.h: New file.
12483 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12485 * Makefile (installed-headers): Adjust path of pthread.h header.
12487 2014-06-13 Roland McGrath <roland@hack.frob.com>
12489 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12490 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12491 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12492 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12494 * nptl/sysdeps/s390/Makefile: Moved ...
12495 * sysdeps/s390/nptl/Makefile: ... here.
12496 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12497 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12498 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12499 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12500 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12501 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12502 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12503 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12504 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12505 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12506 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12507 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12508 * nptl/sysdeps/s390/tls.h: Moved ...
12509 * sysdeps/s390/nptl/tls.h: ... here.
12511 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12512 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12514 2014-06-13 David S. Miller <davem@davemloft.net>
12516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12519 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12523 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12524 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12525 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12526 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12527 Remove RESET_PID cpp guards.
12528 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12529 Remove RESET_PID cpp guards.
12530 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12532 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12534 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12537 2014-06-13 Andi Kleen <ak@linux.intel.com>
12539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12540 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12541 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12543 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12544 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12545 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12546 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12547 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12548 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12549 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12550 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12551 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12552 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12554 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12556 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12557 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12560 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12561 (pthread_rwlock_rdlock): Add elision.
12562 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12563 (pthread_rwlock_wrlock): Add elision.
12564 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12565 (pthread_rwlock_trywrlock): Add elision.
12566 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12567 (pthread_rwlock_tryrdlock): Add elision.
12568 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12569 (pthread_rwlock_tryrdlock): Add elision unlock.
12570 * nptl/sysdeps/pthread/pthread.h:
12571 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12572 (PTHREAD_RWLOCK_INITIALIZER,
12573 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12574 Handle new elision field.
12575 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12576 * sysdeps/arm/nptl/bits/pthreadtypes.h
12577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12578 * sysdeps/sh/nptl/bits/pthreadtypes.h
12579 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12580 * sysdeps/tile/nptl/bits/pthreadtypes.h
12581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12582 * sysdeps/a/nptl/bits/pthreadtypes.h
12583 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12584 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12585 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12586 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12588 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12590 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12592 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12596 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12598 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12600 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12601 (elision_init): Set try_xbegin to zero when no RTM.
12602 * sysdeps/x86/nptl/bits/pthreadtypes.h
12603 (pthread_rwlock_t): Change __pad1 to __rwelision.
12604 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12606 2014-06-13 Andi Kleen <ak@linux.intel.com>
12608 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12609 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12610 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12611 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12613 2014-06-13 Meador Inge <meadori@codesourcery.com>
12616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12617 that the cached result has been set before returning it.
12619 2014-06-12 Roland McGrath <roland@hack.frob.com>
12621 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12622 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12623 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12624 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12625 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12626 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12628 * nptl/sysdeps/sparc/Makefile: Moved ...
12629 * sysdeps/sparc/nptl/Makefile: ... here.
12630 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12631 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12632 * nptl/sysdeps/sparc/tls.h: Moved ...
12633 * sysdeps/sparc/nptl/tls.h: ... here.
12634 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12635 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12636 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12637 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12638 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12639 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12640 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12641 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12642 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12643 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12644 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12645 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12646 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12647 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12648 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12649 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12650 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12653 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12654 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12656 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12657 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12659 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12660 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12663 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12665 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12666 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12668 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12669 (struct list_links): Type removed.
12670 (struct thread_node, struct timer_node): Replace struct list_links
12671 with struct list_head.
12672 (list_unlink_ip): Likewise.
12673 * sysdeps/pthread/timer_routines.c
12674 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12675 (list_append, list_insbefore): Likewise.
12676 (list_init): Function removed.
12677 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12678 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12679 * sysdeps/pthread/Makefile: ... here, new file.
12681 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12682 * sysdeps/nptl/Implies: ... here.
12683 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12684 * nptl/sysdeps/pthread/list.h: Moved ...
12685 * include/list.h: ... here.
12686 * nptl/sysdeps/pthread/createthread.c: Moved ...
12687 * nptl/createthread.c: ... here.
12688 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12689 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12690 * nptl/pt-longjmp.c: ... here.
12691 * nptl/sysdeps/pthread/Makefile: Moved ...
12692 * sysdeps/nptl/Makefile: ... here.
12693 * nptl/sysdeps/pthread/Subdirs: Moved ...
12694 * sysdeps/nptl/Subdirs: ... here.
12695 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12696 * sysdeps/nptl/aio_misc.h: ... here.
12697 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12698 * sysdeps/nptl/bits/libc-lock.h: ... here.
12699 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12700 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12701 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12702 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12703 * nptl/sysdeps/pthread/configure: Moved ...
12704 * sysdeps/nptl/configure: ... here.
12705 * nptl/sysdeps/pthread/configure.ac: Moved ...
12706 * sysdeps/nptl/configure.ac: ... here.
12707 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12708 * sysdeps/nptl/gai_misc.h: ... here.
12709 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12710 * sysdeps/nptl/librt-cancellation.c: ... here.
12711 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12712 * sysdeps/nptl/malloc-machine.h: ... here.
12713 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12714 * sysdeps/nptl/pthread-functions.h: ... here.
12715 * nptl/sysdeps/pthread/pthread.h: Moved ...
12716 * sysdeps/nptl/pthread.h: ... here.
12717 * nptl/sysdeps/pthread/setxid.h: Moved ...
12718 * sysdeps/nptl/setxid.h: ... here.
12719 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12720 * sysdeps/nptl/sigfillset.c: ... here.
12721 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12722 * sysdeps/nptl/tcb-offsets.h: ... here.
12723 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12724 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12725 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12726 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12727 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12728 * sysdeps/pthread/allocalim.h: ... here.
12729 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12730 * sysdeps/pthread/bits/sigthread.h: ... here.
12731 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12732 * sysdeps/pthread/flockfile.c: ... here.
12733 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12734 * sysdeps/pthread/ftrylockfile.c: ... here.
12735 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12736 * sysdeps/pthread/funlockfile.c: ... here.
12737 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12738 * sysdeps/pthread/posix-timer.h: ... here.
12739 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12740 * sysdeps/pthread/timer_create.c: ... here.
12741 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12742 * sysdeps/pthread/timer_delete.c: ... here.
12743 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12744 * sysdeps/pthread/timer_getoverr.c: ... here.
12745 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12746 * sysdeps/pthread/timer_gettime.c: ... here.
12747 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12748 * sysdeps/pthread/timer_routines.c: ... here.
12749 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12750 * sysdeps/pthread/timer_settime.c: ... here.
12751 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12752 * sysdeps/pthread/tst-timer.c: ... here.
12753 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12754 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12756 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12757 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12759 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12760 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12761 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12762 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12763 Update #include target.
12764 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12765 * sysdeps/i386/i686/nptl/Makefile: ... here.
12766 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12767 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12768 Update #include target.
12769 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12770 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12771 * nptl/sysdeps/i386/Makefile: Moved ...
12772 * sysdeps/i386/nptl/Makefile: ... here.
12773 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12774 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12775 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12776 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12777 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12778 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12779 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12780 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12781 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12782 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12783 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12784 * nptl/sysdeps/i386/tls.h: Moved ...
12785 * sysdeps/i386/nptl/tls.h: ... here.
12787 * sysdeps/sh/Makefile [$(subdir) = csu]
12788 (gen-as-const-headers): Add tcb-offsets.sym.
12789 * nptl/sysdeps/sh/Makefile: File removed.
12790 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12791 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12792 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12793 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12794 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12795 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12796 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12797 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12798 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12799 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12800 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12801 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12802 * nptl/sysdeps/sh/tls.h: Moved ...
12803 * sysdeps/sh/nptl/tls.h: ... here.
12804 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12805 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12806 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12807 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12808 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12809 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12810 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12811 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12812 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12813 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12815 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12816 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12817 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12818 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12819 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12820 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12821 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12822 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12823 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12825 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12830 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12831 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12833 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12835 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12837 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12838 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12839 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12841 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12843 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12845 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12847 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12848 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12849 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12850 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12853 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12855 * posix/spawn_faction_addopen.c: Include string.h.
12857 2014-06-11 Roland McGrath <roland@hack.frob.com>
12859 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12860 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12861 * nptl/sysdeps/x86_64/Makefile: Moved ...
12862 * sysdeps/x86_64/nptl/Makefile: ... here.
12863 * nptl/sysdeps/x86_64/configure: Moved ...
12864 * sysdeps/x86_64/nptl/configure: ... here.
12865 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12866 * sysdeps/x86_64/nptl/configure.ac: ... here.
12867 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12868 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12869 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12870 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12871 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12872 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12873 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12874 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12875 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12876 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12877 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12878 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12879 * nptl/sysdeps/x86_64/tls.h: Moved ...
12880 * sysdeps/x86_64/nptl/tls.h: ... here.
12881 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12882 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12883 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12884 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12886 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12888 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12892 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12894 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12896 [POSIX] (off_t): Likewise.
12897 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12898 [POSIX] (S_ISBLK): Require macro.
12899 [POSIX] (S_ISCHR): Likewise.
12900 [POSIX] (S_ISDIR): Likewise.
12901 [POSIX] (S_ISFIFO): Likewise.
12902 [POSIX] (S_ISREG): Likewise.
12903 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12905 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12907 [POSIX] (time_t): Likewise.
12908 [POSIX] (timer_t): Likewise.
12910 2014-06-11 Florian Weimer <fweimer@redhat.com>
12913 * posix/spawn_int.h (struct __spawn_action): Make the path string
12914 non-const to support deallocation.
12915 * posix/spawn_faction_addopen.c
12916 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12917 * posix/spawn_faction_destroy.c
12918 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12919 path in all spawn_do_open actions.
12920 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12921 posix_spawn_file_actions_addopen.
12923 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12925 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12926 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12927 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12928 conditional code always true.
12929 (__libc_vfork): New alias.
12931 2014-06-11 Roland McGrath <roland@hack.frob.com>
12933 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12934 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12936 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12938 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12939 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12941 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12942 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12944 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12945 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12947 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12949 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12950 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12951 multiarch strcmp for PPC64.
12952 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12953 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12955 multiarch optimizations.
12956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12957 (__libc_ifunc_impl_list): Likewise.
12959 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12961 * benchtests/scripts/validate_benchout.py: New script.
12962 * benchtests/Makefile (bench-func): Call it.
12963 * benchtests/scripts/benchout.schema.json: New file.
12965 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12967 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12968 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12969 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12970 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12971 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12972 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12973 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12974 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12975 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12976 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12977 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12978 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12979 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12980 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12981 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12982 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13059 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13086 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13087 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13088 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13089 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13092 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13094 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13095 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13097 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13099 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13101 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13102 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13103 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13105 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13108 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13109 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13111 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13113 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13116 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13117 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13118 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13119 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13120 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13121 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13122 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13124 2014-06-10 Wilco <wdijkstr@arm.com>
13126 * math/test-fenv-return.c: New file.
13127 * math/Makefile: Add new test test-fenv-return.
13129 2014-06-10 Joseph Myers <joseph@codesourcery.com>
13132 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13133 when x - 1 is zero.
13134 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13135 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13136 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13137 0.0L for an argument of 1.0L.
13138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13140 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13141 value when x - 1 is zero.
13142 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13143 * sysdeps/i386/fpu/libm-test-ulps: Update.
13144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13146 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
13149 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13151 2014-06-09 Roland McGrath <roland@hack.frob.com>
13153 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13154 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13156 2014-06-09 Roland McGrath <roland@hack.frob.com>
13158 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13159 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13161 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13162 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13164 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13165 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13167 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13168 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13170 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13171 if not already defined.
13172 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13173 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13174 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13175 (TLS_INIT_TP): Use it.
13176 (TLS_DEFINE_INIT_TP): New macro.
13177 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13179 2014-06-09 Joseph Myers <joseph@codesourcery.com>
13181 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13183 [POSIX] (IXANY): Likewise.
13184 [POSIX] (OLCUC): Likewise.
13185 [POSIX || POSIX2008] (CBAUD): Do not allow.
13186 [POSIX || POSIX2008] (DEFECHO): Likewise.
13187 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13188 [POSIX || POSIX2008] (ECHOKE): Likewise.
13189 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13190 [POSIX || POSIX2008] (EXTA): Likewise.
13191 [POSIX || POSIX2008] (EXTB): Likewise.
13192 [POSIX || POSIX2008] (FLUSHO): Likewise.
13193 [POSIX || POSIX2008] (LOBLK): Likewise.
13194 [POSIX || POSIX2008] (PENDIN): Likewise.
13195 [POSIX || POSIX2008] (SWTCH): Likewise.
13196 [POSIX || POSIX2008] (VDISCARD): Likewise.
13197 [POSIX || POSIX2008] (VDSUSP): Likewise.
13198 [POSIX || POSIX2008] (VLNEXT): Likewise.
13199 [POSIX || POSIX2008] (VREPRINT): Likewise.
13200 [POSIX || POSIX2008] (VSTATUS): Likewise.
13201 [POSIX || POSIX2008] (VWERASE): Likewise.
13202 (B*): Change to B[0123456789]*.
13203 * conform/data/time.h-data [POSIX || UNIX98]
13204 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13205 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13206 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13207 [POSIX] (tm_*): Do not allow.
13209 2014-06-07 Joseph Myers <joseph@codesourcery.com>
13211 * Makefile (install): Don't set LANGUAGE.
13212 * Makefile.in (install): Likewise.
13213 * assert/Makefile (test-assert-ENV): Remove variable.
13214 (test-assert-perr-ENV): Likewise.
13215 * elf/Makefile (neededtest4-ENV): Likewise.
13216 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13217 [$(cross-compiling) = no]: Don't set LANGUAGE.
13218 * io/ftwtest-sh (LANG): Remove variable.
13219 * libio/Makefile (tst-widetext-ENV): Likewise.
13220 * manual/install.texi (Running make install): Don't refer to
13221 environment settings for make install.
13222 * INSTALL: Regenerated.
13223 * nptl/tst-tls6.sh: Don't set LANG.
13224 * posix/globtest.sh (LANG): Remove variable.
13225 * string/Makefile (tester-ENV): Likewise.
13226 (inl-tester-ENV): Likewise.
13227 (noinl-tester-ENV): Likewise.
13228 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13229 [$(cross-compiling) = no]: Don't set LANGUAGE.
13230 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13231 without explicit environment settings.
13233 2014-06-06 Roland McGrath <roland@hack.frob.com>
13235 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13236 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13237 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13238 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13240 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13242 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13243 other files in the crypt directory.
13244 * crypt/crypt.c: Remove duplicate includes.
13245 * crypt/crypt-entry.c: Likewise.
13246 * crypt/crypt_util.c: Likewise.
13248 2014-06-06 Joseph Myers <joseph@codesourcery.com>
13250 * Makeconfig (run-program-env): New variable.
13251 (run-program-prefix-before-env): Likewise.
13252 (run-program-prefix-after-env): Likewise.
13253 (run-program-prefix): Define in terms of new variables.
13254 (built-program-cmd-before-env): New variable.
13255 (built-program-cmd-after-env): Likewise.
13256 (built-program-cmd): Define in terms of new variables.
13257 (test-program-prefix-before-env): New variable.
13258 (test-program-prefix-after-env): Likewise.
13259 (test-program-prefix): Define in terms of new variables.
13260 (test-program-cmd-before-env): New variable.
13261 (test-program-cmd-after-env): Likewise.
13262 (test-program-cmd): Define in terms of new variables.
13263 * Rules (make-test-out): Use $(run-program-env).
13264 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13265 (help): Do not mention environment variables. Mention
13266 --timeoutfactor option.
13267 (timeoutfactor): New variable.
13268 (blacklist_exports): Remove function.
13269 (exports): Remove variable.
13270 (command): Do not include ${exports}.
13271 * manual/install.texi (Configuring and compiling): Do not mention
13272 test wrappers preserving environment variables. Mention that last
13273 assignment to a variable must take precedence.
13274 * INSTALL: Regenerated.
13275 * benchtests/Makefile (run-bench): Use $(run-program-env).
13276 * catgets/Makefile ($(objpfx)test1.cat): Use
13277 $(built-program-cmd-before-env), $(run-program-env) and
13278 $(built-program-cmd-after-env).
13279 ($(objpfx)test2.cat): Do not specify environment variables
13281 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13282 $(run-program-env) and $(built-program-cmd-after-env).
13283 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13284 $(run-program-env) and $(test-program-cmd-after-env).
13285 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13287 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13288 run_program_env and test_program_cmd_after_env arguments.
13289 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13290 * elf/tst-pathopt.sh: Use run_program_env argument.
13291 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13292 $(test-wrapper-env) and $(run-program-env).
13293 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13294 run_program_env arguments.
13295 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13296 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13297 $(test-program-prefix-before-env), $(run-program-env) and
13298 $(test-program-prefix-after-env).
13299 ($(objpfx)tst-gettext2.out): Likewise.
13300 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13301 run_program_env and test_program_prefix_after_env arguments.
13302 * intl/tst-gettext2.sh: Likewise.
13303 * intl/tst-gettext4.sh: Do not set environment variables
13305 * intl/tst-gettext6.sh: Likewise.
13306 * intl/tst-translit.sh: Likewise.
13307 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13308 $(test-program-prefix-before-env), $(run-program-env) and
13309 $(test-program-prefix-after-env).
13310 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13311 run_program_env and test_program_prefix_after_env arguments.
13312 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13313 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13314 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13315 explicitly with each use of ${test_wrapper_env}.
13316 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13317 $(test-program-prefix-before-env), $(run-program-env) and
13318 $(test-program-prefix-after-env).
13319 * posix/tst-getconf.sh: Do not set environment variables
13321 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13322 run_program_env and test_program_prefix_after_env arguments.
13323 * stdio-common/tst-printf.sh: Do not set environment variables
13325 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13326 $(test-program-prefix-before-env), $(run-program-env) and
13327 $(test-program-prefix-after-env).
13328 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13329 run_program_env and test_program_prefix_after_env arguments.
13330 Split $test calls into $test_pre and $test.
13331 * timezone/Makefile (build-testdata): Use
13332 $(built-program-cmd-before-env), $(run-program-env) and
13333 $(built-program-cmd-after-env).
13335 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13337 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13338 strlen for non SHARED builds.
13340 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13342 * nptl/allocatestack.c (check_list): Inlined function...
13343 (__reclaim_stacks): ... here.
13345 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13348 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13351 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13353 * Rules (make-test-out): Include
13354 LOCPATH=$(common-objpfx)localedata in default environment.
13355 * debug/Makefile (tst-chk1-ENV): Remove variable.
13356 (tst-chk2-ENV): Likewise.
13357 (tst-chk3-ENV): Likewise.
13358 (tst-chk4-ENV): Likewise.
13359 (tst-chk5-ENV): Likewise.
13360 (tst-chk6-ENV): Likewise.
13361 (tst-lfschk1-ENV): Likewise.
13362 (tst-lfschk2-ENV): Likewise.
13363 (tst-lfschk3-ENV): Likewise.
13364 (tst-lfschk4-ENV): Likewise.
13365 (tst-lfschk5-ENV): Likewise.
13366 (tst-lfschk6-ENV): Likewise.
13367 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13368 (tst-iconv7-ENV): Likewise.
13369 * intl/Makefile (LOCPATH-ENV): Likewise.
13370 (tst-codeset-ENV): Likewise.
13371 (tst-gettext3-ENV): Likewise.
13372 (tst-gettext5-ENV): Likewise.
13373 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13374 (tst-fopenloc-ENV): Likewise.
13375 (tst-fgetws-ENV): Remove variable.
13376 (tst-ungetwc1-ENV): Likewise.
13377 (tst-ungetwc2-ENV): Likewise.
13378 (bug-ungetwc2-ENV): Likewise.
13379 (tst-swscanf-ENV): Likewise.
13380 (bug-ftell-ENV): Likewise.
13381 (tst-fgetwc-ENV): Likewise.
13382 (tst-fseek-ENV): Likewise.
13383 (tst-ftell-partial-wide-ENV): Likewise.
13384 (tst-ftell-active-handler-ENV): Likewise.
13385 (tst-ftell-append-ENV): Likewise.
13386 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13387 (tst-regexloc-ENV): Likewise.
13388 (bug-regex1-ENV): Likewise.
13389 (tst-regex-ENV): Likewise.
13390 (tst-regex2-ENV): Likewise.
13391 (bug-regex5-ENV): Likewise.
13392 (bug-regex6-ENV): Likewise.
13393 (bug-regex17-ENV): Likewise.
13394 (bug-regex18-ENV): Likewise.
13395 (bug-regex19-ENV): Likewise.
13396 (bug-regex20-ENV): Likewise.
13397 (bug-regex22-ENV): Likewise.
13398 (bug-regex23-ENV): Likewise.
13399 (bug-regex25-ENV): Likewise.
13400 (bug-regex26-ENV): Likewise.
13401 (bug-regex30-ENV): Likewise.
13402 (bug-regex32-ENV): Likewise.
13403 (bug-regex33-ENV): Likewise.
13404 (bug-regex34-ENV): Likewise.
13405 (bug-regex35-ENV): Likewise.
13406 (tst-rxspencer-ENV): Likewise.
13407 (tst-rxspencer-no-utf8-ENV): Likewise.
13408 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13409 (tst-sscanf-ENV): Likewise.
13410 (tst-swprintf-ENV): Likewise.
13411 (tst-swscanf-ENV): Likewise.
13412 (test-vfprintf-ENV): Likewise.
13413 (scanf13-ENV): Likewise.
13414 (bug14-ENV): Likewise.
13415 (tst-grouping-ENV): Likewise.
13416 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13417 (tst-strtod3-ENV): Likewise.
13418 (tst-strtod4-ENV): Likewise.
13419 (tst-strtod5-ENV): Likewise.
13420 (testmb2-ENV): Likewise./
13421 * string/Makefile (tst-strxfrm-ENV): Likewise.
13422 (tst-strxfrm2-ENV): Likewise.
13423 (bug-strcoll1-ENV): Likewise.
13424 (test-strcasecmp-ENV): Likewise.
13425 (test-strncasecmp-ENV): Likewise.
13426 * time/Makefile (tst-strptime-ENV): Likewise.
13427 (tst-ftime_l-ENV): Likewise.
13428 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13429 (tst-mbrtowc-ENV): Likewise.
13430 (tst-wcrtomb-ENV): Likewise.
13431 (tst-mbrtowc2-ENV): Likewise.
13432 (tst-c16c32-1-ENV): Likewise.
13433 (tst-mbsnrtowcs-ENV): Likewise.
13435 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13437 * manual/resource.texi (How to get information about the memory
13438 subsystem?): Fix typo.
13439 Reported by Peon de la Parra Ivan <peon@keba.com>
13441 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13444 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13445 (pthread_spin_lock): Branch out of spin loop to proper location.
13446 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13447 (pthread_spin_lock): Likewise.
13449 * nptl/tst-spin4.c: New test.
13450 * nptl/Makefile (tests): Add tst-spin4.
13452 2014-06-03 Andreas Schwab <schwab@suse.de>
13455 * resolv/res_send.c (send_dg): Reload file descriptor after
13458 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13460 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13462 2014-06-03 Richard Henderson <rth@redhat.com>
13464 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13465 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13466 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13467 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13468 in the SAVE_PID block.
13469 (__libc_vfork): New alias.
13470 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13472 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13473 child in registers, not on the stack. Remove RESET_PID conditionals.
13474 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13476 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13478 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13480 2014-06-03 Wilco <wdijkstr@arm.com>
13482 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13483 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13484 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13485 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13486 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13489 2014-06-03 Wilco <wdijkstr@arm.com>
13491 * sysdeps/aarch64/fpu/math_private.h
13492 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13493 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13494 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13495 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13498 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13500 * crypt/crypt-private.h: Include ufc-crypt.h.
13501 (__b64_from_24bit): Declare extern.
13502 * crypt/crypt_util.c(__b64_from_24bit): New function.
13503 (b64t): New static const variable.
13504 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13505 (b64t): Remove variable.
13506 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13507 * crypt/sha256-crypt.c: Include crypt-private.h.
13508 (b64t): Remove variable.
13509 (__sha256_crypt_r): Remove b64_from_24bit and replace
13510 with __b64_from_24bit.
13511 * crypt/sha512-crypt.c: Likewise.
13513 2014-06-02 Roland McGrath <roland@hack.frob.com>
13515 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13516 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13517 Label the code __libc_vfork rather than __vfork.
13518 [!NOT_IN_libc] (vfork): Define as weak alias.
13519 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13520 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13521 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13523 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13525 * malloc/malloc.c (malloc_info): Fix format specifier for
13528 2014-06-02 Wilco <wdijkstr@arm.com>
13530 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13533 2014-06-02 Wilco <wdijkstr@arm.com>
13536 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13537 Rewrite to reduce FPCR/FPSR accesses.
13539 2014-06-01 David S. Miller <davem@davemloft.net>
13541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13543 2014-05-31 David S. Miller <davem@davemloft.net>
13545 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13546 to occur in round to nearest mode when |x| >= 2.0
13548 2014-05-30 Richard Henderson <rth@twiddle.net>
13550 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13551 (PSEUDO_RET_NOERRNO): Remove.
13552 (ret): Don't redefine.
13553 (ret_NOERRNO): Define in terms of ret.
13554 (ret_ERRVAL): Likewise.
13556 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13557 use of PSEUDO_RET; perform the error check directly.
13559 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13561 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13564 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13566 * malloc/malloc (malloc_info): Fix formatting.
13568 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13569 Roland McGrath <roland@hack.frob.com>
13571 * malloc/malloc (malloc_info): Also print mmapped statistics.
13573 2014-05-30 Roland McGrath <roland@hack.frob.com>
13575 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13576 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13578 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13580 * malloc/malloc.c (malloc_info): Inline mi_arena.
13582 2014-05-29 Richard Henderson <rth@twiddle.net>
13584 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13585 Remove comma before expanding ASM_ARGS_##nr.
13586 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13587 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13589 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13590 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13591 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13592 (ASM_ARGS_1): Add leading comma.
13594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13595 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13596 to __errno_location.
13597 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13598 Remove the expected plt for __errno_location.
13600 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13601 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13604 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13605 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13606 it and break it down.
13607 (DOCARGS_0, DOCARGS_1): Do nothing.
13608 (DOCARGS_2): Update to store into the new stack frame.
13609 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13610 (UNDOCARGS_1): Update to restore from the new stack frame.
13611 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13612 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13615 (SINGLE_THREAD_P): New parameter for result regno.
13616 (PSEUDO): Update to match; use cbz instead of beq.
13618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13619 Use ENTRY to define the _nocancel entry point. Share the syscall
13620 and syscall error check paths with the cancel path.
13623 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13624 whitespace; tabs before and after asm mnemonics.
13626 2014-05-29 Eric Wong <normalperson@yhbt.net>
13629 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13630 Call fstat64 or stat64 internally, depending on arguments passed.
13631 Replace stat buffer argument with file descriptor argument.
13632 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13633 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13634 Pass fd to __internal_statvfs instead of calling fstat64.
13635 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13636 Pass fd to __internal_statvfs64 instead of calling fstat64.
13637 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13638 Pass -1 to __internal_statvfs instead of calling stat64.
13639 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13640 Pass -1 to __internal_statvfs64 instead of calling stat64.
13642 2014-05-28 Roland McGrath <roland@hack.frob.com>
13644 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13645 that was previously under [RESET_PID].
13646 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13648 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13649 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13651 2014-05-27 Roland McGrath <roland@hack.frob.com>
13653 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13655 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13656 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13658 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13660 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13662 2014-05-27 Andreas Schwab <schwab@suse.de>
13664 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13666 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13667 * elf/rtld.c (init_tls, dl_main): Likewise.
13668 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13669 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13670 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13671 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13672 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13673 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13674 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13675 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13676 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13677 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13678 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13679 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13680 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13681 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13682 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13683 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13684 * sysdeps/generic/tls.h: Update description.
13686 2014-05-27 Will Newton <will.newton@linaro.org>
13689 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13690 and restore r2 rather than just restoring.
13692 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13695 * libio/tst-ftell-append.c: New test case.
13696 * libio/Makefile (tests): Add test case.
13697 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13699 * libio/wfileops.c (do_ftell_wide): Likewise.
13701 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13705 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13709 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13710 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13711 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13712 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13713 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13714 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13718 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13722 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13723 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13724 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13725 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13727 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13728 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13730 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13732 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13734 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13736 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13739 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13740 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13741 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13746 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13752 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13764 conditional [RESET_PID].
13765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13768 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13773 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13774 (__libc_vfork): New strong alias.
13775 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13777 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13782 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13783 (__libc_vfork): New strong alias.
13784 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13786 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13789 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13791 * malloc/malloc.c (mi_arena): New function.
13792 (malloc_info): Remove nested function mi_arena. Call non-nosted
13795 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13797 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13799 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13800 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13801 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13802 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13804 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13807 2014-05-26 Andreas Schwab <schwab@suse.de>
13810 * locale/programs/repertoire.c (repertoire_read): Add slash
13811 between I18NPATH element and file name.
13812 * locale/programs/locfile.c (locfile_read): Likewise.
13814 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13816 * nptl/pthread_mutexattr_settype.c
13817 (__pthread_mutexattr_settype):
13818 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13820 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13822 * nptl/tst-mutex5 (do_test):
13823 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13825 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13827 * benchtests/README: Document 'init' directive.
13828 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13830 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13831 (parse_file): Recognize 'init' directive.
13833 2014-05-26 Kyle McMartin <kyle@redhat.com>
13836 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13837 alignment of struct pthread.
13839 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13842 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13843 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13844 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13845 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13847 2014-05-25 Richard Henderson <rth@twiddle.net>
13849 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13850 (SINGLE_THREAD_P_PIC): Remove.
13851 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13852 (SINGLE_THREAD_P_PIC): Remove.
13854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13855 branch to syscall error ...
13856 (PSEUDO): ... here.
13857 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13858 from __local_syscall_error to .Lsyscall_error.
13859 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13860 (SYSCALL_ERROR): Update label name.
13862 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13863 Do not use DOARGS/UNDOARGS.
13864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13865 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13866 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13867 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13868 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13870 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13873 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13874 define if !NOT_IN_libc.
13875 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13876 define with non-default symbol versions.
13878 2014-05-23 Richard Henderson <rth@twiddle.net>
13880 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13881 (vfork, __vfork): Define via compat_symbol.
13883 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13884 [!HAVE_IFUNC] (vfork_compat): Remove.
13885 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13887 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13890 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13891 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13894 2014-05-23 Richard Henderson <rth@twiddle.net>
13896 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13897 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13898 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13899 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13901 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13902 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13903 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13904 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13905 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13906 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13907 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13908 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13909 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13910 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13911 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13912 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13913 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13914 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13915 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13916 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13917 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13918 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13919 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13920 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13921 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13922 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13923 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13924 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13925 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13926 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13927 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13928 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13929 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13930 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13931 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13932 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13933 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13934 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13935 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13936 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13937 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13938 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13939 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13940 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13941 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13942 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13943 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13944 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13945 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13946 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13947 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13948 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13949 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13950 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13951 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13952 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13953 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13954 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13955 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13956 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13958 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13959 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13960 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13961 before exiting on error.
13962 (__libc_vfork): New strong alias.
13963 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13964 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13966 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13967 that was previously under [RESET_PID].
13968 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13970 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13972 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13975 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13976 value when x - 1 is zero.
13977 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13978 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13979 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13980 0.0L for an argument of 1.0L.
13981 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13983 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13984 value when x - 1 is zero.
13985 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13986 * sysdeps/i386/fpu/libm-test-ulps: Update.
13987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13989 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13991 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13992 alphasort and versionsort.
13994 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13996 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13998 [copysignf]: Likewise.
14000 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14002 * crypt/md5-crypt.c: Fix formatting.
14004 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14006 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14007 (b64_from_24bit): New function.
14009 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14011 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14012 libc_hidden_builtin_def to ifunc.
14013 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14014 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14016 2014-05-21 Roland McGrath <roland@hack.frob.com>
14018 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14019 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14021 2014-05-21 Joseph Myers <joseph@codesourcery.com>
14023 * nscd/Depend (linuxthreads): Remove.
14025 * resolv/Depend (linuxthreads): Remove.
14026 * rt/Depend (linuxthreads): Remove.
14028 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14029 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14030 $(common-objpfx)elf/.
14031 (link-libc-before-gnulib): Likewise.
14032 (elfobjdir): Remove variable.
14033 * Makefile (install): Use $(elf-objpfx) instead of
14034 $(common-objpfx)elf/.
14035 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14037 (link-libc-deps): Likewise.
14038 ($(common-objpfx)libc.so): Likewise.
14039 ($(common-objpfx)linkobj/libc.so): Likewise.
14040 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14041 instead of $(common-objpfx)elf/.
14042 (symbolic-link-list): Likewise.
14043 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14044 [$(cross-compiling) = no]: Likewise.
14045 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14047 (static-gnulib-arch): Likewise.
14048 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14049 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14050 $(common-objpfx)elf/.
14052 2014-05-21 Richard Henderson <rth@redhat.com>
14054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14055 (SINGLE_THREAD_P): Use the correct width load. Fold
14056 into the ldr offset.
14058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14059 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14061 2014-05-20 Joseph Myers <joseph@codesourcery.com>
14063 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14064 (libgcc_s_resume): Use __attribute_used__.
14065 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14068 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14071 optimization when used with float constants.
14073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14075 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
14078 * locale/nl_langinfo_l.c: Make direct reference to every
14079 _nl_current_CATEGORY symbol.
14080 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14081 (tests-static): Add tst-langinfo-static.
14082 (tests-special): Add tst-langinfo-static.out.
14083 ($(objpfx)tst-langinfo.out): Redirect output.
14084 ($(objpfx)tst-langinfo-static.out): New.
14085 * localedata/tst-langinfo.sh: Send output to stdout.
14086 * localedata/tst-langinfo-static.c: New file.
14089 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14090 when the shift amount is modulo the limb size.
14092 2014-05-20 Richard Henderson <rth@redhat.com>
14095 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14096 Change type of sa_flags from unsigned int to int.
14099 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14101 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14103 2014-05-20 Will Newton <will.newton@linaro.org>
14105 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14106 Test the return value of the system call in the nocancel case.
14108 2014-05-20 Will Newton <will.newton@linaro.org>
14109 Yvan Roux <yvan.roux@linaro.org>
14111 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14112 #include of asm/ptrace.h.
14113 (PTRACE_GET_THREAD_AREA): Remove #undef.
14114 (PTRACE_GETHBPREGS): Likewise.
14115 (PTRACE_SETHBPREGS): Likewise.
14116 (struct user_regs_struct): New structure.
14117 (struct user_fpsimd_struct): New structure.
14118 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14119 #include of asm/ptrace.h and second #include of sys/user.h.
14120 (PTRACE_GET_THREAD_AREA): Remove #undef.
14121 (PTRACE_GETHBPREGS): Likewise.
14122 (PTRACE_SETHBPREGS): Likewise.
14123 (ELF_NGREG): Use new struct user_regs_struct.
14124 (elf_fpregset_t): Use new struct user_fpsimd_struct.
14126 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14131 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
14134 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14135 membar to avoid block loads/stores to overlap previous stores.
14137 2014-05-17 Richard Henderson <rth@redhat.com>
14139 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14140 Create the __##syscall_name##_nocancel entry point.
14141 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14142 Remove; let the sysdep-cancel.h code create it.
14144 2014-05-17 David S. Miller <davem@davemloft.net>
14146 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14147 Protect with __USE_GNU.
14148 (TIOCSET_TEMPT): Likewise.
14149 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14150 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14151 these are already provided in bits/ioctl-types.h
14153 2014-05-16 Roland McGrath <roland@hack.frob.com>
14155 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14156 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14158 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14159 Use wait4 regardless of [__NR_waitpid].
14161 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14164 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14165 (_FP_NANSIGN_Q): Set the quiet bit.
14167 2014-05-16 Joseph Myers <joseph@codesourcery.com>
14169 * benchtests/Makefile
14170 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14171 not $(common-objpfx)math/libm.so.
14172 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14173 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14174 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14175 $(common-objpfx)dlfcn/libdl.so.
14176 ($(objpfx)tst-audit8): Depend on $(libm), not
14177 $(common-objpfx)math/libm.so.
14178 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14179 not $(common-objpfx)dlfcn/libdl.so.
14181 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14182 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14183 [$(build-shared) = yes].
14184 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14185 $(common-objpfx)nptl/libpthread.so.
14186 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14187 $(common-objpfx)math/libm.so$(libm.so-version) or
14188 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14189 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14190 $(common-objpfx)dlfcn/libdl.so.
14191 * setjmp/Makefile (link-libm): Remove variable.
14192 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14193 * stdio-common/Makefile (link-libm): Remove variable.
14194 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14195 * stdlib/Makefile (link-libm): Remove variable.
14196 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14197 ($(objpfx)tst-strtod-round): Likewise.
14198 ($(objpfx)tst-tininess): Likewise.
14199 ($(objpfx)tst-strtod-underflow): Likewise.
14200 ($(objpfx)tst-strtod6): Likewise.
14201 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14202 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14203 $(common-objpfx)dlfcn/libdl.so.
14205 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14207 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14208 BSD terminal modes definitions.
14210 2014-05-16 Roland McGrath <roland@hack.frob.com>
14212 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14213 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14215 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14216 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14217 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14218 Don't do #include_next.
14219 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14220 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14221 Don't do #include_next.
14222 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14223 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14224 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14225 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14227 2014-05-16 Allan McRae <allan@archlinux.org>
14229 * po/sv.po: Update Swedish translation from translation project.
14231 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14234 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14237 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14238 errno if the TIOCGPTN ioctl fails with an error different than
14240 * login/tst-ptsname.c: New file.
14241 * login/Makefile (tests): Add tst-ptsname.
14244 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14247 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14251 herrno to return EAI_AGAIN.
14253 2014-05-14 Roland McGrath <roland@hack.frob.com>
14255 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14256 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14257 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14258 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14259 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14260 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14261 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14262 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14263 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14264 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14265 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14266 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14267 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14268 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14269 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14270 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14271 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14272 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14273 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14274 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14275 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14276 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14277 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14278 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14279 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14280 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14281 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14282 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14283 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14284 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14286 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14288 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14291 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14295 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14297 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14299 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14303 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14305 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14307 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14309 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14311 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14313 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14315 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14317 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14320 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14322 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14324 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14326 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14328 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14330 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14332 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14334 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14336 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14338 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14341 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14343 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14346 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14347 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14348 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14349 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14350 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14351 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14353 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14355 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14356 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14357 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14358 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14359 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14361 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14363 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14365 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14366 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14367 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14368 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14369 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14371 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14373 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14374 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14375 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14377 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14378 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14380 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14381 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14382 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14383 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14384 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14385 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14388 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14390 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14393 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14394 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14397 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14398 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14399 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14401 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14402 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14403 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14405 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14406 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14407 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14408 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14410 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14413 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14415 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14416 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14417 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14418 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14419 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14421 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14423 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14425 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14426 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14427 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14428 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14429 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14430 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14432 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14433 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14435 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14438 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14439 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14442 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14443 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14444 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14446 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14447 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14448 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14450 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14451 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14452 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14453 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14455 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14456 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14458 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14460 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14461 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14462 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14463 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14464 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14466 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14468 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14470 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14471 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14472 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14473 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14474 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14475 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14476 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14477 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14478 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14479 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14481 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14482 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14485 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14487 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14491 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14492 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14493 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14494 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14497 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14498 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14499 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14500 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14501 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14502 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14503 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14504 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14506 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14507 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14509 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14511 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14512 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14513 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14514 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14515 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14517 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14519 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14521 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14522 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14523 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14524 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14525 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14526 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14527 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14528 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14529 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14530 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14531 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14533 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14534 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14536 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14537 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14539 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14540 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14541 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14542 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14543 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14544 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14545 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14546 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14547 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14548 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14549 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14550 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14551 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14552 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14553 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14554 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14555 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14558 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14560 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14563 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14565 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14567 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14568 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14569 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14570 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14572 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14573 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14575 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14577 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14579 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14581 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14582 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14583 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14584 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14585 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14586 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14587 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14588 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14589 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14590 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14591 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14593 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14594 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14595 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14596 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14597 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14599 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14600 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14601 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14602 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14603 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14604 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14605 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14606 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14607 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14608 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14611 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14613 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14614 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14615 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14616 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14617 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14618 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14619 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14620 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14621 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14622 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14623 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14624 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14625 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14626 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14629 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14631 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14639 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14650 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14651 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14652 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14654 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14656 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14657 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14658 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14659 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14660 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14661 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14663 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14664 that was previously under [RESET_PID].
14665 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14666 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14667 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14669 * sysdeps/i386/nptl/Implies: New file.
14670 * sysdeps/x86_64/nptl/Implies: New file.
14671 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14672 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14673 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14674 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14676 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14678 (__libc_vfork): New strong alias.
14679 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14680 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14682 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14683 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14684 (__libc_vfork): New strong alias.
14685 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14686 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14688 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14689 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14690 (__libc_vfork): New strong alias.
14691 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14692 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14693 * nptl/pt-vfork.c: New file.
14694 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14695 (libpthread: GLIBC_2.20): New version set (empty).
14697 2014-05-14 Will Newton <will.newton@linaro.org>
14699 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14702 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14705 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14706 arguments with exponent 65 or above.
14707 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14708 arguments 0x1p113L or above.
14709 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14710 to arguments 0x1p107L or above.
14711 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14712 positive arguments with exponent 65 or above.
14713 * math/auto-libm-test-in: Add more tests of log1p.
14714 * math/auto-libm-test-out: Regenerated.
14717 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14718 non-finite arguments is +0.
14719 * math/s_cacosf.c (__cacosf): Likewise.
14720 * math/s_cacosl.c (__cacosl): Likewise.
14721 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14722 * sysdeps/i386/fpu/libm-test-ulps: Update.
14723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14728 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14729 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14730 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14731 for explicit high bit of mantissa when testing for argument equal
14733 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14734 * sysdeps/i386/fpu/libm-test-ulps: Update.
14735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14738 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14739 (__erf): Scale by 16 instead of 8 in potentially underflowing
14740 case. Ensure exception if result actually underflows.
14741 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14742 (__erff): Scale by 16 instead of 8 in potentially underflowing
14743 case. Ensure exception if result actually underflows.
14744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14745 (efx8): Remove variable.
14746 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14747 case. Ensure exception if result actually underflows.
14748 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14749 (efx8): Remove variable.
14750 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14751 case. Ensure exception if result actually underflows.
14752 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14753 (efx8): Remove variable.
14754 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14755 case. Ensure exception if result actually underflows.
14756 * math/auto-libm-test-in: Add more tests of erf.
14757 * math/auto-libm-test-out: Regenerated.
14759 2014-05-14 Andreas Schwab <schwab@suse.de>
14761 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14762 Remove code conditionalized on USE___THREAD.
14764 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14765 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14768 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14770 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14771 Define unconditionally.
14772 (__ASSUME_O_CLOEXEC): Likewise.
14773 (__ASSUME_SOCK_CLOEXEC): Likewise.
14774 (__ASSUME_IN_NONBLOCK): Likewise.
14775 (__ASSUME_PIPE2): Likewise.
14776 (__ASSUME_EVENTFD2): Likewise.
14777 (__ASSUME_SIGNALFD4): Likewise.
14778 (__ASSUME_DUP3): Likewise.
14779 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14780 (__ASSUME_DUP3): Do not define.
14781 (__ASSUME_EVENTFD2): Likewise.
14782 (__ASSUME_IN_NONBLOCK): Likewise.
14783 (__ASSUME_O_CLOEXEC): Likewise.
14784 (__ASSUME_PIPE2): Likewise.
14785 (__ASSUME_SIGNALFD4): Likewise.
14786 (__ASSUME_SOCK_CLOEXEC): Likewise.
14787 (__ASSUME_UTIMES): Undefine.
14788 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14789 (__ASSUME_UTIMES): Do not define.
14790 (__ASSUME_O_CLOEXEC): Likewise.
14791 (__ASSUME_SOCK_CLOEXEC): Likewise.
14792 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14793 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14795 (__ASSUME_PIPE2): Likewise.
14796 (__ASSUME_EVENTFD2): Likewise.
14797 (__ASSUME_SIGNALFD4): Likewise.
14798 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14799 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14801 (__ASSUME_EVENTFD2): Likewise.
14802 (__ASSUME_SIGNALFD4): Likewise.
14803 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14804 (__ASSUME_32BITUIDS): Likewise.
14805 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14806 (__ASSUME_IPC64): Likewise.
14807 (__ASSUME_ST_INO_64_BIT): Likewise.
14808 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14809 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14810 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14811 (__ASSUME_UTIMES): Do not define.
14812 (__ASSUME_PSELECT): Likewise.
14813 (__ASSUME_PPOLL): Likewise.
14814 (__ASSUME_O_CLOEXEC): Likewise.
14815 (__ASSUME_SOCK_CLOEXEC): Likewise.
14816 (__ASSUME_IN_NONBLOCK): Likewise.
14817 (__ASSUME_PIPE2): Likewise.
14818 (__ASSUME_EVENTFD2): Likewise.
14819 (__ASSUME_SIGNALFD4): Likewise.
14820 (__ASSUME_DUP3): Likewise.
14821 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14822 (__ASSUME_UTIMES): Likewise.
14823 (__ASSUME_O_CLOEXEC): Likewise.
14824 (__ASSUME_SOCK_CLOEXEC): Likewise.
14825 (__ASSUME_IN_NONBLOCK): Likewise.
14826 (__ASSUME_PIPE2): Likewise.
14827 (__ASSUME_EVENTFD2): Likewise.
14828 (__ASSUME_SIGNALFD4): Likewise.
14829 (__ASSUME_DUP3): Likewise.
14830 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14831 (__ASSUME_UTIMES): Likewise.
14832 (__ASSUME_O_CLOEXEC): Likewise.
14833 (__ASSUME_SOCK_CLOEXEC): Likewise.
14834 (__ASSUME_IN_NONBLOCK): Likewise.
14835 (__ASSUME_PIPE2): Likewise.
14836 (__ASSUME_EVENTFD2): Likewise.
14837 (__ASSUME_SIGNALFD4): Likewise.
14838 (__ASSUME_DUP3): Likewise.
14839 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14841 (__ASSUME_UTIMES): Likewise.
14842 (__ASSUME_EVENTFD2): Likewise.
14843 (__ASSUME_SIGNALFD4): Likewise.
14844 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14845 (__ASSUME_O_CLOEXEC): Likewise.
14846 (__ASSUME_SOCK_CLOEXEC): Likewise.
14847 (__ASSUME_IN_NONBLOCK): Likewise.
14848 (__ASSUME_PIPE2): Likewise.
14849 (__ASSUME_EVENTFD2): Likewise.
14850 (__ASSUME_SIGNALFD4): Likewise.
14851 (__ASSUME_DUP3): Likewise.
14852 (__ASSUME_UTIMES): Undefine.
14854 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14855 feclearexcept. Remove symbol versioning code.
14856 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14857 symbol versioning code.
14858 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14859 symbol versioning code.
14860 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14861 feupdateenv. Remove symbol versioning code.
14862 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14863 fegetexceptflag. Remove symbol versioning code.
14864 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14865 fesetexceptflag. Remove symbol versioning code.
14866 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14867 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14868 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14869 (__posix_fadvise64_l32): Remove prototype.
14870 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14873 2014-05-13 Roland McGrath <roland@hack.frob.com>
14875 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14876 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14877 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14878 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14880 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14882 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14883 current working directory
14885 2014-05-13 Roland McGrath <roland@hack.frob.com>
14887 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14888 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14889 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14890 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14891 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14892 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14893 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14894 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14895 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14896 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14897 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14898 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14899 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14900 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14901 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14902 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14903 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14904 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14905 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14906 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14907 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14908 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14909 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14910 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14911 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14912 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14913 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14914 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14915 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14916 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14917 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14918 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14919 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14920 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14921 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14922 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14923 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14924 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14925 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14926 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14927 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14928 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14930 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14931 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14933 * sysdeps/unix/sysv/linux/arm/Makefile
14934 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14935 Add rt-aeabi_unwind_cpp_pr1.
14936 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14937 Add nptl-aeabi_unwind_cpp_pr1.
14938 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14939 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14940 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14941 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14942 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14943 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14945 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14946 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14947 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14948 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14950 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14951 Deconditionalize the code that was previously under [RESET_PID].
14952 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14954 * sysdeps/generic/exit-thread.h: New file.
14955 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14956 * include/unistd.h (__exit_thread): Remove declaration.
14957 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14958 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14959 * csu/libc-start.c: Include <exit-thread.h>.
14960 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14961 * nptl/pthread_create.c: Include <exit-thread.h>.
14962 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14963 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14964 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14965 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14966 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14967 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14968 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14969 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14970 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14971 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14972 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14973 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14974 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14975 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14976 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14977 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14978 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14980 2014-05-13 Andreas Schwab <schwab@suse.de>
14982 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14984 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14986 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14987 (__ASSUME_UTIMES): Do not condition on kernel version.
14988 (__ASSUME_PSELECT): Define unconditionally.
14989 (__ASSUME_PPOLL): Likewise.
14990 (__ASSUME_ATFCTS): Likewise.
14991 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14992 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14993 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14994 (__ASSUME_UTIMENSAT): Define unconditionally.
14995 (__ASSUME_PRIVATE_FUTEX): Likewise.
14996 (__ASSUME_FALLOCATE): Likewise.
14997 (__ASSUME_O_CLOEXEC): Likewise.
14998 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14999 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15000 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15001 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15002 (__ASSUME_IN_NONBLOCK): Likewise.
15003 (__ASSUME_PIPE2): Likewise.
15004 (__ASSUME_EVENTFD2): Likewise.
15005 (__ASSUME_SIGNALFD4): Likewise.
15006 (__ASSUME_DUP3): Likewise.
15007 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15008 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15009 (__ASSUME_AT_RANDOM): Likewise.
15010 (__ASSUME_PREADV): Likewise.
15011 (__ASSUME_PWRITEV): Likewise.
15012 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15013 (__ASSUME_F_GETOWN_EX): Define unconditionally.
15014 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15015 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15016 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15017 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15018 (__ASSUME_O_CLOEXEC): Define unconditionally.
15019 (__ASSUME_PSELECT): Do not undefine conditionally.
15020 (__ASSUME_PPOLL): Likewise.
15021 (__ASSUME_ATFCTS): Likewise.
15022 (__ASSUME_SET_ROBUST_LIST): Likewise.
15023 (__ASSUME_UTIMENSAT): Likewise.
15024 (__ASSUME_FDATASYNC): Define unconditionally.
15025 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15026 (__ASSUME_SIGFRAME_V2): Likewise.
15027 )__ASSUME_EVENTFD2): Likewise.
15028 (__ASSUME_SIGNALFD4): Likewise.
15029 (__ASSUME_PSELECT): Do not undefine conditionally.
15030 (__ASSUME_PPOLL): Likewise.
15031 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15032 (__ASSUME_PSELECT): Define unconditionally.
15033 (__ASSUME_PPOLL): Likewise.
15034 (__ASSUME_O_CLOEXEC): Likewise.
15035 (__ASSUME_SOCK_CLOEXEC): Likewise.
15036 (__ASSUME_IN_NONBLOCK): Likewise.
15037 (__ASSUME_PIPE2): Likewise.
15038 (__ASSUME_EVENTFD2): Likewise.
15039 (__ASSUME_SIGNALFD4): Likewise.
15040 (__ASSUME_DUP3): Likewise.
15041 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15042 (__ASSUME_O_CLOEXEC): Likewise.
15043 (__ASSUME_SOCK_CLOEXEC): Likewise.
15044 (__ASSUME_IN_NONBLOCK): Likewise.
15045 (__ASSUME_PIPE2): Likewise.
15046 (__ASSUME_EVENTFD2): Likewise.
15047 (__ASSUME_SIGNALFD4): Likewise.
15048 (__ASSUME_DUP3): Likewise.
15049 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15050 (__ASSUME_EVENTFD2): Likewise.
15051 (__ASSUME_SIGNALFD4): Likewise.
15052 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15054 2014-05-12 Andreas Schwab <schwab@suse.de>
15057 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15058 (_nss_nis_gethostbyname4_r): Return error if item length is larger
15059 than maximum RPC packet size.
15060 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15061 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15062 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15063 (_nss_nis_getservbyport_r): Likewise.
15065 2014-05-12 Will Newton <will.newton@linaro.org>
15067 * malloc/Makefile (tests): Add tst-mallopt.
15068 * malloc/tst-mallopt.c: New file.
15070 2014-05-09 Roland McGrath <roland@hack.frob.com>
15072 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15073 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15075 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15077 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15078 (tst-tlsmod6.so): Likewise.
15080 2014-05-09 Roland McGrath <roland@hack.frob.com>
15082 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15084 2014-05-09 Joseph Myers <joseph@codesourcery.com>
15087 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15088 and <dl-procinfo.h>.
15089 (__fegetenv): Save SSE state in envp->__eip if supported.
15090 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15091 envp->__eip if supported.
15092 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15093 and <dl-procinfo.h>.
15094 (__fesetenv): Always set __eip, __cs_selector, __opcode,
15095 __data_offset and __data_selector in environment to 0. Set SSE
15096 state if supported.
15097 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15099 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15101 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15103 2014-05-09 Will Newton <will.newton@linaro.org>
15105 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15106 and libc_relro_required for ARM.
15107 * sysdeps/arm/preconfigure: Regenerate.
15109 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
15110 Stefan Liebler <stli@linux.vnet.ibm.com>
15112 * config.make.in (enable-lock-elision): New Makefile variable.
15113 * configure.ac: Likewise.
15114 * configure: Regenerate.
15115 * sysdeps/s390/configure.ac:
15116 Add check for gcc transactions support.
15117 * sysdeps/s390/configure: Regenerate.
15118 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15119 Build elision files if enabled.
15120 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15121 Add lock elision support for s390.
15122 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15123 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15124 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15125 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15126 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15127 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15128 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15130 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15132 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15134 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15136 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15137 (__lll_timedlock_elision, __lll_lock_elision)
15138 (__lll_unlock_elision, __lll_trylock_elision)
15139 (lll_timedlock_elision, lll_lock_elision)
15140 (lll_unlock_elision, lll_trylock_elision): Add.
15141 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15142 (pthread_mutex_t): Add lock elision support for s390.
15144 2014-05-14 Wilco <wdijkstr@arm.com>
15146 * sysdeps/arm/fclrexcpt.c: Cleanup.
15147 * sysdeps/arm/fedisblxcpt.c: Cleanup.
15148 * sysdeps/arm/feenablxcpt.c: Cleanup.
15149 * sysdeps/arm/fegetenv.c: Cleanup.
15150 * sysdeps/arm/fegetexcept.c: Cleanup.
15151 * sysdeps/arm/fegetround.c: Cleanup.
15152 * sysdeps/arm/feholdexcpt.c: Cleanup.
15153 * sysdeps/arm/fesetenv.c: Cleanup.
15154 * sysdeps/arm/fesetround.c: Cleanup.
15155 * sysdeps/arm/feupdateenv.c: Cleanup.
15156 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15157 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15158 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15159 * sysdeps/arm/ftestexcept.c: Cleanup.
15160 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15161 * sysdeps/arm/setfpucw.c: Cleanup.
15163 2014-05-09 Will Newton <will.newton@linaro.org>
15165 * sysdeps/arm/armv7/strcmp.S: New file.
15166 * NEWS: Mention addition of ARMv7 optimized strcmp.
15168 2014-05-08 Roland McGrath <roland@hack.frob.com>
15170 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15171 look for %.ac rather than %.in.
15173 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15174 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15175 * sysdeps/mach/hurd/configure: Regenerated.
15176 * sysdeps/unix/sysv/linux/configure: Regenerated.
15178 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15180 2014-05-07 Steve Ellcey <sellcey@mips.com>
15183 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15187 2014-05-07 Andreas Schwab <schwab@suse.de>
15189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15190 when skipping over non-matching result from nscd.
15192 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
15195 * nptl/sockperf.c (client): Check socket return value.
15198 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15199 nscd security class.
15201 2014-05-06 Roland McGrath <roland@hack.frob.com>
15203 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15204 * sysdeps/arm/unwind.h: ... here.
15206 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15209 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15212 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15214 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15215 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15216 multiarch strncpy for PPC64.
15217 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15218 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15220 multiarch optimizations.
15221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15222 (__libc_ifunc_impl_list): Likewise.
15223 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15224 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15225 multiarch stpncpy for PPC64.
15226 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15227 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15229 2014-05-06 Andreas Schwab <schwab@suse.de>
15232 * gmon/mcount.c (_MCOUNT_DECL): Use
15233 atomic_compare_and_exchange_bool_acq instead of
15234 catomic_compare_and_exchange_bool_acq.
15236 2014-05-05 Roland McGrath <roland@hack.frob.com>
15238 * elf/Makefile (others, install-bin): Remove pldd.
15239 (pldd-modules): Variable removed.
15240 ($(objpfx)pldd): Target removed.
15241 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15242 (others, install-bin): Append pldd here.
15243 ($(objpfx)pldd): New target.
15245 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15246 to 0, so the first #if test emitted later doesn't see it undefined.
15247 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15248 * sysdeps/gnu/errlist.c: Regenerated.
15250 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15252 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15253 [libc_hidden_builtin_def]: Define to empty value.
15254 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15255 [libc_hidden_builtin_def]: Likewise.
15256 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15257 [libc_hidden_builtin_def]: Likewise.
15258 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15259 [libc_hidden_builtin_def]: Likewise.
15260 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15261 __redirect_memcpy and define ifunc as default hidden symbol.
15262 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15263 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15265 2014-05-04 Adam Conrad <adconrad@0c3.net>
15267 * locale/iso-4217.def: Reintroduce XDR currency.
15269 2014-05-04 Allan McRae <allan@archlinux.org>
15271 * po/eo.po: Update Esperanto translation from translation project.
15273 2014-05-02 Carlos O'Donell <carlos@redhat.com>
15275 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15276 and FEATURE_INDEX_MAX to 1.
15277 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15279 2014-05-01 Steve Ellcey <sellcey@mips.com>
15281 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15282 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15283 * iconvdata/big5.c (ONE_DIRECTION): Define.
15284 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15285 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15286 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15287 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15288 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15289 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15290 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15291 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15292 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15293 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15294 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15295 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15296 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15297 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15298 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15299 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15300 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15301 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15302 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15303 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15304 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15305 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15306 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15307 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15308 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15309 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15310 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15311 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15312 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15313 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15314 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15315 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15316 * iconvdata/johab.c (ONE_DIRECTION): Define.
15317 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15318 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15319 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15320 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15321 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15322 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15323 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15324 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15325 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15326 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15328 2014-05-01 Roland McGrath <roland@hack.frob.com>
15330 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15331 (_IO_JUMPS_OFFSET): Define to 0.
15333 * nptl/sysdeps/pthread/bits/libc-lock.h
15334 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15335 (__libc_lock_define_initialized_recursive): Always define using
15336 initializer. Modern compilers treat uninitialized (implicit zero) and
15337 explicit zero initializers the same (i.e. put the datum in bss).
15339 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15341 * nscd/nscd-client.h: Include <string.h>.
15343 2014-05-01 David S. Miller <davem@davemloft.net>
15346 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15347 multiple zero bytes exist at the end of a string.
15348 Reported by Aurelien Jarno <aurelien@aurel32.net>
15350 * string/test-strcmp.c (check): Add explicit test for situations where
15351 there are multiple zero bytes after the first.
15353 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15356 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15357 when compiling wprintf.
15358 * stdio-common/tstdiomisc.c (t3): New function.
15361 2014-05-01 Steve Ellcey <sellcey@mips.com>
15363 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15364 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15365 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15366 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15368 2014-05-01 Steve Ellcey <sellcey@mips.com>
15370 * stdlib/longlong.h: Updated from GCC.
15372 2014-05-01 Will Newton <will.newton@linaro.org>
15373 Bernard Ogden <bernie.ogden@linaro.org>
15375 * NEWS: Update fixed bug list.
15378 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15380 2014-04-30 David S. Miller <davem@davemloft.net>
15382 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15383 (libc_feholdexcept_setround_sparc_ctx): New function.
15384 (libc_fesetenv_sparc_ctx): Likewise.
15385 (libc_feupdateenv_sparc_ctx): Likewise.
15386 (libc_feholdsetround_sparc_ctx): Likewise.
15387 (libc_feholdexcept_setround_ctx): Define.
15388 (libc_feholdexcept_setroundf_ctx): Likewise.
15389 (libc_feholdexcept_setroundl_ctx): Likewise.
15390 (libc_fesetenv_ctx): Likewise.
15391 (libc_fesetenvf_ctx): Likewise.
15392 (libc_fesetenvl_ctx): Likewise.
15393 (libc_feupdateenv_ctx): Likewise.
15394 (libc_feupdateenvf_ctx): Likewise.
15395 (libc_feupdateenvl_ctx): Likewise.
15396 (libc_feresetround_ctx): Likewise.
15397 (libc_feresetroundf_ctx): Likewise.
15398 (libc_feresetroundl_ctx): Likewise.
15399 (libc_feholdsetround_ctx): Likewise.
15400 (libc_feholdsetroundf_ctx): Likewise.
15401 (libc_feholdsetroundl_ctx): Likewise.
15403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15404 with __USE_GNU instead of XOPEN cpp guards.
15406 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15409 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15410 with XOPEN cpp guards.
15412 2014-04-30 Julian Brown <julian@codesourcery.com>
15415 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15418 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15421 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15423 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15424 * sysdeps/unix/sysv/linux/configure: Regenerated.
15425 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15426 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15427 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15428 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15429 * README: Update reference to required Linux kernel version.
15430 * manual/install.texi (Linux): Update reference to required Linux
15431 kernel headers version.
15432 * INSTALL: Regenerated.
15434 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15436 [POSIX] (limits.h): Likewise.
15437 [POSIX] (math.h): Likewise.
15438 [POSIX] (sys/wait.h): Likewise.
15439 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15441 [POSIX] (stddef.h): Do not allow header inclusion.
15443 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15445 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15447 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15449 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15450 Return immediately after lll_futex_wake.
15452 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15455 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15457 (datahead_init_pos): Call datahead_init_common early.
15458 (datahead_init_neg): Likewise.
15460 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15461 datahead_init_neg): New functions.
15462 * nscd/aicache.c (addhstaiX): Use them.
15463 * nscd/grpcache.c (cache_addgr): Likewise.
15464 * nscd/hstcache.c (cache_addhst): Likewise.
15465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15466 * nscd/netgroupcache.c (do_notfound): Likewise.
15467 (addgetnetgrentX): Likewise.
15468 (addinnetgrX): Likewise.
15469 * nscd/pwdcache.c (cache_addpw): Likewise.
15470 * nscd/servicescache.c (cache_addserv): Likewise.
15472 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15473 Atsushi Onoe <atsushi@onoe.org>
15478 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15479 one response is valid.
15480 * resolv/res_send.c (send_dg): Check for validity of other
15481 response if the current response is a referral.
15483 2014-04-29 Steve Ellcey <sellcey@mips.com>
15485 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15487 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15490 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15491 Always divide by positive zero when computing -Inf result.
15492 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15493 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15495 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15497 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15498 FPSCR if value do not change.
15499 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15500 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15501 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15502 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15503 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15504 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15507 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15509 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15510 * sysdeps/unix/sysv/linux/hppa: Move directory from
15511 ports/systeps/unix/sysv/linux/hppa.
15512 * README: Update listing for hppa-*-linux-gnu.
15514 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15517 * manual/stdio.texi (Hook functions): Fix types of stream hook
15520 * socket/sys/socket.h: Fix typo in comment.
15522 2014-04-28 Wilco <wdijkstr@arm.com>
15524 * sysdeps/arm/fenv_private.h: New file.
15525 * sysdeps/arm/math_private.h: New file.
15526 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15528 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15530 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15532 (La_x86_64_retval): Likewise.
15534 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15536 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15537 fpsr if value didn't change.
15538 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15539 to fpcr if value didn't change.
15540 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15541 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15542 fpsr or fpcr if value didn't change.
15543 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15544 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15545 fpcr if value didn't change.
15546 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15547 to fpsr if value didn't change.
15549 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15551 * nptl/tst-sem3.c: Use test-skeleton.c
15552 (main): Rename to do_test. Use return instead of
15554 * nptl/tst-sem4.c: Use test-skeleton.c
15555 (main): Rename to do_test.
15557 2014-04-22 David S. Miller <davem@davemloft.net>
15559 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15560 (struct sigaction): New struct member __glibc_reserved0, change
15561 type of sa_flags to int.
15563 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15565 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15566 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15568 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15570 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15571 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15573 2014-04-22 Will Newton <will.newton@linaro.org>
15574 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15576 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15577 (__longjmp): Add longjmp and longjmp_target SystemTap
15579 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15580 (__sigsetjmp): Add setjmp SystemTap probe.
15582 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15584 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15585 match manual order.
15587 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15589 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15591 * sysdeps/powerpc/fpu/fenv_private.h
15592 (libc_feholdexcept_setroundl_ctx): Define to
15593 libc_feholdexcept_setround_ppc_ctx.
15594 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15595 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15596 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15597 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15599 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15601 * sysdeps/aarch64/math-tests.h: New file.
15603 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15605 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15608 Check and set bit_AVX2_Usable.
15609 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15611 (bit_AVX2): Likewise.
15612 (index_AVX2_Usable): Likewise.
15613 (CPUID_AVX2): Likewise.
15614 (HAS_AVX2): Likewise.
15616 2014-04-17 Will Newton <will.newton@linaro.org>
15618 * manual/setjmp.texi (System V contexts): Add note that
15619 calling setcontext on a context created by a call to a
15620 signal handler is undefined. Update text to note that
15621 setcontext from a signal handler is possible but not
15625 * stdlib/tst-setcontext.c: Include signal.h.
15626 (main): Check that the signal stack before and
15627 after swapcontext is the same.
15629 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15630 Re-implement to restore registers in user code and avoid
15631 rt_sigreturn system call.
15633 2014-04-17 Wilco <wdijkstr@arm.com>
15635 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15636 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15637 * math/test-fenv.c: Skip exception trap tests on targets which only
15638 support non-stop mode.
15640 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15641 Wilco Dijkstra <wilco.dijkstra@arm.com>
15643 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15644 (libc_feholdsetround_aarch64_ctx)
15645 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15646 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15647 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15648 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15649 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15650 (libc_feresetround_noexl_ctx): Define.
15652 2014-04-16 Richard Henderson <rth@redhat.com>
15654 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15656 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15659 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15660 const from the non-libc, non-ldso copy.
15662 * sysdeps/alpha/libm-test-ulps: Regenerate.
15664 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15665 Wilco Dijkstra <wilco.dijkstra@arm.com>
15667 * sysdeps/aarch64/fpu/math_private.h: New file.
15669 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15671 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15673 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15676 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15677 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15678 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15679 Intel MPX bound registers before _dl_profile_fixup.
15680 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15681 registers after _dl_profile_fixup. Save and restore bound
15682 registers bnd0/bnd1 when calling _dl_call_pltexit.
15683 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15684 (LR_BND_OFFSET): Likewise.
15685 (LRV_BND0_OFFSET): Likewise.
15686 (LRV_BND1_OFFSET): Likewise.
15688 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15690 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15692 * sysdeps/mach/hurd/i386/tls.h: ... here.
15693 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15694 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15697 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15699 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15701 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15703 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15705 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15708 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15709 * sysdeps/s390/configure: Regenerate.
15712 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15713 Set round-to-nearest internally to reduce error accumulation.
15715 2014-04-16 Alan Modra <amodra@gmail.com>
15719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15720 * math/libm-test.inc (frexp_test_data): Add tests.
15721 * NEWS: Update fixed bug list.
15723 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15725 * benchtests/Makefile: Depend on libraries in build directory.
15726 (bench-math): Separate out math tests.
15727 (bench-pthread): Separate out pthread tests.
15728 (bench): Include math and pthread tests.
15730 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15733 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15734 _dl_debug_initialize.
15736 * configure.ac: Remove SELinux header check.
15737 * configure: Regenerate.
15738 * nscd/selinux.c (perms): Array of const char* to permission names.
15739 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15740 default policy. Call string_to_security_class and string_to_av_perm to
15741 translate strings. Enforce default policy and call avs_has_perm with
15742 results of translated strings.
15744 2014-04-13 David S. Miller <davem@davemloft.net>
15746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15748 2014-04-12 Allan McRae <allan@archlinux.org>
15751 * manual/string.texi (Collation Functions): Fix qsort argument
15753 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15755 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15757 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15758 Make the test a no-op if there are no exceptions defined.
15760 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15762 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15763 enable-hardcoded-path-in-tests
15765 2014-04-11 Will Newton <will.newton@linaro.org>
15767 * benchtests/Makefile (extra-objs): Add json-lib.o.
15768 (bench-func): Tidy up JSON output.
15769 * benchtests/bench-skeleton.c: Include json-lib.h.
15770 (main): Use JSON library functions to do output of
15772 * benchtests/bench-timing-type.c (main): Output the
15773 timing type simply, leaving formatting to the user.
15774 * benchtests/json-lib.c: New file.
15775 * benchtests/json-lib.h: Likewise.
15777 2014-04-11 Torvald Riegel <triegel@redhat.com>
15780 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15781 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15782 memory barriers. Add comments.
15783 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15784 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15785 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15786 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15787 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15788 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15790 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15792 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15793 * sysdeps/s390/s390-64/configure.ac: ... this ...
15794 * sysdeps/s390/configure.ac: ... to here.
15795 * sysdeps/s390/s390-32/configure: Delete file.
15796 * sysdeps/s390/s390-64/configure: Delete file.
15797 * sysdeps/s390/configure: Regenerate.
15799 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15801 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15803 2014-04-11 Will Newton <will.newton@linaro.org>
15805 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15806 to zero if it is not defined elsewhere. (mtrim): Test
15807 the value of MALLOC_DEBUG with #if rather than #ifdef.
15809 2014-04-10 Torvald Riegel <triegel@redhat.com>
15811 * benchtests/pthread_once-inputs: New file.
15812 * benchtests/pthread_once-source.c: New file.
15813 * benchtests/README: Update documentation.
15815 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15816 H.J. Lu <hongjiu.lu@intel.com>
15819 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15820 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15821 * sysdeps/x86_64/configure: Regenerated.
15822 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15824 (REGISTER_SAVE_RAX): Likewise.
15825 (REGISTER_SAVE_RCX): Likewise.
15826 (REGISTER_SAVE_RDX): Likewise.
15827 (REGISTER_SAVE_RSI): Likewise.
15828 (REGISTER_SAVE_RDI): Likewise.
15829 (REGISTER_SAVE_R8): Likewise.
15830 (REGISTER_SAVE_R9): Likewise.
15831 (REGISTER_SAVE_BND0): Likewise.
15832 (REGISTER_SAVE_BND1): Likewise.
15833 (REGISTER_SAVE_BND2): Likewise.
15834 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15835 bound registers when calling _dl_fixup.
15837 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15839 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15840 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15842 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15843 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15844 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15845 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15846 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15847 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15848 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15850 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15853 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15854 pathconf(_PC_NAME_MAX).
15856 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15859 Remove macro usage.
15860 (__PTHREAD_SPINS): Move definition to ...
15861 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15862 (__PTHREAD_SPINS): ... here.
15863 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15864 (__PTHREAD_SPIN): Likewise.
15865 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15866 (__PTHREAD_SPIN): Likewise.
15867 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15868 (__PTHREAD_SPIN): Likewise.
15869 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15870 (__PTHREAD_SPIN): Likewise.
15871 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15872 (__PTHREAD_SPIN): Likewise.
15873 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15874 (__PTHREAD_SPIN): Likewise.
15875 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15876 (__PTHREAD_SPIN): Likewise.
15877 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15878 (__PTHREAD_SPIN): Likewise.
15879 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15880 (__PTHREAD_SPIN): Likewise.
15881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15882 (__PTHREAD_SPIN): Likewise.
15883 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15884 (__PTHREAD_SPIN): Likewise.
15885 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15886 (__PTHREAD_SPIN): Likewise.
15888 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15889 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15890 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15893 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15894 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15895 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15896 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15897 correct imply path.
15898 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15899 strlen symbol for non multi-arch builds.
15900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15901 missing hidden_def and weak_alias.
15903 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15905 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15907 2014-04-07 Will Newton <will.newton@linaro.org>
15909 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15910 and contents. [!_LIBC] Remove #ifndef and contents.
15911 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15912 * string/memccpy.c (__memccpy): Use ANSI prototype.
15913 * string/memfrob.c (memfrob): Likewise.
15914 * string/strcoll.c (STRCOLL): Likewise.
15915 * string/strlen.c (strlen): Likewise.
15916 * string/strtok.c (STRTOK): Likewise.
15917 * string/strcat.c: Remove unused #include of memcopy.h.
15918 (strcat): Use ANSI prototype.
15919 * string/strchr.c: Remove unused #include of memcopy.h.
15920 (strchr): Use ANSI prototype.
15921 * string/strcmp.c: Remove unused #include of memcopy.h.
15922 (strcmp): Use ANSI prototype.
15923 * string/strcpy.c: Remove unused #include of memcopy.h.
15924 (strcpy): Use ANSI prototype.
15926 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15928 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15929 * config.make.in (config-extra-cppflags): Set it from
15930 libc_extra_cppflags.
15931 * configure.ac (libc_extra_cflags): Make it accumulate over
15932 configure fragments.
15933 (libc_extra_cppflags): New flag.
15934 * configure. Regenerate.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15936 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15937 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15942 result for FE_DOWNWARD rounding mode.
15943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15947 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15949 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15950 in function argument name.
15952 2014-04-03 David Svoboda <svoboda@cert.org>
15955 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15958 2014-04-03 Roland McGrath <roland@hack.frob.com>
15960 * elf/dl-unmap-segments.h: New file.
15961 * sysdeps/generic/ldsodefs.h
15962 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15963 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15964 * elf/dl-fptr.c: Likewise.
15965 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15966 * sysdeps/aarch64/tlsdesc.c: Likewise.
15967 * sysdeps/arm/tlsdesc.c: Likewise.
15968 * sysdeps/i386/tlsdesc.c: Likewise.
15969 * sysdeps/tile/dl-runtime.c: Likewise.
15970 * sysdeps/x86_64/tlsdesc.c: Likewise.
15971 * elf/dl-load.h: New file.
15972 * elf/dl-load.c: Include it.
15973 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15974 Macros moved to dl-load.h.
15975 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15976 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15977 Use _dl_unmap_segments in place of __munmap.
15978 Break out segment-mapping loop into ...
15979 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15981 2014-04-03 Will Newton <will.newton@linaro.org>
15983 * elf/dl-lookup.c (do_lookup_x): Remove comment
15984 referring to nested function and move variable
15985 declarations down to before first use.
15987 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15991 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15993 * math/s_catanf.c (__catanf): Likewise.
15994 * math/s_catanh.c (__catanh): Likewise.
15995 * math/s_catanhf.c (__catanhf): Likewise.
15996 * math/s_catanhl.c (__catanhl): Likewise.
15997 * math/s_catanl.c (__catanl): Likewise.
15998 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15999 by positive zero when computing -Inf result.
16000 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16001 (catanh_test): Likewise.
16002 * sysdeps/i386/fpu/libm-test-ulps: Update.
16003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16006 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16007 instead of using underflowing value in computing result.
16008 * math/s_clog10.c (__clog10): Likewise.
16009 * math/s_clog10f.c (__clog10f): Likewise.
16010 * math/s_clog10l.c (__clog10l): Likewise.
16011 * math/s_clogf.c (__clogf): Likewise.
16012 * math/s_clogl.c (__clogl): Likewise.
16013 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16014 (clog10_test): Likewise.
16015 * sysdeps/i386/fpu/libm-test-ulps: Update.
16016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16018 2014-04-02 Alan Modra <amodra@gmail.com>
16021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16022 output when value is near a power of two. Use int64_t for lx and
16023 remove casts. Use decimal rather than hex exponent constants.
16024 Don't use long double multiplication when double will suffice.
16025 * math/libm-test.inc (nextafter_test_data): Add tests.
16026 * NEWS: Add 16739 and 16786 to bug list.
16028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16030 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16032 2014-04-01 Will Newton <will.newton@linaro.org>
16034 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16035 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
16037 2014-04-01 Florian Weimer <fweimer@redhat.com>
16040 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16041 * nptl/tst-setuid2.c: New file.
16042 * nptl/Makefile (xtests): Add tst-setuid2.
16044 2014-04-01 Alan Modra <amodra@gmail.com>
16047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16049 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16053 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16054 set errno as appropriate.
16055 * math/w_scalbf.c (__scalbf): Likewise.
16056 * math/w_scalbl.c (__scalbl): Likewise.
16057 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16058 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16059 * math/libm-test.inc (scalb_test_data): Add errno expectations.
16060 Add more NaN tests.
16063 * math/w_atan2.c: Include <errno.h>.
16064 (__atan2): Set errno for result underflowing to zero.
16065 * math/w_atan2f.c: Include <errno.h>.
16066 (__atan2f): Set errno for result underflowing to zero.
16067 * math/w_atan2l.c: Include <errno.h>.
16068 (__atan2l): Set errno for result underflowing to zero.
16069 * math/auto-libm-test-in: Don't allow missing errno for some atan2
16071 * math/auto-libm-test-out: Regenerated.
16073 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16075 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16076 Encode instruction correctly in little endian.
16077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16083 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16086 2014-03-31 Joseph Myers <joseph@codesourcery.com>
16089 * sysdeps/unix/sysv/linux/kernel-features.h
16090 [__sparc__ && !__arch64__ && !__sparc_v9__]
16091 (__ASSUME_SET_ROBUST_LIST): Do not define.
16092 [__sparc__ && !__arch64__ && !__sparc_v9__]
16093 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16094 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16097 (__ASSUME_FUTEX_LOCK_PI): Undefine.
16098 (__ASSUME_REQUEUE_PI): Likewise.
16099 (__ASSUME_SET_ROBUST_LIST): Likewise.
16100 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16101 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16104 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16106 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16108 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16111 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16113 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16114 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16119 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16120 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16122 2014-03-31 Will Newton <will.newton@linaro.org>
16124 * benchtests/Makefile (bench): Add ffs and ffsll to list
16126 * benchtests/ffs-inputs: New file.
16127 * benchtests/ffsll-inputs: Likewise.
16129 2014-03-29 Joseph Myers <joseph@codesourcery.com>
16132 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16133 too large before casting to int.
16134 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16135 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16136 * math/libm-test.inc (scalb_test_data): Add more tests.
16138 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16140 * benchtests/Makefile (DETAILED_OPT): New make option.
16141 (bench-func): Run benchmark program with -d if DETAILED_OPT is
16143 * benchtests/bench-skeleton.c: Include stdbool.h.
16144 (main): Store and print timings per input.
16145 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16146 member to each argument value.
16147 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16148 (_print_arg_data): Initialize per-input timing to 0.
16150 * benchtests/Makefile (timing-type): New binary.
16151 (bench-clean): Also remove bench-timing-type.
16152 (bench): New target for timing-type.
16153 (bench-func): Print output in JSON format.
16154 * benchtests/bench-skeleton.c (main): Print output in JSON
16156 * benchtests/bench-timing-type.c: New file.
16157 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16158 (TIMING_PRINT_STATS): Remove.
16159 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16162 * benchtests/bench-modf.c: Remove.
16163 * benchtests/modf-inputs: New inputs file.
16165 2014-03-28 Joseph Myers <joseph@codesourcery.com>
16168 * math/s_clog10.c (M_PI_LOG10E): New macro.
16169 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16170 imaginary parts are 0.
16171 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16172 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16173 imaginary parts are 0.
16174 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16175 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16176 imaginary parts are 0.
16177 * math/libm-test.inc (clog10_test_data): Update expected results
16178 for when real and imaginary parts are 0.
16180 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16182 * elf/dl-load.c: Finish conversion of __builtin_expect into
16183 __glibc_{un}likely.
16185 2014-03-27 Joseph Myers <joseph@codesourcery.com>
16188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16189 1+x for argument with exponent below -67.
16190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16192 * math/auto-libm-test-in: Add more tests of exp.
16193 * math/auto-libm-test-out: Regenerated.
16195 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16198 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16199 (nscd_getnetgrent): Use it.
16202 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16205 2014-03-27 Andi Kleen <ak@linux.intel.com>
16207 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16208 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16209 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16210 (lll_robust_unlock): Remove out of line section. Use cfi
16212 (LLL_STUB_UNWIND_INFO*): Remove.
16213 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16214 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16215 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16216 (lll_robust_unlock): Remove out of line section. Use cfi
16218 (LLL_STUB_UNWIND_INFO*): Remove.
16220 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16223 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16226 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16228 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16230 2014-03-26 Joseph Myers <joseph@codesourcery.com>
16233 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16235 * math/test-fenv-preserve.c: New file.
16236 * math/Makefile (tests): Add test-fenv-preserve.
16238 2014-03-26 Will Newton <will.newton@linaro.org>
16240 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16242 2014-03-25 Roland McGrath <roland@hack.frob.com>
16244 * scripts/versionlist.awk: Partition the version sets and emit all
16245 GLIBC_* (sorted) before all others (sorted).
16247 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16249 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16250 GLIBC_2.2.5 version.
16252 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16254 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16262 2014-03-25 Andreas Schwab <schwab@suse.de>
16264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16265 label to be used after in6ailist is initialized.
16267 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16269 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16270 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16272 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16276 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16278 (fp_formats): Update initializers.
16279 (init_fp_formats): Initialize new field.
16280 (output_for_one_input_case): Allow underflow for results up to
16282 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16283 * math/auto-libm-test-in: Don't mark some underflows from asin and
16285 * math/auto-libm-test-out: Regenerated.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update.
16287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16289 2014-03-25 Andreas Schwab <schwab@suse.de>
16291 * libio/Makefile (tst-ftell-partial-wide-ENV)
16292 (tst-ftell-active-handler-ENV): Define.
16294 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16296 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16298 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16300 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16302 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16304 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16305 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16306 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16308 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16311 * elf/dl-load.c (open_verify): Add mode parameter.
16312 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16313 (open_path): Change from boolean 'secure' to complete flag 'mode'
16314 (_dl_map_object): Adjust.
16315 * elf/Makefile (tests): Add tst-dlopen-aout.
16316 * elf/tst-dlopen-aout.c: New test.
16318 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16321 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16322 (struct stat): Rename member pad0 to __glibc_reserved0.
16325 * sysdeps/s390/s390-32/bits/wordsize.h
16326 (__WORDSIZE32_SIZE_ULONG): New define.
16327 * sysdeps/s390/s390-64/bits/wordsize.h
16328 (__WORDSIZE32_SIZE_ULONG): Likewise.
16329 * sysdeps/generic/stdint.h (SIZE_MAX):
16330 Define as UL if __WORDSIZE32_SIZE_ULONG.
16333 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16334 (__glibc_reserved0): New variable.
16335 (sa_flags): Change type to int.
16337 * posix/Makefile (before-compile): Use += before-compile instead
16340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16341 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16343 2014-03-20 Andreas Schwab <schwab@suse.de>
16346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16347 non-matching result from nscd.
16349 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16351 * scripts/bench.py: Moved to ...
16352 * benchtests/scripts/bench.py: ... here.
16353 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16355 2014-03-24 Andreas Schwab <schwab@suse.de>
16358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16359 alloca_account and account alloca use for struct in6ailist.
16361 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16365 rounding mode to recompute results that overflow to infinity or
16367 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16369 * math/auto-libm-test-out: Regenerated.
16370 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16371 (ccosh_test): Likewise.
16372 (csin_test_data): Use plus_oflow.
16373 (csin_test): Use ALL_RM_TEST.
16374 (csinh_test_data): Use plus_oflow.
16375 (csinh_test): Use ALL_RM_TEST.
16376 * sysdeps/i386/fpu/libm-test-ulps: Update.
16377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16379 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16381 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16382 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16383 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16386 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16387 when x - 1 is zero.
16388 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16389 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16390 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16391 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16393 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16394 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16396 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16397 * sysdeps/i386/fpu/libm-test-ulps: Update.
16398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16400 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16402 * scripts/bench.pl: Remove file.
16403 * scripts/bench.py: New benchmark script.
16404 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16405 * benchtests/README: Mention python dependency.
16406 * scripts/pylintrc: New file.
16407 * scripts/pylint: New file.
16409 * bits/mathdef.h: Use #ifdef instead of #if.
16410 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16411 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16412 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16413 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16414 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16415 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16417 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16418 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16420 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16422 and strpbrk-ppc64 objects.
16423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16424 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16425 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16426 multiarch strpbrk for POWER7.
16427 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16428 multiarch strpbrk for PPC64.
16429 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16431 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16432 strpbrk for POWER7.
16434 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16436 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16437 (atan_test): Likewise.
16438 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16439 (atanh_test): Use ALL_RM_TEST.
16440 (atan2_test_data): Likewise.
16441 (cabs_test): Likewise.
16442 (cacosh_test): Likewise.
16443 (carg_test): Likewise.
16444 (casin_test): Likewise.
16445 (casinh_test): Likewise.
16446 (cbrt_test): Likewise.
16447 (csqrt_test): Likewise.
16448 (erf_test): Likewise.
16449 (erfc_test): Likewise.
16450 (pow10_test): Likewise.
16451 (exp2_test): Likewise.
16452 (hypot_test): Likewise.
16453 (j0_test): Likewise.
16454 (j1_test): Likewise.
16455 (lgamma_test): Likewise.
16456 (gamma_test): Likewise.
16457 (sincos_test): Likewise.
16458 (tanh_test): Likewise.
16459 (y0_test): Likewise.
16460 (y1_test): Likewise.
16461 * sysdeps/i386/fpu/libm-test-ulps: Update.
16462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16464 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16466 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16468 and strcspn-ppc64 objects.
16469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16470 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16471 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16472 multiarch strcspn for POWER7.
16473 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16474 multiarch strcspn for PPC64.
16475 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16477 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16478 strcspn for POWER7.
16480 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16482 * math/gen-libm-test.pl (generate_testfile): Expect only function
16483 name as argument to AUTO_TESTS_* and pass results for all rounding
16484 modes to parse_args.
16485 (parse_auto_input): Separate inputs of automatic tests from
16486 outputs before storing in %auto_tests.
16487 * math/libm-test.inc (acos_test_data): Update call to
16489 (acos_test): Use ALL_RM_TEST.
16490 (acos_tonearest_test_data): Remove.
16491 (acos_test_tonearest): Likewise.
16492 (acos_towardzero_test_data): Likewise.
16493 (acos_test_towardzero): Likewise.
16494 (acos_downward_test_data): Likewise.
16495 (acos_test_downward): Likewise.
16496 (acos_upward_test_data): Likewise.
16497 (acos_test_upward): Likewise.
16498 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16499 (asin_test_data): Likewise.
16500 (asin_test): Use ALL_RM_TEST.
16501 (asin_tonearest_test_data): Remove.
16502 (asin_test_tonearest): Likewise.
16503 (asin_towardzero_test_data): Likewise.
16504 (asin_test_towardzero): Likewise.
16505 (asin_downward_test_data): Likewise.
16506 (asin_test_downward): Likewise.
16507 (asin_upward_test_data): Likewise.
16508 (asin_test_upward): Likewise.
16509 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16510 (atan_test_data): Likewise.
16511 (atanh_test_data): Likewise.
16512 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16513 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16514 (carg_test_data): Likewise.
16515 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16516 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16517 (ccosh_test_data): Likewise.
16518 (cexp_test_data): Likewise.
16519 (clog_test_data): Likewise.
16520 (clog10_test_data): Likewise.
16521 (cos_test_data): Update call to AUTO_TESTS_f_f.
16522 (cos_test): Use ALL_RM_TEST.
16523 (cos_tonearest_test_data): Remove.
16524 (cos_test_tonearest): Likewise.
16525 (cos_towardzero_test_data): Likewise.
16526 (cos_test_towardzero): Likewise.
16527 (cos_downward_test_data): Likewise.
16528 (cos_test_downward): Likewise.
16529 (cos_upward_test_data): Likewise.
16530 (cos_test_upward): Likewise.
16531 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16532 (cosh_test): Use ALL_RM_TEST.
16533 (cosh_tonearest_test_data): Remove.
16534 (cosh_test_tonearest): Likewise.
16535 (cosh_towardzero_test_data): Likewise.
16536 (cosh_test_towardzero): Likewise.
16537 (cosh_downward_test_data): Likewise.
16538 (cosh_test_downward): Likewise.
16539 (cosh_upward_test_data): Likewise.
16540 (cosh_test_upward): Likewise.
16541 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16542 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16543 (ctan_test_data): Likewise.
16544 (ctan_test): Use ALL_RM_TEST.
16545 (ctan_tonearest_test_data): Remove.
16546 (ctan_test_tonearest): Likewise.
16547 (ctan_towardzero_test_data): Likewise.
16548 (ctan_test_towardzero): Likewise.
16549 (ctan_downward_test_data): Likewise.
16550 (ctan_test_downward): Likewise.
16551 (ctan_upward_test_data): Likewise.
16552 (ctan_test_upward): Likewise.
16553 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16554 (ctanh_test): Use ALL_RM_TEST.
16555 (ctanh_tonearest_test_data): Remove.
16556 (ctanh_test_tonearest): Likewise.
16557 (ctanh_towardzero_test_data): Likewise.
16558 (ctanh_test_towardzero): Likewise.
16559 (ctanh_downward_test_data): Likewise.
16560 (ctanh_test_downward): Likewise.
16561 (ctanh_upward_test_data): Likewise.
16562 (ctanh_test_upward): Likewise.
16563 (erf_test_data): Update call to AUTO_TESTS_f_f.
16564 (erfc_test_data): Likewise.
16565 (exp_test_data): Likewise.
16566 (exp_test): Use ALL_RM_TEST.
16567 (exp_tonearest_test_data): Remove.
16568 (exp_test_tonearest): Likewise.
16569 (exp_towardzero_test_data): Likewise.
16570 (exp_test_towardzero): Likewise.
16571 (exp_downward_test_data): Likewise.
16572 (exp_test_downward): Likewise.
16573 (exp_upward_test_data): Likewise.
16574 (exp_test_upward): Likewise.
16575 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16576 (exp10_test): Use ALL_RM_TEST.
16577 (exp10_tonearest_test_data): Remove.
16578 (exp10_test_tonearest): Likewise.
16579 (exp10_towardzero_test_data): Likewise.
16580 (exp10_test_towardzero): Likewise.
16581 (exp10_downward_test_data): Likewise.
16582 (exp10_test_downward): Likewise.
16583 (exp10_upward_test_data): Likewise.
16584 (exp10_test_upward): Likewise.
16585 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16586 (expm1_test_data): Likewise.
16587 (expm1_test): Use ALL_RM_TEST.
16588 (expm1_tonearest_test_data): Remove.
16589 (expm1_test_tonearest): Likewise.
16590 (expm1_towardzero_test_data): Likewise.
16591 (expm1_test_towardzero): Likewise.
16592 (expm1_downward_test_data): Likewise.
16593 (expm1_test_downward): Likewise.
16594 (expm1_upward_test_data): Likewise.
16595 (expm1_test_upward): Likewise.
16596 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16597 (fma_test): Use ALL_RM_TEST.
16598 (fma_towardzero_test_data): Remove.
16599 (fma_test_towardzero): Likewise.
16600 (fma_downward_test_data): Likewise.
16601 (fma_test_downward): Likewise.
16602 (fma_upward_test_data): Likewise.
16603 (fma_test_upward): Likewise.
16604 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16605 (j0_test_data): Update call to AUTO_TESTS_f_f.
16606 (j1_test_data): Likewise.
16607 (jn_test_data): Update call to AUTO_TESTS_if_f.
16608 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16609 (log_test_data): Update call to AUTO_TESTS_f_f.
16610 (log10_test_data): Likewise.
16611 (log1p_test_data): Likewise.
16612 (log2_test_data): Likewise.
16613 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16614 (pow_tonearest_test_data): Likewise.
16615 (sin_test_data): Update call to AUTO_TESTS_f_f.
16616 (sin_test): Use ALL_RM_TEST.
16617 (sin_tonearest_test_data): Remove.
16618 (sin_test_tonearest): Likewise.
16619 (sin_towardzero_test_data): Likewise.
16620 (sin_test_towardzero): Likewise.
16621 (sin_downward_test_data): Likewise.
16622 (sin_test_downward): Likewise.
16623 (sin_upward_test_data): Likewise.
16624 (sin_test_upward): Likewise.
16625 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16626 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16627 (sinh_test): Use ALL_RM_TEST.
16628 (sinh_tonearest_test_data): Remove.
16629 (sinh_test_tonearest): Likewise.
16630 (sinh_towardzero_test_data): Likewise.
16631 (sinh_test_towardzero): Likewise.
16632 (sinh_downward_test_data): Likewise.
16633 (sinh_test_downward): Likewise.
16634 (sinh_upward_test_data): Likewise.
16635 (sinh_test_upward): Likewise.
16636 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16637 (sqrt_test): Use ALL_RM_TEST.
16638 (sqrt_tonearest_test_data): Remove.
16639 (sqrt_test_tonearest): Likewise.
16640 (sqrt_towardzero_test_data): Likewise.
16641 (sqrt_test_towardzero): Likewise.
16642 (sqrt_downward_test_data): Likewise.
16643 (sqrt_test_downward): Likewise.
16644 (sqrt_upward_test_data): Likewise.
16645 (sqrt_test_upward): Likewise.
16646 (tan_test_data): Update call to AUTO_TESTS_f_f.
16647 (tan_test): Use ALL_RM_TEST.
16648 (tan_tonearest_test_data): Remove.
16649 (tan_test_tonearest): Likewise.
16650 (tan_towardzero_test_data): Likewise.
16651 (tan_test_towardzero): Likewise.
16652 (tan_downward_test_data): Likewise.
16653 (tan_test_downward): Likewise.
16654 (tan_upward_test_data): Likewise.
16655 (tan_test_upward): Likewise.
16656 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16657 (tgamma_test_data): Likewise.
16658 (y0_test_data): Likewise.
16659 (y1_test_data): Likewise.
16660 (yn_test_data): Update call to AUTO_TESTS_if_f.
16661 (main): Do not call removed functions.
16663 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16665 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16666 (ldexp_test_data): Remove.
16667 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16669 (scalb_test): Use ALL_RM_TEST.
16671 2014-03-19 Andreas Schwab <schwab@suse.de>
16673 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16675 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16679 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16682 (__ASSUME_PREADV): Undefine.
16683 (__ASSUME_PWRITEV): Likewise.
16685 2014-03-18 Roland McGrath <roland@hack.frob.com>
16687 * bits/mman-linux.h: Add comment about non-Linux use.
16688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16689 bits/mman-linux.h resting place.
16691 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16692 * bits/mman-linux.h: ... here.
16694 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696 * conform/conformtest.pl: Add standard definition when calling C
16697 preprocessor on data files.
16698 (checknamespace): Remove unused variable.
16700 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16702 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16703 minus_oflow, plus_uflow and minus_uflow in expected results.
16704 * math/libm-test.inc (scalbn_test_data): Add more tests of
16705 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16707 (scalbn_test): Use ALL_RM_TEST.
16708 (scalbln_test_data): Add more tests of negative arguments. Use
16709 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16710 (scalbln_test): Use ALL_RM_TEST.
16712 2014-03-18 Roland McGrath <roland@hack.frob.com>
16714 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16716 2014-03-18 Will Newton <will.newton@linaro.org>
16718 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16719 inaccurate comment.
16721 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16723 * Makerules [!subdir] (check-abi): Exit with error status if a
16726 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16728 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16729 for rint. Include results for all rounding modes.
16730 (nearbyint_test): Use ALL_RM_TEST.
16731 (rint_test_data): Include all tests used for nearbyint.
16733 2014-03-17 Will Newton <will.newton@linaro.org>
16735 * nptl/sysdeps/pthread/pthread.h: Revert previous
16738 * sysdeps/generic/ldsodefs.h: Revert previous
16741 * libio/genops.c: Revert previous change.
16742 * libio/libioP.h: Likewise.
16743 * stdio-common/vfprintf.c: Likewise.
16745 * sysdeps/generic/math_private.h: Revert previous
16748 * sysdeps/generic/math_private.h: Check whether
16749 HAVE_RM_CTX is defined with #ifdef rather
16752 * argp/argp-fmtstream.h: Check whether
16753 __STRICT_ANSI__ is defined with #ifdef rather
16755 * argp/argp.h: Likewise.
16757 * libio/genops.c: Check whether
16758 _IO_JUMPS_OFFSET is defined with #ifdef rather
16760 * libio/libioP.h: Likewise.
16761 * stdio-common/vfprintf.c: Likewise.
16763 * sysdeps/generic/ldsodefs.h: Check whether
16764 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16767 * nptl/sysdeps/pthread/pthread.h: Check
16768 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16771 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16773 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16775 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16779 * libio/fileops.c (_IO_file_open): Seek to end of file but
16780 don't cache the offset.
16781 (get_file_offset): Remove function.
16782 (do_ftell): Use cached offset when available.
16783 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16784 don't cache the offset.
16785 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16787 (do_one_test): Call it.
16788 (do_ftell_test): Fix up expected old offset for a+ mode.
16789 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16792 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16793 up test status with function return status.
16794 (do_write_test): Likewise.
16795 (do_append_test): Likewise.
16797 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16798 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16801 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16803 * math/gen-libm-test.pl (parse_args): Handle results specified for
16804 each rounding mode separately.
16805 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16806 tests and results from lrint_tonearest_test_data,
16807 lrint_towardzero_test_data, lrint_downward_test_data and
16808 lrint_upward_test_data.
16809 (lrint_test): Use ALL_RM_TEST.
16810 (lrint_tonearest_test_data): Remove.
16811 (lrint_test_tonearest): Likewise.
16812 (lrint_towardzero_test_data): Likewise.
16813 (lrint_test_towardzero): Likewise.
16814 (lrint_downward_test_data): Likewise.
16815 (lrint_test_downward): Likewise.
16816 (lrint_upward_test_data): Likewise.
16817 (lrint_test_upward): Likewise.
16818 (llrint_test_data): Merge in per-rounding-mode tests and results
16819 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16820 llrint_downward_test_data and llrint_upward_test_data.
16821 (llrint_test): Use ALL_RM_TEST.
16822 (llrint_tonearest_test_data): Remove.
16823 (llrint_test_tonearest): Likewise.
16824 (llrint_towardzero_test_data): Likewise.
16825 (llrint_test_towardzero): Likewise.
16826 (llrint_downward_test_data): Likewise.
16827 (llrint_test_downward): Likewise.
16828 (llrint_upward_test_data): Likewise.
16829 (llrint_test_upward): Likewise.
16830 (rint_test_data): Merge in per-rounding-mode tests and results
16831 from rint_tonearest_test_data, rint_towardzero_test_data,
16832 rint_downward_test_data and rint_upward_test_data. Add
16833 per-rounding-mode results for tests not in those arrays.
16834 (rint_test): Use ALL_RM_TEST.
16835 (rint_tonearest_test_data): Remove.
16836 (rint_test_tonearest): Likewise.
16837 (rint_towardzero_test_data): Likewise.
16838 (rint_test_towardzero): Likewise.
16839 (rint_downward_test_data): Likewise.
16840 (rint_test_downward): Likewise.
16841 (rint_upward_test_data): Likewise.
16842 (rint_test_upward): Likewise.
16843 (main): Don't call removed functions.
16845 2014-03-14 Roland McGrath <roland@hack.frob.com>
16847 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16848 "Compiled on ..." crapola. It is anti-useful.
16850 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16852 * scripts/evaluate-test.sh: Handle fourth argument to determine
16853 whether test run should stop on failure.
16854 * Makeconfig (stop-on-test-failure): New variable.
16855 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16856 $(stop-on-test-failure).
16857 * Makefile (tests): Give a summary of results from testing and
16858 exit with failure status if they include an ERROR or FAIL.
16859 (xtests): Likewise.
16860 * manual/install.texi (Configuring and compiling): Mention
16861 stop-on-test-failure=y.
16862 * INSTALL: Regenerated.
16864 2014-03-14 Roland McGrath <roland@hack.frob.com>
16866 * scripts/versionlist.awk: New file.
16867 * Makerules [$(build-shared) = yes]
16868 (postclean-generated): Add Versions.def, not Versions.def.v and
16870 ($(common-objpfx)Versions.def.v.i): Target removed.
16871 ($(common-objpfx)Versions.def): New target.
16872 ($(common-objpfx)Versions.all): Depend on that rather that
16873 $(common-objpfx)Versions.def.v.
16874 * Versions.def: File removed.
16876 * Makeconfig (+gccwarn): Add -Wundef.
16877 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16878 a dl-sysdep.h breaking its contract.
16879 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16880 * include/stackinfo.h: New file.
16881 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16882 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16883 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16884 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16885 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16886 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16887 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16888 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16889 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16890 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16891 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16892 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16893 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16894 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16895 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16897 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16900 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16902 * math/libm-test.inc (round_test_data): Add more tests.
16905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16907 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16910 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16912 * math/libm-test.inc (ceil_test_data): Add more tests.
16914 * math/libm-test.inc (trunc_test_data): Add more tests related to
16917 2014-03-14 Roland McGrath <roland@hack.frob.com>
16919 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16920 with #if rather than #ifdef.
16921 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16923 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16925 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16926 first. Disable AVX-512 GCC support if assembler doesn't support
16928 * sysdeps/x86_64/configure: Regenerated.
16930 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16932 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16933 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16934 (__old_pthread_attr_setstack): Likewise.
16935 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16936 [!_STACK_GROWS_DOWN]: Likewise.
16938 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16940 * config.make.in (have-bash2): Delete.
16941 * configure.ac (libc_cv_have_bash2): Delete.
16942 * configure: Regenerate.
16943 * elf/Makefile (common-ldd-rewrite): Rename to ...
16944 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16945 (sh-ldd-rewrite): Delete.
16946 (bash-ldd-rewrite): Delete.
16947 (have-bash2): Delete checks.
16948 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16951 * config.make.in (have-ksh): Delete.
16953 * configure.ac (libc_cv_have_ksh): Delete.
16954 * configure: Regenerate.
16956 * elf/Makefile: Delete $(have-ksh) check.
16957 ($(objpfx)sotruss): Change KSH to BASH.
16958 * elf/sotruss.ksh: Rename to ...
16959 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16960 function style to match POSIX. Drop ksh vim mode setting.
16962 * manual/time.texi (Specifying the Time Zone with TZ): Change
16963 Tuesday to Thursday.
16965 * debug/tst-longjmp_chk2.c: Update header comment.
16966 (stackoverflow_handler): Add comment. Call assert on pass value.
16968 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16971 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16972 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16973 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16974 (La_x86_64_vector): Add zmm.
16975 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16976 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16977 ($(objpfx)tst-audit10): New target.
16978 ($(objpfx)tst-audit10.out): Likewise.
16979 (tst-audit10-ENV): New.
16980 (AVX512-CFLAGS): Likewise.
16981 (CFLAGS-tst-audit10.c): Likewise.
16982 (CFLAGS-tst-auditmod10a.c): Likewise.
16983 (CFLAGS-tst-auditmod10b.c): Likewise.
16984 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16985 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16986 * sysdeps/x86_64/configure: Regenerated.
16987 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16988 AVX-512 zmm register support.
16989 (_dl_x86_64_save_sse): Likewise.
16990 (_dl_x86_64_restore_sse): Likewise.
16991 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16992 size vector registers.
16993 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16994 (ZMM_SIZE): Likewise.
16995 * sysdeps/x86_64/tst-audit10.c: New file.
16996 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16997 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16999 2014-03-13 Roland McGrath <roland@hack.frob.com>
17001 * configure.ac (HAVE_EHDR_START): New check.
17002 * configure: Regenerated.
17003 * config.h.in (HAVE_EHDR_START): New #undef.
17004 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17005 assuming the lowest-addressed segment maps the start of the file.
17007 2014-03-13 Joseph Myers <joseph@codesourcery.com>
17009 * INSTALL: Regenerated.
17011 2014-03-13 Will Newton <will.newton@linaro.org>
17013 * manual/setjmp.texi (System V contexts): Improve
17014 clarity and grammar of documentation.
17016 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
17019 * elf/Makefile (tests): Add tst-pie2.
17020 (tests-pie): Add tst-pie2.
17021 * elf/tst-pie2.c: New file.
17022 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17024 * elf/rtld.c (map_doit): Load executable as lt_executable.
17025 (dl_main): Likewise.
17027 2014-03-12 Joseph Myers <joseph@codesourcery.com>
17030 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17031 (__ASSUME_PSELECT): Undefine.
17033 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17036 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17037 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17039 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17040 selector for static builds.
17042 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17045 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17048 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17050 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17051 IFUNC selector for static builds.
17053 2014-03-11 Joseph Myers <joseph@codesourcery.com>
17055 * sysdeps/mips/math_private.h [__mips_hard_float]
17056 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17057 libc_feresetround_mips_ctx.
17058 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17059 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17060 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17063 * math/s_nextafter.c (__nextafter): Do not return value from
17064 overflowing computation.
17065 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17066 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17067 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17069 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17071 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17072 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17074 2014-03-11 Roland McGrath <roland@hack.frob.com>
17076 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17077 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17078 Move sfi_sp use from the load-multiple (that no longer sets sp) to
17079 the new mov targetting sp.
17081 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17084 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17085 Define it for static builds as well.
17086 (NO_BZERO_IMPL): Likewise.
17088 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17090 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17091 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17092 multiarch strspn for PPC64.
17093 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17094 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17096 (__libc_ifunc_impl_list): Likewise.
17097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17098 multiarch optimizations
17099 * string/strspn.c (strspn): Using macro to redefine symbol name.
17101 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17102 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17104 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17105 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17106 multiarch strncat for PPC64.
17107 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17108 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17109 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17110 (__libc_ifunc_impl_list): Likewise.
17111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17112 multiarch optimizations
17114 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17117 * nscd/nscd.service: Make service type forking.
17119 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17121 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17122 sign in non default rounding modes.
17123 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17125 2014-03-08 Joseph Myers <joseph@codesourcery.com>
17127 * math/libm-test.inc (ALL_RM_TEST): New macro.
17128 (ceil_test): Use ALL_RM_TEST.
17129 (cimag_test): Likewise.
17130 (conj_test): Likewise.
17131 (copysign_test): Likewise.
17132 (cproj_test): Likewise.
17133 (creal_test): Likewise.
17134 (fabs_test): Likewise.
17135 (floor_test): Likewise.
17136 (fmax_test): Likewise.
17137 (fmin_test): Likewise.
17138 (fmod_test): Likewise.
17139 (fpclassify_test): Likewise.
17140 (frexp_test): Likewise.
17141 (ilogb_test): Likewise.
17142 (isfinite_test): Likewise.
17143 (finite_test): Likewise.
17144 (isgreater_test): Likewise.
17145 (isgreaterequal_test): Likewise.
17146 (isinf_test): Likewise.
17147 (isless_test): Likewise.
17148 (islessequal_test): Likewise.
17149 (islessgreater_test): Likewise.
17150 (isnan_test): Likewise.
17151 (isnormal_test): Likewise.
17152 (issignaling_test): Likewise.
17153 (isunordered_test): Likewise.
17154 (logb_test): Likewise.
17155 (logb_downward_test_data): Remove.
17156 (logb_test_downward): Likewise.
17157 (lround_test): Use ALL_RM_TEST.
17158 (llround_test): Likewise.
17159 (modf_test): Likewise.
17160 (nexttoward_test): Likewise.
17161 (remainder_test): Likewise.
17162 (drem_test): Likewise.
17163 (remainder_tonearest_test_data): Likewise.
17164 (remainder_test_tonearest): Likewise.
17165 (drem_test_tonearest): Likewise.
17166 (remainder_towardzero_test_data): Likewise.
17167 (remainder_test_towardzero): Likewise.
17168 (drem_test_towardzero): Likewise.
17169 (remainder_downward_test_data): Likewise.
17170 (remainder_test_downward): Likewise.
17171 (drem_test_downward): Likewise.
17172 (remainder_upward_test_data): Likewise.
17173 (remainder_test_upward): Likewise.
17174 (drem_test_upward): Likewise.
17175 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17176 (round_test): Use ALL_RM_TEST.
17177 (signbit_test): Likewise.
17178 (trunc_test): Likewise.
17179 (significand_test): Likewise.
17180 (main): Don't call removed functions.
17182 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17185 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17186 || __USE_XOPEN2K8].
17187 (ILL_ILLOPN): Likewise.
17188 (ILL_ILLADR): Likewise.
17189 (ILL_ILLTRP): Likewise.
17190 (ILL_PRVOPC): Likewise.
17191 (ILL_PRVREG): Likewise.
17192 (ILL_COPROC): Likewise.
17193 (ILL_BADSTK): Likewise.
17194 (FPE_INTDIV): Likewise.
17195 (FPE_INTOVF): Likewise.
17196 (FPE_FLTDIV): Likewise.
17197 (FPE_FLTOVF): Likewise.
17198 (FPE_FLTUND): Likewise.
17199 (FPE_FLTRES): Likewise.
17200 (FPE_FLTINV): Likewise.
17201 (FPE_FLTSUB): Likewise.
17202 (SEGV_MAPERR): Likewise.
17203 (SEGV_ACCERR): Likewise.
17204 (BUS_ADRALN): Likewise.
17205 (BUS_ADRERR): Likewise.
17206 (BUS_OBJERR): Likewise.
17207 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17208 (TRAP_TRACE): Likewise.
17209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17211 (CLD_KILLED): Likewise.
17212 (CLD_DUMPED): Likewise.
17213 (CLD_TRAPPED): Likewise.
17214 (CLD_STOPPED): Likewise.
17215 (CLD_CONTINUED): Likewise.
17216 (POLL_IN): Likewise.
17217 (POLL_OUT): Likewise.
17218 (POLL_MSG): Likewise.
17219 (POLL_ERR): Likewise.
17220 (POLL_PRI): Likewise.
17221 (POLL_HUP): Likewise.
17222 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17224 (ILL_ILLOPN): Likewise.
17225 (ILL_ILLADR): Likewise.
17226 (ILL_ILLTRP): Likewise.
17227 (ILL_PRVOPC): Likewise.
17228 (ILL_PRVREG): Likewise.
17229 (ILL_COPROC): Likewise.
17230 (ILL_BADSTK): Likewise.
17231 (FPE_INTDIV): Likewise.
17232 (FPE_INTOVF): Likewise.
17233 (FPE_FLTDIV): Likewise.
17234 (FPE_FLTOVF): Likewise.
17235 (FPE_FLTUND): Likewise.
17236 (FPE_FLTRES): Likewise.
17237 (FPE_FLTINV): Likewise.
17238 (FPE_FLTSUB): Likewise.
17239 (SEGV_MAPERR): Likewise.
17240 (SEGV_ACCERR): Likewise.
17241 (BUS_ADRALN): Likewise.
17242 (BUS_ADRERR): Likewise.
17243 (BUS_OBJERR): Likewise.
17244 (BUS_MCEERR_AR): Likewise.
17245 (BUS_MCEERR_AO): Likewise.
17246 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17247 (TRAP_TRACE): Likewise.
17248 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17250 (CLD_KILLED): Likewise.
17251 (CLD_DUMPED): Likewise.
17252 (CLD_TRAPPED): Likewise.
17253 (CLD_STOPPED): Likewise.
17254 (CLD_CONTINUED): Likewise.
17255 (POLL_IN): Likewise.
17256 (POLL_OUT): Likewise.
17257 (POLL_MSG): Likewise.
17258 (POLL_ERR): Likewise.
17259 (POLL_PRI): Likewise.
17260 (POLL_HUP): Likewise.
17261 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17262 (ILL_ILLOPN): Likewise.
17263 (ILL_ILLADR): Likewise.
17264 (ILL_ILLTRP): Likewise.
17265 (ILL_PRVOPC): Likewise.
17266 (ILL_PRVREG): Likewise.
17267 (ILL_COPROC): Likewise.
17268 (ILL_BADSTK): Likewise.
17269 (FPE_INTDIV): Likewise.
17270 (FPE_INTOVF): Likewise.
17271 (FPE_FLTDIV): Likewise.
17272 (FPE_FLTOVF): Likewise.
17273 (FPE_FLTUND): Likewise.
17274 (FPE_FLTRES): Likewise.
17275 (FPE_FLTINV): Likewise.
17276 (FPE_FLTSUB): Likewise.
17277 (SEGV_MAPERR): Likewise.
17278 (SEGV_ACCERR): Likewise.
17279 (BUS_ADRALN): Likewise.
17280 (BUS_ADRERR): Likewise.
17281 (BUS_OBJERR): Likewise.
17282 (BUS_MCEERR_AR): Likewise.
17283 (BUS_MCEERR_AO): Likewise.
17284 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17285 (TRAP_TRACE): Likewise.
17286 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17288 (CLD_KILLED): Likewise.
17289 (CLD_DUMPED): Likewise.
17290 (CLD_TRAPPED): Likewise.
17291 (CLD_STOPPED): Likewise.
17292 (CLD_CONTINUED): Likewise.
17293 (POLL_IN): Likewise.
17294 (POLL_OUT): Likewise.
17295 (POLL_MSG): Likewise.
17296 (POLL_ERR): Likewise.
17297 (POLL_PRI): Likewise.
17298 (POLL_HUP): Likewise.
17299 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17301 (ILL_ILLOPN): Likewise.
17302 (ILL_ILLADR): Likewise.
17303 (ILL_ILLTRP): Likewise.
17304 (ILL_PRVOPC): Likewise.
17305 (ILL_PRVREG): Likewise.
17306 (ILL_COPROC): Likewise.
17307 (ILL_BADSTK): Likewise.
17308 (ILL_BADIADDR): Likewise.
17309 (ILL_BREAK): Likewise.
17310 (FPE_INTDIV): Likewise.
17311 (FPE_INTOVF): Likewise.
17312 (FPE_FLTDIV): Likewise.
17313 (FPE_FLTOVF): Likewise.
17314 (FPE_FLTUND): Likewise.
17315 (FPE_FLTRES): Likewise.
17316 (FPE_FLTINV): Likewise.
17317 (FPE_FLTSUB): Likewise.
17318 (FPE_DECOVF): Likewise.
17319 (FPE_DECDIV): Likewise.
17320 (FPE_DECERR): Likewise.
17321 (FPE_INVASC): Likewise.
17322 (FPE_INVDEC): Likewise.
17323 (SEGV_MAPERR): Likewise.
17324 (SEGV_ACCERR): Likewise.
17325 (SEGV_PSTKOVF): Likewise.
17326 (BUS_ADRALN): Likewise.
17327 (BUS_ADRERR): Likewise.
17328 (BUS_OBJERR): Likewise.
17329 (BUS_MCEERR_AR): Likewise.
17330 (BUS_MCEERR_AO): Likewise.
17331 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17332 (TRAP_TRACE): Likewise.
17333 (TRAP_BRANCH): Likewise.
17334 (TRAP_HWBKPT): Likewise.
17335 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17337 (CLD_KILLED): Likewise.
17338 (CLD_DUMPED): Likewise.
17339 (CLD_TRAPPED): Likewise.
17340 (CLD_STOPPED): Likewise.
17341 (CLD_CONTINUED): Likewise.
17342 (POLL_IN): Likewise.
17343 (POLL_OUT): Likewise.
17344 (POLL_MSG): Likewise.
17345 (POLL_ERR): Likewise.
17346 (POLL_PRI): Likewise.
17347 (POLL_HUP): Likewise.
17348 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17349 (ILL_ILLOPN): Likewise.
17350 (ILL_ILLADR): Likewise.
17351 (ILL_ILLTRP): Likewise.
17352 (ILL_PRVOPC): Likewise.
17353 (ILL_PRVREG): Likewise.
17354 (ILL_COPROC): Likewise.
17355 (ILL_BADSTK): Likewise.
17356 (FPE_INTDIV): Likewise.
17357 (FPE_INTOVF): Likewise.
17358 (FPE_FLTDIV): Likewise.
17359 (FPE_FLTOVF): Likewise.
17360 (FPE_FLTUND): Likewise.
17361 (FPE_FLTRES): Likewise.
17362 (FPE_FLTINV): Likewise.
17363 (FPE_FLTSUB): Likewise.
17364 (SEGV_MAPERR): Likewise.
17365 (SEGV_ACCERR): Likewise.
17366 (BUS_ADRALN): Likewise.
17367 (BUS_ADRERR): Likewise.
17368 (BUS_OBJERR): Likewise.
17369 (BUS_MCEERR_AR): Likewise.
17370 (BUS_MCEERR_AO): Likewise.
17371 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17372 (TRAP_TRACE): Likewise.
17373 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17375 (CLD_KILLED): Likewise.
17376 (CLD_DUMPED): Likewise.
17377 (CLD_TRAPPED): Likewise.
17378 (CLD_STOPPED): Likewise.
17379 (CLD_CONTINUED): Likewise.
17380 (POLL_IN): Likewise.
17381 (POLL_OUT): Likewise.
17382 (POLL_MSG): Likewise.
17383 (POLL_ERR): Likewise.
17384 (POLL_PRI): Likewise.
17385 (POLL_HUP): Likewise.
17386 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17387 (ILL_ILLOPN): Likewise.
17388 (ILL_ILLADR): Likewise.
17389 (ILL_ILLTRP): Likewise.
17390 (ILL_PRVOPC): Likewise.
17391 (ILL_PRVREG): Likewise.
17392 (ILL_COPROC): Likewise.
17393 (ILL_BADSTK): Likewise.
17394 (FPE_INTDIV): Likewise.
17395 (FPE_INTOVF): Likewise.
17396 (FPE_FLTDIV): Likewise.
17397 (FPE_FLTOVF): Likewise.
17398 (FPE_FLTUND): Likewise.
17399 (FPE_FLTRES): Likewise.
17400 (FPE_FLTINV): Likewise.
17401 (FPE_FLTSUB): Likewise.
17402 (SEGV_MAPERR): Likewise.
17403 (SEGV_ACCERR): Likewise.
17404 (BUS_ADRALN): Likewise.
17405 (BUS_ADRERR): Likewise.
17406 (BUS_OBJERR): Likewise.
17407 (BUS_MCEERR_AR): Likewise.
17408 (BUS_MCEERR_AO): Likewise.
17409 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17410 (TRAP_TRACE): Likewise.
17411 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17413 (CLD_KILLED): Likewise.
17414 (CLD_DUMPED): Likewise.
17415 (CLD_TRAPPED): Likewise.
17416 (CLD_STOPPED): Likewise.
17417 (CLD_CONTINUED): Likewise.
17418 (POLL_IN): Likewise.
17419 (POLL_OUT): Likewise.
17420 (POLL_MSG): Likewise.
17421 (POLL_ERR): Likewise.
17422 (POLL_PRI): Likewise.
17423 (POLL_HUP): Likewise.
17424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17425 (ILL_ILLOPN): Likewise.
17426 (ILL_ILLADR): Likewise.
17427 (ILL_ILLTRP): Likewise.
17428 (ILL_PRVOPC): Likewise.
17429 (ILL_PRVREG): Likewise.
17430 (ILL_COPROC): Likewise.
17431 (ILL_BADSTK): Likewise.
17432 (FPE_INTDIV): Likewise.
17433 (FPE_INTOVF): Likewise.
17434 (FPE_FLTDIV): Likewise.
17435 (FPE_FLTOVF): Likewise.
17436 (FPE_FLTUND): Likewise.
17437 (FPE_FLTRES): Likewise.
17438 (FPE_FLTINV): Likewise.
17439 (FPE_FLTSUB): Likewise.
17440 (SEGV_MAPERR): Likewise.
17441 (SEGV_ACCERR): Likewise.
17442 (BUS_ADRALN): Likewise.
17443 (BUS_ADRERR): Likewise.
17444 (BUS_OBJERR): Likewise.
17445 (BUS_MCEERR_AR): Likewise.
17446 (BUS_MCEERR_AO): Likewise.
17447 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17448 (TRAP_TRACE): Likewise.
17449 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17451 (CLD_KILLED): Likewise.
17452 (CLD_DUMPED): Likewise.
17453 (CLD_TRAPPED): Likewise.
17454 (CLD_STOPPED): Likewise.
17455 (CLD_CONTINUED): Likewise.
17456 (POLL_IN): Likewise.
17457 (POLL_OUT): Likewise.
17458 (POLL_MSG): Likewise.
17459 (POLL_ERR): Likewise.
17460 (POLL_PRI): Likewise.
17461 (POLL_HUP): Likewise.
17462 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17463 (ILL_ILLOPN): Likewise.
17464 (ILL_ILLADR): Likewise.
17465 (ILL_ILLTRP): Likewise.
17466 (ILL_PRVOPC): Likewise.
17467 (ILL_PRVREG): Likewise.
17468 (ILL_COPROC): Likewise.
17469 (ILL_BADSTK): Likewise.
17470 (ILL_DBLFLT): Likewise.
17471 (ILL_HARDWALL): Likewise.
17472 (FPE_INTDIV): Likewise.
17473 (FPE_INTOVF): Likewise.
17474 (FPE_FLTDIV): Likewise.
17475 (FPE_FLTOVF): Likewise.
17476 (FPE_FLTUND): Likewise.
17477 (FPE_FLTRES): Likewise.
17478 (FPE_FLTINV): Likewise.
17479 (FPE_FLTSUB): Likewise.
17480 (SEGV_MAPERR): Likewise.
17481 (SEGV_ACCERR): Likewise.
17482 (BUS_ADRALN): Likewise.
17483 (BUS_ADRERR): Likewise.
17484 (BUS_OBJERR): Likewise.
17485 (BUS_MCEERR_AR): Likewise.
17486 (BUS_MCEERR_AO): Likewise.
17487 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17488 (TRAP_TRACE): Likewise.
17489 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17491 (CLD_KILLED): Likewise.
17492 (CLD_DUMPED): Likewise.
17493 (CLD_TRAPPED): Likewise.
17494 (CLD_STOPPED): Likewise.
17495 (CLD_CONTINUED): Likewise.
17496 (POLL_IN): Likewise.
17497 (POLL_OUT): Likewise.
17498 (POLL_MSG): Likewise.
17499 (POLL_ERR): Likewise.
17500 (POLL_PRI): Likewise.
17501 (POLL_HUP): Likewise.
17502 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17503 (ILL_ILLOPN): Likewise.
17504 (ILL_ILLADR): Likewise.
17505 (ILL_ILLTRP): Likewise.
17506 (ILL_PRVOPC): Likewise.
17507 (ILL_PRVREG): Likewise.
17508 (ILL_COPROC): Likewise.
17509 (ILL_BADSTK): Likewise.
17510 (FPE_INTDIV): Likewise.
17511 (FPE_INTOVF): Likewise.
17512 (FPE_FLTDIV): Likewise.
17513 (FPE_FLTOVF): Likewise.
17514 (FPE_FLTUND): Likewise.
17515 (FPE_FLTRES): Likewise.
17516 (FPE_FLTINV): Likewise.
17517 (FPE_FLTSUB): Likewise.
17518 (SEGV_MAPERR): Likewise.
17519 (SEGV_ACCERR): Likewise.
17520 (BUS_ADRALN): Likewise.
17521 (BUS_ADRERR): Likewise.
17522 (BUS_OBJERR): Likewise.
17523 (BUS_MCEERR_AR): Likewise.
17524 (BUS_MCEERR_AO): Likewise.
17525 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17526 (TRAP_TRACE): Likewise.
17527 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17529 (CLD_KILLED): Likewise.
17530 (CLD_DUMPED): Likewise.
17531 (CLD_TRAPPED): Likewise.
17532 (CLD_STOPPED): Likewise.
17533 (CLD_CONTINUED): Likewise.
17534 (POLL_IN): Likewise.
17535 (POLL_OUT): Likewise.
17536 (POLL_MSG): Likewise.
17537 (POLL_ERR): Likewise.
17538 (POLL_PRI): Likewise.
17539 (POLL_HUP): Likewise.
17540 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17541 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17544 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17545 before #include of <time.h>.
17546 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17547 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17548 (test-xfail-UNIX98/sched.h/conform): Likewise.
17550 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17552 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17553 error absence of trapping exception support.
17554 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17556 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17558 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17559 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17560 * timezone/Makefile (testdata): Move definition above include of
17562 (test-zones): New variable.
17563 (tests-special): Add zone files.
17564 (build-testdata): Use $(evaluate-test).
17566 * elf/Makefile (tests-special): Rename tests to end with .out.
17567 ($(objpfx)noload-mem): Likewise.
17568 ($(objpfx)tst-leaks1-mem): Likewise.
17569 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17570 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17571 $(objpfx)test-iconvconfig.out.
17572 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17573 set -e inside subshell and redirect output to file.
17574 * iconvdata/Makefile (generated): Rename tests to end with .out.
17576 (tests-special): Rename tests to end with .out.
17577 ($(objpfx)mtrace-tst-loading): Likewise.
17578 * intl/Makefile (generated): Likewise.
17579 (tests-special): Likewise.
17580 ($(objpfx)mtrace-tst-gettext): Likewise.
17581 * misc/Makefile (generated): Likewise.
17582 (tests-special): Likewise.
17583 ($(objpfx)tst-error1-mem): Likewise.
17584 * nptl/Makefile (tests-special): Likewise.
17585 ($(objpfx)tst-stack3-mem): Likewise.
17586 (generated): Likewise.
17587 * posix/Makefile (generated): Likewise.
17588 (tests-special): Likewise.
17589 (xtests-special): Likewise.
17590 ($(objpfx)tst-fnmatch-mem): Likewise.
17591 ($(objpfx)bug-regex2-mem): Likewise.
17592 ($(objpfx)bug-regex14-mem): Likewise.
17593 ($(objpfx)bug-regex21-mem): Likewise.
17594 ($(objpfx)bug-regex31-mem): Likewise.
17595 ($(objpfx)tst-vfork3-mem): Likewise.
17596 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17597 ($(objpfx)tst-pcre-mem): Likewise.
17598 ($(objpfx)tst-boost-mem): Likewise.
17599 ($(objpfx)bug-ga2-mem): Likewise.
17600 ($(objpfx)bug-glob2-mem): Likewise.
17601 * resolv/Makefile (generate): Likewise.
17602 (tests-special): Likewise.
17603 (xtests-special): Likewise.
17604 (generated): Likewise.
17605 ($(objpfx)mtrace-tst-leaks): Likewise.
17606 ($(objpfx)mtrace-tst-leaks2): Likewise.
17608 * scripts/merge-test-results.sh: New file.
17609 * Makefile (tests-special-notdir): New variable.
17610 (tests): Run merge-test-results.sh.
17611 (xtests): Likewise.
17612 * Rules (tests-special-notdir): New variable.
17613 (xtests-special-notdir): Likewise.
17614 (tests): Run merge-test-results.sh
17615 (xtests): Likewise.
17617 * Makeconfig (test-xfail-name): New variable.
17618 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17619 compute variable name for expected failures.
17620 * conform/Makefile (conformtest-headers-data): New variable.
17621 (conformtest-standards): Likewise.
17622 (conformtest-headers-ISO): Likewise.
17623 (conformtest-headers-ISO99): Likewise.
17624 (conformtest-headers-ISO11): Likewise.
17625 (conformtest-headers-POSIX): Likewise.
17626 (conformtest-headers-XPG3): Likewise.
17627 (conformtest-headers-XPG4): Likewise.
17628 (conformtest-headers-UNIX98): Likewise.
17629 (conformtest-headers-XOPEN2K): Likewise.
17630 (conformtest-headers-POSIX2008): Likewise.
17631 (conformtest-headers-XOPEN2K8): Likewise.
17632 (conformtest-header-list-base): Likewise.
17633 (conformtest-header-list-tests): Likewise.
17634 (conformtest-header-base): Likewise.
17635 (conformtest-header-tests): Likewise.
17636 (tests-special): Add $(conformtest-header-list-tests). If
17637 [$(fast-check) && !$(cross-compiling)], add
17638 $(conformtest-header-tests) instead of
17639 $(objpfx)run-conformtest.out.
17640 (generated): Add $(conformtest-header-list-base). If
17641 [$(fast-check) && !$(cross-compiling)], add
17642 $(conformtest-header-base). Remove previous setting.
17643 ($(conformtest-header-list-tests)): New target.
17644 (test-xfail-run-conformtest): Remove variable.
17645 ($(objpfx)run-conformtest.out): Remove target.
17646 (test-xfail-ISO11/complex.h/conform): New variable.
17647 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17648 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17649 (test-xfail-XPG3/varargs.h/conform): Likewise.
17650 (test-xfail-XPG4/varargs.h/conform): Likewise.
17651 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17652 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17653 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17654 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17655 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17656 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17657 (test-xfail-XPG3/ftw.h/conform): Likewise.
17658 (test-xfail-XPG3/grp.h/conform): Likewise.
17659 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17660 (test-xfail-XPG3/limits.h/conform): Likewise.
17661 (test-xfail-XPG3/pwd.h/conform): Likewise.
17662 (test-xfail-XPG3/search.h/conform): Likewise.
17663 (test-xfail-XPG3/signal.h/conform): Likewise.
17664 (test-xfail-XPG3/stdio.h/conform): Likewise.
17665 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17666 (test-xfail-XPG3/string.h/conform): Likewise.
17667 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17668 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17669 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17670 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17671 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17672 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17673 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17674 (test-xfail-XPG3/termios.h/conform): Likewise.
17675 (test-xfail-XPG3/time.h/conform): Likewise.
17676 (test-xfail-XPG3/unistd.h/conform): Likewise.
17677 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17678 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17679 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17680 (test-xfail-XPG4/netdb.h/conform): Likewise.
17681 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17682 (test-xfail-XPG4/signal.h/conform): Likewise.
17683 (test-xfail-XPG4/stdio.h/conform): Likewise.
17684 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17685 (test-xfail-XPG4/stropts.h/conform): Likewise.
17686 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17687 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17688 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17689 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17690 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17691 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17692 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17693 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17694 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17695 (test-xfail-XPG4/termios.h/conform): Likewise.
17696 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17697 (test-xfail-XPG4/unistd.h/conform): Likewise.
17698 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17699 (test-xfail-POSIX/sched.h/conform): Likewise.
17700 (test-xfail-POSIX/signal.h/conform): Likewise.
17701 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17702 (test-xfail-POSIX/tar.h/conform): Likewise.
17703 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17704 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17705 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17706 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17707 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17708 (test-xfail-UNIX98/sched.h/conform): Likewise.
17709 (test-xfail-UNIX98/signal.h/conform): Likewise.
17710 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17711 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17712 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17713 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17714 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17715 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17716 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17717 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17718 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17719 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17720 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17721 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17722 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17723 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17724 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17725 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17726 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17727 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17728 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17729 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17730 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17731 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17732 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17733 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17734 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17735 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17736 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17737 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17738 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17739 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17740 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17741 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17742 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17743 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17744 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17745 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17746 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17747 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17748 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17749 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17750 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17751 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17752 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17753 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17754 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17755 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17756 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17757 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17758 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17759 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17760 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17761 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17762 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17763 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17764 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17765 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17766 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17767 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17768 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17769 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17770 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17771 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17772 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17773 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17774 (conformtest-cc-flags): Likewise.
17775 ($(conformtest-header-tests): New target.
17776 * conform/check-header-lists.sh: New file.
17777 * conform/run-conformtest.sh: Remove.
17779 * conform/conformtest.pl: Allow ' and \ in values given for
17781 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17783 [POSIX] (sys/types.h): Likewise.
17784 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17786 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17788 * conform/data/signal.h-data (SIGIO): Remove expectation.
17789 [XPG3] (SIGBUS): Do not expect.
17790 [POSIX || XPG3] (SIGPOLL): Likewise.
17791 [POSIX || XPG3] (SIGPROF): Likewise.
17792 [POSIX || XPG3] (SIGSYS): Likewise.
17793 [XPG3] (SIGTRAP): Likewise.
17794 [POSIX || XPG3] (SIGURG): Likewise.
17795 [POSIX || XPG3] (SIGVTALRM): Likewise.
17796 [POSIX || XPG3] (SIGXCPU): Likewise.
17797 [POSIX || XPG3] (SIGXFSZ): Likewise.
17798 [POSIX] (SA_SIGINFO): Expect.
17799 [XPG3] (siginfo_t): Do not expect type or contents.
17800 [POSIX] (si_pid): Do not expect element.
17801 [POSIX] (si_uid): Likewise.
17802 [POSIX] (si_addr): Likewise.
17803 [POSIX] (si_status): Likewise.
17804 [POSIX] (si_band): Likewise.
17805 [XPG4] (si_value): Likewise.
17806 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17807 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17808 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17809 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17810 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17811 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17812 [POSIX || XPG3] (ILL_COPROC): Likewise.
17813 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17814 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17815 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17816 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17817 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17818 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17819 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17820 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17821 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17822 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17823 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17824 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17825 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17826 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17827 [POSIX || XPG3] (CLD_EXITED): Likewise.
17828 [POSIX || XPG3] (CLD_KILLED): Likewise.
17829 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17830 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17831 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17832 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17833 [POSIX || XPG3] (POLL_IN): Likewise.
17834 [POSIX || XPG3] (POLL_OUT): Likewise.
17835 [POSIX || XPG3] (POLL_MSG): Likewise.
17836 [POSIX || XPG3] (POLL_ERR): Likewise.
17837 [POSIX || XPG3] (POLL_PRI): Likewise.
17838 [POSIX || XPG3] (POLL_HUP): Likewise.
17839 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17840 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17841 (SIG*): Do not allow.
17842 [XPG3] (si_*): Likewise.
17843 [XPG3] (SI_*): Likewise.
17844 [XPG3 || XPG4] (sigev_*): Likewise.
17845 [XPG3 || XPG4] (SIGEV_*): Likewise.
17846 [XPG3 || XPG4] (sival_*): Likewise.
17847 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17848 [POSIX || XPG3] (BUS_*): Likewise.
17849 [POSIX || XPG3] (CLD_*): Likewise.
17850 [POSIX || XPG3] (FPE_*): Likewise.
17851 [POSIX || XPG3] (ILL_*): Likewise.
17852 [POSIX || XPG3] (POLL_*): Likewise.
17853 [POSIX || XPG3] (SEGV_*): Likewise.
17854 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17855 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17856 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17857 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17858 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17859 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17860 Specify type and value.
17861 (TVERSLEN): Likewise.
17862 (REGTYPE): Likewise.
17863 (AREGTYPE): Likewise.
17864 (LNKTYPE): Likewise.
17865 (SYMTYPE): Likewise.
17866 (CHRTYPE): Likewise.
17867 (BLKTYPE): Likewise.
17868 (DIRTYPE): Likewise.
17869 (FIFOTYPE): Likewise.
17870 (CONTTYPE): Likewise.
17874 (TUREAD): Likewise.
17875 (TUWRITE): Likewise.
17876 (TUEXEC): Likewise.
17877 (TGREAD): Likewise.
17878 (TGWRITE): Likewise.
17879 (TGEXEC): Likewise.
17880 (TOREAD): Likewise.
17881 (TOWRITE): Likewise.
17882 (TOEXEC): Likewise.
17883 [POSIX] (TSVTX): Expect constant.
17885 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17887 * Makefile (tests): Change dependencies to ....
17888 (tests-special): ... additions to this variable.
17889 (tests): Depend on $(tests-special).
17890 * Makerules (check-abi-list): New variable.
17891 (check-abi): Depend on $(check-abi-list).
17892 [$(subdir) = elf] (tests-special): Add
17893 $(objpfx)check-abi-libc.out.
17894 [$(build-shared) = yes && subdir] (tests-special): Add
17896 [$(build-shared) = yes && subdir] (tests): Do not depend on
17898 * Rules (tests): Depend on $(tests-special).
17899 (xtests): Depend on $(xtests-special).
17900 * catgets/Makefile (tests): Change dependencies to ....
17901 (tests-special): ... additions to this variable.
17902 * conform/Makefile (tests): Change dependencies to ....
17903 (tests-special): ... additions to this variable.
17904 * elf/Makefile (tests): Change dependencies to ....
17905 (tests-special): ... additions to this variable.
17906 * grp/Makefile (tests): Change dependencies to ....
17907 (tests-special): ... additions to this variable.
17908 * iconv/Makefile (xtests): Change dependencies to ....
17909 (xtests-special): ... additions to this variable.
17910 * iconvdata/Makefile (tests): Change dependencies to ....
17911 (tests-special): ... additions to this variable.
17912 * intl/Makefile (tests): Change dependencies to ....
17913 (tests-special): ... additions to this variable. Also add
17914 $(objpfx)tst-gettext.out.
17915 * io/Makefile (tests): Change dependencies to ....
17916 (tests-special): ... additions to this variable.
17917 * libio/Makefile (tests): Change dependencies to ....
17918 (tests-special): ... additions to this variable.
17919 * malloc/Makefile (tests): Change dependencies to ....
17920 (tests-special): ... additions to this variable.
17921 * misc/Makefile (tests): Change dependencies to ....
17922 (tests-special): ... additions to this variable.
17923 * nptl/Makefile (tests): Change dependencies to ....
17924 (tests-special): ... additions to this variable.
17925 * nptl_db/Makefile (tests): Change dependencies to ....
17926 (tests-special): ... additions to this variable.
17927 * posix/Makefile (tests): Change dependencies to ....
17928 (tests-special): ... additions to this variable.
17929 (xtests): Change dependencies to ....
17930 (xtests-special): ... additions to this variable.
17931 * resolv/Makefile (tests): Change dependencies to ....
17932 (tests-special): ... additions to this variable.
17933 (xtests): Change dependencies to ....
17934 (xtests-special): ... additions to this variable.
17935 * stdio-common/Makefile (tests): Change dependencies to ....
17936 (tests-special): ... additions to this variable.
17937 (do-tst-unbputc): Remove target.
17938 (do-tst-printf): Likewise.
17939 * stdlib/Makefile (tests): Change dependencies to ....
17940 (tests-special): ... additions to this variable.
17941 * string/Makefile (tests): Change dependencies to ....
17942 (tests-special): ... additions to this variable.
17943 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17944 (tests-special): ... additions to this variable.
17946 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17948 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17950 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17951 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17953 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17954 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17955 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17956 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17957 * conform/data/libgen.h-data [XPG3]: Likewise.
17958 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17959 * conform/data/ndbm.h-data [XPG3]: Likewise.
17960 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17961 * conform/data/netdb.h-data [XPG3]: Likewise.
17962 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17963 * conform/data/poll.h-data [XPG3]: Likewise.
17964 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17965 * conform/data/strings.h-data [XPG3]: Likewise.
17966 * conform/data/stropts.h-data [XPG3]: Likewise.
17967 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17968 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17969 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17971 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17972 * conform/data/sys/time.h-data [XPG3]: Likewise.
17973 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17974 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17975 * conform/data/sys/un.h-data [XPG3]: Likewise.
17976 * conform/data/syslog.h-data [XPG3]: Likewise.
17977 * conform/data/ucontext.h-data [XPG3]: Likewise.
17978 * conform/data/utmpx.h-data [XPG3]: Likewise.
17979 * conform/data/varargs.h-data [UNIX98]: Enable file.
17981 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17983 * math/libm-test.inc (struct test_f_f_data): Move expected results
17984 into structure for each rounding mode.
17985 (struct test_ff_f_data): Likewise.
17986 (struct test_ff_f_data_nexttoward): Likewise.
17987 (struct test_fi_f_data): Likewise.
17988 (struct test_fl_f_data): Likewise.
17989 (struct test_if_f_data): Likewise.
17990 (struct test_fff_f_data): Likewise.
17991 (struct test_c_f_data): Likewise.
17992 (struct test_f_f1_data): Likewise.
17993 (struct test_fF_f1_data): Likewise.
17994 (struct test_ffI_f1_data): Likewise.
17995 (struct test_c_c_data): Likewise.
17996 (struct test_cc_c_data): Likewise.
17997 (struct test_f_i_data): Likewise.
17998 (struct test_ff_i_data): Likewise.
17999 (struct test_f_l_data): Likewise.
18000 (struct test_f_L_data): Likewise.
18001 (struct test_fFF_11_data): Likewise.
18003 (RM_FE_DOWNWARD): Likewise.
18004 (RM_FE_TONEAREST): Likewise.
18005 (RM_FE_TOWARDZERO): Likewise.
18006 (RM_FE_UPWARD): Likewise.
18007 (RUN_TEST_LOOP_f_f): Update references to expected results.
18008 (RUN_TEST_LOOP_2_f): Likewise.
18009 (RUN_TEST_LOOP_fff_f): Likewise.
18010 (RUN_TEST_LOOP_c_f): Likewise.
18011 (RUN_TEST_LOOP_f_f1): Likewise.
18012 (RUN_TEST_LOOP_fF_f1): Likewise.
18013 (RUN_TEST_LOOP_fI_f1): Likewise.
18014 (RUN_TEST_LOOP_ffI_f1): Likewise.
18015 (RUN_TEST_LOOP_c_c): Likewise.
18016 (RUN_TEST_LOOP_cc_c): Likewise.
18017 (RUN_TEST_LOOP_f_i): Likewise.
18018 (RUN_TEST_LOOP_f_i_tg): Likewise.
18019 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18020 (RUN_TEST_LOOP_f_b): Likewise.
18021 (RUN_TEST_LOOP_f_b_tg): Likewise.
18022 (RUN_TEST_LOOP_f_l): Likewise.
18023 (RUN_TEST_LOOP_f_L): Likewise.
18024 (RUN_TEST_LOOP_fFF_11): Likewise.
18025 * math/gen-libm-test.pl (parse_args): Output four copies of
18026 expected results for each test.
18028 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18029 (__ASSUME_UTIMES): Remove.
18030 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18031 (__ASSUME_UTIMES): Likewise.
18033 * math/gen-auto-libm-tests.c: Update comment on output format.
18034 (output_for_one_input_case): Generate before-rounding and
18035 after-rounding information as conditions on output flags not
18036 floating-point format.
18037 * math/auto-libm-test-out: Regenerated.
18038 * math/gen-libm-test.pl (cond_value): New function.
18039 (or_cond_value): Use cond_value.
18040 (generate_testfile): Handle conditional exceptions.
18042 2014-03-05 Joseph Myers <joseph@codesourcery.com>
18044 * math/libm-test.inc (max_valid_error): New variable.
18045 (init_max_error): Take new argument specifying whether function
18046 results are exactly determined. Set max_valid_error and bound
18047 other variables for errors based on this argument.
18048 (set_max_error): Do not record results above max_valid_error.
18049 (check_float_internal): Only accept errors of up to 0.5ulps if
18050 also at most max_valid_error.
18051 (START): Take new argument EXACT and pass it to init_max_error.
18052 (acos_test): Update call to START.
18053 (acos_test_tonearest): Likewise.
18054 (acos_test_towardzero): Likewise.
18055 (acos_test_downward): Likewise.
18056 (acos_test_upward): Likewise.
18057 (acosh_test): Likewise.
18058 (asin_test): Likewise.
18059 (asin_test_tonearest): Likewise.
18060 (asin_test_towardzero): Likewise.
18061 (asin_test_downward): Likewise.
18062 (asin_test_upward): Likewise.
18063 (asinh_test): Likewise.
18064 (atan_test): Likewise.
18065 (atanh_test): Likewise.
18066 (atan2_test): Likewise.
18067 (cabs_test): Likewise.
18068 (cacos_test): Likewise.
18069 (cacosh_test): Likewise.
18070 (carg_test): Likewise.
18071 (casin_test): Likewise.
18072 (casinh_test): Likewise.
18073 (catan_test): Likewise.
18074 (catanh_test): Likewise.
18075 (cbrt_test): Likewise.
18076 (ccos_test): Likewise.
18077 (ccosh_test): Likewise.
18078 (ceil_test): Likewise.
18079 (cexp_test): Likewise.
18080 (cimag_test): Likewise.
18081 (clog_test): Likewise.
18082 (clog10_test): Likewise.
18083 (conj_test): Likewise.
18084 (copysign_test): Likewise.
18085 (cos_test): Likewise.
18086 (cos_test_tonearest): Likewise.
18087 (cos_test_towardzero): Likewise.
18088 (cos_test_downward): Likewise.
18089 (cos_test_upward): Likewise.
18090 (cosh_test): Likewise.
18091 (cosh_test_tonearest): Likewise.
18092 (cosh_test_towardzero): Likewise.
18093 (cosh_test_downward): Likewise.
18094 (cosh_test_upward): Likewise.
18095 (cpow_test): Likewise.
18096 (cproj_test): Likewise.
18097 (creal_test): Likewise.
18098 (csin_test): Likewise.
18099 (csinh_test): Likewise.
18100 (csqrt_test): Likewise.
18101 (ctan_test): Likewise.
18102 (ctan_test_tonearest): Likewise.
18103 (ctan_test_towardzero): Likewise.
18104 (ctan_test_downward): Likewise.
18105 (ctan_test_upward): Likewise.
18106 (ctanh_test): Likewise.
18107 (ctanh_test_tonearest): Likewise.
18108 (ctanh_test_towardzero): Likewise.
18109 (ctanh_test_downward): Likewise.
18110 (ctanh_test_upward): Likewise.
18111 (erf_test): Likewise.
18112 (erfc_test): Likewise.
18113 (exp_test): Likewise.
18114 (exp_test_tonearest): Likewise.
18115 (exp_test_towardzero): Likewise.
18116 (exp_test_downward): Likewise.
18117 (exp_test_upward): Likewise.
18118 (exp10_test): Likewise.
18119 (exp10_test_tonearest): Likewise.
18120 (exp10_test_towardzero): Likewise.
18121 (exp10_test_downward): Likewise.
18122 (exp10_test_upward): Likewise.
18123 (pow10_test): Likewise.
18124 (exp2_test): Likewise.
18125 (expm1_test): Likewise.
18126 (expm1_test_tonearest): Likewise.
18127 (expm1_test_towardzero): Likewise.
18128 (expm1_test_downward): Likewise.
18129 (expm1_test_upward): Likewise.
18130 (fabs_test): Likewise.
18131 (fdim_test): Likewise.
18132 (floor_test): Likewise.
18133 (fma_test): Likewise.
18134 (fma_test_towardzero): Likewise.
18135 (fma_test_downward): Likewise.
18136 (fma_test_upward): Likewise.
18137 (fmax_test): Likewise.
18138 (fmin_test): Likewise.
18139 (fmod_test): Likewise.
18140 (fpclassify_test): Likewise.
18141 (frexp_test): Likewise.
18142 (hypot_test): Likewise.
18143 (ilogb_test): Likewise.
18144 (isfinite_test): Likewise.
18145 (finite_test): Likewise.
18146 (isgreater_test): Likewise.
18147 (isgreaterequal_test): Likewise.
18148 (isinf_test): Likewise.
18149 (isless_test): Likewise.
18150 (islessequal_test): Likewise.
18151 (islessgreater_test): Likewise.
18152 (isnan_test): Likewise.
18153 (isnormal_test): Likewise.
18154 (issignaling_test): Likewise.
18155 (isunordered_test): Likewise.
18156 (j0_test): Likewise.
18157 (j1_test): Likewise.
18158 (jn_test): Likewise.
18159 (ldexp_test): Likewise.
18160 (lgamma_test): Likewise.
18161 (gamma_test): Likewise.
18162 (lrint_test): Likewise.
18163 (lrint_test_tonearest): Likewise.
18164 (lrint_test_towardzero): Likewise.
18165 (lrint_test_downward): Likewise.
18166 (lrint_test_upward): Likewise.
18167 (llrint_test): Likewise.
18168 (llrint_test_tonearest): Likewise.
18169 (llrint_test_towardzero): Likewise.
18170 (llrint_test_downward): Likewise.
18171 (llrint_test_upward): Likewise.
18172 (log_test): Likewise.
18173 (log10_test): Likewise.
18174 (log1p_test): Likewise.
18175 (log2_test): Likewise.
18176 (logb_test): Likewise.
18177 (logb_test_downward): Likewise.
18178 (lround_test): Likewise.
18179 (llround_test): Likewise.
18180 (modf_test): Likewise.
18181 (nearbyint_test): Likewise.
18182 (nextafter_test): Likewise.
18183 (nexttoward_test): Likewise.
18184 (pow_test): Likewise.
18185 (pow_test_tonearest): Likewise.
18186 (pow_test_towardzero): Likewise.
18187 (pow_test_downward): Likewise.
18188 (pow_test_upward): Likewise.
18189 (remainder_test): Likewise.
18190 (drem_test): Likewise.
18191 (remainder_test_tonearest): Likewise.
18192 (drem_test_tonearest): Likewise.
18193 (remainder_test_towardzero): Likewise.
18194 (drem_test_towardzero): Likewise.
18195 (remainder_test_downward): Likewise.
18196 (drem_test_downward): Likewise.
18197 (remainder_test_upward): Likewise.
18198 (drem_test_upward): Likewise.
18199 (remquo_test): Likewise.
18200 (rint_test): Likewise.
18201 (rint_test_tonearest): Likewise.
18202 (rint_test_towardzero): Likewise.
18203 (rint_test_downward): Likewise.
18204 (rint_test_upward): Likewise.
18205 (round_test): Likewise.
18206 (scalb_test): Likewise.
18207 (scalbn_test): Likewise.
18208 (scalbln_test): Likewise.
18209 (signbit_test): Likewise.
18210 (sin_test): Likewise.
18211 (sin_test_tonearest): Likewise.
18212 (sin_test_towardzero): Likewise.
18213 (sin_test_downward): Likewise.
18214 (sin_test_upward): Likewise.
18215 (sincos_test): Likewise.
18216 (sinh_test): Likewise.
18217 (sinh_test_tonearest): Likewise.
18218 (sinh_test_towardzero): Likewise.
18219 (sinh_test_downward): Likewise.
18220 (sinh_test_upward): Likewise.
18221 (sqrt_test): Likewise.
18222 (sqrt_test_tonearest): Likewise.
18223 (sqrt_test_towardzero): Likewise.
18224 (sqrt_test_downward): Likewise.
18225 (sqrt_test_upward): Likewise.
18226 (tan_test): Likewise.
18227 (tan_test_tonearest): Likewise.
18228 (tan_test_towardzero): Likewise.
18229 (tan_test_downward): Likewise.
18230 (tan_test_upward): Likewise.
18231 (tanh_test): Likewise.
18232 (tgamma_test): Likewise.
18233 (trunc_test): Likewise.
18234 (y0_test): Likewise.
18235 (y1_test): Likewise.
18236 (yn_test): Likewise.
18237 (significand_test): Likewise.
18239 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18240 individual tests in comment.
18241 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18242 (prev_max_error): New variable.
18243 (prev_real_max_error): Likewise.
18244 (prev_imag_max_error): Likewise.
18245 (compare_ulp_data): Don't refer to test names in comment.
18246 (find_test_ulps): Remove function.
18247 (find_function_ulps): Likewise.
18248 (find_complex_function_ulps): Likewise.
18249 (init_max_error): Take function name as argument. Look up ulps
18251 (print_ulps): Remove function.
18252 (print_max_error): Use prev_max_error instead of calling
18253 find_function_ulps.
18254 (print_complex_max_error): Use prev_real_max_error and
18255 prev_imag_max_error instead of calling find_complex_function_ulps.
18256 (check_float_internal): Take max_ulp parameter instead of calling
18257 find_test_ulps. Don't call print_ulps.
18258 (check_float): Update call to check_float_internal.
18259 (check_complex): Update calls to check_float_internal.
18260 (START): Pass argument to init_max_error.
18261 * math/gen-libm-test.pl (%results): Don't include "kind"
18263 (parse_ulps): Don't handle ulps of individual tests.
18264 (print_ulps_file): Likewise.
18265 (output_ulps): Likewise.
18266 * math/README.libm-test: Update.
18267 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18269 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18270 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18271 * sysdeps/arm/libm-test-ulps: Likewise.
18272 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18273 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18274 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18275 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18276 * sysdeps/microblaze/libm-test-ulps: Likewise.
18277 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18278 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18280 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18281 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18282 * sysdeps/sh/libm-test-ulps: Likewise.
18283 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18284 * sysdeps/tile/libm-test-ulps: Likewise.
18285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18287 2014-03-04 Joseph Myers <joseph@codesourcery.com>
18289 * math/libm-test.inc (print_complex_max_error): Check separately
18290 whether real and imaginary errors are within allowed range and
18291 pass 0 to print_complex_function_ulps instead of value within
18294 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18296 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18298 (get_handles_fopen): Likewise.
18299 (do_write_test): Likewise.
18301 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18303 * libio/fileops.c (do_ftell): Use cached offset when
18305 * libio/iofwide.c (do_ftell_wide): Likewise.
18306 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18308 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18311 * libio/libioP.h (get_file_offset): New function.
18312 * libio/fileops.c (get_file_offset): Likewise.
18313 (do_ftell): Likewise.
18314 (_IO_new_file_seekoff): Split out ftell logic.
18315 * libio/wfileops.c (do_ftell_wide): Likewise.
18316 (_IO_wfile_seekoff): Split out ftell logic.
18317 * libio/tst-ftell-active-handler.c: New test case.
18318 * libio/Makefile (tests): Add it.
18320 2014-03-03 Roland McGrath <roland@hack.frob.com>
18322 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18323 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18325 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18328 * nscd/connections.c (nscd_init): Call do_exit.
18329 (start_threads): Call do_exit and notify_parent.
18330 (begin_drop_privileges): Call do_exit.
18331 (finish_drop_privileges): Likewise.
18332 * nscd/selinux.c (preserve_capabilities): Likewise.
18333 (install_real_capabilities): Likewise.
18334 (nscd_selinux_enabled): Likewise.
18335 (avc_create_thread): Likewise.
18336 (avc_alloc_lock): Likewise.
18337 (nscd_avc_init): Likewise.
18338 * nscd/nscd.c (parent_fd): New static variable.
18339 (main): Create a pipe between parent and child processes.
18340 Skip closing parent_fd.
18341 (monitor_child): New function.
18342 (do_exit): Likewise.
18343 (notify_parent): Likewise.
18344 * nscd/nscd.h (notify_parent): Likewise.
18345 (do_exit): Likewise.
18347 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18349 * malloc/malloc.c (__libc_calloc): Revert last change.
18351 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18355 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18357 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18361 (__libc_ifunc_impl_list): Likewise.
18362 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18363 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18364 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18365 * string/strrchr.c: Define STRRCHR.
18367 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18369 * benchtest/bench-strtok.c (simple_strtok): Delete.
18370 (strtok_string): Use as benchmark.
18371 * string/strtok (STRTOK): New macro.
18373 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18375 * manual/threads.texi: Add header and standard comments to all
18378 * elf/dl-lookup.c (check_match): New function.
18379 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18380 (do_lookup_x): Remove nested function check_match. Use non-nested
18381 function check_match.
18383 2014-02-28 Roland McGrath <roland@hack.frob.com>
18385 * csu/Makefile (generated, before-compile): Use += rather than =.
18386 * catgets/Makefile (generated, generated-dirs): Likewise.
18387 * debug/Makefile (generated): Likewise.
18388 * dlfcn/Makefile (generated): Likewise.
18389 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18390 * iconvdata/Makefile (before-compile, generated): Likewise.
18391 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18392 * libio/Makefile (generated): Likewise.
18393 * malloc/Makefile (generated): Likewise.
18394 * manual/Makefile (generated, generated-dirs): Likewise.
18395 * misc/Makefile (generated): Likewise.
18396 * posix/Makefile (generated): Likewise.
18397 * resolv/Makefile (generated): Likewise.
18398 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18399 * timezone/Makefile (generated, generated-dirs): Likewise.
18401 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18403 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18406 power8 implementation.
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18408 file: POWER8 llround ifunc implementation.
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18410 (__lllround): Add POWER8 implementation.
18411 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18412 POWER8 llround implementation.
18414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18415 power8 implementation.
18416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18417 file: POWER8 llrint ifunc implementation.
18418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18419 Add POWER8 implementation.
18420 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18421 POWER8 llrint implementation.
18423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18424 power8 implementation.
18425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18426 file: POWER8 finite ifunc implementation.
18427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18428 Add POWER8 implementation.
18429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18431 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18432 POWER8 finite implementation.
18433 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18436 power8 implementation.
18437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18438 file: POWER8 isinf ifunc implementation.
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18440 POWER8 implementation.
18441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18443 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18444 isinf implementation.
18445 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18447 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18448 (INIT_ARCH): Add hwcap2 initialization.
18449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18450 power8 implementation.
18451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18452 file: POWER8 isnan ifunc implementation.
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18454 POWER8 implementation.
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18457 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18458 isnan implementation.
18459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18461 2014-02-27 Joey Ye <joey.ye@arm.com>
18463 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18464 (_FP_NANFRAC_Q): Set to zero.
18466 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18469 * math/auto-libm-test-in: New test inputs.
18470 * math/auto-libm-test-out: Regenerate.
18471 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18474 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18476 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18478 * scripts/evaluate-test.sh: Take new argument indicating whether
18479 failure is expected.
18480 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18481 indicating whether failure is expected.
18482 * conform/Makefile (test-xfail-run-conformtest): New variable.
18483 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18485 * posix/Makefile (test-xfail-annexc): New variable.
18486 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18488 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18490 * argp/Makefile: Include Makeconfig immediately after defining
18492 * assert/Makefile: Likewise.
18493 * benchtests/Makefile: Likewise.
18494 * catgets/Makefile: Likewise.
18495 * conform/Makefile: Likewise.
18496 * crypt/Makefile: Likewise.
18497 * csu/Makefile: Likewise.
18498 (all): Remove target.
18499 * ctype/Makefile: Include Makeconfig immediately after defining
18501 * debug/Makefile: Likewise.
18502 * dirent/Makefile: Likewise.
18503 * dlfcn/Makefile: Likewise.
18504 * gmon/Makefile: Likewise.
18505 * gnulib/Makefile: Likewise.
18506 * grp/Makefile: Likewise.
18507 * gshadow/Makefile: Likewise.
18508 * hesiod/Makefile: Likewise.
18509 * hurd/Makefile: Likewise.
18510 (all): Remove target.
18511 * iconvdata/Makefile: Include Makeconfig immediately after
18513 * inet/Makefile: Likewise.
18514 * intl/Makefile: Likewise.
18515 * io/Makefile: Likewise.
18516 * libio/Makefile: Likewise.
18517 (all): Remove target.
18518 * locale/Makefile: Include Makeconfig immediately after defining
18520 * login/Makefile: Likewise.
18521 * mach/Makefile: Likewise.
18522 (all): Remove target.
18523 * malloc/Makefile: Include Makeconfig immediately after defining
18525 (all): Remove target.
18526 * manual/Makefile: Include Makeconfig immediately after defining
18528 * math/Makefile: Likewise.
18529 * misc/Makefile: Likewise.
18530 * nis/Makefile: Likewise.
18531 * nss/Makefile: Likewise.
18532 * po/Makefile: Likewise.
18533 (all): Remove target.
18534 * posix/Makefile: Include Makeconfig immediately after defining
18536 * pwd/Makefile: Likewise.
18537 * resolv/Makefile: Likewise.
18538 * resource/Makefile: Likewise.
18539 * rt/Makefile: Likewise.
18540 * setjmp/Makefile: Likewise.
18541 * shadow/Makefile: Likewise.
18542 * signal/Makefile: Likewise.
18543 * socket/Makefile: Likewise.
18544 * soft-fp/Makefile: Likewise.
18545 * stdio-common/Makefile: Likewise.
18546 * stdlib/Makefile: Likewise.
18547 * streams/Makefile: Likewise.
18548 * string/Makefile: Likewise.
18549 * sunrpc/Makefile: Likewise.
18550 (all): Remove target.
18551 * sysvipc/Makefile: Include Makeconfig immediately after defining
18553 * termios/Makefile: Likewise.
18554 * time/Makefile: Likewise.
18555 * timezone/Makefile: Likewise.
18556 (all): Remove target.
18557 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18559 * wctype/Makefile: Likewise.
18561 2014-02-26 Steve Ellcey <sellcey@mips.com>
18563 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18564 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18565 (libc_feholdexcept_setround_mips): Ditto.
18566 (libc_feholdsetround): New.
18567 (libc_feholdsetroundf): New.
18568 (libc_feholdsetroundl): New.
18569 (libc_feupdateenv_test_mips): New.
18570 (libc_feupdateenv_test): New.
18571 (libc_feupdateenv_testf): New.
18572 (libc_feupdateenv_testl): New.
18573 (libc_feresetround): New.
18574 (libc_feresetroundf): New.
18575 (libc_feresetroundl): New.
18576 (libc_fetestexcept_mips): New.
18577 (libc_fetestexcept): New.
18578 (libc_fetestexceptf): New.
18579 (libc_fetestexceptl): New.
18580 (HAVE_RM_CTX): New.
18581 (libc_feholdexcept_setround_mips_ctx): New.
18582 (libc_feholdexcept_setround_ctx): New.
18583 (libc_feholdexcept_setroundf_ctx): New.
18584 (libc_feholdexcept_setroundl_ctx): New.
18585 (libc_fesetenv_mips_ctx): New.
18586 (libc_fesetenv_ctx): New.
18587 (libc_fesetenv_ctxf): New.
18588 (libc_fesetenv_ctxl): New.
18589 (libc_feupdateenv_mips_ctx): New.
18590 (libc_feupdateenv_ctx): New.
18591 (libc_feupdateenvf_ctx): New.
18592 (libc_feupdateenvl_ctx): New.
18593 (libc_feholdsetround_mips_ctx): New.
18594 (libc_feholdsetround_ctx): New.
18595 (libc_feholdsetroundf_ctx): New.
18596 (libc_feholdsetroundl_ctx): New.
18597 (libc_feresetround_mips_ctx): New.
18598 (libc_feresetround_ctx): New.
18599 (libc_feresetroundf_ctx): New.
18600 (libc_feresetroundl_ctx): New.
18602 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18604 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18606 * manual/ipc.texi: New file.
18607 * manual/Makefile (chapters): Add ipc.
18608 * manual/job.texi: Add "Inter-Process Communication" to next.
18609 * manual/process.texi: Add "Inter-Process Communication" to prev.
18611 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18615 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18617 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18619 * manual/arith.texi: Fix spaces after sentences.
18620 * manual/charset.texi: Likewise.
18621 * manual/errno.texi: Likewise.
18622 * manual/install.texi: Likewise.
18623 * manual/llio.texi: Likewise.
18624 * manual/locale.texi: Likewise.
18625 * manual/maint.texi: Likewise.
18626 * manual/math.texi: Likewise.
18627 * manual/memory.texi: Likewise.
18628 * manual/message.texi: Likewise.
18629 * manual/probes.texi: Likewise.
18630 * manual/resource.texi: Likewise.
18631 * manual/signal.texi: Likewise.
18632 * manual/socket.texi: Likewise.
18633 * manual/stdio.texi: Likewise.
18634 * manual/string.texi: Likewise.
18635 * manual/time.texi: Likewise.
18636 * manual/users.texi: Likewise.
18638 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18641 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18642 _DEFAULT_SOURCE is defined.
18644 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18645 Carlos O'Donell <carlos@redhat.com>
18648 * elf/dl-tls.c (_dl_count_modids): New function.
18649 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18650 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18651 audit library and increment generation counter.
18652 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18653 * elf/tst-audit9.c: New file.
18654 * elf/tst-auditmod9a.c: New file.
18655 * elf/tst-auditmod9b.c: New file.
18656 * elf/Makefile: Add rules to build and run tst-audit9.
18658 2014-02-25 Florian Weimer <fweimer@redhat.com>
18661 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18663 2014-02-25 Will Newton <will.newton@linaro.org>
18665 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18666 (__longjmp): Restore sp and lr before restoring callee
18667 saved registers. Add longjmp and longjmp_target
18668 SystemTap probe point.
18669 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18670 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18671 Define to zero to match jmpbuf layout.
18672 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18673 (__sigsetjmp): Save sp and lr before saving callee
18674 saved registers. Add setjmp SystemTap probe point.
18676 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18678 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18680 2014-02-24 Andreas Schwab <schwab@suse.de>
18683 * elf/pldd.c (wait_for_ptrace_stop): New function.
18684 (main): Call it after attaching.
18686 2014-02-22 Roland McGrath <roland@hack.frob.com>
18688 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18689 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18690 Versions files is now verboten.
18691 * hurd/Versions (libc: GLIBC_2.0):
18692 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18693 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18694 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18695 * mach/Versions: Likewise.
18697 * csu/Versions: Remove unused %include.
18698 * resolv/Versions: Likewise.
18700 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18702 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18703 ($(objpfx)check-local-headers.out): Likewise.
18704 ($(objpfx)begin-end-check.out): Likewise.
18705 * Makerules (check-abi-%.out): Likewise.
18706 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18707 ($(objpfx)test2.cat): Likewise.
18708 ($(objpfx)de/libc.cat): Likewise.
18709 ($(objpfx)test-gencat.out): Likewise.
18710 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18711 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18712 ($(objpfx)noload-mem): Likewise.
18713 ($(objpfx)tst-pathopt.out): Likewise.
18714 ($(objpfx)tst-rtld-load-self.out): Likewise.
18715 ($(objpfx)tst-array1-cmp.out): Likewise.
18716 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18717 ($(objpfx)tst-array2-cmp.out): Likewise.
18718 ($(objpfx)tst-array3-cmp.out): Likewise.
18719 ($(objpfx)tst-array4-cmp.out): Likewise.
18720 ($(objpfx)tst-array5-cmp.out): Likewise.
18721 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18722 ($(objpfx)check-textrel.out): Likewise.
18723 ($(objpfx)check-execstack.out): Likewise.
18724 ($(objpfx)check-localplt.out): Likewise.
18725 ($(objpfx)order2-cmp.out): Likewise.
18726 ($(objpfx)tst-leaks1-mem): Likewise.
18727 ($(objpfx)tst-leaks1-static-mem): Likewise.
18728 ($(objpfx)tst-initorder-cmp.out): Likewise.
18729 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18730 ($(objpfx)tst-unused-dep.out): Likewise.
18731 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18732 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18733 * iconv/Makefile (test-iconvconfig): Likewise.
18734 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18735 ($(objpfx)iconv-test.out): Likewise.
18736 ($(objpfx)tst-tables.out): Likewise.
18737 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18738 ($(objpfx)tst-gettext.out): Likewise.
18739 ($(objpfx)tst-translit.out): Likewise.
18740 ($(objpfx)tst-gettext2.out): Likewise.
18741 ($(objpfx)tst-gettext4.out): Likewise.
18742 ($(objpfx)tst-gettext6.out): Likewise.
18743 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18744 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18745 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18746 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18747 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18748 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18749 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18750 ($(objpfx)wordexp-tst.out): Likewise.
18751 ($(objpfx)annexc.out): Likewise.
18752 ($(objpfx)tst-fnmatch-mem): Likewise.
18753 ($(objpfx)bug-regex2-mem): Likewise.
18754 ($(objpfx)bug-regex14-mem): Likewise.
18755 ($(objpfx)bug-regex21-mem): Likewise.
18756 ($(objpfx)bug-regex31-mem): Likewise.
18757 ($(objpfx)tst-vfork3-mem): Likewise.
18758 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18759 ($(objpfx)tst-pcre-mem): Likewise.
18760 ($(objpfx)tst-boost-mem): Likewise.
18761 ($(objpfx)tst-getconf.out): Likewise.
18762 ($(objpfx)bug-ga2-mem): Likewise.
18763 ($(objpfx)bug-glob2-mem): Likewise.
18764 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18765 ($(objpfx)mtrace-tst-leaks2): Likewise.
18766 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18767 ($(objpfx)tst-printf.out): Likewise.
18768 ($(objpfx)tst-setvbuf1.out): Likewise.
18769 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18770 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18771 ($(objpfx)tst-fmtmsg.out): Likewise.
18772 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18773 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18775 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18776 * bits/sigaction.h [__USE_MISC]: Likewise.
18777 * bits/waitstatus.h: Update #endif comments.
18778 * ctype/ctype.h: Likewise.
18779 * dirent/dirent.h: Likewise.
18780 [__USE_MISC]: Remove redundant conditionals.
18781 * grp/grp.h: Update #endif comments.
18782 [__USE_GNU]: Remove redundant conditionals.
18783 [__USE_MISC]: Likewise.
18784 * inet/netinet/in.h [__USE_GNU]: Likewise.
18785 * io/sys/stat.h [__USE_MISC]: Likewise.
18786 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18787 * libio/bits/stdio.h: Update #endif comments.
18788 [__USE_MISC]: Remove redundant conditionals.
18789 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18790 * libio/stdio.h: Update #endif comments.
18791 [__USE_MISC]: Remove redundant conditionals.
18792 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18793 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18794 * math/math.h: Update #else and #endif comments.
18795 [__USE_MISC]: Remove redundant conditionals.
18796 * misc/sys/uio.h: Update #endif comments.
18797 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18798 * posix/glob.h [__USE_MISC]: Likewise.
18799 * posix/sys/types.h: Update #endif comments.
18800 [__USE_MISC]: Remove redundant conditionals.
18801 * posix/sys/wait.h: Update #endif comments.
18802 [__USE_MISC]: Remove redundant conditionals.
18803 * posix/unistd.h: Update #endif comments.
18804 [__USE_MISC]: Remove redundant conditionals.
18805 * pwd/pwd.h [__USE_GNU]: Likewise.
18806 [__USE_MISC]: Likewise.
18807 * resolv/netdb.h [__USE_GNU]: Likewise.
18808 * signal/signal.h: Update #endif comments.
18809 [__USE_MISC]: Remove redundant conditionals.
18810 * stdlib/stdlib.h: Update #else and #endif comments.
18811 [__USE_MISC]: Remove redundant conditionals.
18812 [__USE_GNU]: Likewise.
18813 * string/bits/string2.h [__USE_MISC]: Likewise.
18814 * string/string.h: Update #endif comments.
18815 [__USE_MISC]: Remove redundant conditionals.
18816 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18818 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18819 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18820 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18822 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18826 [__USE_MISC]: Remove redundant conditionals.
18827 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18828 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18829 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18830 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18831 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18833 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18834 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18836 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18837 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18839 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18841 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18842 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18844 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18846 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18847 * sysdeps/x86/bits/string.h: Update #endif comments.
18848 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18850 * time/sys/time.h: Update #endif comments.
18851 * time/time.h: Likewise.
18852 [__USE_MISC]: Remove redundant conditionals.
18854 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18857 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18859 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18861 * Versions.def (librt): Add GLIBC_2.17.
18863 2014-02-21 Adam Conrad <adconrad@0c3.net>
18865 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18866 synonym for _SYS_AUXV_H to allow direct inclusion.
18867 * sysdeps/sparc/bits/hwcap.h: Likewise.
18868 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18869 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18870 * sysdeps/sparc/sysdep.h: Likewise.
18872 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18874 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18876 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18878 * benchtests/bench-strrchr.c: Print length instead of position.
18880 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18883 * sysdeps/unix/sysv/linux/kernel-features.h
18884 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18885 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18886 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18887 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18889 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18890 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18891 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18892 (__ASSUME_SENDMMSG): Define instead of using previous
18893 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18894 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18895 (__ASSUME_SENDMMSG_SYSCALL): Define.
18896 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18897 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18900 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18902 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18903 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18906 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18907 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18908 [__ASSUME_SENDMMSG]: Change conditionals to
18909 [__ASSUME_SENDMMSG_SOCKETCALL].
18910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18911 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18913 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18914 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18916 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18917 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18918 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18919 [!__ASSUME_SENDMMSG]: Change conditional to
18920 [!__ASSUME_SENDMMSG_SOCKETCALL].
18921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18922 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18926 * sysdeps/unix/sysv/linux/kernel-features.h
18927 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18928 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18929 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18930 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18931 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18932 [__i386__ || __sparc__]
18933 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18934 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18935 (__ASSUME_RECVMMSG): Define instead of using previous
18936 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18937 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18938 (__ASSUME_RECVMMSG_SYSCALL): Define.
18939 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18940 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18942 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18943 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18945 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18946 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18948 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18949 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18950 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18951 [__ASSUME_RECVMMSG]: Change condition to
18952 [__ASSUME_RECVMMSG_SOCKETCALL].
18953 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18954 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18956 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18960 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18961 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18962 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18963 [!__ASSUME_RECVMMSG]: Change condition to
18964 [!__ASSUME_RECVMMSG_SOCKETCALL].
18965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18966 (__ASSUME_RECVMMSG_SYSCALL): Define.
18969 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18970 __powerpc__ || __s390__ || __sh__ || __sparc__]
18971 (__ASSUME_SOCKETCALL): Define.
18972 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18973 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18974 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18975 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18976 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18977 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18978 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18979 (__ASSUME_ACCEPT4): Define instead of using previous
18980 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18981 __powerpc__ || __sparc__ || __s390__)] condition.
18982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18983 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18984 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18985 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18986 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18987 [!__ASSUME_ACCEPT4]: Change condition to
18988 [!__ASSUME_ACCEPT4_SOCKETCALL].
18989 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18990 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18991 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18993 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18994 __ASSUME_ACCEPT4_SYSCALL.
18995 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18996 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18997 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18998 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18999 __ASSUME_ACCEPT4_SYSCALL.
19000 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19001 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19002 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19003 [__ASSUME_ACCEPT4]: Change condition to
19004 [__ASSUME_ACCEPT4_SOCKETCALL].
19005 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19006 (__ASSUME_SOCKETCALL): Define.
19007 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19009 (__ASSUME_SOCKETCALL): Define.
19010 (__ASSUME_ACCEPT4): Remove.
19011 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19013 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19014 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19016 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19017 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19019 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19021 (HWCAP_ARM_LPAE): Likewise.
19022 (HWCAP_ARM_EVTSTRM): Likewise.
19023 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19024 Add vpfd32, lpae and evtstrm.
19025 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19028 2014-02-19 Joseph Myers <joseph@codesourcery.com>
19030 * math/auto-libm-test-in: Add tests of clog10.
19031 * math/auto-libm-test-out: Regenerated.
19032 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19033 * sysdeps/i386/fpu/libm-test-ulps: Update.
19034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19036 2014-02-18 Andreas Schwab <schwab@suse.de>
19039 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19040 Store non-zero if the second buffer was newly allocated.
19041 (send_dg): Likewise.
19042 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19043 to send_vc and send_dg.
19044 (res_nsend): Pass NULL for ansp2_malloced.
19045 * resolv/res_query.c (__libc_res_nquery): Add parameter
19046 answerp2_malloced and pass it down to __libc_res_nsend.
19047 (res_nquery): Pass additional NULL to __libc_res_nquery.
19048 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19049 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
19050 second answer buffer if answerp2_malloced was set.
19051 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19052 (__libc_res_nquerydomain): Add parameter
19053 answerp2_malloced and pass it down to __libc_res_nquery.
19054 (res_nquerydomain): Pass additional NULL to
19055 __libc_res_nquerydomain.
19056 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19057 additional NULL to __libc_res_nsend and __libc_res_nquery.
19058 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19059 additional NULL to __libc_res_nsearch.
19060 (_nss_dns_gethostbyname4_r): Revert last change. Use new
19061 parameter of __libc_res_nsearch to check for separately allocated
19063 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19065 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19066 additional NULL to __libc_res_nquery.
19067 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19068 __libc_res_nsearch.
19069 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19070 * include/resolv.h: Update prototypes of __libc_res_nquery,
19071 __libc_res_nsearch, __libc_res_nsend.
19073 2014-02-18 Joseph Myers <joseph@codesourcery.com>
19075 * math/auto-libm-test-in: Add tests of fma.
19076 * math/auto-libm-test-out: Regenerated.
19077 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19078 (fma_towardzero_test_data): Likewise.
19079 (fma_downward_test_data): Likewise.
19080 (fma_upward_test_data): Likewise.
19081 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19083 (rounding_modes): Add values for new field.
19084 (func_calc_method): Add value mpfr_fff_f.
19085 (func_calc_desc): Add mpfr_fff_f union field.
19086 (test_function): Add field exact_args.
19087 (FUNC): Add macro argument EXACT_ARGS.
19088 (FUNC_mpfr_f_f): Update call to FUNC.
19089 (FUNC_mpfr_f_f): Likewise.
19090 (FUNC_mpfr_ff_f): Likewise.
19091 (FUNC_mpfr_if_f): Likewise.
19092 (FUNC_mpc_c_f): Likewise.
19093 (FUNC_mpc_c_c): Likewise.
19094 (test_functions): Add fma. Update calls to FUNC.
19095 (handle_input_arg): Add argument exact_args.
19096 (add_test): Update call to handle_input_arg.
19097 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
19098 (output_for_one_input_case): Update call to calc_generic_results.
19099 Recalculate exact zero results in each rounding mode.
19101 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19102 non-negative before setting low bit.
19103 * math/auto-libm-test-in: Mark one asin test possibly having
19104 spurious underflow.
19105 * math/auto-libm-test-out: Regenerated.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19109 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
19111 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19112 * sysdeps/unix/sysv/linux/microblaze: Move directory from
19113 ports/sysdeps/unix/sysv/linux/microblaze.
19114 * README: Add missing listing for microblaze*-*-linux-gnu.
19116 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
19118 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19121 2014-02-16 Mike Frysinger <vapier@gentoo.org>
19123 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19124 * sysdeps/unix/sysv/linux/ia64: Move directory from
19125 ports/sysdeps/unix/sysv/linux/ia64.
19126 * README: Update listing for ia64-*-linux-gnu.
19128 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
19129 Joseph Myers <joseph@codesourcery.com>
19131 * Makeconfig (test-name): New variable.
19132 (evaluate-test): Likewise.
19133 * Makerules (do-test-clean): Remove .test-result files.
19134 (common-mostlyclean): Likewise.
19135 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19136 * scripts/evaluate-test.sh: New file.
19138 2014-02-14 Joseph Myers <joseph@codesourcery.com>
19140 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19141 separate $(objpfx)tst-fopenloc-cmp.out and
19142 $(objpfx)tst-fopenloc-mem.out targets.
19143 (tests): Update dependencies.
19144 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19145 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19146 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19147 (tst-rxspencer-no-utf8-ARGS): New variable.
19148 (tst-rxspencer-no-utf8-ENV): Likewise.
19149 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19150 instead of $(objpfx)tst-rxspencer-mem.
19151 ($(objpfx)tst-rxspencer-mem): Change target to
19152 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19153 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19154 * posix/tst-rxspencer-no-utf8.c: New file.
19156 * elf/Makefile ($(objpfx)order.out): Remove rule.
19157 [$(run-built-tests) = yes] (tests): Depend on
19158 $(objpfx)order-cmp.out.
19159 ($(objpfx)order-cmp.out): New rule.
19160 [$(run-built-tests) = yes] (tests): Depend on
19161 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19162 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19163 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19164 $(objpfx)tst-array5-static-cmp.out.
19165 ($(objpfx)tst-array1.out): Remove rule.
19166 ($(objpfx)tst-array1-cmp.out): New rule.
19167 ($(objpfx)tst-array1-static.out): Remove rule.
19168 ($(objpfx)tst-array1-static-cmp.out): New rule.
19169 ($(objpfx)tst-array2.out): Remove rule.
19170 ($(objpfx)tst-array2-cmp.out): New rule.
19171 ($(objpfx)tst-array3.out): Remove rule.
19172 ($(objpfx)tst-array3-cmp.out): New rule.
19173 ($(objpfx)tst-array4.out): Remove rule.
19174 ($(objpfx)tst-array4-cmp.out): New rule.
19175 ($(objpfx)tst-array5.out): Remove rule.
19176 ($(objpfx)tst-array5-cmp.out): New rule.
19177 ($(objpfx)tst-array5-static.out): Remove rule.
19178 ($(objpfx)tst-array5-static-cmp.out): New rule.
19179 [$(run-built-tests) = yes] (tests): Depend on
19180 $(objpfx)order2-cmp.out.
19181 ($(objpfx)order2.out): Remove rule.
19182 ($(objpfx)order2-cmp.out): New rule.
19183 ($(objpfx)tst-initorder.out): Remove rule.
19184 [$(run-built-tests) = yes] (tests): Depend on
19185 $(objpfx)tst-initorder-cmp.out.
19186 ($(objpfx)tst-initorder-cmp.out): New rule.
19187 ($(objpfx)tst-initorder2.out): Remove rule.
19188 [$(run-built-tests) = yes] (tests): Depend on
19189 $(objpfx)tst-initorder2-cmp.out.
19190 ($(objpfx)tst-initorder2-cmp.out): New rule.
19191 [$(run-built-tests) = yes] (tests): Depend on
19192 $(objpfx)tst-unused-dep-cmp.out.
19193 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19194 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19195 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19196 on $(objpfx)tst-setvbuf1-cmp.out.
19197 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19198 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19199 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19200 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19201 ($(objpfx)tst-svc.out): Remove rule.
19202 ($(objpfx)tst-svc-cmp.out): New rule.
19204 2014-02-13 Joseph Myers <joseph@codesourcery.com>
19206 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19207 * ctype/ctype.h [__USE_MISC]: Likewise.
19208 * dirent/dirent.h [__USE_MISC]: Likewise.
19209 * grp/grp.h [__USE_MISC]: Likewise.
19210 * io/fcntl.h [__USE_MISC]: Likewise.
19211 * io/sys/stat.h [__USE_MISC]: Likewise.
19212 * libio/stdio.h [__USE_MISC]: Likewise.
19213 * posix/unistd.h [__USE_MISC]: Likewise.
19214 * pwd/pwd.h [__USE_MISC]: Likewise.
19215 * stdlib.h [__USE_MISC]: Likewise.
19216 * string/bits/string2.h [__USE_MISC]: Likewise.
19217 * string/string.h [__USE_MISC]: Likewise.
19218 * time/time.h [__USE_MISC]: Likewise.
19220 2014-02-13 Andreas Schwab <schwab@suse.de>
19223 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19224 second answer buffer if it was separately allocated.
19226 2014-02-12 Joseph Myers <joseph@codesourcery.com>
19228 * sysdeps/mips/math-tests.h: Include <features.h>.
19229 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19230 (ROUNDING_TESTS_long_double): Do not define.
19231 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19232 (EXCEPTION_TESTS_long_double): Likewise.
19233 * sysdeps/mips/mips64/libm-test-ulps: Update.
19235 * include/features.h (__USE_BSD): Remove macro definitions.
19236 (__USE_SVID): Likewise.
19237 (_BSD_SOURCE): Likewise.
19238 (_SVID_SOURCE): Likewise.
19239 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19240 from definition of _DEFAULT_SOURCE.
19241 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19243 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19244 * bits/mman.h [__USE_BSD]: Likewise.
19245 * bits/termios.h [__USE_BSD]: Likewise.
19246 * bits/waitstatus.h [__USE_BSD]: Likewise.
19247 * ctype/ctype.h [__USE_SVID]: Likewise.
19248 * dirent/dirent.h [__USE_BSD]: Likewise.
19249 * grp/grp.h [__USE_SVID]: Likewise.
19250 [__USE_BSD]: Likewise.
19251 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19252 * io/fcntl.h [__USE_BSD]: Likewise.
19253 * io/ftw.h [__USE_BSD]: Likewise.
19254 * io/sys/stat.h [__USE_BSD]: Likewise.
19255 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19256 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19257 * libio/stdio.h [__USE_SVID]: Likewise.
19258 [__USE_BSD]: Likewise.
19259 * math/math.h [__USE_SVID]: Likewise.
19260 [__USE_BSD]: Likewise.
19261 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19262 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19263 * misc/search.h [__USE_SVID]: Likewise.
19264 * misc/sys/mman.h [__USE_BSD]: Likewise.
19265 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19266 * misc/sys/uio.h [__USE_BSD]: Likewise.
19267 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19268 * posix/glob.h [__USE_BSD]: Likewise.
19269 * posix/regex.h [__USE_BSD]: Likewise.
19270 * posix/sys/types.h [__USE_BSD]: Likewise.
19271 [__USE_SVID]: Likewise.
19272 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19273 * posix/sys/wait.h [__USE_BSD]: Likewise.
19274 [__USE_SVID]: Likewise.
19275 * posix/unistd.h [__USE_BSD]: Likewise.
19276 [__USE_SVID]: Likewise.
19277 * pwd/pwd.h [__USE_SVID]: Likewise.
19278 * resolv/netdb.h [__USE_BSD]: Likewise.
19279 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19280 * signal/signal.h [__USE_BSD]: Likewise.
19281 [__USE_SVID]: Likewise.
19282 * socket/sys/socket.h [__USE_BSD]: Likewise.
19283 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19284 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19285 [__USE_SVID]: Likewise.
19286 * string/bits/string2.h [__USE_BSD]: Likewise.
19287 [__USE_SVID]: Likewise.
19288 * string/bits/string3.h [__USE_BSD]: Likewise.
19289 * string/endian.h [__USE_BSD]: Likewise.
19290 * string/string.h [__USE_SVID]: Likewise.
19291 [__USE_BSD]: Likewise.
19292 * string/strings.h [__USE_BSD]: Likewise.
19293 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19294 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19295 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19296 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19297 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19298 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19302 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19303 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19305 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19306 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19308 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19310 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19311 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19312 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19314 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19316 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19317 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19318 * termios/termios.h [__USE_BSD]: Likewise.
19319 * time/sys/time.h [__USE_BSD]: Likewise.
19320 * time/time.h [__USE_BSD]: Likewise.
19321 [__USE_SVID]: Likewise.
19323 * Makefile (subdir_targets): Remove subdir_lint.out.
19325 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19326 (do-tst-printf): Likewise.
19327 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19328 $(objpfx)tst-printf.out.
19330 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19332 * Makerules (check-abi-%): Change target to
19333 $(objpfx)check-abi-%.out.
19334 (check-abi target): Update dependencies.
19335 (check-abi-pattern variable): Redirect output of diff to $@.
19336 (check-abi variable): Likewise.
19337 * elf/Makefile (check-abi): Update dependencies.
19339 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19341 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19342 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19344 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19345 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19346 value has largest subnormal exponent.
19347 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19348 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19349 * sysdeps/aarch64/soft-fp/sfp-machine.h
19350 (_FP_TININESS_AFTER_ROUNDING): New macro.
19351 * sysdeps/alpha/soft-fp/sfp-machine.h
19352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19353 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19355 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19356 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19357 * sysdeps/mips/soft-fp/sfp-machine.h
19358 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19359 * sysdeps/powerpc/soft-fp/sfp-machine.h
19360 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19361 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19363 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19364 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19365 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19366 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19367 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19370 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19373 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19376 2014-02-12 Richard Henderson <rth@redhat.com>
19378 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19379 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19380 * sysdeps/unix/sysv/linux/alpha: Move directory from
19381 ports/sysdeps/unix/sysv/linux/alpha.
19382 * README: Update listing for alpha-*-linux-gnu.
19384 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19386 * include/features.h: Update comment documenting feature test
19388 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19390 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19391 (_SVID_SOURCE): Likewise.
19392 (_DEFAULT_SOURCE): Update description of default features.
19393 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19395 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19396 (S_ISVTX): Likewise.
19397 * manual/math.texi (Mathematical Constants): Likewise.
19398 * manual/signal.texi (Interrupted Primitives): Likewise.
19399 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19400 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19401 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19402 Don't refer to _SVID_SOURCE in warning text.
19404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19406 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19408 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19409 * sysdeps/mips/dl-lookup.c: Remove.
19410 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19412 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19415 * math/auto-libm-test-in: Add testcase for expl.
19416 * math/auto-libm-test-out: Regenerate.
19417 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19418 calculation of unsafe.
19419 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19421 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19423 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19424 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19425 ports/sysdeps/unix/sysv/linux/aarch64.
19426 * README: Update listing for aarch64*-*-linux-gnu.
19428 2014-02-11 Will Newton <will.newton@linaro.org>
19430 * manual/probes.texi (Mathematical Function Probes): Use
19431 "triggered" instead of "hit".
19433 * manual/probes.texi (Internal Probes): Add documentation
19434 of setjmp, longjmp and longjmp_target probes.
19436 * include/stap-probe.h: Add comment about probe argument
19439 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19440 definition. (tr_where, tr_freehook, tr_mallochook,
19441 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19443 2014-02-11 David S. Miller <davem@davemloft.net>
19445 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19446 processing int_tests.
19448 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19450 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19451 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19452 * sysdeps/unix/sysv/linux/mips: Move directory from
19453 ports/sysdeps/unix/sysv/linux/mips.
19454 * README: Update listing for mips-*-linux-gnu and
19455 mips64-*-linux-gnu.
19457 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19459 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19460 * sysdeps/unix/sysv/linux/m68k: Move directory from
19461 ports/sysdeps/unix/sysv/linux/m68k.
19462 * README: Update listing for m68k-*-linux-gnu.
19464 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19466 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19467 * sysdeps/unix/sysv/linux/generic: Move directory from
19468 ports/sysdeps/unix/sysv/linux/generic.
19469 * sysdeps/unix/sysv/linux/tile: Move directory from
19470 ports/sysdeps/unix/sysv/linux/tile.
19471 * README: Update listing for tile*-*-linux-gnu.
19473 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19475 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19477 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19478 * catgets/open_catalog.c (__open_catalog): Likewise.
19479 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19480 * debug/confstr_chk.c: Likewise.
19481 * debug/fread_chk.c (__fread_chk): Likewise.
19482 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19483 * debug/getgroups_chk.c: Likewise.
19484 * debug/mbsnrtowcs_chk.c: Likewise.
19485 * debug/mbsrtowcs_chk.c: Likewise.
19486 * debug/mbstowcs_chk.c: Likewise.
19487 * debug/memcpy_chk.c: Likewise.
19488 * debug/memmove_chk.c: Likewise.
19489 * debug/mempcpy_chk.c: Likewise.
19490 * debug/memset_chk.c: Likewise.
19491 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19492 * debug/strcat_chk.c (__strcat_chk): Likewise.
19493 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19494 * debug/strncat_chk.c (__strncat_chk): Likewise.
19495 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19496 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19497 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19498 * debug/wcpncpy_chk.c: Likewise.
19499 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19500 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19501 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19502 * debug/wcsncpy_chk.c: Likewise.
19503 * debug/wcsnrtombs_chk.c: Likewise.
19504 * debug/wcsrtombs_chk.c: Likewise.
19505 * debug/wcstombs_chk.c: Likewise.
19506 * debug/wmemcpy_chk.c: Likewise.
19507 * debug/wmemmove_chk.c: Likewise.
19508 * debug/wmempcpy_chk.c: Likewise.
19509 * debug/wmemset_chk.c: Likewise.
19510 * dirent/scandirat.c (SCANDIRAT): Likewise.
19511 * dlfcn/dladdr1.c (dladdr1): Likewise.
19512 * dlfcn/dladdr.c (dladdr): Likewise.
19513 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19514 * dlfcn/dlerror.c (__dlerror): Likewise.
19515 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19516 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19517 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19518 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19519 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19520 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19521 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19522 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19524 * elf/dl-conflict.c: Likewise.
19525 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19526 * elf/dl-dst.h: Likewise.
19527 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19528 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19529 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19530 * elf/dl-init.c (call_init, _dl_init): Likewise.
19531 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19532 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19533 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19535 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19537 * elf/dl-minimal.c (__libc_memalign): Likewise.
19538 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19539 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19540 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19541 * elf/dl-sym.c (do_sym): Likewise.
19542 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19543 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19544 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19545 * elf/dl-writev.h (_dl_writev): Likewise.
19546 * elf/ldconfig.c (search_dir): Likewise.
19547 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19548 (dl_main): Likewise.
19549 * elf/setup-vdso.h (setup_vdso): Likewise.
19550 * grp/compat-initgroups.c (compat_call): Likewise.
19551 * grp/fgetgrent.c (fgetgrent): Likewise.
19552 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19553 * grp/putgrent.c (putgrent): Likewise.
19554 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19556 * hurd/hurdinit.c: Likewise.
19557 * iconvdata/8bit-gap.c (struct): Likewise.
19558 * iconvdata/ansi_x3.110.c : Likewise.
19559 * iconvdata/big5.c : Likewise.
19560 * iconvdata/big5hkscs.c : Likewise.
19561 * iconvdata/cp1255.c: Likewise.
19562 * iconvdata/cp1258.c : Likewise.
19563 * iconvdata/cp932.c : Likewise.
19564 * iconvdata/euc-cn.c: Likewise.
19565 * iconvdata/euc-jisx0213.c : Likewise.
19566 * iconvdata/euc-jp.c: Likewise.
19567 * iconvdata/euc-jp-ms.c : Likewise.
19568 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19569 * iconvdata/gb18030.c : Likewise.
19570 * iconvdata/gbbig5.c (const): Likewise.
19571 * iconvdata/gbgbk.c: Likewise.
19572 * iconvdata/gbk.c : Likewise.
19573 * iconvdata/ibm1364.c : Likewise.
19574 * iconvdata/ibm930.c : Likewise.
19575 * iconvdata/ibm932.c: Likewise.
19576 * iconvdata/ibm933.c : Likewise.
19577 * iconvdata/ibm935.c : Likewise.
19578 * iconvdata/ibm937.c : Likewise.
19579 * iconvdata/ibm939.c : Likewise.
19580 * iconvdata/ibm943.c: Likewise.
19581 * iconvdata/iso_11548-1.c: Likewise.
19582 * iconvdata/iso-2022-cn.c : Likewise.
19583 * iconvdata/iso-2022-cn-ext.c : Likewise.
19584 * iconvdata/iso-2022-jp-3.c: Likewise.
19585 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19586 * iconvdata/iso-2022-kr.c : Likewise.
19587 * iconvdata/iso646.c (gconv_end): Likewise.
19588 * iconvdata/iso_6937-2.c : Likewise.
19589 * iconvdata/iso_6937.c : Likewise.
19590 * iconvdata/iso8859-1.c: Likewise.
19591 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19592 * iconvdata/shift_jisx0213.c : Likewise.
19593 * iconvdata/sjis.c : Likewise.
19594 * iconvdata/t.61.c : Likewise.
19595 * iconvdata/tcvn5712-1.c : Likewise.
19596 * iconvdata/tscii.c: Likewise.
19597 * iconvdata/uhc.c : Likewise.
19598 * iconvdata/unicode.c (gconv_end): Likewise.
19599 * iconvdata/utf-16.c (gconv_end): Likewise.
19600 * iconvdata/utf-32.c (gconv_end): Likewise.
19601 * iconvdata/utf-7.c (base64): Likewise.
19602 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19603 * iconv/gconv_close.c (__gconv_close): Likewise.
19604 * iconv/gconv_open.c (__gconv_open): Likewise.
19605 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19606 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19607 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19608 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19609 (ucs4le_internal_loop_single): Likewise.
19610 * iconv/iconv.c (iconv): Likewise.
19611 * iconv/iconv_close.c: Likewise.
19612 * iconv/loop.c (SINGLE): Likewise.
19613 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19614 * include/atomic.h: Likewise.
19615 * inet/inet6_option.c (option_alloc): Likewise.
19616 * intl/bindtextdom.c (set_binding_values): Likewise.
19617 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19618 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19619 * intl/localealias.c (read_alias_file): Likewise.
19620 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19621 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19622 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19623 * libio/fmemopen.c (fmemopen): Likewise.
19624 * libio/iofgets.c (_IO_fgets): Likewise.
19625 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19626 * libio/iofgetws.c (fgetws): Likewise.
19627 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19628 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19629 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19630 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19631 * locale/findlocale.c (_nl_find_locale): Likewise.
19632 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19633 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19635 * locale/setlocale.c (setlocale): Likewise.
19636 * login/programs/pt_chown.c (main): Likewise.
19637 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19638 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19639 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19640 (mmap, mmap64, mremap, munmap): Likewise.
19641 * math/e_exp2l.c: Likewise.
19642 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19643 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19644 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19645 * math/s_catan.c (__catan): Likewise.
19646 * math/s_catanf.c (__catanf): Likewise.
19647 * math/s_catanh.c (__catanh): Likewise.
19648 * math/s_catanhf.c (__catanhf): Likewise.
19649 * math/s_catanhl.c (__catanhl): Likewise.
19650 * math/s_catanl.c (__catanl): Likewise.
19651 * math/s_ccosh.c (__ccosh): Likewise.
19652 * math/s_ccoshf.c (__ccoshf): Likewise.
19653 * math/s_ccoshl.c (__ccoshl): Likewise.
19654 * math/s_cexp.c (__cexp): Likewise.
19655 * math/s_cexpf.c (__cexpf): Likewise.
19656 * math/s_cexpl.c (__cexpl): Likewise.
19657 * math/s_clog10.c (__clog10): Likewise.
19658 * math/s_clog10f.c (__clog10f): Likewise.
19659 * math/s_clog10l.c (__clog10l): Likewise.
19660 * math/s_clog.c (__clog): Likewise.
19661 * math/s_clogf.c (__clogf): Likewise.
19662 * math/s_clogl.c (__clogl): Likewise.
19663 * math/s_csin.c (__csin): Likewise.
19664 * math/s_csinf.c (__csinf): Likewise.
19665 * math/s_csinh.c (__csinh): Likewise.
19666 * math/s_csinhf.c (__csinhf): Likewise.
19667 * math/s_csinhl.c (__csinhl): Likewise.
19668 * math/s_csinl.c (__csinl): Likewise.
19669 * math/s_csqrt.c (__csqrt): Likewise.
19670 * math/s_csqrtf.c (__csqrtf): Likewise.
19671 * math/s_csqrtl.c (__csqrtl): Likewise.
19672 * math/s_ctan.c (__ctan): Likewise.
19673 * math/s_ctanf.c (__ctanf): Likewise.
19674 * math/s_ctanh.c (__ctanh): Likewise.
19675 * math/s_ctanhf.c (__ctanhf): Likewise.
19676 * math/s_ctanhl.c (__ctanhl): Likewise.
19677 * math/s_ctanl.c (__ctanl): Likewise.
19678 * math/w_pow.c: Likewise.
19679 * math/w_powf.c: Likewise.
19680 * math/w_powl.c: Likewise.
19681 * math/w_scalb.c (sysv_scalb): Likewise.
19682 * math/w_scalbf.c (sysv_scalbf): Likewise.
19683 * math/w_scalbl.c (sysv_scalbl): Likewise.
19684 * misc/error.c (error_tail): Likewise.
19685 * misc/pselect.c (__pselect): Likewise.
19686 * nis/nis_callback.c (__nis_create_callback): Likewise.
19687 * nis/nis_call.c (__nisfind_server): Likewise.
19688 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19689 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19690 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19691 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19692 * nis/nis_lookup.c (nis_lookup): Likewise.
19693 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19694 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19695 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19696 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19697 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19698 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19699 * nis/nss_compat/compat-initgroups.c (add_group)
19700 (internal_getgrent_r): Likewise.
19701 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19702 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19703 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19704 (internal_getspnam_r): Likewise.
19705 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19706 (_nss_nis_getaliasbyname_r): Likewise.
19707 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19708 (_nss_nis_getntohost_r): Likewise.
19709 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19710 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19711 (_nss_nis_getgrgid_r): Likewise.
19712 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19713 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19714 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19715 (_nss_nis_gethostbyname4_r): Likewise.
19716 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19717 (initgroups_netid): Likewise.
19718 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19719 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19720 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19721 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19722 (_nss_nis_getprotobynumber_r): Likewise.
19723 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19724 (_nss_nis_getsecretkey): Likewise.
19725 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19726 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19727 (_nss_nis_getpwuid_r): Likewise.
19728 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19729 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19730 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19731 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19732 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19733 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19734 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19736 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19737 (_nss_nisplus_getntohost_r): Likewise.
19738 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19739 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19740 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19741 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19743 * nis/nss_nisplus/nisplus-initgroups.c
19744 (_nss_nisplus_initgroups_dyn): Likewise.
19745 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19746 (_nss_nisplus_getnetbyaddr_r): Likewise.
19747 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19748 (_nss_nisplus_getprotobynumber_r): Likewise.
19749 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19750 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19751 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19753 * nis/nss_nisplus/nisplus-service.c
19754 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19755 (_nss_nisplus_getservbyport_r): Likewise.
19756 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19757 (_nss_nisplus_getspnam_r): Likewise.
19758 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19760 * nscd/aicache.c (addhstaiX): Likewise.
19761 * nscd/cache.c (cache_search, prune_cache): Likewise.
19762 * nscd/connections.c (register_traced_file, send_ro_fd)
19763 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19764 (main_loop_epoll): Likewise.
19765 * nscd/grpcache.c (addgrbyX): Likewise.
19766 * nscd/hstcache.c (addhstbyX): Likewise.
19767 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19768 * nscd/mem.c (gc, mempool_alloc): Likewise.
19769 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19770 (addinnetgrX): Likewise.
19771 * nscd/nscd-client.h (__nscd_acquire_maplock)
19772 (__nscd_drop_map_ref): Likewise.
19773 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19774 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19775 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19777 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19779 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19780 (__nscd_get_map_ref): Likewise.
19781 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19782 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19784 * nscd/pwdcache.c (addpwbyX): Likewise.
19785 * nscd/selinux.c (preserve_capabilities): Likewise.
19786 * nscd/servicescache.c (addservbyX): Likewise.
19787 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19788 * posix/fnmatch.c (fnmatch): Likewise.
19789 * posix/getopt.c (_getopt_internal_r): Likewise.
19790 * posix/glob.c (glob, glob_in_dir): Likewise.
19791 * posix/wordexp.c (exec_comm_child): Likewise.
19792 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19793 (getanswer_r, gaih_getanswer_slice): Likewise.
19794 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19795 * resolv/res_init.c: Likewise.
19796 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19797 * resolv/res_query.c (__libc_res_nquery): Likewise.
19798 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19800 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19801 * stdio-common/perror.c (perror): Likewise.
19802 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19803 * stdio-common/tmpnam.c (tmpnam): Likewise.
19804 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19805 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19806 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19808 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19809 * stdlib/putenv.c (putenv): Likewise.
19810 * stdlib/setenv.c (__add_to_environ): Likewise.
19811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19812 * stdlib/strtol_l.c (INTERNAL): Likewise.
19813 * string/memmem.c (memmem): Likewise.
19814 * string/strerror.c (strerror): Likewise.
19815 * string/strnlen.c (__strnlen): Likewise.
19816 * string/test-memmem.c (simple_memmem): Likewise.
19817 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19818 * sunrpc/pm_getport.c (__get_socket): Likewise.
19819 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19820 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19821 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19822 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19824 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19826 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19827 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19828 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19829 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19831 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19833 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19834 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19835 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19836 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19837 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19839 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19840 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19841 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19842 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19843 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19844 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19846 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19848 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19850 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19853 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19854 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19855 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19856 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19857 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19860 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19861 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19865 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19867 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19869 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19871 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19875 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19877 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19878 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19879 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19880 * sysdeps/posix/sleep.c: Likewise.
19881 * sysdeps/posix/tempname.c: Likewise.
19882 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19883 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19885 * sysdeps/powerpc/powerpc32/dl-machine.h
19886 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19889 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19890 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19892 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19893 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19894 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19895 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19896 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19897 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19898 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19899 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19901 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19903 (elf_machine_lazy_rel): Likewise.
19904 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19906 (elf_machine_lazy_rel): Likewise.
19907 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19908 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19909 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19910 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19911 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19912 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19913 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19914 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19916 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19917 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19918 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19919 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19920 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19922 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19923 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19924 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19925 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19926 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19928 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19929 (__posix_fallocate64_l64): Likewise.
19930 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19931 (posix_fallocate): Likewise.
19932 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19935 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19936 (getifaddrs_internal): Likewise.
19937 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19938 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19939 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19940 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19941 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19942 (__posix_fallocate64_l64): Likewise.
19943 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19945 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19946 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19947 (__get_clockfreq): Likewise.
19948 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19949 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19950 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19951 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19953 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19954 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19955 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19957 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19958 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19959 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19961 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19962 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19963 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19965 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19966 (posix_fallocate): Likewise.
19967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19968 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19969 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19970 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19971 (elf_machine_rela, elf_machine_rela_relative)
19972 (elf_machine_lazy_rel): Likewise.
19973 * time/asctime.c (asctime_internal): Likewise.
19974 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19975 * time/tzset.c (__tzset_parse_tz): Likewise.
19976 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19977 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19978 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19979 * wcsmbs/wcsmbsload.h: Likewise.
19982 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19984 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19985 (arena_get2): Remove THREAD_STATS conditionals.
19986 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19987 (__malloc_stats, int): Likewise.
19989 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19991 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19992 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19994 * manual/setjmp.texi: Fix typos/grammar errors.
19996 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19997 Only return early when n is <= 0. Delete unused return statement.
19999 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20000 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20001 * debug/tst-longjmp_chk3.c: New file.
20003 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20004 (test_main): Replace code with set_fortify_handler call.
20005 * debug/test-strcpy_chk.c: Likewise.
20006 * debug/tst-chk1.c: Likewise.
20007 * debug/tst-longjmp_chk.c: Likewise.
20008 * test-skeleton.c: Include fcntl.h & paths.h
20009 (set_fortify_handler): Define.
20011 * debug/tst-longjmp_chk.c: Add header comment and include
20012 ../test-skeleton.c.
20013 (do_test): Mark static.
20014 (TEST_FUNCTION): Define.
20016 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20017 (IP_PMTUDISC_INTERFACE): Likewise.
20018 (IP_MULTICAST_IF): Likewise.
20019 (IP_MULTICAST_TTL): Likewise.
20020 (IP_MULTICAST_LOOP): Likewise.
20021 (IP_ADD_MEMBERSHIP): Likewise.
20022 (IP_DROP_MEMBERSHIP): Likewise.
20023 (IP_UNBLOCK_SOURCE): Likewise.
20024 (IP_BLOCK_SOURCE): Likewise.
20025 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20026 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20027 (IP_MSFILTER): Likewise.
20028 (MCAST_JOIN_GROUP): Likewise.
20029 (MCAST_BLOCK_SOURCE): Likewise.
20030 (MCAST_UNBLOCK_SOURCE): Likewise.
20031 (MCAST_LEAVE_GROUP): Likewise.
20032 (MCAST_JOIN_SOURCE_GROUP): Likewise.
20033 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20034 (MCAST_MSFILTER): Likewise.
20035 (IP_MULTICAST_ALL): Likewise.
20036 (IP_UNICAST_IF): Likewise.
20038 * timezone/Makefile: Delete $(have-ksh) check.
20039 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20040 * timezone/tzselect.ksh: Add +x mode bits.
20042 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20043 (ANON_INODE_FS_MAGIC): Likewise.
20044 (BDEVFS_MAGIC): Likewise.
20045 (BINFMTFS_MAGIC): Likewise.
20046 (BTRFS_TEST_MAGIC): Likewise.
20047 (CRAMFS_MAGIC_WEND): Likewise.
20048 (DEBUGFS_MAGIC): Likewise.
20049 (ECRYPTFS_SUPER_MAGIC): Likewise.
20050 (EXT3_SUPER_MAGIC): Likewise.
20051 (EXT4_SUPER_MAGIC): Likewise.
20052 (FUTEXFS_SUPER_MAGIC): Likewise.
20053 (HOSTFS_SUPER_MAGIC): Likewise.
20054 (HUGETLBFS_MAGIC): Likewise.
20055 (MINIX3_SUPER_MAGIC): Likewise.
20056 (MTD_INODE_FS_MAGIC): Likewise.
20057 (NILFS_SUPER_MAGIC): Likewise.
20058 (OPENPROM_SUPER_MAGIC): Likewise.
20059 (PIPEFS_MAGIC): Likewise.
20060 (PSTOREFS_MAGIC): Likewise.
20061 (QNX6_SUPER_MAGIC): Likewise.
20062 (RAMFS_MAGIC): Likewise.
20063 (REISERFS_SUPER_MAGIC_STRING): Likewise.
20064 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20065 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20066 (SECURITYFS_MAGIC): Likewise.
20067 (SELINUX_MAGIC): Likewise.
20068 (SMACK_MAGIC): Likewise.
20069 (SOCKFS_MAGIC): Likewise.
20070 (SQUASHFS_MAGIC): Likewise.
20071 (STACK_END_MAGIC): Likewise.
20072 (TMPFS_MAGIC): Likewise.
20073 (USBDEVICE_SUPER_MAGIC): Likewise.
20074 (V9FS_MAGIC): Likewise.
20075 (XENFS_SUPER_MAGIC): Likewise.
20076 (CRAMFS_MAGIC): Fix typo in comment.
20077 (EXT2_SUPER_MAGIC): Update comment.
20078 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20080 2014-02-08 Joseph Myers <joseph@codesourcery.com>
20082 * sysdeps/arm: Move directory from ports/sysdeps/arm.
20083 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20084 * sysdeps/unix/sysv/linux/arm: Move directory from
20085 ports/sysdeps/unix/sysv/linux/arm.
20086 * README: Update listing for arm-*-linux-gnueabi.
20088 * README: Remove mention of am33.
20090 2014-02-07 Roland McGrath <roland@hack.frob.com>
20092 * bits/sigset.h (__sigemptyset): Use a statement expression rather
20093 than the comma operator, to avoid "rhs of comma has no effect"
20095 (__sigfillset, __sigandset, __sigorset): Likewise.
20096 * include/signal.h (__sigemptyset): Likewise.
20097 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20099 2014-02-07 Allan McRae <allan@archlinux.org>
20101 * version.h (RELEASE): Set to "development".
20102 (VERSION): Set to "2.19.90"
20103 * NEWS: Add 2.20 section.
20105 2014-02-06 Carlos O'Donell <carlos@redhat.com>
20108 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20110 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20112 * manual/contrib.texi: Update entry for Carlos O'Donell,
20113 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20115 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
20117 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20119 * sysdeps/unix/sysv/linux/kernel-features.h
20120 [__LINUX_KERNEL_VERSION >= 0x020621]
20121 (__ASSUME_PROC_PID_TASK_COMM): Define.
20123 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20126 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20127 conversion when destination buffer does not have enough space.
20128 * libio/tst-ftell-partial-wide.c: New test case.
20129 * libio/Makefile (tests): Add tst-ftell-partial-wide.
20131 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20132 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
20133 Leonard and Allan McRae.
20135 2014-02-04 David S. Miller <davem@davemloft.net>
20137 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20140 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20169 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20172 * shlib-versions: Likewise.
20174 2014-02-04 Roland McGrath <roland@hack.frob.com>
20175 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20177 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20178 (abilist-pattern): New variable, set to %-le.abilist.
20180 * Makerules (abilist-pattern): New variable.
20181 (vpath): Use $(abilist-pattern) in place of %.abilist.
20182 (check-abi-% pattern rule): Likewise.
20183 (check-abi, update-abi): Likewise.
20185 2014-02-04 Eric Wong <normalperson@yhbt.net>
20187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20189 2014-02-03 Carlos O'Donell <carlos@redhat.com>
20191 * manual/startup.texi: Add next, previous, and top entries for
20192 the `Program Arguments' and `Environment Variables' nodes.
20194 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
20196 * manual/macros.texi: Add comments before MTASC-safety macros.
20198 * manual/users.texi: Document MTASC-safety properties.
20200 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20201 (pthread_getspecific, pthread_setspecific): Format with
20202 @deftypefun, and add @safety note.
20203 * manual/signal.texi: Move comments that analyze the above
20204 functions to their home place.
20206 2014-02-03 Allan McRae <allan@archlinux.org>
20208 * po/sl.po: Update Slovenian translation from translation project.
20210 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
20212 * manual/time.texi (timegm): Add missing blank after @c.
20213 Reported by Joseph Myers <joseph@codesourcery.com>.
20215 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20217 * manual/check-safety.sh: New.
20218 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20220 * manual/terminal.texi: Document MTASC-safety properties.
20222 * manual/filesys.texi: Document MTASC-safety properties.
20224 * manual/errno.texi: Document MTASC-safety properties.
20226 * manual/intro.texi: Document safety identifiers and
20229 * manual/string.texi (wcstok): Fix prototype.
20230 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20232 * manual/time.texi: Document MTASC-safety properties.
20234 * manual/string.texi: Document MTASC-safety properties.
20236 * manual/threads.texi: Document MTASC-safety properties.
20238 * manual/stdio.texi: Document MTASC-safety properties.
20240 * manual/syslog.texi: Document MTASC-safety properties.
20242 * manual/sysinfo.texi: Document MTASC-safety properties.
20244 * manual/startup.texi: Document MTASC-safety properties.
20246 * manual/socket.texi: Document MTASC-safety properties.
20248 * manual/signal.texi: Document MTASC-safety properties.
20250 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
20252 * manual/setjmp.texi: Document MTASC-safety properties.
20254 * manual/search.texi: Document MTASC-safety properties.
20256 * manual/resource.texi: Document MTASC-safety properties.
20258 * manual/process.texi: Document MTASC-safety properties.
20260 * manual/platform.texi: Document MTASC-safety properties.
20262 * manual/pipe.texi: Document MTASC-safety properties.
20264 * manual/pattern.texi: Document MTASC-safety properties.
20266 * manual/message.texi: Document MTASC-safety properties.
20269 * manual/memory.texi: Document MTASC-safety properties.
20271 * manual/math.texi: Document MTASC-safety properties.
20273 * manual/locale.texi: Document MTASC-safety properties.
20275 * manual/llio.texi: Document MTASC-safety properties.
20277 * manual/libdl.texi: New.
20279 * manual/lang.texi: Document MTASC-safety properties.
20281 * manual/job.texi: Document MTASC-safety properties.
20283 * manual/getopt.texi: Document MTASC-safety properties.
20285 * manual/ctype.texi: Document MTASC-safety properties.
20287 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20290 * csu/libc-tls.c (static_map): Remove variable.
20291 (__libc_setup_tls): Use main executable's link map for TLS data.
20292 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20293 casing for LM_ID_BASE and GL(dl_nns).
20294 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20295 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20296 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20297 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20298 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20300 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20303 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20305 * manual/debug.texi: Document MTASC-safety properties.
20307 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20310 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20311 of __x86_64__ when disabling x87 inline functions.
20313 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20315 * manual/charset.texi: Document MTASC-safety properties.
20317 * manual/crypt.texi: Document MTASC-safety properties.
20319 * manual/conf.texi: Document MTASC-safety properties.
20321 * manual/arith.texi: Document MTASC-safety properties.
20323 * manual/argp.texi: Document MTASC-safety properties.
20325 * manual/macros.texi: Introduce macros to document multi
20326 thread, asynchronous signal and asynchronous cancellation
20328 * manual/intro.texi: Introduce the properties themselves.
20330 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20332 * sysdeps/sh/sh4/Makefile: New file.
20334 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20336 * math/gen-libm-test.pl ($srcdir): New variable.
20337 ($auto_input): Use it.
20339 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20342 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20343 access beyond array bounds when parsing netgroups file.
20345 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20346 the old buffer before realloc.
20348 2014-01-27 Allan McRae <allan@archlinux.org>
20350 * po/fr.po: Update French translation from translation project.
20352 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20354 * sysdeps/sh/libm-test-ulps: Regenerate.
20356 2014-01-24 David S. Miller <davem@davemloft.net>
20358 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20360 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20362 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20363 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20365 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20368 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20369 string pointers after reallocation.
20371 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20373 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20374 __SH4A__ instead of __SH_FPU_ANY__.
20376 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20378 * sysdeps/sh/fpu_control.h: New file.
20379 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20380 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20381 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20382 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20383 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20384 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20385 * sysdeps/sh/sys/ucontext.h: Remove.
20386 * sysdeps/sh/sys: Remove directory.
20388 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20390 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20391 s390/sys/ucontext.h.
20392 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20393 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20395 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20398 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20400 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20403 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20404 Adjust the vDSO correctly for internal calls.
20405 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20407 2014-01-20 Allan McRae <allan@archlinux.org>
20409 * po/ca.po: Update Catalan translation from translation project.
20411 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20413 * sysdeps/s390/sotruss-lib.c: New file.
20415 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20418 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20419 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20420 local calls issues by not having a PLT stub required for IFUNC calls.
20421 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20423 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20425 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20426 * math/test-fpucw-static.c: Likewise.
20428 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20431 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20433 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20435 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20436 implementation for powerpc.
20438 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20441 * sysdeps/posix/system.c (__libc_system): Do not enable
20442 asynchronous cancellation.
20444 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20447 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20448 handling only for numbers special also in the IEEE case.
20450 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20452 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20454 2014-01-11 Allan McRae <allan@archlinux.org>
20456 * po/bg.po: Update Bulgarian translation from translation project.
20458 * po/de.po: Update German translation from translation project.
20460 2014-01-10 Roland McGrath <roland@hack.frob.com>
20462 * sysdeps/generic/gcc-compat.h: New file.
20464 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20466 * benchtests/asin-inputs: Correct slow inputs.
20467 * benchtests/acos-inputs: Likewise.
20469 2014-01-10 Allan McRae <allan@archlinux.org>
20471 * po:sv.po: Update Swedish translation from translation project.
20473 * po/vi.po: Update Vietnamese translation from translation project.
20475 * po/eo.po: Update Esperanto translation from translation project.
20477 * po/cs.po: Update Czech translation from translation project.
20479 * po/nl.po: Update Dutch translation from translation project.
20481 * po/pl.po: Update Polish translation from translation project.
20483 * po/ru.po: Update Russian translation from translation project.
20485 * po/uk.po: Update Ukrainian translation from translation project.
20487 2014-01-08 Brooks Moses <bmoses@google.com>
20489 * elf/dl-load.c: Fix comment typo.
20491 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20493 * po/header.pot: Rename to...
20494 * po/pot.header: ... this.
20495 * po/Makefile: Use pot.header.
20497 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20498 Maxim Kuvyrkov <maxim@kugelworks.com>
20501 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20502 SRC and DEST against LEN.
20504 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20507 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20509 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20511 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20515 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20518 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20519 for large positive arguments.
20521 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20523 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20525 * math/auto-libm-test-in: Mark various tests with
20526 xfail-rounding:ldbl-128ibm.
20527 * math/auto-libm-test-out: Regenerated.
20530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20531 Increase overflow threshold.
20533 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20536 * stdio-common/vfprintf.c: Check for integer overflow.
20538 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20540 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20541 the first argument and return value of __tls_get_addr_internal.
20543 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20545 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20546 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20548 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20550 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20551 * sysdeps/s390/rtld-global-offsets.sym: New file.
20552 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20554 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20555 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20556 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20558 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20559 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20565 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20566 halfs of GPRs for high_gprs contexts.
20567 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20568 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20572 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20574 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20575 for high GPRs (uc_high_gprs) and for future extensions
20577 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20578 for future extensions (__reserved).
20579 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20581 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20582 SC_HIGHGPRS offset definition.
20583 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20584 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20586 * Versions.def: Add GLIBC_2.19 for libpthread.
20587 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20588 siglongjmp for libpthread with GLIBC_2.19 symver.
20589 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20590 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20591 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20592 * sysdeps/s390/__longjmp.c: New file.
20593 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20594 * sysdeps/s390/longjmp.c: New file.
20595 * sysdeps/s390/setjmp.S: New file.
20596 * sysdeps/s390/sigjmp.S: New file.
20597 * sysdeps/s390/v1-longjmp.c: New file.
20598 * sysdeps/s390/v1-setjmp.h: New file.
20599 * sysdeps/s390/v1-sigjmp.c: New file.
20600 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20601 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20602 GLIBC_2.19 version.
20603 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20604 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20605 versioned symbols for ____longjmp_chk.
20606 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20616 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20617 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20618 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20619 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20620 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20621 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20622 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20623 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20624 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20625 * sysdeps/s390/rtld-__longjmp.c: New file.
20626 * sysdeps/s390/rtld-setjmp.S: New file.
20628 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20631 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20632 Return -__logl (x) for small positive arguments without evaluating
20635 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20637 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20639 (__ptrace_peeksiginfo_args): ... this.
20640 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20644 2014-01-06 Allan McRae <allan@archlinux.org>
20646 * inet/netinet/in.h: Fix typo in comment.
20648 2014-01-05 Andreas Jaeger <aj@suse.de>
20650 * sysdeps/i386/fpu/libm-test-ulps: Update.
20652 2014-01-05 Allan McRae <allan@archlinux.org>
20654 * po/libc.pot: Regenerated.
20656 * malloc/memusagestat.c: Fix gettext call formatting.
20658 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20660 * nscd/nscd.c: Improve usage() output.
20662 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20664 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20665 * sysdeps/unix/sysv/linux/configure: Regenerated.
20666 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20667 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20669 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20672 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20673 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20675 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20677 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20678 extra tokens at end of #undef directive.
20679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20680 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20681 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20683 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20685 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20687 * math/auto-libm-test-in: Mark various tests with
20688 xfail-rounding:ldbl-128ibm.
20689 * math/auto-libm-test-out: Regenerated.
20691 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20695 numbers with subnormal high part when calculating exponent.
20698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20704 (__ieee754_acoshl): Use __log1pl not __log1p.
20706 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20708 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20709 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20710 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20711 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20712 (reused_arena, arena_get2): Convert to GNU style.
20713 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20714 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20715 (memalign_check, __malloc_set_state): Likewise.
20716 * malloc/mallocbug.c (main): Likewise.
20717 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20718 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20719 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20720 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20721 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20722 (__posix_memalign, malloc_info): Likewise.
20723 * malloc/malloc.h: Likewise.
20724 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20725 (mallochook, memalignhook, reallochook, mabort): Likewise.
20726 * malloc/mcheck.h: Likewise.
20727 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20728 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20729 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20730 * malloc/morecore.c (__default_morecore): Likewise.
20731 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20732 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20733 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20734 (print_and_abort): Likewise.
20735 * malloc/obstack.h: Likewise.
20736 * malloc/set-freeres.c (__libc_freeres): Likewise.
20737 * malloc/tst-mallocstate.c (main): Likewise.
20738 * malloc/tst-mtrace.c (main): Likewise.
20739 * malloc/tst-realloc.c (do_test): Likewise.
20741 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20744 * nscd/netgroupcache.c (do_notfound): New function.
20745 (addgetnetgrentX): Use it.
20748 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20749 NSS_STATUS_NOTFOUND.
20751 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20753 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20756 2014-01-01 Allan McRae <allan@archlinux.org>
20758 * scripts/update-copyrights: Update configure input file suffix.
20760 * NEWS: Update copyright year.
20761 * catgets/gencat.c: Likewise.
20762 * csu/version.c: Likewise.
20763 * debug/catchsegv.sh: Likewise.
20764 * debug/pcprofiledump.c: Likewise.
20765 * debug/xtrace.sh: Likewise.
20766 * elf/ldconfig.c: Likewise.
20767 * elf/ldd.bash.in: Likewise.
20768 * elf/pldd.c: Likewise.
20769 * elf/sotruss.ksh: Likewise.
20770 * elf/sprof.c: Likewise.
20771 * iconv/iconv_prog.c: Likewise.
20772 * iconv/iconvconfig.c: Likewise.
20773 * locale/programs/locale.c: Likewise.
20774 * locale/programs/localedef.c: Likewise.
20775 * login/programs/pt_chown.c: Likewise.
20776 * malloc/memusage.sh: Likewise.
20777 * malloc/memusagestat.c: Likewise.
20778 * malloc/mtrace.pl: Likewise.
20779 * manual/libc.texinfo: Likewise.
20780 * nscd/nscd.c: Likewise.
20781 * nss/getent.c: Likewise.
20782 * nss/makedb.c: Likewise.
20783 * posix/getconf.c: Likewise.
20784 * scripts/test-installation.pl: Likewise.
20786 * All files with FSF copyright notices: Update copyright dates
20787 using scripts/update-copyrights.
20788 * intl/plural.c: Regenerated.
20789 * locale/programs/charmap-kw.h: Likewise.
20790 * locale/programs/locfile-kw.h: Likewise.
20792 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20794 * sysdeps/unix/sysv/linux/configure: Regenerated.
20795 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20796 the linux/fanotify.h header.
20797 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20798 HAVE_LINUX_FANOTIFY_H is defined.
20800 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20802 * benchtests/cos-inputs: New inputs.
20803 * benchtests/sin-inputs: Likewise.
20805 * benchtests/atan-inputs: New inputs. Fix name of multiple
20806 precision fallback inputs.
20808 * benchtests/atanh-inputs: New inputs.
20809 * benchtests/tanh-inputs: Likewise.
20811 * benchtests/acosh-inputs: New inputs.
20812 * benchtests/asinh-inputs: Likewise.
20814 * benchtests/cosh-inputs: New inputs.
20815 * benchtests/sinh-inputs: Likewise.
20817 * benchtests/acos-inputs: Add more inputs.
20818 * benchtests/asin-inputs: Likewise.
20820 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20823 * manual/arith.texi: Fix spelling.
20824 * manual/charset.texi: Likewise.
20825 * manual/errno.texi: Likewise.
20826 * manual/filesys.texi: Likewise.
20827 * manual/lang.texi: Likewise.
20828 * manual/llio.texi: Likewise.
20829 * manual/locale.texi: Likewise.
20830 * manual/message.texi: Likewise.
20831 * manual/resource.texi: Likewise.
20832 * manual/search.texi: Likewise.
20833 * manual/setjmp.texi: Likewise.
20834 * manual/stdio.texi: Likewise.
20835 * manual/string.texi: Likewise.
20836 * manual/sysinfo.texi: Likewise.
20837 * manual/time.texi: Likewise.
20839 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20841 * po/sl.po: New file.
20843 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20845 * .gitignore: Add core/.gdbinit/.gdb_history.
20847 2013-12-27 Allan McRae <allan@archlinux.org>
20850 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20851 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20853 2013-12-24 Brooks Moses <bmoses@google.com>
20855 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20856 all compilers that claim C++98 compliance, not just GCC.
20857 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20860 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20862 * NEWS: Restore accidentally deleted bug-fix entries.
20864 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20865 Ondřej Bílka <neleai@seznam.cz>
20868 * malloc/malloc.c (_int_free): Perform sanity check only if we
20871 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20874 * manual/stdio.texi (String Input Conversions): Clarify that character
20875 classes are not supported.
20877 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20881 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20884 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20885 Calculate results for small negative arguments directly rather
20886 than using reflection formula with special underflow handling.
20888 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20889 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20890 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20891 (fchflags): Likewise.
20892 (revoke): Likewise.
20893 (setlogin): Likewise.
20894 (sigaltstack): Likewise.
20896 (sigblock): Remove.
20897 (sigsetmask): Likewise.
20899 (waitpid): Likewise.
20900 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20901 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20903 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20904 * sysdeps/unix/bsd/Makefile: ... here.
20905 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20906 * sysdeps/unix/bsd/Versions: ... here.
20907 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20908 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20909 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20910 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20911 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20912 * sysdeps/unix/bsd/sigblock.c: ... here.
20913 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20914 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20915 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20916 * sysdeps/unix/bsd/sigvec.c: ... here.
20917 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20918 * sysdeps/unix/bsd/tcdrain.c: ... here.
20919 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20920 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20921 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20922 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20923 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20924 * sysdeps/unix/bsd/wait.c: ... here.
20925 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20926 * sysdeps/unix/bsd/wait3.c: ... here.
20927 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20928 * sysdeps/unix/bsd/waitpid.c: ... here.
20930 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20933 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20934 round-to-nearest for [!USE_AS_EXPM1L].
20935 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20936 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20937 more tests of exp and exp10. Expect some exp10 tests to miss
20938 exceptions or fail in directed rounding modes.
20939 * math/auto-libm-test-out: Regenerated.
20940 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20941 (exp10_test_tonearest): New function.
20942 (exp10_towardzero_test_data): New array.
20943 (exp10_test_towardzero): New function.
20944 (exp10_downward_test_data): New array.
20945 (exp10_test_downward): New function.
20946 (exp10_upward_test_data): New array.
20947 (exp10_test_upward): New function.
20948 (main): Call the new functions.
20949 * sysdeps/i386/fpu/libm-test-ulps: Update.
20950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20952 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20954 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20955 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20956 * math/auto-libm-test-out: Regenerated.
20957 * math/libm-test.inc (acosh_test_data): Add more tests.
20958 (atanh_test_data): Likewise.
20959 (ceil_test_data): Likewise.
20960 (copysign_test_data): Likewise.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20964 * timezone/checktab.awk: Update from tzcode 2013i.
20965 * timezone/private.h: Likewise.
20966 * timezone/scheck.c: Likewise.
20967 * timezone/tzfile.h: Likewise.
20968 * timezone/tzselect.ksh: Likewise.
20969 * timezone/zdump.c: Likewise.
20970 * timezone/zic.c: Likewise.
20972 * math/auto-libm-test-in: Add tests of cpow.
20973 * math/auto-libm-test-out: Regenerated.
20974 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20977 (func_calc_desc): Add mpc_cc_c union field.
20978 (test_functions): Add cpow.
20979 (special_fill_2pi): New function.
20980 (special_real_inputs): Add 2pi.
20981 (calc_generic_results): Handle mpc_cc_c.
20982 * sysdeps/i386/fpu/libm-test-ulps: Update.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20985 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20986 csqrt, ctan and ctanh.
20987 * math/auto-libm-test-out: Regenerated.
20988 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20989 (TEST_COND_x86): Likewise.
20990 (ccos_test_data): Use AUTO_TESTS_c_c.
20991 (ccosh_test_data): Likewise.
20992 (cexp_test_data): Likewise.
20993 (clog_test_data): Likewise.
20994 (csqrt_test_data): Likewise.
20995 (ctan_test_data): Likewise.
20996 (ctan_tonearest_test_data): Likewise.
20997 (ctan_towardzero_test_data): Likewise.
20998 (ctan_downward_test_data): Likewise.
20999 (ctan_upward_test_data): Likewise.
21000 (ctanh_test_data): Likewise.
21001 (ctanh_tonearest_test_data): Likewise.
21002 (ctanh_towardzero_test_data): Likewise.
21003 (ctanh_downward_test_data): Likewise.
21004 (ctanh_upward_test_data): Likewise.
21005 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21007 (func_calc_desc): Add mpc_c_c union field.
21008 (FUNC_mpc_c_c): New macro.
21009 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21010 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21012 (special_fill_min_subnorm_p120): New function.
21013 (special_real_inputs): Add min_subnorm_p120.
21014 (calc_generic_results): Handle mpc_c_c.
21015 * sysdeps/i386/fpu/libm-test-ulps: Update.
21016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21020 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21021 (do_sin_slow): New functions.
21022 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21023 (cslow2, csloww1, csloww2): Use the new functions.
21025 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21026 Use M to change sign of result instead of X. Assume X is
21028 (csloww1): Likewise.
21032 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21033 arguments A and DA.
21037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21039 (sloww1): Don't adjust sign of DX.
21040 (csloww1): Likewise.
21041 (sloww2): Use X directly and don't adjust sign of DX.
21042 (csloww2): Likewise.
21044 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21046 * math/auto-libm-test-in: Add tests of cabs and carg.
21047 * math/auto-libm-test-out: Regenerated.
21048 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21049 (carg_test_data): Likewise.
21050 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21052 (func_calc_desc): Add mpc_c_f union field.
21053 (test_functions): Add cabs and carg.
21054 (calc_generic_results): Handle mpc_c_f.
21056 * sysdeps/powerpc/powerpc32/libgcc-compat.S
21057 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21058 as a macro and a compat symbol.
21059 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21060 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21061 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21062 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21063 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21068 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21070 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21072 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21074 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21076 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21077 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21080 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21084 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21086 * manual/texinfo.tex: Update to version 2013-11-26.10 with
21087 trailing whitespace removed.
21088 * scripts/config.guess: Update to version 2013-11-29.
21089 * scripts/config.sub: Update to version 2013-10-01.
21091 * math/auto-libm-test-in: Add tests of sincos.
21092 * math/auto-libm-test-out: Regenerated.
21093 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21094 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21096 (func_calc_desc): Add mpfr_f_11 union field.
21097 (test_functions): Add sincos.
21098 (calc_generic_results): Handle mpfr_f_11.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102 2013-12-19 Andreas Schwab <schwab@suse.de>
21104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21106 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21108 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21110 2013-12-19 Joseph Myers <joseph@codesourcery.com>
21112 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21113 * sysdeps/i386/fpu/libm-test-ulps: Update.
21114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21118 round-to-nearest mode when using frndint.
21119 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21120 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21121 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21123 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
21125 * math/auto-libm-test-out: Regenerated.
21126 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21127 (TEST_COND_x86): Likewise.
21128 (expm1_tonearest_test_data): New array.
21129 (expm1_test_tonearest): New function.
21130 (expm1_towardzero_test_data): New array.
21131 (expm1_test_towardzero): New function.
21132 (expm1_downward_test_data): New array.
21133 (expm1_test_downward): New function.
21134 (expm1_upward_test_data): New array.
21135 (expm1_test_upward): New function.
21136 (main): Run the new test functions.
21137 * sysdeps/i386/fpu/libm-test-ulps: Update.
21138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140 * include/features.h: Update comment documenting feature test
21141 macros. Mention _DEFAULT_SOURCE in comment.
21142 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21143 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21144 _BSD_SOURCE and _SVID_SOURCE.
21145 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21146 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21147 !_SVID_SOURCE]: Likewise.
21148 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21149 (__USE_POSIX_IMPLICITLY): Define.
21150 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21151 (_POSIX_SOURCE): Undefine and redefine.
21152 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21153 (_POSIX_C_SOURCE): Likewise.
21154 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21155 (Feature Test Macros): Update documentation of default features.
21157 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21159 * benchtests/Makefile: Add bench-strtok.
21160 * benchtests/bench-strtok.c: New file: strtok benchtest.
21162 2013-12-19 Allan McRae <allan@archlinux.org>
21164 * manual/install.texi: Suppress menu for plain text output.
21165 * INSTALL: Regenerated.
21167 2013-12-18 Brooks Moses <bmoses@google.com>
21170 * misc/getauxval.c: Include errno.h.
21171 (__getauxval): Set errno to ENOENT if the requested type is not
21173 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21174 don't declare with __attribute_const__.
21175 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21176 * manual/startup.texi: Document that getauxval sets errno.
21178 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21180 * math/auto-libm-test-in: Add tests of jn and yn.
21181 * math/auto-libm-test-out: Regenerated.
21182 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21183 (yn_test_data): Likewise.
21184 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21186 (func_calc_desc): Add mpfr_if_f union field.
21187 (FUNC_mpfr_if_f): New macro.
21188 (test_functions): Add jn and yn.
21189 (calc_generic_results): Assert type of second input for
21190 mpfr_ff_f. Handle mpfr_if_f.
21191 (output_for_one_input_case): Disable all checking for arguments
21192 fitting floating-point types in case of an integer argument.
21193 * sysdeps/i386/fpu/libm-test-ulps: Update.
21194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21197 Don't expect fegetround reference in libm.so.
21199 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21201 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21202 $(config-cflags-nofma).
21204 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21206 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21207 * math/auto-libm-test-out: Regenerated.
21210 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21211 to determine exponent and adjust argument to have exponent of -1.
21212 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21214 * math/auto-libm-test-out: Regenerated.
21215 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21218 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
21220 * manual/probes.texi: Remove cases when per-thread arenas are
21223 2013-12-18 Andreas Schwab <schwab@suse.de>
21225 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21226 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21227 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21228 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21229 * sysdeps/i386/i686/multiarch/Makefile: Update.
21230 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21232 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21234 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21235 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21237 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21240 Support TZ transition times < 00:00:00.
21241 This is needed for version-3 tz-format files; it supports time
21242 stamps past 2037 for America/Godthab (the only entry in the tz
21243 database for which this change is relevant).
21244 * manual/time.texi (TZ Variable): Document transition times
21245 from -167:59:59 through -00:00:01.
21246 * time/tzset.c (tz_rule): Time of day is now signed.
21247 (__tzset_parse_tz): Parse negative time of day.
21249 Document TZ transition times >= 25:00:00.
21250 * manual/time.texi (TZ Variable): Document transition times from
21251 25:00:00 through 167:59:59. These are already supported, and this
21252 support will help with version-3 tz-format files.
21254 * manual/time.texi (TZ Variable): Modernize North America example
21255 to reflect current (i.e., 2007-and-later) daylight saving rules.
21257 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21259 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21261 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21262 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21265 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21266 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21267 * sysdeps/unix/bsd/clock.c: Likewise.
21268 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21269 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21270 * sysdeps/unix/bsd/init-posix.c: Likewise.
21271 * sysdeps/unix/bsd/poll.c: Likewise.
21272 * sysdeps/unix/bsd/ptsname.c: Likewise.
21273 * sysdeps/unix/bsd/seekdir.c: Likewise.
21274 * sysdeps/unix/bsd/setegid.c: Likewise.
21275 * sysdeps/unix/bsd/seteuid.c: Likewise.
21276 * sysdeps/unix/bsd/setgid.c: Likewise.
21277 * sysdeps/unix/bsd/setrgid.c: Likewise.
21278 * sysdeps/unix/bsd/setruid.c: Likewise.
21279 * sysdeps/unix/bsd/setsid.c: Likewise.
21280 * sysdeps/unix/bsd/setuid.c: Likewise.
21281 * sysdeps/unix/bsd/sigaction.c: Likewise.
21282 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21283 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21284 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21285 * sysdeps/unix/bsd/telldir.c: Likewise.
21286 * sysdeps/unix/bsd/times.c: Likewise.
21287 * sysdeps/unix/bsd/usleep.c: Likewise.
21289 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21290 ($(objpfx)libbsd-compat.a): Remove rule.
21292 * include/features.h (__FAVOR_BSD): Do not define.
21293 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21294 features conflicting with POSIX.
21295 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21296 (_BSD_SOURCE): Remove description of not being a subset of other
21297 feature test macros.
21298 * manual/job.texi (getpgrp): Do not document BSD version.
21299 (getpgid): Do not document by reference to BSD getpgrp.
21300 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21301 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21302 * signal/signal.h [__FAVOR_BSD]: Likewise.
21303 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21304 instead of making contents conditional on [__FAVOR_BSD].
21305 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21307 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21311 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21314 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21315 values below 2**-450, not 2**-500.
21316 * math/auto-libm-test-in: Don't allow spurious underflow from
21318 * math/auto-libm-test-out: Regenerated.
21322 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21323 values of ha and hb and sort them after adjusting subnormal
21325 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21327 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21328 values of ea and eb and sort them after adjusting subnormal
21330 * math/auto-libm-test-in: Do not expect some hypot tests of
21331 subnormals to fail. Add more hypot tests.
21332 * math/auto-libm-test-out: Regenerated.
21334 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21337 * sysdeps/sh/s_fma.c: New file.
21338 * sysdeps/sh/s_fmaf.c: New file.
21339 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21341 * sysdeps/sh/Implies: Add sh/soft-fp.
21343 2013-12-16 Roland McGrath <roland@hack.frob.com>
21345 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21346 level of indirection to members `objname', `errstring', `malloced'.
21347 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21348 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21349 it as the __longjmp argument (just pass 1 instead).
21350 (_dl_catch_error): Initialize C with argument pointers and address of
21351 volatile local ERRCODE rather than copying values out of C at return.
21353 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21355 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21356 * math/auto-libm-test-out: Regenerated.
21357 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21358 (hypot_test_data): Likewise.
21359 (pow_test_data): Likewise.
21360 (pow_tonearest_test_data): Likewise.
21361 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21363 (func_calc_desc): Add mpfr_ff_f union field.
21364 (FUNC_mpfr_ff_f): New macro.
21365 (test_functions): Add atan2, hypot and pow.
21366 (special_fill_min): New function.
21367 (special_fill_minus_min): Likewise.
21368 (special_fill_min_subnorm): Likewise.
21369 (special_fill_minus_min_subnorm): Likewise.
21370 (special_real_inputs): Add min, -min, min_subnorm and
21372 (calc_generic_results): Handle mpfr_ff_f.
21373 * sysdeps/i386/fpu/libm-test-ulps: Update.
21374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21376 2013-12-16 Will Newton <will.newton@linaro.org>
21378 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21379 (Aligned Memory Blocks): Add documentation for aligned_alloc
21380 and suggest it as an alternative to posix_memalign.
21381 (Hooks for Malloc): Document __memalign_hook is also called
21382 for aligned_alloc. (Summary of Malloc): Add summary for
21383 aligned alloc. Document __memalign_hook is also called
21386 2013-12-16 Will Newton <will.newton@linaro.org>
21388 * manual/memory.texi (Malloc Examples): Clarify default
21389 alignment documentation. Suggest posix_memalign rather
21390 than memalign or valloc.
21391 (Aligned Memory Blocks): Remove suggestion to use memalign
21392 or valloc. Remove obsolete comment about BSD.
21393 Document memalign errno values and mark the function obsolete.
21394 Document posix_memalign returned error codes. Mark valloc
21395 as obsolete. (Hooks for Malloc): __memalign_hook is also
21396 called for posix_memalign and valloc.
21397 (Summary of Malloc): Add posix_memalign to function summary.
21398 __memalign_hook is also called for posix_memalign and valloc.
21400 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21402 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21406 (sloww): Use mynumber union. Expand ternary operator into
21407 if-else statements.
21408 (cslow): use mynumber union.
21410 2013-12-16 Allan McRae <allan@archlinux.org>
21412 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21413 * configure: Regenerated.
21415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21418 * configure.ac: Added --enable-maintainer-mode. Check for
21419 autoconf when enabled.
21420 * configure: Regenerated.
21422 * nscd/nscd.service: New file.
21423 * nscd/nscd.tmpfiles: New file.
21425 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21428 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21429 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21430 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21431 (strstr): Add __strstr_sse2_unaligned ifunc.
21432 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21433 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21434 (strcasestr): Remove __strcasestr_sse42 ifunc.
21435 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21439 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21441 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21442 * sysdeps/sh/bits/fenv.h: ... here.
21443 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21445 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21447 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21450 hypotf multiarch implementations.
21451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21452 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21454 multiarch hypot for PPC64.
21455 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21457 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21458 multiarch hypotf for PPC64.
21460 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21461 modff multiarch implementations.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21465 multiarch modf for PPC64.
21466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21469 multiarch modff for PPC64.
21471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21472 and logl multiarch implementations.
21473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21476 multiarch logb for PPC64.
21477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21480 multiarch logb for PPC64.
21481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21484 multiarch logb for PPC64.
21486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21487 isinff multiarch implementation.
21488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21492 multiarch isinf for PPC64.
21493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21496 multiarch isinff for PPC64.
21498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21499 finitef multiarch implementation.
21500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21504 multiarch finite for PPC64.
21505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21508 multiarch finitef for PPC64.
21510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21511 lrint multiarch implementation.
21512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21516 multiarch llrint for PPC64.
21517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21518 multiarch lrint for PPC64.
21520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21521 copysignf multiarch implementation.
21522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21527 multiarch copysign for PPC64.
21528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21529 multiarch copysignf for PPC64.
21531 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21532 multiarch implementation.
21533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21541 multiarch llround for PPC64.
21542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21543 multiarch trunc for PPC64.
21544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21545 multiarch truncf for PPC64.
21547 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21548 multiarch implementation.
21549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21557 multiarch llround for PPC64.
21558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21559 multiarch round for PPC64.
21560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21561 multiarch roundf for PPC64.
21563 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21564 multiarch implementation.
21565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21573 multiarch llround for PPC64.
21574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21575 multiarch floor for PPC64.
21576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21577 multiarch floorf for PPC64.
21579 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21580 multiarch implementation.
21581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21589 multiarch llround for PPC64.
21590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21591 multiarch ceil for PPC64.
21592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21593 multiarch ceilf for PPC64.
21595 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21596 multiarch implementation.
21597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21604 multiarch llround for PPC64.
21605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21606 multiarch lround for PPC64.
21608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21609 multiarch implementation.
21610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21617 multiarch isnan for PPC64.
21618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21619 multiarch isnanf for PPC64.
21621 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21622 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21623 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21624 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21625 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21628 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21629 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21633 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21634 multiarch implementations.
21635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21636 (__libc_ifunc_impl_list): Likewise.
21637 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21638 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21639 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21640 multiarch stpcpy for PPC64.
21642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21643 multiarch implementations.
21644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21645 (__libc_ifunc_impl_list): Likewise.
21646 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21647 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21648 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21649 multiarch strcpy for PPC64.
21651 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21652 redefine function name.
21653 (_wordcopy_fwd_dest_aligned): Likewise.
21654 (_wordcopy_bwd_aligned): Likewise.
21655 (_wordcopy_bwd_dest_aligned): Likewise.
21656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21657 multiarch implementations.
21658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21659 (__libc_ifunc_impl_list): Likewise.
21660 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21661 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21662 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21663 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21664 multiarch wcscpy for PPC64.
21666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21667 multiarch implementations.
21668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21669 (__libc_ifunc_impl_list): Likewise.
21670 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21671 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21672 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21673 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21674 multiarch wcscpy for PPC64.
21676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21677 multiarch implementations.
21678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21679 (__libc_ifunc_impl_list): Likewise.
21680 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21681 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21682 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21683 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21684 multiarch wcsrchr for PPC64.
21686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21687 multiarch implementations.
21688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21689 (__libc_ifunc_impl_list): Likewise.
21690 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21691 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21692 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21693 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21694 multiarch wcschr for PPC64.
21696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21697 multiarch implementations.
21698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21699 (__libc_ifunc_impl_list): Likewise.
21700 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21701 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21702 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21703 multiarch strchrnul for PPC64.
21705 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21707 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21708 (__libc_ifunc_impl_list): Likewise.
21709 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21710 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21711 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21712 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21718 (__libc_ifunc_impl_list): Likewise.
21719 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21720 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21721 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21722 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21726 multiarch implementations.
21727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21728 (__libc_ifunc_impl_list): Likewise.
21729 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21730 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21731 strncasecmp for PPC64.
21732 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21733 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21734 multiarch strncasecmp_l for PPC64.
21736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21737 multiarch implementations.
21738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21739 (__libc_ifunc_impl_list): Likewise.
21740 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21741 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21742 multiarch strcasecmp for PPC64.
21743 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21745 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21746 multiarch strcasecmp_l for PPC64.
21748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21751 (__libc_ifunc_impl_list): Likewise.
21752 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21753 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21754 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21760 (__libc_ifunc_impl_list): Likewise.
21761 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21762 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21763 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21769 (__libc_ifunc_impl_list): Likewise.
21770 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21771 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21772 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21773 rawmemrchr for PPC64.
21775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21778 (__libc_ifunc_impl_list): Likewise.
21779 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21780 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21781 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21787 (__libc_ifunc_impl_list): Likewise.
21788 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21789 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21790 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21796 (__libc_ifunc_impl_list): Likewise.
21797 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21798 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21799 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21802 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21803 avoid cretion of __bzero symbol.
21804 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21806 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21808 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21811 multiarch implementations.
21812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21813 (__libc_ifunc_impl_list): Likewise.
21814 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21815 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21816 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21817 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21819 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21820 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21821 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21822 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21823 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21825 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21827 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21831 (__libc_ifunc_impl_list): Likewise.
21832 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21833 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21834 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21835 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21839 multiarch for POWER/PPC64.
21840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21841 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21842 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21843 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21844 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21845 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21846 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21847 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21848 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21851 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21852 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21853 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21854 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21855 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21856 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21857 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21858 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21859 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21860 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21861 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21862 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21863 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21864 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21865 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21874 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21876 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21878 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21880 * benchtests/Makefile (bench): Add exp2 and log2.
21881 (LDLIBS-bench-exp2): Add -lm.
21882 (LDLIBS-bench-log2): Likewise.
21883 * benchtests/exp2-inputs: New inputs file.
21884 * benchtests/log2-inputs: New inputs file.
21885 * benchtests/log-inputs: Add new inputs.
21886 * benchtests/tan-inputs: Likewise.
21888 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21890 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21892 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21893 (csloww2): ... from here.
21895 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21896 instead of structures.
21897 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21898 (POLYNOMIAL): Likewise.
21899 (TAYLOR_SLOW): Likewise.
21905 (sloww1); Likewise.
21906 (sloww2): Likewise.
21907 (bsloww1): Likewise.
21908 (bsloww2): Likewise.
21909 (cslow2): Likewise.
21910 (csloww): Likewise.
21911 (csloww1): Likewise.
21912 (csloww2): Likewise.
21914 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21916 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21917 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21918 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21919 * malloc/hooks.c (realloc_check): Likewise.
21921 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21922 * malloc/arena.c: Remove PER_THREAD conditional.
21923 [!PER_THREAD]: Remove code.
21924 (ptmalloc_unlock_all2): Likewise.
21925 (ptmalloc_init): Likewise.
21926 (_int_new_arena): Likewise.
21927 (arena_get2): Likewise.
21928 * malloc/hooks.c (__malloc_get_state): Likewise.
21929 (__malloc_set_state): Likewise.
21930 * malloc/malloc.c: Likewise.
21931 (struct malloc_state): Likewise.
21932 (struct malloc_par): Likewise.
21933 (__libc_realloc): Likewise.
21934 (__libc_mallopt): Likewise.
21936 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21938 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21940 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21942 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21943 macro to a function. Check for zero perturb_byte.
21944 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21946 * malloc/malloc.c: (force_reg): Remove.
21947 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21948 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21949 force_reg by atomic_forced_read.
21950 * malloc/arena.c (ptmalloc_init): Likewise.
21951 * malloc/hooks.c (top_check): Likewise.
21953 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21957 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21961 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21963 * math/auto-libm-test-in: Add tests of lgamma.
21964 * math/auto-libm-test-out: Regenerated.
21965 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21966 (M_LOG_2_SQRT_PIl): Likewise.
21967 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21970 (func_calc_desc): Add mpfr_f_f1 union field.
21971 (ARGS1): New macro.
21979 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21980 (test_functions): Add lgamma.
21981 (calc_generic_results): Handle mpfr_f_f1.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21987 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21988 __mpn_add_n for PowerPC64/POWER7.
21989 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21990 __mpn_sub_n for PowerPC64/POWER7.
21992 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21993 __mpn_addmul_1 for PowerPC64.
21994 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21995 __mpn_submul_1 for PowerPC64.
21996 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21998 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22001 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
22004 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22008 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22010 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22011 add multiarch folders.
22012 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22013 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22014 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22015 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22016 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22017 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22018 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22019 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22020 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22021 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22022 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22031 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22037 multiarch __ieee754_hypot for PowerPC32.
22038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22043 multiarch __ieee754_hypotf for PowerPC32.
22045 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22046 long_double_symbol only if __logbl is defined.
22047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22048 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22049 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22050 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22052 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22053 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22054 path for implementation.
22055 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22056 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22058 logb, and logbl multiarch implementations for PowerPC32.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22064 multiarch logb for PowerPC32.
22065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22070 multiarch logbf for PowerPC32.
22071 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22075 multiarch logbl implementation for PowerPC32.
22077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22078 and modff multiarch implementations.
22079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22084 multiarch modf for PowerPC32.
22085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22090 multiarch modff for PowerPC32.
22092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22093 and lrintf multiarch implementations.
22094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22099 multiarch lrint for PowerPC32.
22100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22101 file: multiarch lrintf for PowerPC32.
22103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22104 and lroundf multiarch implementations.
22105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22112 multiarch lround for PowerPC32.
22113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22114 file: multiarch lroundf for PowerPC32.
22116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22117 copysign and copysignf multiarch implementations.
22118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22123 file: multiarch copysign for PowerPC32.
22124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22125 file: multiarch copysignf for PowerPC32.
22127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22128 and truncf multiarch implementations.
22129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22134 multiarch trunc for PowerPC32.
22135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22140 multiarch truncf for PowerPC32.
22142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22143 and roundf multiarch implementations.
22144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22149 multiarch round for PowerPC32.
22150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22155 multiarch roundf for PowerPC32.
22157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22158 and floorf multiarch implementations.
22159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22164 multiarch floor for PowerPC32.
22165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22170 multiarch floorf for PowerPC32.
22172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22173 and ceilf multiarch implementations.
22174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22179 multiarch ceil for PowerPC32.
22180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22185 multiarch ceilf for PowerPC32.
22187 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22189 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22190 FINITEF is defined.
22191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22192 and finitef multiarch implementations.
22193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22198 multiarch finite for PowerPC32.
22199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22202 file: multiarch finitef for PowerPC32.
22204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22205 and isinff multiarch implementations.
22206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22211 multiarch isinf for PowerPC32.
22212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22215 multiarch isinff for PowerPC32.
22217 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22218 alias when __isnan is defined.
22219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22220 and isnanf multiarch implementations.
22221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22230 multiarch isnan for PowerPC32.
22231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22236 multiarch isnanf for PowerPC32.
22238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22239 and sqrtf multiarch implementations.
22240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22245 multiarch sqrt for PowerPC32.
22246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22251 multiarch sqrtf for PowerPC32.
22253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22254 and llroundf multiarch implementations.
22255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22262 file: multiarch llround for PowerPC32.
22263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22264 file: multiarch llroundf for PowerPC32.
22266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22267 multiarch PowerPC32 fpu implementations.
22268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22273 multiarch llrint for PowerPC32.
22274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22283 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22285 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22287 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22289 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22290 multiarch wordcopy for PPC32.
22291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22294 (__libc_ifunc_impl_list): Likewise.
22295 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22296 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22297 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22298 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22299 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22300 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22302 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22305 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22309 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22310 multiarch wcscpy for PPC32.
22311 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22313 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22314 (__libc_ifunc_impl_list): Likewise.
22315 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22316 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22317 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22318 sysdeps/powerpc/power6/wcscpy.c.
22320 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22328 multiarch wcsrchr for PPC32.
22329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22332 (__libc_ifunc_impl_list): Likewise.
22333 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22334 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22335 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22336 sysdeps/powerpc/power6/wcsrchr.c.
22338 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22340 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22343 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22344 multiarch wcschr for PPc32.
22345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22348 (__libc_ifunc_impl_list): Likewise.
22349 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22350 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22351 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22352 sysdeps/powerpc/power6/wcschr.c.
22354 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22355 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22357 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22358 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22359 file: multiarch strchr for PPC32.
22360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22363 (__libc_ifunc_impl_list): Likewise.
22365 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22367 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22369 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22371 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22372 multiarch strchrnul for PPC32.
22373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22376 (__libc_ifunc_impl_list): Likewise.
22378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22380 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22381 multiarch strncasecmp for PPC32.
22382 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22384 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22385 multiarch strncasecmp_l for PPC32.
22386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22387 strncasecmp multiarch objects.
22388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22389 (__libc_ifunc_impl_list): Likewise.
22391 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22393 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22394 multiarch strncasecmp for PPC32.
22395 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22397 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22398 multiarch strcasecmp_l for PPC32.
22399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22402 (__libc_ifunc_impl_list): Likewise.
22404 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22408 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22409 multiarch strncmp for PPC32.
22410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22413 (__libc_ifunc_impl_list): Likewise.
22415 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22416 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22418 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22419 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22423 (__libc_ifunc_impl_list): Likewise.
22425 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22427 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22429 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22433 (__libc_ifunc_impl_list): Likewise.
22435 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22437 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22439 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22440 multiarch rawmemchr for PPC32.
22441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22444 (__libc_ifunc_impl_list): Likewise.
22446 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22448 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22450 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22451 file: memrchr multiarch for PPC32.
22452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22455 (__libc_ifunc_impl_list): Likewise.
22457 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22458 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22460 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22462 multiarch memchr for PPC32.
22463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22466 (__libc_ifunc_impl_list): Likewise.
22468 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22469 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22471 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22473 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22474 file: multiarch mempcpy for PPC32.
22475 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22477 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22478 (__libc_ifunc_impl_list): Likewise.
22480 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22481 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22482 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22483 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22484 multiarch bzero for PPC32.
22485 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22487 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22489 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22490 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22491 file: multiarch memset for PPC32.
22492 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22494 memset multiarch objects.
22495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22496 (__libc_ifunc_impl_list): Likewise.
22498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22503 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22507 (__libc_ifunc_impl_list): Likewise.
22509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22513 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22517 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22518 multiarch memcpy for PPC32.
22519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22522 (__libc_ifunc_impl_list): Likewise.
22524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22525 support multiarch for POWER/PPC32.
22526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22528 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22530 Implies file to make multiarch folder appers before the fpu and
22531 default folder for power4 configuration.
22533 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22535 * scripts/bench.pl: Append volatile keyword to type.
22537 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22539 * sysdeps/sh/sotruss-lib.c: New file.
22540 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22542 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22546 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22549 * math/w_tgamma.c: Include <errno.h>.
22550 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22551 * math/w_tgammaf.c: Include <errno.h>.
22552 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22553 * math/w_tgammal.c: Include <errno.h>.
22554 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22555 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22556 underflow. Add more tgamma tests.
22557 * math/auto-libm-test-out: Regenerated.
22558 * sysdeps/i386/fpu/libm-test-ulps: Update.
22559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22561 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22562 sin, sinh, tan, tanh, tgamma, y0 and y1.
22563 * math/auto-libm-test-out: Regenerated.
22564 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22565 (TEST_COND_x86): Likewise.
22566 (M_E2l): Remove macro.
22568 (M_2_SQRT_PIl): Likewise.
22569 (M_SQRT_PIl): Likewise.
22570 (M_1_DIV_El): Likewise.
22571 (log_test_data): Use AUTO_TESTS_f_f.
22572 (log10_test_data): Likewise.
22573 (log1p_test_data): Likewise.
22574 (log2_test_data): Likewise.
22575 (sin_test_data): Likewise.
22576 (sin_tonearest_test_data): Likewise.
22577 (sin_towardzero_test_data): Likewise.
22578 (sin_downward_test_data): Likewise.
22579 (sin_upward_test_data): Likewise.
22580 (sinh_test_data): Likewise.
22581 (sinh_tonearest_test_data): Likewise.
22582 (sinh_towardzero_test_data): Likewise.
22583 (sinh_downward_test_data): Likewise.
22584 (sinh_upward_test_data): Likewise.
22585 (tan_test_data): Likewise.
22586 (tan_tonearest_test_data): Likewise.
22587 (tan_towardzero_test_data): Likewise.
22588 (tan_downward_test_data): Likewise.
22589 (tan_upward_test_data): Likewise.
22590 (tanh_test_data): Likewise.
22591 (tgamma_test_data): Likewise.
22592 (y0_test_data): Likewise.
22593 (y1_test_data): Likewise.
22594 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22595 (special_real_inputs): Add pi/4.
22596 * sysdeps/i386/fpu/libm-test-ulps: Update.
22597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22599 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22601 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22602 "longjmp_target" static probes.
22603 (__longjmp): Rename to __longjmp_symbol.
22604 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22605 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22606 on which longjmp to generate.
22607 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22608 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22610 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22611 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22612 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22613 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22614 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22615 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22617 __longjmp_symbol based on which __longjmp to generate.
22618 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22620 (setjmp): Rename to setjmp_symbol.
22621 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22622 (_setjmp): Rename to _setjmp_symbol.
22623 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22624 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22625 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22626 which setjmp to generate.
22627 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22628 "longjmp_target" static probes.
22630 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22632 * benchtests/README: Add note about output arguments.
22633 * benchtests/bench-sincos.c: Remove file.
22634 * benchtests/sincos-inputs: New file.
22635 * scripts/bench.pl: Identify output arguments and define
22636 static variables for them.
22638 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22641 * Makefile (INSTALL): Add install-plain.texi as the primary
22643 * manual/install-plain.texi: New file.
22644 * manual/install.texi: Include node directive only for
22645 non-plaintext output.
22647 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22649 * stdlib/longlong.h: Update from GCC.
22653 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22654 * math/w_j0f.c (y0f): Likewise.
22655 * math/w_j0l.c (__y0l): Likewise.
22656 * math/w_j1.c (y1): Likewise.
22657 * math/w_j1f.c (y1f): Likewise.
22658 * math/w_j1l.c (__y1l): Likewise
22659 * math/w_jn.c (yn): Likewise.
22660 * math/w_jnf.c (ynf): Likewise.
22661 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22662 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22663 value for Bessel function domain errors outside _SVID_ mode.
22664 Adjust sign of return value for yn (negative integer, 0).
22665 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22666 by zero in return for negative x and set sign appropriately for
22668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22670 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22671 expectations in error cases.
22672 (y1_test_data): Likewise.
22673 (yn_test_data): Likewise.
22674 * sysdeps/i386/fpu/libm-test-ulps: Update.
22675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22677 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22679 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22680 "64" to "64-v1". Add "64-v2".
22681 (abi-64-options): Rename to ...
22682 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22683 (abi-64-condition): Rename to ...
22684 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22685 (abi-64-ld-soname): Rename to ...
22686 (abi-64-v1-ld-soname): ... this.
22687 (abi-64-v2-options): Define.
22688 (abi-64-v2-condition): Likewise.
22689 (abi-64-v2-ld-soname): Likewise.
22690 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22691 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22696 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22697 Alan Modra <amodra@gmail.com>
22699 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22700 New versions for use with the ELFv2 ABI.
22701 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22702 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22704 (struct La_ppc64v2_retval): Likewise.
22705 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22706 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22707 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22708 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22709 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22710 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22711 Do not save or restore CR.
22712 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22713 (_dl_profile_resolve): Do no save or restore CR. Support extended
22714 return values for ELFv2 ABI. Fix location of FPR return registers.
22715 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22716 updated values for _CALL_ELF == 2.
22717 (La_regs, La_retval, int_retval): Likewise.
22719 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22721 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22722 (FRAME_MIN_SIZE_PARM): Likewise.
22723 (FRAME_BACKCHAIN): Likewise.
22724 (FRAME_CR_SAVE): Likewise.
22725 (FRAME_LR_SAVE): Likewise.
22726 (FRAME_TOC_SAVE): Likewise.
22727 (FRAME_PARM_SAVE): Likewise.
22728 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22729 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22730 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22731 (call_mcount_parm_offset): New macro.
22732 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22733 (PROF): Use symbolic stack frame offsets.
22734 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22735 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22736 Redefine in terms of FRAME_MIN_SIZE.
22737 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22738 (_dl_profile_resolve): Likewise. Update comment.
22739 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22740 symbols stack frame offsets.
22741 (__sigsetjmp): Likewise.
22742 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22743 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22744 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22745 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22748 (FRAME_BACKCHAIN): Remove.
22749 (FRAME_CR_SAVE): Likewise.
22750 (FRAME_LR_SAVE): Likewise.
22751 (FRAME_COMPILER_DW): Likewise.
22752 (FRAME_LINKER_DW): Likewise.
22753 (FRAME_TOC_SAVE): Likewise.
22754 (FRAME_PARM_SAVE): Likewise.
22755 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22756 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22757 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22759 (CHECK_SP): Use symbolic stack frame offsets.
22760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22761 zone" instead of caller's parameter save area for temp storage.
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22763 Likewise. Also, use symbolic stack frame offsets.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22765 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22766 our own stack frame instead of the caller's.
22767 (__socket): Use symbolic stack frame offsets.
22769 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22770 Alan Modra <amodra@gmail.com>
22772 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22774 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22775 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22776 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22778 (elf_machine_fixup_plt): Call it.
22779 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22781 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22783 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22784 r2 before calling target.
22786 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22787 Alan Modra <amodra@gmail.com>
22789 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22790 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22791 versions of macros to support ELFv2 ABI.
22792 (LOCALENTRY): New macro.
22793 (ENTRY, EALIGN): Use it.
22794 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22795 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22796 fall through into ENTRY entry point.
22797 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22798 Only define if _CALL_ELF != 2.
22800 (elf_machine_matches_host): Verify ABI version matches.
22801 (RTLD_START): Use LOCALENTRY.
22802 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22803 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22804 (PLT_ENTRY_WORDS): New macro.
22805 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22806 (elf_machine_runtime_setup): Support ELFv2 ABI.
22807 (elf_machine_fixup_plt): Likewise.
22808 (elf_machine_plt_conflict): Likewise.
22809 (resolve_ifunc): Likewise.
22810 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22811 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22814 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22816 (makecontext): Support ELFv2 ABI.
22817 * elf/elf.h (EF_PPC64_ABI): Define.
22819 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22821 * sysdeps/powerpc/powerpc64/sysdep.h
22822 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22823 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22824 (ENTRY) [ASSEMBLER]: ... but instead here ...
22825 (EALIGN) [ASSEMBLER]: ... and here.
22826 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22827 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22828 (ENTRY_2) [!ASSEMBLER]: Use it.
22829 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22830 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22831 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22832 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22833 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22835 Use PPC64_LOAD_FUNCPTR.
22837 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22839 2013-12-04 Alan Modra <amodra@gmail.com>
22841 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22842 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22843 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22844 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22846 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22847 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22848 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22849 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22850 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22851 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22853 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22856 (__makecontext): Fix incorrect CFI when backtracing out of
22857 context created via makecontext.
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22859 (__setcontext): Fix incorrect CFI during switch to new context.
22860 (__novec_setcontext): Likewise.
22862 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22865 * time/strptime_l.c (__strptime_internal): Allow modifiers
22867 * time/tst-strptime.c (day_tests): Add testcase.
22869 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22871 * scripts/bench.pl: Skip over blank lines.
22873 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22876 * manual/time.texi (Calendar Time): Clarify what timezone functions
22879 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22883 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22885 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22887 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22888 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22889 * debug/memset_chk.c (__memset_chk): Likewise.
22890 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22891 * debug/strncpy_chk.c: Likewise.
22893 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22897 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22898 (__ieee754_exp): For possibly underflowing results, check size of
22899 result and force underflow exception if required.
22900 * math/auto-libm-test-in: Add more tests of exp.
22901 * math/auto-libm-test-out: Regenerated.
22902 * sysdeps/i386/fpu/libm-test-ulps: Update.
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22906 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22907 * math/w_exp2f.c (__exp2f): Likewise.
22908 * math/w_exp2l.c (__exp2l): Likewise.
22909 * math/auto-libm-test-in: Do not allow missing errno on exp2
22911 * math/auto-libm-test-out: Regenerated.
22913 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22916 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22917 handle filename validation.
22918 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22921 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22924 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22925 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22926 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22928 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22930 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22931 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22932 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22933 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22934 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22935 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22936 Add more erfc tests.
22937 * math/auto-libm-test-out: Regenerated.
22938 * sysdeps/i386/fpu/libm-test-ulps: Update.
22939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22941 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22942 exp2, expm1, j0 and j1.
22943 * math/auto-libm-test-out: Regenerated.
22944 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22945 (erfc_test_data): Likewise.
22946 (exp_test_data): Likewise.
22947 (exp_tonearest_test_data): Likewise.
22948 (exp_towardzero_test_data): Likewise.
22949 (exp_downward_test_data): Likewise.
22950 (exp_upward_test_data): Likewise.
22951 (exp10_test_data): Likewise.
22952 (exp2_test_data): Likewise.
22953 (expm1_test_data): Likewise.
22954 (j0_test_data): Likewise.
22955 (j1_test_data): Likewise.
22956 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22957 (input_flag_type): Add flag_xfail_rounding.
22958 (input_flags): Add xfail-rounding.
22959 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22960 (output_for_one_input_case): Handle flag_xfail_rounding.
22961 * sysdeps/i386/fpu/libm-test-ulps: Update.
22962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22964 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22967 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22970 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22973 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22974 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22975 (STAP_PROBE0): New macro.
22976 (STAP_PROBE1): Likewise.
22977 (STAP_PROBE2): Likewise.
22978 (STAP_PROBE3): Likewise.
22979 (STAP_PROBE4): Likewise.
22981 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22983 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22985 2013-12-02 Steve Ellcey <sellcey@mips.com>
22987 * benchtests/Makefile (bench): Add sqrt.
22988 (LDLIBS-bench-sqrt): New.
22989 * benchtests/sqrt-input: New.
22991 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22993 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22994 (GAIH_EAI): Likewise.
22995 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22996 (gaih_inet): Likewise.
22997 (getaddrinfo): Don't use GAIH_EAI.
22999 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23000 (struct gaih): Remove definition.
23002 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23004 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23005 Use HERRNOP directly.
23007 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23011 2013-11-30 Joseph Myers <joseph@codesourcery.com>
23013 * math/gen-auto-libm-tests.c (test_functions): Add more
23014 single-argument functions.
23015 (special_fill_pi_2): New function.
23016 (special_fill_minus_pi_2): Likewise.
23017 (special_fill_pi_6): Likewise.
23018 (special_fill_minus_pi_6): Likewise.
23019 (special_fill_pi_3): Likewise.
23020 (special_fill_2pi_3): Likewise.
23021 (special_fill_e): Likewise.
23022 (special_fill_1_e): Likewise.
23023 (special_fill_e_minus_1): Likewise.
23024 (special_real_inputs): Add more special inputs.
23025 (output_for_one_input_case): Do not require ERANGE on underflow to
23026 zero if round-to-nearest result does not underflow to zero, unless
23027 exact results required.
23028 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23029 atan, atanh, cbrt, cos and cosh.
23030 * math/auto-libm-test-out: Regenerated.
23031 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23032 (acos_tonearest_test_data): Likewise.
23033 (acos_towardzero_test_data): Likewise.
23034 (acos_downward_test_data): Likewise.
23035 (acos_upward_test_data): Likewise.
23036 (acosh_test_data): Likewise.
23037 (asin_test_data): Likewise.
23038 (asin_tonearest_test_data): Likewise.
23039 (asin_towardzero_test_data): Likewise.
23040 (asin_upward_test_data): Likewise.
23041 (asinh_test_data): Likewise.
23042 (atan_test_data): Likewise.
23043 (atanh_test_data): Likewise.
23044 (cbrt_test_data): Likewise.
23045 (cos_test_data): Likewise.
23046 (cos_tonearest_test_data): Likewise.
23047 (cos_towardzero_test_data): Likewise.
23048 (cos_downward_test_data): Likewise.
23049 (cos_upward_test_data): Likewise.
23050 (cosh_test_data): Likewise.
23051 (cosh_tonearest_test_data): Likewise.
23052 (cosh_towardzero_test_data): Likewise.
23053 (cosh_downward_test_data): Likewise.
23054 (cosh_upward_test_data): Likewise.
23055 * sysdeps/i386/fpu/libm-test-ulps: Update.
23056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23058 2013-11-29 Joseph Myers <joseph@codesourcery.com>
23061 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23062 * math/w_exp10f.c (__exp10f): Likewise.
23063 * math/w_exp10l.c (__exp10l): Likewise.
23064 * math/libm-test.inc (exp10_test_data): Add more tests and expect
23065 errno settings in existing tests.
23068 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23069 precision control set to double precision.
23070 * sysdeps/i386/fpu/w_sqrt.c: New file.
23071 * math/auto-libm-test-in: Add more tests.
23072 * math/auto-libm-test-out: Update.
23074 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23075 (sqrt_test_tonearest): New function.
23076 (sqrt_towardzero_test_data): New variable.
23077 (sqrt_test_towardzero): New function.
23078 (sqrt_downward_test_data): New variable.
23079 (sqrt_test_downward): New function.
23080 (sqrt_upward_test_data): New variable.
23081 (sqrt_test_upward): New function.
23082 (main): Call the new functions.
23084 * math/gen-auto-libm-tests.c: New file.
23085 * math/auto-libm-test-in: Likewise.
23086 * math/auto-libm-test-out: New generated file.
23087 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23089 (%beautify): Add generated representations of zero.
23090 (top level): Set $auto_input and call parse_auto_input.
23091 (beautify): Remove trailing "f" from hex float constants.
23092 (parse_args): Handle XFAIL_TEST.
23093 (convert_condition): New function.
23094 (or_value): Likewise.
23095 (or_cond_value): Likewise.
23096 (generate_testfile): Handle AUTO_TESTS_* lines.
23097 (parse_auto_input): New function.
23098 * math/libm-test.inc (XFAIL_TEST): New macro.
23099 (ERRNO_UNCHANGED): Update value.
23100 (ERRNO_EDOM): Likewise.
23101 (ERRNO_ERANGE): Likewise.
23102 (IGNORE_RESULT): Likewise.
23103 (TEST_COND_flt_32): New macro.
23104 (TEST_COND_dbl_64): Likewise.
23105 (TEST_COND_ldbl_96_intel): Likewise.
23106 (TEST_COND_ldbl_96_m68k): Likewise.
23107 (TEST_COND_ldbl_128): Likewise.
23108 (TEST_COND_ldbl_128ibm): Likewise.
23109 (TEST_COND_long32): Likewise.
23110 (TEST_COND_long64): Likewise.
23111 (TEST_COND_before_rounding): Likewise.
23112 (TEST_COND_after_rounding): Likewise.
23113 (enable_test): Handle XFAIL_TEST flag.
23114 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23115 with finite results.
23116 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23117 auto-libm-test-out.
23119 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23120 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23123 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23124 __tls_get_addr_internal instead of __tls_get_offset in order to
23125 avoid GOT pointer dependency. Make rtld export
23126 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23127 __tls_get_addr since we are a __tls_get_offset platform.
23128 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23129 GOT pointer being set up before.
23130 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23132 2013-11-28 Joseph Myers <joseph@codesourcery.com>
23134 * manual/math.texi (Errors in Math Functions): Document accuracy
23138 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23139 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23142 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23144 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23150 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23152 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23153 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23155 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23156 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23157 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23158 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23159 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23161 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23163 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23165 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23166 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23167 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23168 atomic-feupdateenv and flt-rounds.
23169 * sysdeps/powerpc/nofpu/Versions (libc): Add
23170 __atomic_feholdexcept, __atomic_feclearexcept,
23171 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23173 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23174 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23175 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23180 * manual/arith.texi (FP Exceptions): Document that exceptions may
23181 not be raised when matherr is used.
23182 (Math Error Reporting): Document overflow in directed rounding
23183 modes. Document that errno may not be set when finite values are
23184 returned on overflow. Document intent to set errno on underflow
23185 only for underflow to zero.
23188 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23189 round-to-nearest then adjust result for other rounding modes.
23190 * include/fenv.h (fegetround): Use libm_hidden_proto.
23191 * math/fegetround.c (fegetround): Use libm_hidden_def.
23192 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23193 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23194 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23195 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23197 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23198 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23199 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23200 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23202 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23205 * nss/Versions (libnss_files): Add
23206 _nss_files_gethostbyname3_r.
23207 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23209 (HOST_DB_LOOKUP): Remove macro.
23210 (_nss_files_gethostbyname_r): Implement function without the
23211 HOST_DB_LOOKUP macro.
23212 (_nss_files_gethostbyname2_r): Likewise.
23214 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
23216 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23218 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
23220 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23221 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23224 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23226 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23227 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23228 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23229 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23230 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23231 __fe_nomask_env_priv and attribute_hidden.
23232 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23233 (libc_feupdateenv_test_ppc): Likewise.
23234 (libc_feresetround_ppc): Likewise.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23236 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23237 compat_symbol macro.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23239 (__fe_nomask_env): Likewise.
23240 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23242 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23244 * string/Makefile: Remove ifunc tests.
23245 * string/test-string.h: Define TEST_IFUNC.
23246 * string/test-bcopy-ifunc.c: Remove.
23247 * string/test-bzero-ifunc.c: Likewise.
23248 * string/test-memccpy-ifunc.c: Likewise.
23249 * string/test-memchr-ifunc.c: Likewise.
23250 * string/test-memcmp-ifunc.c: Likewise.
23251 * string/test-memcpy-ifunc.c: Likewise.
23252 * string/test-memmem-ifunc.c: Likewise.
23253 * string/test-memmove-ifunc.c: Likewise.
23254 * string/test-mempcpy-ifunc.c: Likewise.
23255 * string/test-memrchr-ifunc.c: Likewise.
23256 * string/test-memset-ifunc.c: Likewise.
23257 * string/test-rawmemchr-ifunc.c: Likewise.
23258 * string/test-stpcpy-ifunc.c: Likewise.
23259 * string/test-stpncpy-ifunc.c: Likewise.
23260 * string/test-strcasecmp-ifunc.c: Likewise.
23261 * string/test-strcasestr-ifunc.c: Likewise.
23262 * string/test-strcat-ifunc.c: Likewise.
23263 * string/test-strchr-ifunc.c: Likewise.
23264 * string/test-strchrnul-ifunc.c: Likewise.
23265 * string/test-strcmp-ifunc.c: Likewise.
23266 * string/test-strcpy-ifunc.c: Likewise.
23267 * string/test-strcspn-ifunc.c: Likewise.
23268 * string/test-strlen-ifunc.c: Likewise.
23269 * string/test-strncasecmp-ifunc.c: Likewise.
23270 * string/test-strncat-ifunc.c: Likewise.
23271 * string/test-strncmp-ifunc.c: Likewise.
23272 * string/test-strncpy-ifunc.c: Likewise.
23273 * string/test-strnlen-ifunc.c: Likewise.
23274 * string/test-strpbrk-ifunc.c: Likewise.
23275 * string/test-strrchr-ifunc.c: Likewise.
23276 * string/test-strspn-ifunc.c: Likewise.
23277 * string/test-strstr-ifunc.c: Likewise.
23279 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23281 * benchtests/Makefile: Remove ifunc tests.
23282 * benchtests/bench-string.h: Define TEST_IFUNC.
23283 * benchtests/bench-bcopy-ifunc.c: Remove.
23284 * benchtests/bench-bzero-ifunc.c: Likewise.
23285 * benchtests/bench-memccpy-ifunc.c: Likewise.
23286 * benchtests/bench-memchr-ifunc.c: Likewise.
23287 * benchtests/bench-memcmp-ifunc.c: Likewise.
23288 * benchtests/bench-memcpy-ifunc.c: Likewise.
23289 * benchtests/bench-memmem-ifunc.c: Likewise.
23290 * benchtests/bench-memmove-ifunc.c: Likewise.
23291 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23292 * benchtests/bench-memrchr-ifunc.c: Likewise.
23293 * benchtests/bench-memset-ifunc.c: Likewise.
23294 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23295 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23296 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23297 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23298 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23299 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23300 * benchtests/bench-strcat-ifunc.c: Likewise.
23301 * benchtests/bench-strchr-ifunc.c: Likewise.
23302 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23303 * benchtests/bench-strcmp-ifunc.c: Likewise.
23304 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23305 * benchtests/bench-strcpy-ifunc.c: Likewise.
23306 * benchtests/bench-strcspn-ifunc.c: Likewise.
23307 * benchtests/bench-strlen-ifunc.c: Likewise.
23308 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23309 * benchtests/bench-strncat-ifunc.c: Likewise.
23310 * benchtests/bench-strncmp-ifunc.c: Likewise.
23311 * benchtests/bench-strncpy-ifunc.c: Likewise.
23312 * benchtests/bench-strnlen-ifunc.c: Likewise.
23313 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23314 * benchtests/bench-strrchr-ifunc.c: Likewise.
23315 * benchtests/bench-strsep-ifunc.c: Likewise.
23316 * benchtests/bench-strspn-ifunc.c: Likewise.
23317 * benchtests/bench-strstr-ifunc.c: Likewise.
23319 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23321 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23323 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23325 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23326 * rt/aio.h: Likewise.
23327 * sysdeps/gnu/bits/utmp.h: Likewise.
23328 * sysdeps/gnu/bits/utmpx.h: Likewise.
23329 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23330 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23331 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23332 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23333 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23334 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23335 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23336 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23337 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23338 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23339 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23340 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23341 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23343 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23345 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23346 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23347 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23348 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23349 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23350 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23351 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23352 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23353 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23354 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23355 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23356 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23357 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23358 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23359 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23360 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23362 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23363 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23364 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23365 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23366 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23367 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23368 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23369 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23370 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23372 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23375 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23376 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23378 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23380 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23381 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23384 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23387 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23388 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23389 (__fesetround): Remove define.
23390 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23391 rounding and exceptions handling.
23392 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23393 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23394 (__fe_nomask_env): Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23396 __fegetround instead of fegetround.
23397 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23400 2013-11-21 Roland McGrath <roland@hack.frob.com>
23402 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23405 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23407 2013-11-21 Meador Inge <meadori@codesourcery.com>
23410 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23411 (encrypt_r): Likewise.
23412 * malloc/obstack.h (obstack_free): Likewise.
23413 * posix/unistd.h (encrypt): Likewise.
23415 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23417 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23418 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23419 DL_CALL_DT_FINI() that call the functions directly.
23420 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23421 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23422 * elf/dl-fini.c: Likewise.
23424 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23426 * malloc/hooks.c (memalign_check): Add alignment rounding.
23427 * malloc/malloc.c (_mid_memalign): New function.
23428 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23429 Implement by calling _mid_memalign.
23430 * manual/probes.texi (Memory Allocation Probes): Remove
23431 memory_valloc_retry and memory_pvalloc_retry.
23433 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23435 * locale/programs/locarchive.c (open_archive): Add const
23436 qualifier to ARCHIVEFNAME and copy default fname to
23440 * libio/tst-widetext.input: Rename Oriya to Odia.
23441 * locale/iso-639.def: Likewise.
23443 * manual/probes.texi (Mathematical Function Probes): Add
23444 documentation for sin, cos, asin and acos probes.
23445 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23446 (__sin32): Add slowasin probe.
23447 (__cos32): Add slowacos probe.
23448 (__mpsin): Add slowsin probe.
23449 (__mpcos): Add slowcos probe.
23451 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23454 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23455 thread-local __sim_exceptions_thread and global
23456 __sim_exceptions_global.
23457 (__sim_disabled_exceptions): Change to thread-local
23458 __sim_disabled_exceptions_thread and global
23459 __sim_disabled_exceptions_global.
23460 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23461 and global __sim_round_mode_global.
23462 (__simulate_exceptions): Use thread-local floating-point state and
23463 set global state from it as needed.
23464 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23465 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23466 __sim_round_mode_thread.
23467 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23468 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23469 and global __sim_exceptions_global.
23470 (__sim_disabled_exceptions): Change to thread-local
23471 __sim_disabled_exceptions_thread and global
23472 __sim_disabled_exceptions_global.
23473 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23474 and global __sim_round_mode_global.
23475 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23476 (SIM_SET_GLOBAL): Likewise.
23477 * sysdeps/powerpc/soft-fp/sfp-machine.h
23478 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23479 __sim_round_mode_thread.
23480 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23481 __sim_disabled_exceptions_thread.
23482 (__sim_exceptions): Change to __sim_exceptions_thread.
23483 (__sim_disabled_exceptions): Change to
23484 __sim_disabled_exceptions_thread.
23485 (__sim_round_mode): Change to __sim_round_mode_thread.
23486 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23487 thread-local floating-point state and set global state from it as
23489 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23490 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23491 (__sim_disabled_exceptions): Remove extern declaration.
23492 (feenableexcept): Use thread-local floating-point state and set
23493 global state from it as needed.
23494 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23495 extern declaration.
23496 (__sim_disabled_exceptions): Likewise.
23497 (__sim_round_mode): Likewise.
23498 (__fegetenv): Use thread-local floating-point state.
23499 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23500 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23501 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23502 floating-point state and set global state from it as needed.
23503 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23504 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23505 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23507 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23508 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23510 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23511 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23512 Use __sim_round_mode_thread.
23513 * math/test-fenv-tls.c: New file.
23514 * math/Makefile (tests): Add test-fenv-tls.
23515 ($(objpfx)test-fenv-tls): Depend on
23516 $(common-objpfx)nptl/libpthread.so.
23518 2013-11-19 Andreas Schwab <schwab@suse.de>
23520 * locale/programs/locale.c (show_info): Decode wordarray elements.
23521 * locale/categories.def (LC_MONETARY): Add element for
23522 _NL_MONETARY_CRNCYSTR.
23523 * locale/C-monetary.c (conversion_rate): New variable.
23524 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23527 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23529 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23530 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23532 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23534 * elf/Makefile (tst-auxv): New test.
23535 * elf/tst-auxv.c: New
23536 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23538 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23540 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23541 (hidden_proto): Caller changed.
23542 (hidden_tls_proto): New macro.
23543 (libc_hidden_tls_proto): Likewise.
23544 (rtld_hidden_tls_proto): Likewise.
23545 (libm_hidden_tls_proto): Likewise.
23546 (libresolv_hidden_tls_proto): Likewise.
23547 (librt_hidden_tls_proto): Likewise.
23548 (libdl_hidden_tls_proto): Likewise.
23549 (libnss_files_hidden_tls_proto): Likewise.
23550 (libnsl_hidden_tls_proto): Likewise.
23551 (libnss_nisplus_hidden_tls_proto): Likewise.
23552 (libutil_hidden_tls_proto): Likewise.
23554 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23557 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23558 (decompose_rpath): Defer expansion to fillin_rpath.
23559 (_dl_init_paths): Pass linkmap to fillin_rpath.
23561 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23563 * benchtests/Makefile: Add strsep.
23564 * benchtests/bench-strsep.c: New file: strsep benchtest.
23565 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23567 2013-11-18 Andreas Schwab <schwab@suse.de>
23569 * locale/programs/locale.c (show_info) [case byte]: Check for
23570 '\377' instead of '\177'.
23571 * locale/C-monetary.c (not_available): Always use "\377".
23572 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23573 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23574 detect unavailable sign_posn locale elements.
23575 * locale/localeconv.c (__localeconv): For grouping and
23576 mon_grouping handle "\177" and "\377" like no grouping.
23577 (INT_ELEM): New macro. Use it to set all numeric members.
23578 * locale/programs/ld-monetary.c (monetary_read)
23579 <tok_mon_grouping>: Normalize single -1 to the empty string.
23580 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23583 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23586 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23587 when we match (nil).
23588 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23590 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23592 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23593 (NO_TEST_INLINE): Update value.
23594 (ERRNO_UNCHANGED): Likewise.
23595 (ERRNO_EDOM): Likewise.
23596 (ERRNO_ERANGE): Likewise.
23597 (IGNORE_RESULT): Likewise.
23598 (check_float_internal): Check signs of NaN results if
23599 TEST_NAN_SIGN used.
23600 (check_complex): Pass TEST_NAN_SIGN flag through to second
23601 check_float_internal call.
23602 (copysign_test_data): Add tests with quiet NaNs as second
23603 argument. Use TEST_NAN_SIGN.
23604 (fabs_test_data): Add test of negative quiet NaN argument. Use
23606 (signbit_test_data): Add tests of quiet NaN argument.
23607 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23609 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23611 (parse_args): Handle function results specified as IGNORE.
23612 * math/libm-test.inc (IGNORE_RESULT): New macro.
23613 (check_float_internal): Do not check numerical result if flag
23615 (check_complex): Pass through IGNORE_RESULT to second
23616 check_float_internal call.
23617 (check_int): Do not check numerical result if flag IGNORE_RESULT
23619 (check_long): Likewise.
23620 (check_bool): Likewise.
23621 (check_longlong): Likewise.
23622 (lrint_test_data): Add tests of infinite and NaN arguments.
23623 (lrint_tonearest_test_data): Likewise.
23624 (lrint_towardzero_test_data): Likewise.
23625 (lrint_downward_test_data): Likewise.
23626 (lrint_upward_test_data): Likewise.
23627 (llrint_test_data): Likewise.
23628 (llrint_tonearest_test_data): Likewise.
23629 (llrint_towardzero_test_data): Likewise.
23630 (llrint_downward_test_data): Likewise.
23631 (llrint_upward_test_data): Likewise.
23632 (lround_test_data): Likewise.
23633 (llround_test_data): Likewise.
23635 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23636 (ERRNO_UNCHANGED): Update value.
23637 (ERRNO_EDOM): Likewise.
23638 (ERRNO_ERANGE): Likewise.
23639 (NO_TEST_INLINE_FLOAT): New macro.
23640 (NO_TEST_INLINE_DOUBLE): Likewise.
23641 (enable_test): New function.
23642 (RUN_TEST_f_f): Check enable_test before running test.
23643 (RUN_TEST_2_f): Likewise.
23644 (RUN_TEST_fff_f): Likewise.
23645 (RUN_TEST_c_f): Likewise.
23646 (RUN_TEST_f_f1): Likewise.
23647 (RUN_TEST_fF_f1): Likewise.
23648 (RUN_TEST_fI_f1): Likewise.
23649 (RUN_TEST_ffI_f1): Likewise.
23650 (RUN_TEST_c_c): Likewise.
23651 (RUN_TEST_cc_c): Likewise.
23652 (RUN_TEST_f_i): Likewise.
23653 (RUN_TEST_f_i_tg): Likewise.
23654 (RUN_TEST_ff_i_tg): Likewise.
23655 (RUN_TEST_f_b): Likewise.
23656 (RUN_TEST_f_b_tg): Likewise.
23657 (RUN_TEST_f_l): Likewise.
23658 (RUN_TEST_f_L): Likewise.
23659 (RUN_TEST_fFF_11): Likewise.
23660 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23662 (cosh_test_data): Likewise.
23663 (exp_test_data): Likewise.
23664 (expm1_test_data): Likewise.
23665 (hypot_test_data): Likewise.
23666 (pow_test_data): Likewise.
23667 (sinh_test_data): Likewise.
23668 (tanh_test_data): Likewise.
23669 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23672 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23673 tests with quiet NaN input and output.
23674 (acosh_test_data): Likewise.
23675 (asin_test_data): Likewise.
23676 (asinh_test_data): Likewise.
23677 (atan_test_data): Likewise.
23678 (atanh_test_data): Likewise.
23679 (atan2_test_data): Likewise.
23680 (cbrt_test_data): Likewise.
23681 (cos_test_data): Likewise.
23682 (cosh_test_data): Likewise.
23683 (erf_test_data): Likewise.
23684 (erfc_test_data): Likewise.
23685 (exp_test_data): Likewise.
23686 (exp10_test_data): Likewise.
23687 (exp2_test_data): Likewise.
23688 (expm1_test_data): Likewise.
23689 (hypot_test_data): Likewise.
23690 (j0_test_data): Likewise.
23691 (j1_test_data): Likewise.
23692 (jn_test_data): Likewise.
23693 (lgamma_test_data): Likewise.
23694 (log_test_data): Likewise.
23695 (log10_test_data): Likewise.
23696 (log1p_test_data): Likewise.
23697 (log2_test_data): Likewise.
23698 (pow_test_data): Likewise.
23699 (scalb_test_data): Likewise.
23700 (sin_test_data): Likewise.
23701 (sincos_test_data): Likewise.
23702 (sinh_test_data): Likewise.
23703 (tan_test_data): Likewise.
23704 (tanh_test_data): Likewise.
23705 (tgamma_test_data): Likewise.
23706 (y0_test_data): Likewise.
23707 (y1_test_data): Likewise.
23708 (yn_test_data): Likewise.
23711 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23712 argument being NaN and avoid computations with second argument in
23714 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23715 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23716 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23718 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23720 * locale/iso-639.def: Add Chitwani Tharu (the).
23722 2013-11-14 Andreas Schwab <schwab@suse.de>
23724 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23725 word instead of empty string.
23727 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23730 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23732 (__fe_nomask_env): Likewise.
23734 2013-11-13 Steve Ellcey <sellcey@mips.com>
23736 * benchtests/bench-timing.h: Include time.h.
23738 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23741 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23743 * sysdeps/unix/sysv/linux/configure: Regenerated.
23745 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23748 * stdlib/strtod_l.c (round_and_return): Do not consider
23749 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23750 exponent one less than half the least subnormal exponent.
23751 * stdlib/test-strtod-round-data: Add more tests.
23752 * stdlib/tst-strtod-round.c (tests): Regenerated.
23754 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23757 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23758 (__fe_mask_env): Likewise.
23759 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23760 libm_hidden_proto and add function prototype.
23761 (__fe_mask_env): Add function prototype.
23762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23763 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23765 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23767 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23769 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23771 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23772 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23774 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23776 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23777 of htab_find_slot().
23779 2013-11-11 David S. Miller <davem@davemloft.net>
23782 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23783 symbol in the non-vis3 case in static builds.
23784 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23785 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23786 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23787 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23789 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23792 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23795 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23797 * benchtests/Makefile: Add bench-strtod.
23798 * benchtests/bench-strtod.c: New file: strtod benchtest
23800 2013-11-11 Andreas Schwab <schwab@suse.de>
23803 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23804 terminating NUL in key length.
23806 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23809 Add artificial ODP entry for vDSO symbol for PPC64.
23810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23811 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23813 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23816 * nss/getent.c (services_keys): Recognize services starting with digit.
23818 2013-11-06 David S. Miller <davem@davemloft.net>
23821 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23822 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23824 2013-11-06 Will Newton <will.newton@linaro.org>
23826 * manual/memory.texi (Malloc Examples): Remove register
23827 keyword from examples.
23829 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23831 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23833 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23836 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23837 depending on [__GCC_IEC_559 > 0].
23838 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23839 depending on [__GCC_IEC_559_COMPLEX > 0].
23841 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23843 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23846 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23848 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23850 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23853 * malloc/malloc (malloc_info): Do not handle first bin as
23856 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23858 * locale/iso-639.def: Add Central Nahuatl (nhn).
23860 2013-11-01 Bruno Haible <bruno@clisp.org>
23863 * manual/math.texi (BSD Random): Specify range upper bound as
23866 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23868 * locale/iso-639.def: Add Meadow Mari (mhr).
23870 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23872 [BZ #14752], [BZ #15763]
23873 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23875 * rt/tst_shm.c: Add test for escaping directory.
23877 2013-10-31 Andreas Schwab <schwab@suse.de>
23880 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23881 followed by 'x' as part of digit sequence.
23882 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23884 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23887 * configure.ac: allow GNU Make 4.0 and greater.
23888 * configure: Regenerated.
23890 2013-10-30 Will Newton <will.newton@linaro.org>
23893 * malloc/hooks.c (memalign_check): Limit alignment to the
23894 maximum representable power of two.
23895 * malloc/malloc.c (__libc_memalign): Likewise.
23896 * malloc/tst-memalign.c (do_test): Add test for very
23897 large alignment values.
23898 * malloc/tst-posix_memalign.c (do_test): Likewise.
23900 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23903 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23904 (munmap_chunk): Likewise.
23905 (mremap_chunk): Likewise.
23907 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23910 * stdlib/div.c (div): Remove obsolete code.
23911 * stdlib/ldiv.c (ldiv): Likewise.
23912 * stdlib/lldiv.c (lldiv): Likewise.
23914 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23917 * nss/nss_files/files-XXX.c (get_contents_ret): New
23919 (get_contents): New function.
23920 (internal_getent): Use it. Expand size of LINEBUFLEN.
23922 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23924 * configure.in: Moved to ...
23925 * configure.ac: ... here. Change reference to configure.in
23927 * sysdeps/arm/preconfigure.ac: ... here.
23928 configure.in to configure.ac.
23929 * sysdeps/gnu/configure.in: Moved to ...
23930 * sysdeps/gnu/configure.ac: ... here.
23931 * sysdeps/i386/configure.in: Moved to ...
23932 * sysdeps/i386/configure.ac: ... here.
23933 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23934 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23935 * sysdeps/mach/configure.in: Moved to ...
23936 * sysdeps/mach/configure.ac: ... here.
23937 * sysdeps/mach/hurd/configure.in: Moved to ...
23938 * sysdeps/mach/hurd/configure.ac: ... here.
23939 * sysdeps/powerpc/configure.in: Moved to ...
23940 * sysdeps/powerpc/configure.ac: ... here.
23941 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23942 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23943 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23944 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23945 * sysdeps/s390/s390-32/configure.in: Moved to ...
23946 * sysdeps/s390/s390-32/configure.ac: ... here.
23947 * sysdeps/s390/s390-64/configure.in: Moved to ...
23948 * sysdeps/s390/s390-64/configure.ac: ... here.
23949 * sysdeps/sh/configure.in: Moved to ...
23950 * sysdeps/sh/configure.ac: ... here.
23951 * sysdeps/sparc/configure.in: Moved to ...
23952 * sysdeps/sparc/configure.ac: ... here.
23953 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23954 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23955 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23956 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23957 * sysdeps/x86_64/configure.in: Moved to ...
23958 * sysdeps/x86_64/configure.ac: ... here.
23959 * sysdeps/x86_64/preconfigure.in: Moved to ...
23960 * sysdeps/x86_64/preconfigure.ac: ... here.
23961 * aclocal.m4: Change reference to configure.in to configure.ac.
23962 * config.h.in: Likewise.
23963 * manual/install.texi: Likewise.
23964 * manual/maint.texi: Likewise.
23965 * Makefile: Likewise.
23966 * malloc/Makefile: Likewise.
23967 * nscd/Makefile: Likewise.
23968 * Makeconfig: Change reference to configure.in and
23969 preconfigure.in to configure.ac and preconfigure.ac
23971 * INSTALL: Regenerated.
23972 * configure: Likewise.
23973 * sysdeps/gnu/configure: Likewise.
23974 * sysdeps/i386/configure: Likewise.
23975 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23976 * sysdeps/mach/configure: Likewise.
23977 * sysdeps/mach/hurd/configure: Likewise.
23978 * sysdeps/powerpc/configure: Likewise.
23979 * sysdeps/powerpc/powerpc32/configure: Likewise.
23980 * sysdeps/powerpc/powerpc64/configure: Likewise.
23981 * sysdeps/s390/s390-32/configure: Likewise.
23982 * sysdeps/s390/s390-64/configure: Likewise.
23983 * sysdeps/sh/configure: Likewise.
23984 * sysdeps/sparc/configure: Likewise.
23985 * sysdeps/unix/sysv/linux/configure: Likewise.
23986 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23987 * sysdeps/x86_64/configure: Likewise.
23988 * sysdeps/x86_64/preconfigure: Likewise.
23990 2013-10-29 Andreas Schwab <schwab@suse.de>
23992 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23994 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23996 * benchtests/pow-inputs: Add new inputs.
23998 * benchtests/exp-inputs: Add new inputs.
24000 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24001 conditional check for return value.
24002 (__cos32): Likewise.
24004 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24006 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24007 to provide a boost for large inputs with word alignment.
24008 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24009 implementation based on optimized PPC64 strcpy.
24010 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24011 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24012 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24013 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24015 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24018 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24020 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24023 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24024 * time/tst-strptime.c (day_tests): Add testcase.
24026 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
24029 * manual/pattern.texi: Acknowledge that fnmatch can fail.
24031 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
24034 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24035 MAP_FAILED on error.
24037 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24040 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24041 heap for large requests.
24043 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
24046 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24047 result if the result has no associated interface.
24048 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24049 interface for all 127.X.Y.Z addresses.
24051 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
24053 * locale/iso-639.def: Add Ligurian (lij)
24055 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
24058 * sunrpc/rpc_main.c: Document rpcgen -5.
24060 2013-10-19 Michael Stahl <mstahl@redhat.com>
24062 * elf/rtld.c (do_preload): Print the reason why preloading failed.
24064 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24067 * posix/glob.c: Match only directories when trailing slash is present.
24068 * posix/tst-gnuglob.c (my_opendir): Do not open files.
24069 (main): Add testcase.
24071 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
24074 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24076 2013-10-18 Carlos O'Donell <carlos@redhat.com>
24078 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24079 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24080 AUTH_DES and cindex for FIPS 140-2.
24081 (DES Encryption): Add cindex FIPS 46-3.
24083 * locale/locarchive.h (struct locarhandle): Add fname.
24084 * locale/programs/localedef.c (main): Pass ARGV[remaining]
24085 if an optional argument was specified to --list-archive,
24087 * locale/programs/locarchive.c (show_archive_content): Take new
24088 argument fname and pass it via ah.fname to open_archive.
24089 * locale/programs/localedef.h: Update decl.
24090 (open_archive): If AH->fname is non-null, open that file
24091 rather than the default file name, and don't ignore ENOENT.
24092 (create_archive): Set AH.fname to NULL.
24093 (delete_locales_from_archive): Likewise.
24094 (add_locales_to_archive): Likewise.
24095 * locale/programs/locfile.c (write_all_categories): Likewise.
24097 2013-10-18 Joseph Myers <joseph@codesourcery.com>
24098 Aldy Hernandez <aldyh@redhat.com>
24100 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24101 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24102 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24103 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24104 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24105 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24106 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24107 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24108 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24109 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24110 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24111 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24112 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24113 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24114 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24116 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24118 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24120 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24122 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24123 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24125 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24126 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24127 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24128 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24130 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24131 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24132 * sysdeps/powerpc/preconfigure: Likewise.
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24135 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24136 Replace contents of file by #include of <fenv_libc.h>.
24137 * sysdeps/powerpc/soft-fp/sfp-machine.h
24138 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24140 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24145 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24147 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24149 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24153 Allow copysignl PLT reference to be missing.
24155 2013-10-18 Richard Sandiford <richard@codesourcery.com>
24156 Joseph Myers <joseph@codesourcery.com
24159 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24161 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24163 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24165 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24166 * elf/tst-tls1.c: Likewise.
24167 * elf/tst-tls10.h: Likewise.
24168 * elf/tst-tls14.c: Likewise.
24169 * elf/tst-tls2.c: Likewise.
24170 * elf/tst-tls3.c: Likewise.
24171 * elf/tst-tls4.c: Likewise.
24172 * elf/tst-tls5.c: Likewise.
24173 * elf/tst-tls6.c: Likewise.
24174 * elf/tst-tls7.c: Likewise.
24175 * elf/tst-tls8.c: Likewise.
24176 * elf/tst-tls9.c: Likewise.
24177 * elf/tst-tlsmod1.c: Likewise.
24178 * elf/tst-tlsmod13.c: Likewise.
24179 * elf/tst-tlsmod13a.c: Likewise.
24180 * elf/tst-tlsmod14a.c: Likewise.
24181 * elf/tst-tlsmod16a.c: Likewise.
24182 * elf/tst-tlsmod16b.c: Likewise.
24183 * elf/tst-tlsmod2.c: Likewise.
24184 * elf/tst-tlsmod3.c: Likewise.
24185 * elf/tst-tlsmod4.c: Likewise.
24186 * elf/tst-tlsmod5.c: Likewise.
24187 * elf/tst-tlsmod6.c: Likewise.
24189 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
24192 * malloc/malloc.c: remove checks for statistics.
24194 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24197 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24198 * inet/tst-network.c: Add testcase.
24200 2013-10-17 Andreas Schwab <schwab@suse.de>
24203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24204 to determine canonical name.
24206 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24208 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24209 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24211 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24216 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24217 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24218 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24224 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24226 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24231 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24232 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24233 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24235 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24236 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24237 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24238 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24239 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24240 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24241 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24242 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24243 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24244 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24245 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24246 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24248 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24249 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24250 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24251 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24252 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24253 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24254 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24255 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24261 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24267 2013-10-17 Joseph Myers <joseph@codesourcery.com>
24270 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24271 make result into a quiet NaN.
24273 2013-10-16 Joseph Myers <joseph@codesourcery.com>
24275 * soft-fp/adddf3.c: Fix horizontal whitespace.
24276 * soft-fp/addsf3.c: Likewise.
24277 * soft-fp/addtf3.c: Likewise.
24278 * soft-fp/divdf3.c: Likewise.
24279 * soft-fp/divsf3.c: Likewise.
24280 * soft-fp/divtf3.c: Likewise.
24281 * soft-fp/double.h: Likewise.
24282 * soft-fp/eqdf2.c: Likewise.
24283 * soft-fp/eqsf2.c: Likewise.
24284 * soft-fp/eqtf2.c: Likewise.
24285 * soft-fp/extenddftf2.c: Likewise.
24286 * soft-fp/extended.h: Likewise.
24287 * soft-fp/extendsfdf2.c: Likewise.
24288 * soft-fp/extendsftf2.c: Likewise.
24289 * soft-fp/extendxftf2.c: Likewise.
24290 * soft-fp/fixdfdi.c: Likewise.
24291 * soft-fp/fixdfsi.c: Likewise.
24292 * soft-fp/fixdfti.c: Likewise.
24293 * soft-fp/fixsfdi.c: Likewise.
24294 * soft-fp/fixsfsi.c: Likewise.
24295 * soft-fp/fixsfti.c: Likewise.
24296 * soft-fp/fixtfdi.c: Likewise.
24297 * soft-fp/fixtfsi.c: Likewise.
24298 * soft-fp/fixtfti.c: Likewise.
24299 * soft-fp/fixunsdfdi.c: Likewise.
24300 * soft-fp/fixunsdfsi.c: Likewise.
24301 * soft-fp/fixunsdfti.c: Likewise.
24302 * soft-fp/fixunssfdi.c: Likewise.
24303 * soft-fp/fixunssfsi.c: Likewise.
24304 * soft-fp/fixunssfti.c: Likewise.
24305 * soft-fp/fixunstfdi.c: Likewise.
24306 * soft-fp/fixunstfsi.c: Likewise.
24307 * soft-fp/fixunstfti.c: Likewise.
24308 * soft-fp/floatdidf.c: Likewise.
24309 * soft-fp/floatdisf.c: Likewise.
24310 * soft-fp/floatditf.c: Likewise.
24311 * soft-fp/floatsidf.c: Likewise.
24312 * soft-fp/floatsisf.c: Likewise.
24313 * soft-fp/floatsitf.c: Likewise.
24314 * soft-fp/floattidf.c: Likewise.
24315 * soft-fp/floattisf.c: Likewise.
24316 * soft-fp/floattitf.c: Likewise.
24317 * soft-fp/floatundidf.c: Likewise.
24318 * soft-fp/floatundisf.c: Likewise.
24319 * soft-fp/floatunditf.c: Likewise.
24320 * soft-fp/floatunsidf.c: Likewise.
24321 * soft-fp/floatunsisf.c: Likewise.
24322 * soft-fp/floatunsitf.c: Likewise.
24323 * soft-fp/floatuntidf.c: Likewise.
24324 * soft-fp/floatuntisf.c: Likewise.
24325 * soft-fp/floatuntitf.c: Likewise.
24326 * soft-fp/fmadf4.c: Likewise.
24327 * soft-fp/fmasf4.c: Likewise.
24328 * soft-fp/fmatf4.c: Likewise.
24329 * soft-fp/gedf2.c: Likewise.
24330 * soft-fp/gesf2.c: Likewise.
24331 * soft-fp/getf2.c: Likewise.
24332 * soft-fp/ledf2.c: Likewise.
24333 * soft-fp/lesf2.c: Likewise.
24334 * soft-fp/letf2.c: Likewise.
24335 * soft-fp/muldf3.c: Likewise.
24336 * soft-fp/mulsf3.c: Likewise.
24337 * soft-fp/multf3.c: Likewise.
24338 * soft-fp/negdf2.c: Likewise.
24339 * soft-fp/negsf2.c: Likewise.
24340 * soft-fp/negtf2.c: Likewise.
24341 * soft-fp/op-1.h: Likewise.
24342 * soft-fp/op-2.h: Likewise.
24343 * soft-fp/op-4.h: Likewise.
24344 * soft-fp/op-8.h: Likewise.
24345 * soft-fp/op-common.h: Likewise.
24346 * soft-fp/quad.h: Likewise.
24347 * soft-fp/single.h: Likewise.
24348 * soft-fp/soft-fp.h: Likewise.
24349 * soft-fp/sqrtdf2.c: Likewise.
24350 * soft-fp/sqrtsf2.c: Likewise.
24351 * soft-fp/sqrttf2.c: Likewise.
24352 * soft-fp/subdf3.c: Likewise.
24353 * soft-fp/subsf3.c: Likewise.
24354 * soft-fp/subtf3.c: Likewise.
24355 * soft-fp/truncdfsf2.c: Likewise.
24356 * soft-fp/trunctfdf2.c: Likewise.
24357 * soft-fp/trunctfsf2.c: Likewise.
24358 * soft-fp/trunctfxf2.c: Likewise.
24359 * soft-fp/unorddf2.c: Likewise.
24360 * soft-fp/unordsf2.c: Likewise.
24361 * soft-fp/unordtf2.c: Likewise.
24363 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24365 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24366 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24368 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24370 * elf/dl-libc.c: Clear initfini list after freeing.
24372 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24374 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24375 * soft-fp/addsf3.c: Likewise.
24376 * soft-fp/addtf3.c: Likewise.
24377 * soft-fp/divdf3.c: Likewise.
24378 * soft-fp/divsf3.c: Likewise.
24379 * soft-fp/divtf3.c: Likewise.
24380 * soft-fp/double.h: Likewise.
24381 * soft-fp/eqdf2.c: Likewise.
24382 * soft-fp/eqsf2.c: Likewise.
24383 * soft-fp/eqtf2.c: Likewise.
24384 * soft-fp/extenddftf2.c: Likewise.
24385 * soft-fp/extended.h: Likewise.
24386 * soft-fp/extendsfdf2.c: Likewise.
24387 * soft-fp/extendsftf2.c: Likewise.
24388 * soft-fp/extendxftf2.c: Likewise.
24389 * soft-fp/fixdfdi.c: Likewise.
24390 * soft-fp/fixdfsi.c: Likewise.
24391 * soft-fp/fixdfti.c: Likewise.
24392 * soft-fp/fixsfdi.c: Likewise.
24393 * soft-fp/fixsfsi.c: Likewise.
24394 * soft-fp/fixsfti.c: Likewise.
24395 * soft-fp/fixtfdi.c: Likewise.
24396 * soft-fp/fixtfsi.c: Likewise.
24397 * soft-fp/fixtfti.c: Likewise.
24398 * soft-fp/fixunsdfdi.c: Likewise.
24399 * soft-fp/fixunsdfsi.c: Likewise.
24400 * soft-fp/fixunsdfti.c: Likewise.
24401 * soft-fp/fixunssfdi.c: Likewise.
24402 * soft-fp/fixunssfsi.c: Likewise.
24403 * soft-fp/fixunssfti.c: Likewise.
24404 * soft-fp/fixunstfdi.c: Likewise.
24405 * soft-fp/fixunstfsi.c: Likewise.
24406 * soft-fp/fixunstfti.c: Likewise.
24407 * soft-fp/floatdidf.c: Likewise.
24408 * soft-fp/floatdisf.c: Likewise.
24409 * soft-fp/floatditf.c: Likewise.
24410 * soft-fp/floatsidf.c: Likewise.
24411 * soft-fp/floatsisf.c: Likewise.
24412 * soft-fp/floatsitf.c: Likewise.
24413 * soft-fp/floattidf.c: Likewise.
24414 * soft-fp/floattisf.c: Likewise.
24415 * soft-fp/floattitf.c: Likewise.
24416 * soft-fp/floatundidf.c: Likewise.
24417 * soft-fp/floatundisf.c: Likewise.
24418 * soft-fp/floatunsidf.c: Likewise.
24419 * soft-fp/floatunsisf.c: Likewise.
24420 * soft-fp/floatuntidf.c: Likewise.
24421 * soft-fp/floatuntisf.c: Likewise.
24422 * soft-fp/floatuntitf.c: Likewise.
24423 * soft-fp/fmadf4.c: Likewise.
24424 * soft-fp/fmasf4.c: Likewise.
24425 * soft-fp/fmatf4.c: Likewise.
24426 * soft-fp/gedf2.c: Likewise.
24427 * soft-fp/gesf2.c: Likewise.
24428 * soft-fp/getf2.c: Likewise.
24429 * soft-fp/ledf2.c: Likewise.
24430 * soft-fp/lesf2.c: Likewise.
24431 * soft-fp/letf2.c: Likewise.
24432 * soft-fp/muldf3.c: Likewise.
24433 * soft-fp/mulsf3.c: Likewise.
24434 * soft-fp/multf3.c: Likewise.
24435 * soft-fp/negdf2.c: Likewise.
24436 * soft-fp/negsf2.c: Likewise.
24437 * soft-fp/negtf2.c: Likewise.
24438 * soft-fp/op-1.h: Likewise.
24439 * soft-fp/op-2.h: Likewise.
24440 * soft-fp/op-4.h: Likewise.
24441 * soft-fp/op-8.h: Likewise.
24442 * soft-fp/op-common.h: Likewise.
24443 * soft-fp/quad.h: Likewise.
24444 * soft-fp/single.h: Likewise.
24445 * soft-fp/soft-fp.h: Likewise.
24446 * soft-fp/sqrtdf2.c: Likewise.
24447 * soft-fp/sqrtsf2.c: Likewise.
24448 * soft-fp/sqrttf2.c: Likewise.
24449 * soft-fp/subdf3.c: Likewise.
24450 * soft-fp/subsf3.c: Likewise.
24451 * soft-fp/subtf3.c: Likewise.
24452 * soft-fp/truncdfsf2.c: Likewise.
24453 * soft-fp/trunctfdf2.c: Likewise.
24454 * soft-fp/trunctfsf2.c: Likewise.
24455 * soft-fp/trunctfxf2.c: Likewise.
24456 * soft-fp/unorddf2.c: Likewise.
24457 * soft-fp/unordsf2.c: Likewise.
24458 * soft-fp/unordtf2.c: Likewise.
24460 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24463 * misc/error.c (error_tail): Fix possible buffer overflow.
24465 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24468 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24471 2013-10-14 P. J. McDermott <pj@pehjota.net>
24474 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24475 testing pipefail option.
24477 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24479 * soft-fp/double.h: Indent preprocessor directives inside #if.
24480 * soft-fp/extended.h: Likewise.
24481 * soft-fp/op-2.h: Likewise.
24482 * soft-fp/op-4.h: Likewise.
24483 * soft-fp/op-common.h: Likewise.
24484 * soft-fp/quad.h: Likewise.
24485 * soft-fp/single.h: Likewise.
24486 * soft-fp/soft-fp.h: Likewise.
24488 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24490 * iconv/iconv_prog.c: Fix typos.
24491 * stdio-common/psiginfo-data.h: Likewise.
24493 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24496 * locale/setlocale.c: Fix typo.
24498 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24501 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24502 signaling NaN arguments.
24503 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24504 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24507 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24508 unordered operands.
24509 * soft-fp/gesf2.c (__gesf2): Likewise.
24510 * soft-fp/getf2.c (__getf2): Likewise.
24511 * soft-fp/ledf2.c (__ledf2): Likewise.
24512 * soft-fp/lesf2.c (__lesf2): Likewise.
24513 * soft-fp/letf2.c (__letf2): Likewise.
24515 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24516 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24517 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24518 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24519 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24520 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24521 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24522 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24523 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24524 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24525 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24526 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24527 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24528 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24529 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24530 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24531 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24532 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24533 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24534 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24535 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24536 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24537 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24538 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24539 * soft-fp/floattidf.c (__floattidf): Likewise.
24540 * soft-fp/floattisf.c (__floattisf): Likewise.
24541 * soft-fp/floattitf.c (__floattitf): Likewise.
24542 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24543 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24544 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24545 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24546 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24547 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24548 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24549 * soft-fp/gesf2.c (__gesf2): Likewise.
24550 * soft-fp/getf2.c (__getf2): Likewise.
24551 * soft-fp/ledf2.c (__ledf2): Likewise.
24552 * soft-fp/lesf2.c (__lesf2): Likewise.
24553 * soft-fp/letf2.c (__letf2): Likewise.
24555 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24556 Undefine and redefine.
24557 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24558 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24559 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24560 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24561 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24562 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24563 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24564 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24565 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24566 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24567 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24568 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24569 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24570 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24571 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24574 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24575 without decrementing exponent if mantissa >= that for the
24576 denominator, not >.
24577 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24578 denominator, not >. Decrement exponent in < case instead of
24579 incrementing in >= case.
24580 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24581 without decrementing exponent if mantissa >= that for the
24582 denominator, not >.
24584 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24585 computing saturated result for unsigned overflow.
24587 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24588 Jeff Law <law@redhat.com>
24590 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24591 (atan2Mp): Add systemtap probe marker.
24592 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24593 (__ieee754_log): Add systemtap probe marker.
24594 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24595 (atanMp): Add systemtap probe marker.
24596 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24597 (tanMp): Add systemtap probe marker.
24598 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24599 (__slowexp): Add systemtap probe marker.
24600 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24601 (__slowpow): Add systemtap probe marker.
24602 * manual/probes.texi: Document probes.
24604 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24607 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24609 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24611 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24612 written to buffer but not flushed.
24613 * libio/iofwrite_u.c: Likewise.
24614 * libio/iopadn.c: Return bytes returned even if EOF was
24616 * libio/iowpadn.c: Likewise.
24617 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24618 if _IO_padn does not write the whole buffer.
24619 [!COMPILE_WPRINTF] (PAD): Likewise.
24621 2013-10-10 David S. Miller <davem@davemloft.net>
24623 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24626 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24628 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24629 instead of FSF address.
24630 * soft-fp/fixdfti.c: Likewise.
24631 * soft-fp/fixsfti.c: Likewise.
24632 * soft-fp/fixtfti.c: Likewise.
24633 * soft-fp/fixunsdfti.c: Likewise.
24634 * soft-fp/fixunssfti.c: Likewise.
24635 * soft-fp/fixunstfti.c: Likewise.
24636 * soft-fp/floattidf.c: Likewise.
24637 * soft-fp/floattisf.c: Likewise.
24638 * soft-fp/floattitf.c: Likewise.
24639 * soft-fp/floatuntidf.c: Likewise.
24640 * soft-fp/floatuntisf.c: Likewise.
24641 * soft-fp/floatuntitf.c: Likewise.
24642 * soft-fp/trunctfxf2.c: Likewise.
24644 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24645 * soft-fp/fixdfti.c: Likewise.
24646 * soft-fp/fixsfti.c: Likewise.
24647 * soft-fp/fixtfti.c: Likewise.
24648 * soft-fp/fixunsdfti.c: Likewise.
24649 * soft-fp/fixunssfti.c: Likewise.
24650 * soft-fp/fixunstfti.c: Likewise.
24651 * soft-fp/floattidf.c: Likewise.
24652 * soft-fp/floattisf.c: Likewise.
24653 * soft-fp/floattitf.c: Likewise.
24654 * soft-fp/floatuntidf.c: Likewise.
24655 * soft-fp/floatuntisf.c: Likewise.
24656 * soft-fp/floatuntitf.c: Likewise.
24657 * soft-fp/trunctfxf2.c: Likewise.
24659 2013-10-10 David S. Miller <davem@davemloft.net>
24661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24663 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24666 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24667 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24668 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24669 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24670 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24671 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24674 for NaNs before doing comparisons on argument.
24675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24678 2013-10-10 Will Newton <will.newton@linaro.org>
24680 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24681 passed to _int_memalign does not overflow.
24683 2013-10-10 Torvald Riegel <triegel@redhat.com>
24685 * scripts/bench.pl: Add include-sources directive.
24686 * benchtests/README: Update documentation.
24688 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24690 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24691 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24692 instead of FP_INIT_ROUNDMODE.
24693 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24694 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24697 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24698 copy class of input value.
24699 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24700 not handle exceptions.
24701 * soft-fp/negsf2.c (__negsf2): Likewise.
24702 * soft-fp/negtf2.c (__negtf2): Likewise.
24703 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24705 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24707 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24708 semicolon. From Linux kernel.
24710 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24712 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24714 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24717 * manual/socket.texi: Added statement about buffer
24718 for gethostbyname2_r.
24720 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24722 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24723 Use .p2align directive instead, throughout.
24724 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24725 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24726 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24727 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24729 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24730 * sysdeps/x86_64/strchr.S: Likewise.
24731 * sysdeps/x86_64/strrchr.S: Likewise.
24733 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24735 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24737 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24739 * sysdeps/generic/math_private.h (__mpsin1): Remove
24741 (__mpcos1): Likewise.
24742 (__mpsin): New argument __range_reduce.
24743 (__mpcos): Likewise.
24744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24745 (slow): Use __mpsin and __mpcos.
24749 (sloww1): Likewise.
24750 (sloww2): Likewise.
24751 (bsloww): Likewise.
24752 (bsloww1): Likewise.
24753 (bsloww2): Likewise.
24754 (cslow2): Likewise.
24755 (csloww): Likewise.
24756 (csloww1): Likewise.
24757 (csloww2): Likewise.
24758 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24759 range_reduce. Merge in __mpsin1.
24760 (__mpcos): Likewise.
24761 (__mpsin1): Remove.
24762 (__mpcos1): Likewise.
24764 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24766 * locale/loadlocale.c (_nl_intern_locale_data): Use
24768 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24769 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24770 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24771 obstack data is appropriately aligned.
24772 (obstack_int32_grow_fast): Likewise.
24773 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24774 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24775 (add_locale_uint32_array): Likewise.
24777 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24779 * benchtests/Makefile: Remove ARGLIST and RET variables.
24780 ($(objpfx)bench-%.c): Pass only function name to the script.
24781 * benchtests/README: Update documentation.
24782 * benchtests/acos-inputs: Add new directives.
24783 * benchtests/acosh-inputs: Likewise.
24784 * benchtests/asin-inputs: Likewise.
24785 * benchtests/asinh-inputs: Likewise.
24786 * benchtests/atan-inputs: Likewise.
24787 * benchtests/atanh-inputs: Likewise.
24788 * benchtests/cos-inputs: Likewise.
24789 * benchtests/cosh-inputs: Likewise.
24790 * benchtests/exp-inputs: Likewise.
24791 * benchtests/log-inputs: Likewise.
24792 * benchtests/pow-inputs: Likewise.
24793 * benchtests/rint-inputs: Likewise.
24794 * benchtests/sin-inputs: Likewise.
24795 * benchtests/sinh-inputs: Likewise.
24796 * benchtests/tan-inputs: Likewise.
24797 * benchtests/tanh-inputs: Likewise.
24798 * scripts/bench.pl: Add support for new directives.
24800 2013-10-07 Alan Modra <amodra@gmail.com>
24802 * README: Fix careless merge.
24804 2013-10-05 Alan Modra <amodra@gmail.com>
24806 * NEWS: Mention powerpc64le support and bugs fixed.
24807 * README: Both big-endian and little-endian powerpc64 supported.
24809 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24811 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24812 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24813 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24814 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24816 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24818 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24821 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24823 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24824 Move -mhard-float appending from
24825 ports/sysdeps/powerpc/powerpc32/Makefile.
24826 [$(with-fp) = yes] (ASFLAGS): Likewise.
24827 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24828 * sysdeps/powerpc/nofpu: Move directory from
24829 ports/sysdeps/powerpc/nofpu.
24830 * sysdeps/powerpc/soft-fp: Move directory from
24831 ports/sysdeps/powerpc/soft-fp.
24832 * sysdeps/powerpc/powerpc32/405: Move directory from
24833 ports/sysdeps/powerpc/powerpc32/405.
24834 * sysdeps/powerpc/powerpc32/440: Move directory from
24835 ports/sysdeps/powerpc/powerpc32/440.
24836 * sysdeps/powerpc/powerpc32/464: Move directory from
24837 ports/sysdeps/powerpc/powerpc32/464.
24838 * sysdeps/powerpc/powerpc32/476: Move directory from
24839 ports/sysdeps/powerpc/powerpc32/476.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24841 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24843 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24845 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24847 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24849 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24850 * README: Update for powerpc-*-linux-gnu software floating point
24853 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24854 case to powerpc/powerpc32*.
24855 * sysdeps/unix/sysv/linux/configure: Regenerated.
24857 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24858 (_FPU_MASK_OM): Define as 0x04.
24859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24867 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24870 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24873 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24874 and setcontext_e500.
24876 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24878 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24880 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24882 * manual/threads.texi (Default Thread Attributes): Fix typo.
24884 2013-10-04 Will Newton <will.newton@linaro.org>
24886 * malloc/Makefile: Add tst-memalign.
24887 * malloc/tst-memalign.c: New file.
24889 * malloc/tst-posix_memalign.c: Add comments.
24890 (do_test): Add comments and call free on all potentially
24891 allocated pointers. Add space after cast.
24893 * malloc/tst-pvalloc.c: Add comments.
24894 (do_test): Add comments and call free on all potentially
24895 allocated pointers. Remove duplicate check for NULL pointer.
24896 Add space after cast.
24898 * malloc/tst-valloc.c: Add comments.
24899 (do_test): Add comments and call free on all potentially
24900 allocated pointers. Remove duplicate check for NULL pointer.
24901 Add space after cast.
24903 2013-10-04 Alan Modra <amodra@gmail.com>
24905 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24906 Use stdint types in rather than __attribute__((mode())).
24907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24909 2013-10-04 Alan Modra <amodra@gmail.com>
24911 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24912 Correct handling of unaligned relocs for little-endian.
24913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24915 2013-10-04 Alan Modra <amodra@gmail.com>
24917 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24918 * configure: Regenerate.
24919 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24920 * shlib-versions: Likewise.
24922 2013-10-04 Alan Modra <amodra@gmail.com>
24924 * string/tester.c (test_memrchr): Increment reported test cycle.
24926 2013-10-04 Alan Modra <amodra@gmail.com>
24928 * string/test-memcpy.c (do_one_test): When reporting errors, print
24929 string address and don't overrun end of string.
24931 2013-10-04 Alan Modra <amodra@gmail.com>
24933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24934 insrdi. Make better use of reg selection to speed exit slightly.
24935 Schedule entry path a little better. Remove useless "are we done"
24936 checks on entry to main loop. Handle wrapping around zero address.
24937 Correct main loop count. Handle single left-over word from main
24938 loop inline rather than by using loop_small. Remove extra word
24939 case in loop_small caused by wrong loop count. Add little-endian
24941 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24942 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24944 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24945 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24946 support. Avoid rlwimi.
24947 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24949 2013-10-04 Alan Modra <amodra@gmail.com>
24951 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24952 insrdi. Formatting.
24953 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24954 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24955 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24956 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24957 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24958 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24960 2013-10-04 Alan Modra <amodra@gmail.com>
24962 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24963 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24964 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24965 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24966 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24967 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24968 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24969 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24971 use of regs. Use power7 mtocrf. Tidy function tails.
24973 2013-10-04 Alan Modra <amodra@gmail.com>
24975 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24976 Formatting. Consistently use rXXX register defines or rN defines.
24977 Use early exit labels that avoid restoring unused non-volatile regs.
24978 Make cr field use more consistent with rWORDn compares. Rename
24979 regs used as shift registers for unaligned loop, using rN defines
24980 for short lifetime/multiple use regs.
24981 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24982 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24983 addi 1,1,64 to pop stack frame. Simplify return value code.
24984 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24986 2013-10-04 Alan Modra <amodra@gmail.com>
24988 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24989 support. Correct typos, formatting. Optimize tail. Use insrdi
24990 rather than rlwimi.
24991 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24992 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24993 little-endian support. Correct typos.
24994 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24995 rather than rlwimi.
24996 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24997 in loop and entry code to keep "and." results.
24998 (strchr): Add little-endian support. Comment. Move cntlzd
25000 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25002 2013-10-04 Alan Modra <amodra@gmail.com>
25004 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25005 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25006 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25007 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25009 2013-10-04 Alan Modra <amodra@gmail.com>
25011 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25012 (rTMP): Define as r11.
25013 (strcmp): Add little-endian support. Optimise tail.
25014 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25015 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25016 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25017 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25019 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25020 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25022 2013-10-04 Alan Modra <amodra@gmail.com>
25024 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25025 little-endian support. Remove unnecessary "are we done" tests.
25026 Handle "s" wrapping around zero and extremely large "size".
25027 Correct main loop count. Handle single left-over word from main
25028 loop inline rather than by using small_loop. Correct comments.
25029 Delete "zero" tail, use "end_max" instead.
25030 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25032 2013-10-04 Alan Modra <amodra@gmail.com>
25034 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25035 support. Don't branch over align.
25036 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25037 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25038 support. Rearrange tmp reg use to suit. Comment.
25039 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25041 2013-10-04 Alan Modra <amodra@gmail.com>
25043 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25045 2013-10-04 Alan Modra <amodra@gmail.com>
25047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25048 conditional form of branch and link when obtaining pc.
25049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25051 2013-10-04 Alan Modra <amodra@gmail.com>
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25058 2013-10-04 Alan Modra <amodra@gmail.com>
25060 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25061 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25062 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25063 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25064 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25065 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25066 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25067 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25068 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25069 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25071 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25072 Alistair Popple <alistair@ozlabs.au.ibm.com>
25073 Alan Modra <amodra@gmail.com>
25076 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25077 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25078 _dl_hwcap access for little-endian.
25079 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
25080 destroy vmx regs when saving unaligned.
25081 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25082 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
25083 destroy vmx regs when saving unaligned.
25085 2013-10-04 Alan Modra <amodra@gmail.com>
25087 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25088 Don't use a union to pack hi/low value.
25090 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25092 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25094 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25095 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25096 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25097 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25100 2013-10-04 Alan Modra <amodra@gmail.com>
25102 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25103 constants to usual value for .cst8 section, and remove redundant
25105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25106 constant for 0x1p52. Load little-endian words of double from
25107 correct stack offsets.
25109 2013-10-04 Alan Modra <amodra@gmail.com>
25111 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25112 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25113 words of double from correct stack offsets.
25114 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25115 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25116 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25117 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25118 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25119 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25120 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25121 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25122 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25123 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25124 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25125 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25126 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25127 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25128 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25129 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25130 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25132 2013-10-04 Alan Modra <amodra@gmail.com>
25134 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25135 64-bit int/double union.
25136 (_FPU_SETCW): Likewise.
25137 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25138 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25140 2013-10-04 Alan Modra <amodra@gmail.com>
25142 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25143 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25145 2013-10-04 Alan Modra <amodra@gmail.com>
25147 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25148 use vector int constants.
25149 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25151 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25153 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25154 array with long long.
25155 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25156 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25157 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25158 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25159 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25160 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25161 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25162 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25163 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25164 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25165 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25166 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25167 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25169 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
25171 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25172 (__signbit): Likewise. Correct for little-endian.
25173 (__signbitl): Call __signbit.
25174 (lrint): Correct for little-endian.
25175 (lrintf): Call lrint.
25177 2013-10-04 Alan Modra <amodra@gmail.com>
25179 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25180 union 32-bit int array member with 64-bit int array.
25181 (t515, tm256): Double rather than long double.
25182 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25184 2013-10-04 Alan Modra <amodra@gmail.com>
25186 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25188 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25189 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25190 version of math_ldbl.h.
25192 2013-10-04 Alan Modra <amodra@gmail.com>
25194 [BZ #15734], [BZ #15735]
25195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25196 all uses of ieee875 long double macros and unions. Simplify test
25197 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25198 ldbl_extract_mantissa value for ix,iy exponents. Properly
25199 normalize after ldbl_extract_mantissa, and don't add hidden bit
25200 already handled. Don't treat low word of ieee854 mantissa like
25201 low word of IBM long double and mask off bit when testing for
25203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25204 all uses of ieee875 long double macros and unions. Simplify tests
25205 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25206 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25207 two1022, instead use their values. Recognise that tests for large
25208 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25210 Rewrite all uses of ieee875 long double macros and unions. Simplify
25211 test for 0.0L and nan. Correct negation.
25212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25213 ieee875 long double macros and unions. Correct output for large
25214 magnitude x. Correct absolute value calculation.
25215 (__erfcl): Likewise.
25216 * math/libm-test.inc: Add tests for errors discovered in IBM long
25217 double versions of fmodl, remainderl, erfl and erfcl.
25219 2013-10-04 Alan Modra <amodra@gmail.com>
25221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25222 all uses of ieee854 long double macros and unions. Simplify tests
25223 for long doubles that are fully specified by the high double.
25224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25226 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25227 Remove dead code too.
25228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25229 (__ieee754_ynl): Likewise.
25230 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25233 Remove dead code too.
25234 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25235 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25236 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25237 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25239 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25241 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25242 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25243 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25244 Comment on variable precision.
25245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25246 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25248 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25251 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25252 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25254 2013-10-04 Alan Modra <amodra@gmail.com>
25256 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25257 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25258 all uses of ieee854 long double macros and unions.
25259 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25260 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25261 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25262 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25263 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25264 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25267 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25268 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25272 Simplify sign and nan test too.
25273 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25276 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25278 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25279 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25282 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25283 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25284 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25285 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25288 2013-10-04 Alan Modra <amodra@gmail.com>
25290 * stdio-common/printf_size.c (__printf_size): Don't use
25291 union ieee854_long_double in fpnum union.
25292 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25293 signbit macro to retrieve sign from long double.
25294 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25295 retrieve sign from long double.
25296 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25297 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25298 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25299 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25300 * math/test-misc.c (main): Don't use union ieee854_long_double.
25302 2013-10-04 Alan Modra <amodra@gmail.com>
25305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25307 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25308 calculation. Remove unnecessary test for denormal exponent.
25309 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25310 Correct handling of denormals. Avoid undefined shift behaviour.
25311 Correct normalisation of low mantissa when low double is denormal.
25312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25313 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25314 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25315 Correct normalisation of low mantissa. Test for overflow of high
25316 mantissa and normalise.
25317 (ldbl_nearbyint): Use more readable constant for two52.
25318 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25319 (__mpn_construct_long_double): Fix test for overflow of high
25320 mantissa and correct normalisation. Avoid undefined shift.
25322 2013-10-04 Alan Modra <amodra@gmail.com>
25324 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25325 (union ibm_extended_long_double): Define as an array of ieee754_double.
25326 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25327 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25328 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25329 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25333 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25338 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25340 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25341 page size instead of calling getpagesize.
25343 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25344 (LOCFILE_ALIGN_MASK): Likewise.
25345 (LOCFILE_ALIGN_UP): Likewise.
25346 (LOCFILE_ALIGNED_P): Likewise.
25347 * locale/programs/ld-collate.c (collate_output): Use the new
25348 macros instead of __alignof__ (int32_t).
25349 * locale/weight.h (findidx): Likewise.
25351 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25354 * manual/string.texi: Fix strncat and wcsncat.
25356 2013-10-03 Brooks Moses <bmoses@google.com>
25359 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25360 * Makerules: ...here, and adjust associated comments.
25362 2013-10-02 Will Newton <will.newton@linaro.org>
25364 * malloc/Makefile: Add tst-pvalloc.
25365 * malloc/tst-pvalloc.c: New file.
25367 2013-10-02 Will Newton <will.newton@linaro.org>
25369 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25370 improve test coverage.
25372 2013-10-02 Will Newton <will.newton@linaro.org>
25374 * malloc/Makefile: Add tst-posix_memalign.
25375 * malloc/tst-posix_memalign.c: New file.
25377 2013-10-01 Eric Blake <eblake@redhat.com>
25379 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25380 Use __THROWNL rather than __THROW on static functions.
25382 2013-09-30 Petr Machata <pmachata@redhat.com>
25384 * elf/elf.h (R_AARCH64_ABS16): New macro.
25385 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25386 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25387 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25388 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25389 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25390 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25391 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25392 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25393 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25394 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25395 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25396 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25397 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25398 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25399 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25400 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25401 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25402 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25403 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25404 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25405 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25406 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25407 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25408 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25409 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25410 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25411 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25412 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25413 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25414 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25415 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25416 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25417 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25418 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25419 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25420 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25421 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25422 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25423 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25424 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25425 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25426 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25427 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25428 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25429 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25430 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25431 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25432 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25433 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25434 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25435 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25436 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25437 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25438 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25439 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25440 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25441 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25442 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25443 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25444 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25445 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25446 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25447 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25448 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25449 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25450 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25451 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25452 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25453 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25454 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25455 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25456 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25457 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25458 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25459 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25460 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25461 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25462 (R_AARCH64_TLSDESC_LDR): Likewise.
25463 (R_AARCH64_TLSDESC_ADD): Likewise.
25464 (R_AARCH64_TLSDESC_CALL): Likewise.
25466 2013-09-30 Andreas Schwab <schwab@suse.de>
25469 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25470 the nss database lookup.
25471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25474 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25476 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25478 2013-09-28 P. J. McDermott <pj@pehjota.net>
25480 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25481 ${Bash-specific parameter/pattern/string} parameter expansion.
25482 * sysdeps/unix/make-syscalls.sh: Likewise.
25484 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25486 * sysdeps/sh/stackguard-macros.h: New file.
25488 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25492 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25494 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25495 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25497 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25499 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25500 Fix thread ID register.
25502 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25504 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25505 [POSIX || UNIX98]: Require rather than permitting all symbols from
25507 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25508 element of struct sched_param.
25509 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25510 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25511 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25512 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25515 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25517 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25518 argument calculation.
25520 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25522 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25524 [POSIX] (pthread_attr_t): Do not require type.
25525 [POSIX] (pthread_cond_t): Likewise.
25526 [POSIX] (pthread_condattr_t): Likewise.
25527 [POSIX] (pthread_key_t): Likewise.
25528 [POSIX] (pthread_mutex_t): Likewise.
25529 [POSIX] (pthread_mutexattr_t): Likewise.
25530 [POSIX] (pthread_once_t): Likewise.
25531 [POSIX] (pthread_t): Likewise.
25532 [POSIX-based standards] (pthread_atfork): Expect function.
25534 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25535 Richard Sandiford <richard@codesourcery.com>
25537 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25538 (swap_endianness_p): New extern variable.
25539 (set_big_endian): New inline function.
25540 (maybe_swap_uint32): Likewise.
25541 (maybe_swap_uint32_array): Likewise.
25542 (maybe_swap_uint32_obstack): Likewise.
25543 * locale/programs/locfile.c: Include <stdbool.h>.
25544 (swap_endianness_p): New variable.
25545 (add_locale_uint32): Call maybe_swap_uint32.
25546 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25547 (write_locale_data): Call maybe_swap_uint32_array.
25548 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25550 (obstack_int32_grow_fast): Likewise.
25551 (output_weightwc): Call maybe_swap_uint32_obstack.
25552 (collate_output): Likewise.
25553 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25554 (OPT_LITTLE_ENDIAN): Likewise.
25555 (options): Add --little-endian and --big-endian options.
25556 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25557 * locale/programs/locarchive.c: Include "locfile.h".
25561 (create_archive): Use the new macros to access fields of
25562 structures directly mapped from or written to locale archives.
25563 (oldlocrecentcmp): Likewise.
25564 (enlarge_archive): Likewise.
25565 (insert_name): Likewise.
25566 (add_alias): Likewise.
25567 (add_locale): Likewise.
25568 (delete_locales_from_archive): Likewise.
25569 (show_archive_content): Likewise.
25570 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25573 2013-09-24 Roland McGrath <roland@hack.frob.com>
25575 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25576 http://www.gnu.org/doc/freemanuals.texi.
25577 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25579 2013-09-24 Will Newton <will.newton@linaro.org>
25581 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25584 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25586 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25589 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25591 * manual/threads.texi (POSIX Threads): Fix a typo.
25593 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25596 * string/tst-strcoll-overflow.c: New test case.
25597 * string/Makefile (xtests): Add tst-strcoll-overflow.
25598 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25599 cache if string sizes may cause integer overflow.
25602 * string/strcoll_l.c (coll_seq): New members rule, idx,
25603 save_idx and back_us.
25604 (get_next_seq_nocache): New function.
25605 (do_compare_nocache): New function.
25606 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25609 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25612 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25613 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25614 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25617 * elf/Makefile (tests): Add tst-ptrguard1.
25618 (tests-static): Add tst-ptrguard1-static.
25619 (tst-ptrguard1-ARGS): Define.
25620 (tst-ptrguard1-static-ARGS): Define.
25621 * elf/tst-ptrguard1.c: New file.
25622 * elf/tst-ptrguard1-static.c: New file.
25623 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25624 * sysdeps/i386/stackguard-macros.h: Likewise.
25625 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25626 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25627 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25628 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25629 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25630 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25632 2013-09-23 Hector Marco <hecmargi@upv.es>
25633 Ismael Ripoll <iripoll@disca.upv.es>
25634 Carlos O'Donell <carlos@redhat.com>
25637 * sysdeps/generic/stackguard-macros.h: Define
25638 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25639 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25640 Define __pointer_chk_guard_local.
25641 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25642 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25644 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25647 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25649 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25651 * include/string.h (__ffs): Declare as hidden.
25652 * string/ffs.c (__ffs): Define as hidden.
25653 * sysdeps/i386/ffs.c (__ffs): Likewise.
25654 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25655 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25656 * sysdeps/s390/ffs.c (__ffs): Likewise.
25657 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25659 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25661 * NEWS: Mention malloc probes.
25663 * malloc/arena.c (new_heap): New memory_heap_new probe.
25664 (grow_heap): New memory_heap_more probe.
25665 (shrink_heap): New memory_heap_less probe.
25666 (heap_trim): New memory_heap_free probe.
25667 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25668 (systrim): New memory_sbrk_less probe.
25669 * manual/probes.texi: Document them.
25671 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25672 * manual/probes.texi: Document it.
25674 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25675 (__libc_realloc): Add memory_realloc_retry probe.
25676 (__libc_memalign): Add memory_memalign_retry probe.
25677 (__libc_valloc): Add memory_valloc_retry probe.
25678 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25679 (__libc_calloc): Add memory_calloc_retry probe.
25680 * manual/probes.texi: Document them.
25682 * malloc/arena.c (get_free_list): Add probe
25683 memory_arena_reuse_free_list.
25684 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25685 and memory_arena_reuse.
25686 (arena_get2) [!PER_THREAD]: Likewise.
25687 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25688 memory_arena_reuse_realloc.
25689 * manual/probes.texi: Document them.
25691 * malloc/malloc.c (__libc_free): Add
25692 memory_mallopt_free_dyn_thresholds probe.
25693 (__libc_mallopt): Add multiple memory_mallopt probes.
25694 * manual/probes.texi: Document them.
25696 * malloc/malloc.c: Include stap-probe.h.
25697 (__libc_mallopt): Add memory_mallopt probe.
25698 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25699 * manual/probes.texi: New.
25700 * manual/Makefile (chapters): Add probes.
25701 * manual/threads.texi: Set next node.
25703 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25705 [BZ #15963, #13985]
25706 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25707 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25708 Add `Chinese' to `nan' entry name.
25710 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25712 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25713 (POLYNOMIAL): Likewise.
25714 (TAYLOR_SINCOS): Likewise.
25715 (TAYLOR_SLOW): Likewise.
25716 (__sin): Use TAYLOR_SINCOS.
25718 (slow): Use TAYLOR_SLOW.
25720 (bsloww): Likewise.
25721 (csloww): Likewise.
25723 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25725 * stdlib/strtod_l.c: Fix buffer overrun.
25727 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25729 * benchtests/Makefile (bench): Add sincos.
25730 * benchtests/bench-sincos.c: New file.
25732 * math/libm-test.inc (cos_test_data): New test inputs.
25733 (sin_test_data): Likewise.
25735 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25741 (sloww1): Likewise.
25742 (sloww2): Likewise.
25743 (bsloww1): Likewise.
25744 (bsloww2): Likewise.
25745 (cslow2): Likewise.
25746 (csloww1): Likewise.
25747 (csloww2): Likewise.
25749 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25758 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25760 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25761 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25762 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25763 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25764 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25765 * elf/cache.c (print_entry): Handle the new cache flags.
25767 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25768 Aldy Hernandez <aldyh@redhat.com>
25770 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25771 Change condition to [_SOFT_FLOAT].
25772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25778 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25784 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25787 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25790 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25792 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25793 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25794 (__longjmp): Use LOAD_GP to load saved GPRs.
25795 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25796 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25797 (__sigsetjmp): Use SAVE_GP to save GPRs.
25799 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25800 Do not append -msoft-float.
25801 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25803 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25805 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25807 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25810 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25811 (_FPU_GETCW): Use initial "__" on variable and field names but not
25812 on macro parameter name.
25813 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25814 parentheses around reference to macro parameter.
25816 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25818 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25820 (ctype_startup): Use uint32_t in cast and sizeof for
25823 2013-09-11 Jia Liu <proljc@gmail.com>
25825 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25827 [__FreeBSD__]: Likewise.
25829 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25832 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25833 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25834 (strchr): Remove __strchr_sse42 ifunc selection.
25835 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25836 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25838 2013-09-11 Will Newton <will.newton@linaro.org>
25840 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25841 parameter to RES. Remove hardcoded 1000 value.
25842 * benchtests/bench-skeleton.c (main): Pass RES parameter
25843 to TIMING_INIT and multiply result by 1000.
25845 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25849 2013-09-11 Andreas Schwab <schwab@suse.de>
25851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25853 (O_TMPFILE) [__USE_GNU]: Define.
25854 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25857 2013-09-11 Will Newton <will.newton@linaro.org>
25860 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25863 2013-09-11 Will Newton <will.newton@linaro.org>
25866 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25869 2013-09-11 Will Newton <will.newton@linaro.org>
25872 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25875 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25877 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25879 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25883 2013-09-10 Allan McRae <allan@archlinux.org>
25886 * manual/arith.texi (Parsing of Floats): Clarify
25890 * manual/install.texi (Running make install): Mention
25892 * INSTALL: Regenerated.
25894 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25896 * csu/init-first.c (_init): Remove the !SHARED condition around
25897 FPU control word initialization.
25898 * elf/dl-support.c (_dl_fpu_control): New variable.
25899 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25900 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25901 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25902 * math/test-fpucw-static.c: New file.
25903 * math/test-fpucw-ieee.c: New file.
25904 * math/test-fpucw-ieee-static.c: New file.
25905 * math/Makefile (tests): Add `test-fpucw-ieee' and
25907 (tests-static): New variable.
25908 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25910 [($(build-shared),yes)]
25911 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25913 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25916 2013-09-09 Allan McRae <allan@archlinux.org>
25919 * manual/string.texi (Collation Functions): Fix typo in
25921 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25924 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25927 * libio/memstream.c (open_memstream): Fix memory leak.
25928 * libio/wmemstream.c (open_wmemstream): Likewise.
25931 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25933 2013-09-09 Will Newton <will.newton@linaro.org>
25935 * malloc/Makefile: Add tst-realloc to tests.
25936 * malloc/tst-realloc.c: New file.
25938 2013-09-09 Allan McRae <allan@archlinux.org>
25941 * COPYING: Update from GNU website to fix FSF address.
25942 * COPYING.LIB: Likewise.
25944 2013-09-06 David S. Miller <davem@davemloft.net>
25946 * po/zh_TW.po: Update Chinese (traditional) translation from
25947 translation project.
25949 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25950 Joseph Myers <joseph@codesourcery.com>
25952 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25954 (obstack_chunk_alloc): New macro.
25955 (obstack_chunk_free): Likewise.
25956 (record_offset): New function.
25957 (init_locale_data): Likewise.
25958 (align_locale_data): Likewise.
25959 (add_locale_empty): Likewise.
25960 (add_locale_raw_data): Likewise.
25961 (add_locale_raw_obstack): Likewise.
25962 (add_locale_string): Likewise.
25963 (add_locale_wstring): Likewise.
25964 (add_locale_uint32): Likewise.
25965 (add_locale_uint32_array): Likewise.
25966 (add_locale_char): Likewise.
25967 (start_locale_structure): Likewise.
25968 (end_locale_structure): Likewise.
25969 (start_locale_prelude): Likewise.
25970 (end_locale_prelude): Likewise.
25971 (write_locale_data): Take locale_file structure rather than an
25973 * locale/programs/locfile.h: Include "obstack.h".
25974 (struct locale_file): Change to store locale file contents instead
25976 (init_locale_data): New prototype.
25977 (align_locale_data): Likewise.
25978 (add_locale_empty): Likewise.
25979 (add_locale_raw_data): Likewise.
25980 (add_locale_raw_obstack): Likewise.
25981 (add_locale_string): Likewise.
25982 (add_locale_wstring): Likewise.
25983 (add_locale_uint32): Likewise.
25984 (add_locale_uint32_array): Likewise.
25985 (add_locale_char): Likewise.
25986 (start_locale_structure): Likewise.
25987 (end_locale_structure): Likewise.
25988 (start_locale_prelude): Likewise.
25989 (end_locale_prelude): Likewise.
25990 (write_locale_data): Update prototype.
25991 * locale/programs/3level.h (struct TABLE): Remove result field.
25992 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25993 Use new locale_file interface.
25994 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25995 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25996 * locale/programs/ld-address.c (address_output): Use new
25997 locale_file interface.
25998 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26000 (collate_finish): Don't call collseq_table_finalize.
26001 (collate_output): Use new locale_file interface.
26002 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26004 (NO_FINALIZE): Change to NO_ADD_LOCALE.
26005 (TABLE): Move defines earlier in file.
26006 (ELEMENT): Likewise.
26007 (DEFAULT): Likewise.
26008 (wctrans_table_add): Move macro and inline function earlier in
26010 (struct wctype_table): Move type earlier in file.
26011 (add_locale_wctype_table): New static prototype.
26012 (struct locale_ctype_t): Use logical types instead of struct iovec
26013 pointers for members.
26014 (ctype_output): Use new locale_file interface.
26015 (wctype_table_finalize): Change to add_locale_wctype_table. Use
26016 new locale_file interface.
26017 (allocate_arrays): Update for use of new locale_file interface.
26018 * locale/programs/ld-identification.c (identification_output): Use
26019 new locale_file interface.
26020 * locale/programs/ld-measurement.c (measurement_output): Likewise.
26021 * locale/programs/ld-messages.c (messages_output): Likewise.
26022 * locale/programs/ld-monetary.c (monetary_output): Likewise.
26023 * locale/programs/ld-name.c (name_output): Likewise.
26024 * locale/programs/ld-numeric.c (numeric_output): Likewise.
26025 * locale/programs/ld-paper.c (paper_output): Likewise.
26026 * locale/programs/ld-telephone.c (telephone_output): Likewise.
26027 * locale/programs/ld-time.c (time_output): Likewise.
26029 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26031 * benchtests/Makefile: Add memrchr benchmark.
26032 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26033 benchmark as memrchr.
26034 * benchtests/bench-memrchr-ifunc.c: New file.
26035 * benchtests/bench-memrchr.c: New file.
26037 2013-09-06 Will Newton <will.newton@linaro.org>
26039 * benchtests/Makefile (string-bench): Add memcpy.
26041 2013-09-05 Carlos O'Donell <carlos@redhat.com>
26042 Cong Wang <amwang@redhat.com>
26045 * sysdeps/unix/sysv/linux/bits/in.h
26046 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26047 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26048 before __USE_KERNEL_IPV6_DEFS uses.
26049 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26051 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26052 sockaddr_in6, or ipv6_mreq.
26054 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26056 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26057 memory access for final bytes in some large inputs.
26058 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26060 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26062 * string/test-memrchr.c: New file.
26063 * string/test-memrchr-ifunc.c: New file.
26064 * string/Makefile: Add new memrchr testcase.
26066 2013-09-05 Mike Frysinger <vapier@gentoo.org>
26068 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26069 fanotify_init returns EPERM.
26071 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26073 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26075 (top level): Treat second token from macro or constant entries for
26076 allowed headers as allowed.
26077 * include/complex.h: Condition internal declarations on
26079 * include/fenv.h: Condition include of <stdbool.h> and internal
26080 declarations on [!_ISOMAC].
26082 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
26085 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26087 2013-09-04 Joseph Myers <joseph@codesourcery.com>
26089 * configure.in (--enable-versioning): Remove configure option.
26090 (libc_cv_asm_symver_directive): Remove configure test.
26091 (libc_cv_ld_version_script_option): Likewise.
26092 (VERSIONING): Remove variable and AC_SUBST.
26093 (DO_VERSIONING): Remove AC_DEFINE.
26094 * configure: Regenerated.
26095 * config.h.in (DO_VERSIONING): Remove macro.
26096 * Makerules [$(versioning) = yes]: Change conditionals to
26097 [$(build-shared) = yes].
26098 * config.make.in (versioning): Remove variable.
26099 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26100 [$(build-shared) = yes].
26101 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26102 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26103 * elf/Makefile [$(versioning) = yes]: Change conditionals to
26104 [$(build-shared) = yes].
26105 * extra-lib.mk [$(versioning) = yes]: Likewise.
26106 * hurd/Makefile [$(versioning) = yes]: Likewise.
26107 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26109 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26111 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26112 [SHARED && !NO_HIDDEN].
26113 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26115 [SHARED && DO_VERSIONING]: Likewise..
26116 * libio/Makefile [$(versioning) = yes]: Change conditionals to
26117 [$(build-shared) = yes].
26118 * manual/install.texi (--disable-versioning): Remove
26120 * INSTALL: Regenerated.
26121 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26123 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26124 [$(build-shared) = yes].
26125 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26126 * sysdeps/i386/i686/multiarch/strstr-c.c
26127 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26128 [SHARED && !NO_HIDDEN].
26129 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26130 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26131 * sysdeps/powerpc/powerpc32/dl-machine.c
26132 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26133 * sysdeps/powerpc/powerpc32/sysdep.h
26134 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26135 to [SHARED && PIC && !NO_HIDDEN].
26136 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26137 conditional to [SHARED].
26139 2013-09-04 Will Newton <will.newton@linaro.org>
26141 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26142 * benchtests/bench-string.h: Include bench-timing.h instead
26143 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26144 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26145 call to HP_TIMING_DIFF_INIT.
26146 * benchtests/bench-memccpy.c: Use bench-timing.h macros
26147 instead of hp-timing.h macros.
26148 * benchtests/bench-memchr.c: Likewise.
26149 * benchtests/bench-memcmp.c: Likewise.
26150 * benchtests/bench-memcpy.c: Likewise.
26151 * benchtests/bench-memmem.c: Likewise.
26152 * benchtests/bench-memmove.c: Likewise.
26153 * benchtests/bench-memset.c: Likewise.
26154 * benchtests/bench-rawmemchr.c: Likewise.
26155 * benchtests/bench-strcasecmp.c: Likewise.
26156 * benchtests/bench-strcasestr.c: Likewise.
26157 * benchtests/bench-strcat.c: Likewise.
26158 * benchtests/bench-strchr.c: Likewise.
26159 * benchtests/bench-strcmp.c: Likewise.
26160 * benchtests/bench-strcpy.c: Likewise.
26161 * benchtests/bench-strcpy_chk.c: Likewise.
26162 * benchtests/bench-strlen.c: Likewise.
26163 * benchtests/bench-strncasecmp.c: Likewise.
26164 * benchtests/bench-strncat.c: Likewise.
26165 * benchtests/bench-strncmp.c: Likewise.
26166 * benchtests/bench-strncpy.c: Likewise.
26167 * benchtests/bench-strnlen.c: Likewise.
26168 * benchtests/bench-strpbrk.c: Likewise.
26169 * benchtests/bench-strrchr.c: Likewise.
26170 * benchtests/bench-strspn.c: Likewise.
26171 * benchtests/bench-strstr.c: Likewise.
26173 2013-09-04 Will Newton <will.newton@linaro.org>
26175 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26177 2013-09-03 Joseph Myers <joseph@codesourcery.com>
26180 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26181 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26182 * math/libm-test.inc (lgamma_test_data): Add more tests.
26183 * sysdeps/i386/fpu/libm-test-ulps: Update.
26184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26186 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
26188 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26189 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26192 Add strcmp-sse2-unaligned
26193 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26195 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26197 * Versions.def (libc): Add GLIBC_2.19.
26199 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26201 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26202 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26204 2013-09-02 Joseph Myers <joseph@codesourcery.com>
26207 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26208 intermediate calculations in recurrence.
26209 (__ieee754_ynf): Likewise.
26210 * math/libm-test.inc (jn_test_data): Do not allow spurious
26211 underflow exception. Add more tests.
26212 (yn_test_data): Add more tests.
26213 * sysdeps/i386/fpu/libm-test-ulps: Update.
26214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26216 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
26218 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26220 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26222 * csu/init-first.c: Fix then/than typos.
26223 * locale/programs/ld-collate.c: Likewise.
26224 * locale/programs/linereader.h: Likewise.
26225 * manual/charset.texi: Likewise.
26226 * manual/filesys.texi: Likewise.
26227 * manual/stdio.texi: Likewise.
26228 * manual/string.texi: Likewise.
26229 * stdlib/fmtmsg.c: Likewise.
26230 * sysdeps/i386/stpncpy.S: Likewise.
26231 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26232 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26233 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26234 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26236 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26238 * elf/dl-open.c: Fix typos.
26239 * iconvdata/gbbig5.c: Likewise.
26240 * iconvdata/iso-2022-jp.c: Likewise.
26241 * iconv/gconv_int.h: Likewise.
26242 * iconv/loop.c: Likewise.
26243 * nis/rpcsvc/nis.h: Likewise.
26244 * resolv/ns_name.c: Likewise.
26245 * stdio-common/vfscanf.c: Likewise.
26246 * streams/stropts.h: Likewise.
26247 * sunrpc/rpc_thread.c: Likewise.
26248 * sysdeps/i386/strpbrk.S: Likewise.
26249 * sysdeps/ieee754/k_standard.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26252 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26253 * sysdeps/mach/hurd/profil.c: Likewise.
26254 * sysdeps/s390/dl-procinfo.h: Likewise.
26255 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26256 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26257 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26258 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26261 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26263 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26266 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26268 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26269 aix specific files.
26270 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26271 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26272 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26273 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26274 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26275 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26276 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26277 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26279 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26280 Roland McGrath <roland@hack.frob.com>
26282 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26283 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26285 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26287 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26288 __executable_start symbol instead of _start.
26290 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26292 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26293 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26295 * sysdeps/gnu/ldsodefs.h: ... this new file.
26297 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26298 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26299 instead of ELFOSABI_LINUX.
26301 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26302 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26303 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26304 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26306 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26307 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26310 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26311 (ibm_extended_long_double): Add ieee_nan member.
26312 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26313 (do_test): New function.
26315 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26317 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26318 functions, renamed from truncdfsf_test, trunctfsf_test,
26320 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26322 (do_test): Run all these.
26324 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26326 * argp/argp-help.c: Fix typos.
26327 * argp/argp-parse.c: Likewise.
26328 * debug/backtracesyms.c: Likewise.
26329 * elf/elf.h: Likewise.
26330 * malloc/malloc.c: Likewise.
26331 * nis/nis_print.c: Likewise.
26332 * resolv/res_comp.c: Likewise.
26333 * stdlib/stdlib.h: Likewise.
26334 * sunrpc/clnt_tcp.c: Likewise.
26335 * sunrpc/clnt_udp.c: Likewise.
26336 * sunrpc/clnt_unix.c: Likewise.
26337 * sysdeps/unix/bsd/ptsname.c: Likewise.
26338 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26346 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26348 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26350 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26353 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26356 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26357 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26358 ($(objpfx)bug-dl-leaf): New rule.
26359 ($(objpfx)bug-dl-leaf.so): Likewise.
26360 ($(objpfx)bug-dl-leaf.out): Likewise.
26361 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26362 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26363 * dlfcn/bug-dl-leaf.c: New test.
26364 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26365 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26366 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26367 (dlclose): Likewise.
26368 (dlmopen): Likewise.
26370 2013-08-27 Roland McGrath <roland@hack.frob.com>
26372 * include/netdb.h [!_ISOMAC]:
26373 Don't include <tls.h>.
26374 (h_errno, __libc_h_errno): Move declaration and macros out of
26377 * include/resolv.h [_RESOLV_H_]:
26378 Don't include <tls.h>.
26379 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26380 * resolv/res_libc.c: Don't include <tls.h>.
26381 (_res): Use __attribute__ ((nocommon)) in place of
26382 __attribute__ ((section (".bss"))).
26384 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26385 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26387 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26389 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26390 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26392 * resolv/res_mkquery.c: Include <sys/time.h>.
26394 * inet/ifreq.c: Moved to ...
26395 * sysdeps/unix/ifreq.c: ... here.
26396 * inet/ifreq.c: New file, true stub version.
26398 * socket/sa_len.c: New file.
26399 * socket/Makefile (aux): Add it.
26400 * sysdeps/unix/sysv/linux/Makefile
26401 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26402 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26403 and #include <socket/sa_len.c>.
26404 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26405 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26407 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26408 * bits/socket.h: ... here.
26410 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26411 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26412 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26414 2013-08-27 Andreas Schwab <schwab@suse.de>
26417 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26418 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26419 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26420 * string/test-strcasecmp.c (test_main): Run tests in several
26422 * string/test-strncasecmp.c (test_main): Likewise.
26424 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26425 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26426 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26428 (__strncasecmp_ssse3) [PIC]: Likewise.
26430 2013-08-26 Roland McGrath <roland@hack.frob.com>
26432 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26434 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26435 instead of explicitly declaring xdecrypt.
26436 * nis/nss_nis/nis-publickey.c: Likewise.
26438 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26441 * nscd/aicache.c: Include res_hconf.h.
26442 (addhstaiX): Initialize res_hconf.
26444 2013-08-26 Andreas Schwab <schwab@suse.de>
26446 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26447 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26449 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26451 * nscd/aicache.c (addhstaiX): Fix indentation.
26453 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26455 * configure.ac: Quote $build_pt_chown test.
26456 * configure: Regenerated.
26458 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26461 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26462 * math/s_cexpf.c (__cexpf): Likewise.
26463 * math/s_cexpl.c (__cexpl): Likewise.
26464 * math/libm-test.inc (cexp_test_data): Correct expected return
26465 value for NaN + i0. Add another test.
26467 2013-08-22 David S. Miller <davem@davemloft.net>
26469 * po/ca.po: Update Catalan translation from translation project.
26470 * po/uk.po: Add Ukrainian translations from translation project.
26472 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26475 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26476 is infinite, not alongside NaN test.
26477 * math/s_fdimf.c (__fdimf): Likewise.
26478 * math/s_fdiml.c (__fdiml): Likewise.
26479 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26480 errno is unchanged.
26482 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26484 * argp/argp-help.c: Fix typos.
26485 * crypt/speeds.c: Likewise.
26486 * csu/check_fds.c: Likewise.
26487 * elf/dl-load.c: Likewise.
26488 * elf/dl-open.c: Likewise.
26489 * elf/reldep3.c: Likewise.
26490 * elf/reldep.c: Likewise.
26491 * elf/sprof.c: Likewise.
26492 * iconv/iconv_charmap.c: Likewise.
26493 * iconv/skeleton.c: Likewise.
26494 * iconv/strtab.c: Likewise.
26495 * io/lockf64.c: Likewise.
26496 * libio/libioP.h: Likewise.
26497 * resolv/gai_notify.c: Likewise.
26498 * resolv/ns_name.c: Likewise.
26499 * resolv/ns_samedomain.c: Likewise.
26500 * resolv/res_send.c: Likewise.
26501 * stdlib/random.c: Likewise.
26502 * sunrpc/rpc/xdr.h: Likewise.
26503 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26504 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26505 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26506 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26510 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26511 * sysdeps/mach/hurd/check_fds.c: Likewise.
26512 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26513 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26515 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26516 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26517 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26518 * sysdeps/pthread/aio_notify.c: Likewise.
26519 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26520 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26521 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26522 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26523 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26525 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26527 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26528 version if bit_Slow_SSE4_2 is set.
26529 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26530 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26532 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26535 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26536 trampoline stack frame information.
26537 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26538 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26539 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26540 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26541 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26542 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26543 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26544 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26546 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26547 interrupting a syscall and set with option SA_SIGINFO.
26549 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26552 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26553 argument is infinite.
26554 * math/s_cprojf.c (__cprojf): Likewise.
26555 * math/s_cprojl.c (__cprojl): Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26557 * math/libm-test.inc (cproj_test_data): Add more tests.
26559 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26561 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26562 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26563 size. Use __ffs to determine corresponding shift.
26565 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26566 Roland McGrath <roland@hack.frob.com>
26568 * Makefile (INSTALL): Remove trailing blank lines from output of
26571 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26573 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26574 Align 32 bit compat elf_greg to 8 bytes.
26576 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26578 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26580 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26582 * string/strcoll_l.c (coll_seq): New structure.
26583 (get_next_seq_cached): New function.
26584 (get_next_seq): New function.
26585 (do_compare): New function.
26586 (STRCOLL): Use GNU style definition. Simplify implementation
26587 by using get_next_seq, get_next_seq_cached and do_compare.
26589 2013-08-16 Florian Weimer <fweimer@redhat.com>
26593 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26595 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26597 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26598 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26599 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26601 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26602 GETDENTS_64BIT_ALIGNED.
26603 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26604 * manual/filesys.texi (Reading/Closing Directory): Document
26605 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26607 * manual/conf.texi (Limits for Files): Add portability note to
26608 NAME_MAX, PATH_MAX.
26609 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26611 2013-08-13 Andreas Schwab <schwab@suse.de>
26614 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26616 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26617 LDBL_MAX_EXP >= 16384]: Add tests for it.
26619 2013-08-12 David S. Miller <davem@davemloft.net>
26621 * version.h (RELEASE): Set to "development".
26622 (VERSION): Set to "2.18.90".
26623 * NEWS: Add 2.19 section.
26625 2013-08-03 David S. Miller <davem@davemloft.net>
26627 * po/ko.po: Update Korean translation from translation project.
26629 2013-08-01 David S. Miller <davem@davemloft.net>
26631 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26632 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26635 2013-07-30 David S. Miller <davem@davemloft.net>
26637 * po/fr.po: Update French translation from translation project.
26639 2013-07-28 David S. Miller <davem@davemloft.net>
26641 * po/cs.po: Update Czech translation from translation project.
26643 * po/sv.po: Update Swedish translation from translation project.
26645 2013-07-27 David S. Miller <davem@davemloft.net>
26647 * po/eo.po: Update Esperanto translation from translation project.
26649 * po/vi.po: Update Vietnamese translation from translation project.
26651 * po/de.po: Update German translation from translation project.
26653 2013-07-26 David S. Miller <davem@davemloft.net>
26655 * po/bg.po: Update Bulgarian translation from translation project.
26657 * po/nl.po: Update Dutch translation from translation project.
26658 * po/pl.po: Update Polish translation from translation project.
26659 * po/ru.po: Update Russian translation from translation project.
26661 2013-07-24 David S. Miller <davem@davemloft.net>
26663 * po/libc.pot: Update.
26665 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26667 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26668 variable page size.
26669 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26670 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26671 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26673 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26675 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26677 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26678 Andreas Schwab <schwab@suse.de>
26679 Roland McGrath <roland@hack.frob.com>
26680 Joseph Myers <joseph@codesourcery.com>
26681 Carlos O'Donell <carlos@redhat.com>
26684 * config.h.in: Define HAVE_PT_CHOWN.
26685 * config.make.in (build-pt-chown): New variable.
26686 * configure.in (--enable-pt_chown): New configure option.
26687 * configure: Regenerate.
26688 * login/Makefile: Include Makeconfig. Build pt_chown only if
26689 build-pt-chown is enabled.
26690 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26691 pt_chown to fix pty ownership.
26692 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26694 * manual/install.texi (Configuring and compiling): Mention
26695 --enable-pt_chown. Add @findex for grantpt.
26696 * INSTALL: Regenerate.
26698 2013-07-20 David S. Miller <davem@davemloft.net>
26700 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26701 difference between 32-bit and 64-bit.
26703 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26706 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26707 Avoid system header dependency with -ffreestanding.
26708 ($(objpfx)bits/syscall%d): Likewise.
26710 2013-07-13 David S. Miller <davem@davemloft.net>
26712 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26713 underflows from atanl/atan2l due to bug 15319.
26714 (casinh_test_data): Likewise.
26716 2013-07-07 David S. Miller <davem@davemloft.net>
26718 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26720 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26725 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26727 * configure.in (--enable-lock-elision): Fix message text.
26728 * INSTALL: Regenerate.
26729 * configure: Regenerate.
26731 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26735 2013-07-03 Andreas Jaeger <aj@suse.de>
26737 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26739 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26740 (ptrace_peeksiginfo_args): Add.
26741 (__ptrace_peeksiginfo_flags): Add.
26742 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26746 2013-07-03 Allan McRae <allan@archlinux.org>
26748 * sysdeps/i386/fpu/libm-test-ulps: Update.
26750 2013-07-02 David S. Miller <davem@davemloft.net>
26752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26754 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26758 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26760 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763 2013-07-02 Andi Kleen <ak@linux.intel.com>
26765 * config.h.in (ENABLE_LOCK_ELISION): Add.
26766 * configure.in (--enable-lock-elision): Add option.
26767 * manual/install.texi: Document --enable lock elision.
26768 * configure: Regenerate
26769 * INSTALL: Regenerate.
26771 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26773 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26774 SSE4.2 strcasecmp for libc.a.
26775 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26777 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26780 * soft-fp/op-common.h (_FP_FMA): New macro.
26781 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26782 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26783 (_FP_MUL_MEAT_1_imm): ... here.
26784 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26785 (_FP_MUL_MEAT_1_wide): ... here.
26786 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26787 (_FP_MUL_MEAT_1_hard): ... here.
26788 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26789 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26790 (_FP_MUL_MEAT_2_wide): ... here.
26791 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26792 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26793 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26794 (_FP_MUL_MEAT_2_gmp): ... here.
26795 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26796 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26797 (_FP_MUL_MEAT_4_wide): ... here.
26798 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26799 (_FP_MUL_MEAT_4_gmp): ... here.
26800 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26801 (_FP_WFRACBITS_DW_S): Likewise.
26802 (_FP_WFRACXBITS_DW_S): Likewise.
26803 (_FP_HIGHBIT_DW_S): Likewise.
26804 (FP_FMA_S): Likewise.
26805 (_FP_FRAC_HIGH_DW_S): Likewise.
26806 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26807 (_FP_WFRACBITS_DW_D): Likewise.
26808 (_FP_WFRACXBITS_DW_D): Likewise.
26809 (_FP_HIGHBIT_DW_D): Likewise.
26810 (FP_FMA_D): Likewise.
26811 (_FP_FRAC_HIGH_DW_D): Likewise.
26812 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26813 (_FP_WFRACBITS_DW_E): Likewise.
26814 (_FP_WFRACXBITS_DW_E): Likewise.
26815 (_FP_HIGHBIT_DW_E): Likewise.
26816 (FP_FMA_E): Likewise.
26817 (_FP_FRAC_HIGH_DW_E): Likewise.
26818 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26819 (_FP_WFRACBITS_DW_Q): Likewise.
26820 (_FP_WFRACXBITS_DW_Q): Likewise.
26821 (_FP_HIGHBIT_DW_Q): Likewise.
26822 (FP_FMA_Q): Likewise.
26823 (_FP_FRAC_HIGH_DW_Q): Likewise.
26824 * soft-fp/fmasf4.c: New file.
26825 * soft-fp/fmadf4.c: Likewise.
26826 * soft-fp/fmatf4.c: Likewise.
26828 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26831 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26835 (index_Slow_SSE4_2): Likewise.
26836 (index_Prefer_PMINUB_for_stringop): Likewise.
26837 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26838 bit_Slow_SSE4_2 is set.
26839 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26842 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26844 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26845 rtld_global._dl_hwcap2.
26846 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26848 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26849 POWER8 feature descriptions defined in _dl_hwcap2.
26850 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26851 string handling for POWER8 feature bits.
26852 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26853 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26854 _dl_powerpc_cap_flags.
26855 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26856 * sysdeps/powerpc/rtld-global-offsets.sym
26857 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26858 _dl_hwcap2 in the rtld_global_ro structure.
26860 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26862 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26863 hardware capabilities in support of AT_HWCAP2.
26864 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26865 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26867 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26868 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26869 explicitly the unknown a_type display mechanism is used.
26870 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26871 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26873 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26874 to macro prototype for AT_HWCAP2 support.
26875 * sysdeps/i386/dl-procinfo.h: Likewise.
26876 * sysdeps/s390/dl-procinfo.h: Likewise.
26877 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26878 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26879 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26880 return -1 for unknown a_type display fallback.
26881 * sysdeps/sparc/dl-procinfo.h: Likewise.
26882 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26883 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26885 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26887 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26888 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26890 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26893 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26894 mprotect making __stack_prot writable.
26896 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26897 Joseph Myers <joseph@codesourcery.com>
26899 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26900 as being properly aligned.
26902 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26904 * dlfcn/modstatic5.c: New file.
26905 * dlfcn/tststatic5.c: New file.
26906 * dlfcn/Makefile (tests): Add tststatic5.
26907 (tests-static): Likewise.
26908 (modules-names): Add modstatic5.
26909 (tststatic5-ENV): New variable.
26910 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26913 * elf/dl-support.c (_dl_main_map): New variable.
26914 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26915 (_dl_nns, _dl_load_adds): Set to 1.
26916 (_dl_initial_searchlist): Refer to _dl_main_map.
26917 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26918 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26919 call to _dl_get_origin.
26920 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26922 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26923 * dlfcn/modstatic3.c: New file.
26924 * dlfcn/tststatic3.c: New file.
26925 * dlfcn/tststatic4.c: New file.
26926 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26927 (tests-static): Likewise.
26928 (modules-names): Add modstatic3.
26929 (tststatic3-ENV, tststatic4-ENV): New variables.
26930 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26931 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26933 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26935 * configure.in (CC): Require GCC version 4.4 or later.
26936 * configure: Regenerated.
26937 * manual/install.texi (Tools for Compilation): Update GCC version
26939 * INSTALL: Regenerated.
26941 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26944 * string/test-memcmp.c (check2): New.
26945 (main): Call check2.
26947 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26949 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26952 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26954 (dl_open_worker) [!SHARED]: ... here.
26956 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26958 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26960 2013-06-25 Richard Henderson <rth@redhat.com>
26962 * locale/programs/locarchive.c: Include <libc-internal.h>
26964 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26966 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26967 trailing whitespace removed.
26969 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26972 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26973 * locale/programs/locarchive.c: Include libc-mmap.h.
26974 (prepare_address_space): Take two new outputs (the mmap base and len).
26975 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26977 (create_archive): Declare new mmap base and len values for
26978 prepare_address_space, and store the result in ah.
26979 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26980 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26981 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26982 Declare new mmap base and len values for
26983 prepare_address_space, and store the result in new_ah.
26984 (open_archive): Declare new mmap base and len values for
26985 prepare_address_space, and store the result in ah.
26986 (close_archive): If ah->mmap_base is not NULL, use that and
26987 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26988 * sysdeps/generic/libc-mmap.h: New file.
26990 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26992 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26993 (ALIGN_UP): Likewise.
26994 (PTR_ALIGN_DOWN): Likewise.
26995 (PTR_ALIGN_UP): Likewise.
26997 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26999 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27000 entry mapped to PPC_PLATFORM_POWER8.
27001 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27003 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27004 (_dl_string_platform): Add case for exporting platform position for
27006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27007 search path to sysdeps/powerpc/powerpc32/power8 directory.
27008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27009 search path to sysdeps/powerpc/powerpc64/power8 directory.
27010 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27011 power7 directories.
27012 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27013 power7 directories.
27015 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * INSTALL: Regenerate.
27019 * nscd/connections.c (nscd_init): Fix comment.
27021 2013-06-22 Joseph Myers <joseph@codesourcery.com>
27023 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27026 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27027 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27029 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27031 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27033 (DL_DST_REQ_STATIC): Remove macro.
27035 2013-06-21 Joseph Myers <joseph@codesourcery.com>
27038 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27039 with a shift of 0 bits.
27041 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
27043 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27046 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27049 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27051 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27053 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27054 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27055 accepts -fno-tree-loop-distribute-patterns.
27056 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27057 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27059 * string/memset.c (memset): Likewise.
27060 * string/test-memmove.c (simple_memmove): Disable loop transformation
27062 * string/test-memset.c (simple_memset): Likewise.
27063 * benchtests/bench-memmove.c (simple_memmove): Likewise.
27064 * benchtests/bench-memset.c (simple_memset): Likewise.
27065 * configure: Regenerated.
27067 2013-06-20 Joseph Myers <joseph@codesourcery.com>
27069 * math/test-misc.c (main): Ignore fesetround failure when failures
27070 of subsequent rounding tests would be ignored.
27073 * math/fedisblxcpt.c (fedisableexcept): Return 0.
27074 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27075 * math/fegetenv.c (__fegetenv): Return 0.
27076 * math/fegetexcept.c (fegetexcept): Return 0.
27077 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27079 * math/feholdexcpt.c (feholdexcept): Return 0.
27080 * math/fesetenv.c (__fesetenv): Return 0.
27081 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27082 argument FE_TONEAREST.
27083 * math/feupdateenv.c (__feupdateenv): Return 0.
27084 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27086 2013-06-18 Roland McGrath <roland@hack.frob.com>
27088 * elf/rtld-Rules (rtld-compile-command.S): New variable.
27089 (rtld-compile-command.s, rtld-compile-command.c): New variables.
27090 ($(objpfx)rtld-%.os rules): Use them.
27092 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27094 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27097 2013-06-17 Roland McGrath <roland@hack.frob.com>
27099 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27100 length of target pattern, then descending length of dependency pattern.
27101 * configure.in (AWK): Require gawk 3.1.2 or newer.
27102 * manual/install.texi (Tools for Compilation): Say that we do.
27103 * configure: Regenerated.
27105 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27106 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27107 * scripts/sysd-rules.awk: ... this new script.
27108 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27109 than a glob-style pattern.
27111 2013-06-17 Joseph Myers <joseph@codesourcery.com>
27113 * math/test-misc.c (main): Do not treat incorrectly rounded
27114 conversions as failure unless ROUNDING_TESTS passes.
27116 2013-06-15 Joseph Myers <joseph@codesourcery.com>
27119 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27120 restore exception state around main square root computation, then
27121 check for inexactness explicitly.
27123 * math/libm-test.inc (fma_test_data): Add another test.
27125 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27127 * manual/threads.texi (Non-POSIX Extensions): New document
27128 node. Document pthread_getattr_default_np and
27129 pthread_setattr_default_np.
27131 * Versions.def (libpthread): Add GLIBC_2.18.
27132 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27141 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27152 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27155 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27157 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27158 H.J. Lu <hjl.tools@gmail.com>
27161 * sysdeps/x86_64/rtld-memset.c: Remove file.
27162 * sysdeps/x86_64/rtld-memset.S: New file.
27164 2013-06-14 Joseph Myers <joseph@codesourcery.com>
27166 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27167 (test_in_one_mode): Take arguments for whether the rounding mode
27168 is supported for each floating-point type.
27169 (do_test): Pass new arguments to test_in_one_mode using
27172 2013-06-13 Roland McGrath <roland@hack.frob.com>
27174 * posix/tst-waitid.c (do_test): Distinguish different instances of
27175 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27176 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27177 before entering the kernel for waitpid.
27179 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27181 * NEWS: Fix note on clock function precision. Text by Roland
27184 2013-06-13 Roland McGrath <roland@hack.frob.com>
27186 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27187 it into place only when and if the sanity check passes.
27189 2013-06-13 Joseph Myers <joseph@codesourcery.com>
27191 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27192 output for whether conversion result is exact. Take argument
27193 indicating whether type is IBM long double.
27194 (round_for_all): Change need_exact field to ibm_ld.
27195 * stdlib/tst-strtod-round.c (struct exactness): New type.
27196 (struct test): Change bool ld_ok field to struct exactness exact.
27197 (TEST): Update all definitions for change to field.
27198 (tests): Regenerate array contents.
27199 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27200 field value. Check for IBM long double here.
27201 (do_test): Update calls to test_in_one_mode.
27203 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27206 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27207 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27209 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27212 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27213 generated by the compiler on loop optimizations.
27214 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27215 general definitions.
27217 2013-06-12 Joseph Myers <joseph@codesourcery.com>
27219 * math/bug-nextafter.c: Include <math-tests.h>.
27220 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27222 * math/bug-nexttoward.c: Include <math-tests.h>.
27223 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27225 * math/test-misc.c: Include <math-tests.h>.
27226 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27229 2013-06-12 Andreas Jaeger <aj@suse.de>
27231 * po/ia.po: Update Interlingua translation from translation
27234 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27236 * include/fenv.h: Include stdbool.h.
27237 (struct rm_ctx): New structure.
27238 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27240 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27241 (SET_RESTORE_ROUNDF): Likewise.
27242 (SET_RESTORE_ROUNDL): Likewise.
27243 (SET_RESTORE_ROUND_NOEX): Likewise.
27244 (SET_RESTORE_ROUND_NOEXF): Likewise.
27245 (SET_RESTORE_ROUND_NOEXL): Likewise.
27246 (SET_RESTORE_ROUND_53BIT): Likewise.
27247 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27248 (libc_feresetround_noexf_ctx): Likewise.
27249 (libc_feresetround_noexl_ctx): Likewise.
27250 (libc_feholdsetround_53bit_ctx): Likewise.
27251 (libc_feresetround_53bit_ctx): Likewise.
27252 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27253 (libc_feholdexcept_setround_sse_ctx): New function.
27254 (libc_fesetenv_sse_ctx): Likewise.
27255 (libc_feupdateenv_sse_ctx): Likewise.
27256 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27257 (libc_feholdexcept_setround_387_ctx): Likewise.
27258 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27259 (libc_feholdsetround_387_prec_ctx): Likewise.
27260 (libc_feholdsetround_387_ctx): Likewise.
27261 (libc_feholdsetround_387_53bit_ctx): Likewise.
27262 (libc_feholdsetround_sse_ctx): Likewise.
27263 (libc_feresetround_sse_ctx): Likewise.
27264 (libc_feresetround_387_ctx): Likewise.
27265 (libc_feupdateenv_387_ctx): Likewise.
27266 (libc_feholdexcept_setroundf_ctx): Define macro.
27267 (libc_fesetenvf_ctx): Likewise.
27268 (libc_feupdateenvf_ctx): Likewise.
27269 (libc_feholdsetroundf_ctx): Likewise.
27270 (libc_feresetroundf_ctx): Likewise.
27271 (libc_feholdexcept_setround_ctx): Likewise.
27272 (libc_fesetenv_ctx): Likewise.
27273 (libc_feupdateenv_ctx): Likewise.
27274 (libc_feholdsetround_ctx): Likewise.
27275 (libc_feresetround_ctx): Likewise.
27276 (libc_feholdexcept_setroundl_ctx): Likewise.
27277 (libc_feupdateenvl_ctx): Likewise.
27278 (libc_feholdsetroundl_ctx): Likewise.
27279 (libc_feresetroundl_ctx): Likewise.
27280 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27281 (libc_feresetround_53bit_ctx): Likewise.
27283 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27285 * locale/iso-639.def: Convert to UTF-8.
27287 2013-06-11 Joseph Myers <joseph@codesourcery.com>
27289 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27290 (EXCEPTION_TESTS_double): Likewise.
27291 (EXCEPTION_TESTS_long_double): Likewise.
27292 (EXCEPTION_TESTS): Likewise.
27293 * math/libm-test.inc (test_exceptions): Only test exceptions if
27294 EXCEPTION_TESTS (FLOAT).
27296 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27298 * benchtests/Makefile (string-bench): Add strcpy_chk and
27300 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27301 * benchtests/bench-stpcpy_chk.c: New file.
27302 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27303 * benchtests/bench-strcpy_chk.c: New file.
27304 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27306 (do_test): Likewise.
27308 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27310 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27311 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27312 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27313 with tabs where appropriate.
27314 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27316 [PPC_PLATFORM_PPC440]: Likewise.
27317 [PPC_PLATFORM_PPC464]: Likewise.
27318 [PPC_PLATFORM_PPC476]: Likewise.
27319 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27320 ppc464, and ppc476 platform strings merging from ports/
27323 2013-06-11 Andreas Schwab <schwab@suse.de>
27326 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27327 (from_ucs4_idx): Regenerate.
27328 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27329 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27330 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27331 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27332 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27333 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27334 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27335 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27336 from FROM_LOOP and TO_LOOP specific macros.
27337 (BODY): Handle combining characters.
27338 * iconvdata/BIG5HKSCS.irreversible: Update.
27339 * iconvdata/BIG5HKSCS.precomposed: New file.
27340 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27342 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27344 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27346 * include/sys/time.h: Fix indentation and add copyright header.
27348 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27349 (do_test): Likewise.
27350 * string/test-memchr.c (do_one_test): Likewise.
27351 (do_test): Likewise.
27352 * string/test-memcmp.c (do_one_test): Likewise.
27353 (do_test): Likewise.
27354 * string/test-memcpy.c (do_one_test): Likewise.
27355 (do_test): Likewise.
27356 * string/test-memmem.c (do_one_test): Likewise.
27357 (do_test): Likewise.
27358 (do_random_tests): Likewise.
27359 * string/test-memmove.c (do_one_test): Likewise.
27360 (do_test): Likewise.
27361 * string/test-memset.c (do_one_test): Likewise.
27362 (do_test): Likewise.
27363 * string/test-rawmemchr.c (do_one_test): Likewise.
27364 (do_test): Likewise.
27365 * string/test-strcasecmp.c (do_one_test): Likewise.
27366 (do_test): Likewise.
27367 * string/test-strcasestr.c (do_one_test): Likewise.
27368 (do_test): Likewise.
27369 * string/test-strcat.c (do_one_test): Likewise.
27370 (do_test): Likewise.
27371 * string/test-strchr.c (do_one_test): Likewise.
27372 (do_test): Likewise.
27373 * string/test-strcmp.c (do_one_test): Likewise.
27374 (do_test): Likewise.
27375 * string/test-strcpy.c (do_one_test): Likewise.
27376 (do_test): Likewise.
27377 * string/test-string.h: Likewise.
27378 (test_init): Likewise.
27379 * string/test-strlen.c (do_one_test): Likewise.
27380 (do_test): Likewise.
27381 * string/test-strncasecmp.c (do_one_test): Likewise.
27382 (do_test): Likewise.
27383 * string/test-strncat.c (do_one_test): Likewise.
27384 (do_test): Likewise.
27385 * string/test-strncmp.c (do_one_test): Likewise.
27386 (do_test_limit): Likewise.
27387 (do_test): Likewise.
27388 * string/test-strncpy.c (do_one_test): Likewise.
27389 (do_test): Likewise.
27390 * string/test-strnlen.c (do_one_test): Likewise.
27391 (do_test): Likewise.
27392 * string/test-strpbrk.c (do_one_test): Likewise.
27393 (do_test): Likewise.
27394 * string/test-strrchr.c (do_one_test): Likewise.
27395 (do_test): Likewise.
27396 * string/test-strspn.c (do_one_test): Likewise.
27397 (do_test): Likewise.
27398 * string/test-strstr.c (do_one_test): Likewise.
27399 (do_test): Likewise.
27401 * benchtests/Makefile (string-bench): Add string benchmarks.
27402 * benchtests/bench-bcopy-ifunc.c: New file.
27403 * benchtests/bench-bcopy.c: New file.
27404 * benchtests/bench-bzero-ifunc.c: New file.
27405 * benchtests/bench-bzero.c: New file.
27406 * benchtests/bench-memccpy-ifunc.c: New file.
27407 * benchtests/bench-memccpy.c: New file.
27408 * benchtests/bench-memchr-ifunc.c: New file.
27409 * benchtests/bench-memchr.c: New file.
27410 * benchtests/bench-memcmp-ifunc.c: New file.
27411 * benchtests/bench-memcmp.c: New file.
27412 * benchtests/bench-memmem-ifunc.c: New file.
27413 * benchtests/bench-memmem.c: New file.
27414 * benchtests/bench-memmove-ifunc.c: New file.
27415 * benchtests/bench-memmove.c: New file.
27416 * benchtests/bench-mempcpy-ifunc.c: New file.
27417 * benchtests/bench-mempcpy.c: New file.
27418 * benchtests/bench-memset-ifunc.c: New file.
27419 * benchtests/bench-memset.c: New file.
27420 * benchtests/bench-rawmemchr-ifunc.c: New file.
27421 * benchtests/bench-rawmemchr.c: New file.
27422 * benchtests/bench-stpcpy-ifunc.c: New file.
27423 * benchtests/bench-stpcpy.c: New file.
27424 * benchtests/bench-stpncpy-ifunc.c: New file.
27425 * benchtests/bench-stpncpy.c: New file.
27426 * benchtests/bench-strcasecmp-ifunc.c: New file.
27427 * benchtests/bench-strcasecmp.c: New file.
27428 * benchtests/bench-strcasestr-ifunc.c: New file.
27429 * benchtests/bench-strcasestr.c: New file.
27430 * benchtests/bench-strcat-ifunc.c: New file.
27431 * benchtests/bench-strcat.c: New file.
27432 * benchtests/bench-strchr-ifunc.c: New file.
27433 * benchtests/bench-strchr.c: New file.
27434 * benchtests/bench-strchrnul-ifunc.c: New file.
27435 * benchtests/bench-strchrnul.c: New file.
27436 * benchtests/bench-strcmp-ifunc.c: New file.
27437 * benchtests/bench-strcmp.c: New file.
27438 * benchtests/bench-strcpy-ifunc.c: New file.
27439 * benchtests/bench-strcpy.c: New file.
27440 * benchtests/bench-strcspn-ifunc.c: New file.
27441 * benchtests/bench-strcspn.c: New file.
27442 * benchtests/bench-strlen-ifunc.c: New file.
27443 * benchtests/bench-strlen.c: New file.
27444 * benchtests/bench-strncasecmp-ifunc.c: New file.
27445 * benchtests/bench-strncasecmp.c: New file.
27446 * benchtests/bench-strncat-ifunc.c: New file.
27447 * benchtests/bench-strncat.c: New file.
27448 * benchtests/bench-strncmp-ifunc.c: New file.
27449 * benchtests/bench-strncmp.c: New file.
27450 * benchtests/bench-strncpy-ifunc.c: New file.
27451 * benchtests/bench-strncpy.c: New file.
27452 * benchtests/bench-strnlen-ifunc.c: New file.
27453 * benchtests/bench-strnlen.c: New file.
27454 * benchtests/bench-strpbrk-ifunc.c: New file.
27455 * benchtests/bench-strpbrk.c: New file.
27456 * benchtests/bench-strrchr-ifunc.c: New file.
27457 * benchtests/bench-strrchr.c: New file.
27458 * benchtests/bench-strspn-ifunc.c: New file.
27459 * benchtests/bench-strspn.c: New file.
27460 * benchtests/bench-strstr-ifunc.c: New file.
27461 * benchtests/bench-strstr.c: New file.
27463 * benchtests/Makefile: Disable parallel execution of targets.
27464 (string-bench): Add memcpy.
27465 (benchset): New variable to store a list of benchmark sets.
27466 (bench-func): Renamed from bench.
27467 (bench-set): New target.
27468 (bench): Depend on bench-func and bench-set.
27469 * benchtests/README: Add section on benchmark sets.
27470 * benchtests/bench-memcpy-ifunc.c: New file.
27471 * benchtests/bench-memcpy.c: New file.
27472 * benchtests/bench-string.h: New file.
27474 2013-06-11 Andreas Schwab <schwab@suse.de>
27477 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27478 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27479 values in the triple.
27480 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27481 terminator in the group key.
27483 2013-06-11 Andreas Jaeger <aj@suse.de>
27485 * po/zh_TW.po: Update Chinese (traditional) translation from
27486 translation project.
27488 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27490 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27491 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27492 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27493 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27494 (clock_getcpuclockid): Likewise.
27495 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27496 Add weak_alias and libc_hidden_def.
27497 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27498 * rt/clock_gettime.c (clock_gettime): Rename to
27499 __clock_gettime. Add weak_alias and libc_hidden_def.
27500 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27501 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27502 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27503 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27504 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27506 * rt/clock_settime.c (clock_settime): Rename to
27507 __clock_settime. Add weak_alias and libc_hidden_def.
27508 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27510 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27512 * mach/err_boot.sub: Remove trailing whitespace.
27513 * mach/err_ipc.sub: Likewise.
27514 * mach/err_mach.sub: Likewise.
27516 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27517 (ROUNDING_TESTS_double): Likewise.
27518 (ROUNDING_TESTS_long_double): Likewise.
27519 (ROUNDING_TESTS): Likewise.
27520 * math/libm-test.inc: Include <math-tests.h>.
27521 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27522 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27523 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27524 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27526 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27528 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27531 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27534 otherwise empty TRANS lines.
27535 * sysdeps/gnu/errlist.c: Regenerated.
27537 * catgets/gencat.c (error_print): Use (void) in function
27539 * crypt/crypt_util.c (__init_des): Likewise.
27540 * crypt/speeds.c (Stop): Likewise.
27542 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27543 * inet/ruserpass.c (token): Likewise.
27544 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27545 * intl/localealias.c (extend_alias_table): Likewise.
27546 * intl/plural-exp.c (init_germanic_plural): Likewise.
27547 * libio/fcloseall.c (__fcloseall): Likewise.
27548 * libio/genops.c (_IO_flush_all): Likewise.
27549 (_IO_flush_all_linebuffered): Likewise.
27550 (_IO_cleanup): Likewise.
27551 (_IO_iter_begin): Likewise.
27552 (_IO_iter_end): Likewise.
27553 (_IO_list_lock): Likewise.
27554 (_IO_list_unlock): Likewise.
27555 (_IO_list_resetlock): Likewise.
27556 * libio/getchar.c (getchar): Likewise.
27557 * libio/getchar_u.c (getchar_unlocked): Likewise.
27558 * libio/getwchar.c (getwchar): Likewise.
27559 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27560 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27561 * login/getpt.c (__getpt): Likewise.
27562 * login/tst-utmp.c (main): Likewise.
27563 * malloc/hooks.c (__malloc_check_init): Likewise.
27564 * malloc/malloc.c (__malloc_stats): Likewise.
27565 * malloc/mtrace.c (tr_break): Likewise.
27566 (mtrace): Likewise.
27567 (muntrace): Likewise.
27568 * misc/fstab.c (endfsent): Likewise.
27569 * misc/getclktck.c (__getclktck): Likewise.
27570 * misc/getdtsz.c (__getdtablesize): Likewise.
27571 * misc/gethostid.c (gethostid): Likewise.
27572 * misc/getpagesize.c (__getpagesize): Likewise.
27573 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27574 (__get_nprocs): Likewise.
27575 (__get_phys_pages): Likewise.
27576 (__get_avphys_pages): Likewise.
27577 * misc/getttyent.c (getttyent): Likewise.
27578 (setttyent): Likewise.
27579 (endttyent): Likewise.
27580 * misc/getusershell.c (getusershell): Likewise.
27581 (endusershell): Likewise.
27582 (setusershell): Likewise.
27583 (initshells): Likewise.
27584 * misc/hsearch.c (__hdestroy): Likewise.
27585 * misc/sync.c (sync): Likewise.
27586 * misc/syslog.c (closelog_internal): Likewise.
27587 (closelog): Likewise.
27588 * misc/ttyslot.c (ttyslot): Likewise.
27589 * misc/vhangup.c (vhangup): Likewise.
27590 * posix/fork.c (__fork): Likewise.
27591 * posix/getegid.c (__getegid): Likewise.
27592 * posix/geteuid.c (__geteuid): Likewise.
27593 * posix/getgid.c (__getgid): Likewise.
27594 * posix/getpid.c (__getpid): Likewise.
27595 * posix/getppid.c (__getppid): Likewise.
27596 * posix/getuid.c (__getuid): Likewise.
27597 * posix/pause.c (pause): Likewise.
27598 * posix/setpgrp.c (setpgrp): Likewise.
27599 * posix/setsid.c (__setsid): Likewise.
27600 * posix/test-vfork.c (noop): Likewise.
27601 * resolv/gethnamaddr.c (_endhtent): Likewise.
27602 (_gethtent): Likewise.
27603 (ht_endhostent): Likewise.
27604 (gethostent): Likewise.
27605 (dns_service): Likewise.
27606 * stdlib/drand48.c (drand48): Likewise.
27607 * stdlib/lrand48.c (lrand48): Likewise.
27608 * stdlib/mrand48.c (mrand48): Likewise.
27609 * stdlib/rand.c (rand): Likewise.
27610 * stdlib/random.c (__random): Likewise.
27611 * stdlib/setenv.c (clearenv): Likewise.
27612 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27613 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27614 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27615 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27616 (__get_nprocs): Likewise.
27617 (__get_phys_pages): Likewise.
27618 (__get_avphys_pages): Likewise.
27619 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27620 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27621 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27622 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27623 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27624 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27625 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27626 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27627 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27628 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27629 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27630 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27631 * sysdeps/posix/clock.c (clock): Likewise.
27632 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27633 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27634 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27635 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27636 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27638 (__get_nprocs_conf): Likewise.
27639 (__get_phys_pages): Likewise.
27640 (__get_avphys_pages): Likewise.
27641 * time/clock.c (clock): Likewise.
27642 * time/tzset.c (__tzname_max): Likewise.
27644 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27646 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27647 (__bswap_32): Do not use "register".
27648 * crypt/crypt.c (_ufc_doit_r): Likewise.
27649 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27650 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27651 * gmon/gmon.c (__monstartup): Likewise.
27652 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27653 * hurd/hurdmalloc.c (more_memory): Likewise.
27654 (malloc): Likewise.
27656 (realloc): Likewise.
27657 (malloc_fork_prepare): Likewise.
27658 (malloc_fork_parent): Likewise.
27659 (malloc_fork_child): Likewise.
27660 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27661 (_svcauth_des): Likewise.
27662 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27663 * inet/inet_net.c (inet_network): Likewise.
27664 * inet/inet_netof.c (inet_netof): Likewise.
27665 * inet/rcmd.c (__validuser2_sa): Likewise.
27666 * io/fts.c (fts_open): Likewise.
27667 (fts_load): Likewise.
27668 (fts_close): Likewise.
27669 (fts_read): Likewise.
27670 (fts_children): Likewise.
27671 (fts_build): Likewise.
27672 (fts_stat): Likewise.
27673 (fts_sort): Likewise.
27674 (fts_alloc): Likewise.
27675 (fts_lfree): Likewise.
27676 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27677 (_IO_file_xsgetn): Likewise.
27678 (_IO_file_xsgetn_mmap): Likewise.
27679 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27680 (_IO_cookie_write): Likewise.
27681 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27682 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27683 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27684 * malloc/obstack.c (_obstack_begin): Likewise.
27685 (_obstack_begin_1): Likewise.
27686 (_obstack_newchunk): Likewise.
27687 (_obstack_allocated_p): Likewise.
27688 (obstack_free): Likewise.
27689 (_obstack_memory_used): Likewise.
27690 * misc/getttyent.c (getttynam): Likewise.
27691 (getttyent): Likewise.
27694 * misc/getusershell.c (initshells): Likewise.
27695 * misc/syslog.c (__vsyslog_chk): Likewise.
27696 * misc/ttyslot.c (ttyslot): Likewise.
27697 * nis/nis_hash.c (__nis_hash): Likewise.
27698 * posix/fnmatch_loop.c (FCT): Likewise.
27699 * posix/getconf.c (print_all): Likewise.
27701 * posix/getopt.c (exchange): Likewise.
27702 * posix/glob.c (globfree): Likewise.
27703 (prefix_array): Likewise.
27704 (__glob_pattern_type): Likewise.
27705 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27706 (NS_GET32): Likewise.
27707 (NS_PUT16): Likewise.
27708 (NS_PUT32): Likewise.
27709 * resolv/gethnamaddr.c (getanswer): Likewise.
27710 (gethostbyname2): Likewise.
27711 (gethostbyaddr): Likewise.
27712 (_gethtent): Likewise.
27713 (_gethtbyname2): Likewise.
27714 (_gethtbyaddr): Likewise.
27715 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27716 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27717 * resolv/res_init.c (__res_vinit): Likewise.
27718 (net_mask): Likewise.
27719 * resolv/res_mkquery.c (outchar): Likewise.
27721 * stdio-common/printf_fp.c (outchar): Likewise.
27723 * stdio-common/printf_fphex.c (outchar): Likewise.
27725 * stdio-common/printf_size.c (outchar): Likewise.
27727 * stdio-common/test_rdwr.c (main): Likewise.
27728 * stdio-common/tfformat.c (matches): Likewise.
27729 * stdio-common/vfprintf.c (outchar): Likewise.
27730 (printf_unknown): Likewise.
27731 (buffered_vfprintf): Likewise.
27732 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27733 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27734 (ReadFile): Likewise.
27735 * stdlib/qsort.c (SWAP): Likewise.
27736 (_quicksort): Likewise.
27737 * stdlib/setenv.c (__add_to_environ): Likewise.
27738 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27739 * stdlib/strtol_l.c (__strtol_l): Likewise.
27740 * stdlib/tst-strtod.c (main): Likewise.
27741 * stdlib/tst-strtol.c (main): Likewise.
27742 * stdlib/tst-strtoll.c (main): Likewise.
27743 * string/bits/string2.h (__strcmp_cc): Likewise.
27744 (__strcmp_cg): Likewise.
27745 (__strcspn_c1): Likewise.
27746 (__strcspn_c2): Likewise.
27747 (__strcspn_c3): Likewise.
27748 (__strspn_c1): Likewise.
27749 (__strspn_c2): Likewise.
27750 (__strspn_c3): Likewise.
27751 (__strsep_1c): Likewise.
27752 (__strsep_2c): Likewise.
27753 (__strsep_3c): Likewise.
27754 * string/memccpy.c (__memccpy): Likewise.
27755 * string/stpcpy.c (__stpcpy): Likewise.
27756 * string/strcmp.c (strcmp): Likewise.
27757 * string/strrchr.c (strrchr): Likewise.
27758 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27760 * sysdeps/mach/hurd/getcwd.c
27761 (_hurd_canonicalize_directory_name_internal): Likewise.
27762 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27763 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27764 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27765 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27766 Likewise, in both definitions.
27767 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27769 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27770 64] (__bswap_64): Likewise.
27771 * time/test_time.c (main): Likewise.
27772 * time/tzfile.c (__tzfile_read): Likewise.
27773 (__tzfile_compute): Likewise.
27774 * time/tzset.c (__tzset_parse_tz): Likewise.
27775 (tzset_internal): Likewise.
27776 (compute_change): Likewise.
27777 * wcsmbs/wcscat.c (__wcscat): Likewise.
27778 * wcsmbs/wcschr.c (wcschr): Likewise.
27779 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27780 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27781 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27782 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27783 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27784 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27785 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27786 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27787 * wcsmbs/wmemset.c (wmemset): Likewise.
27789 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27791 * scripts/config.guess: Update to version 2013-05-16.
27792 * scripts/config.sub: Update to version 2013-04-24.
27793 * scripts/install-sh: Update to version 2011-11-20.07.
27794 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27795 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27797 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27799 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27800 * elf/sln.c: Likewise.
27801 * hurd/hurd/ioctl.h: Likewise.
27802 * hurd/hurdmalloc.c: Likewise.
27803 * hurd/xattr.c: Likewise.
27804 * include/shlib-compat.h: Likewise.
27805 * inet/ruserpass.c: Likewise.
27806 * libio/iofgets_u.c: Likewise.
27807 * libio/iofgetws_u.c: Likewise.
27808 * locale/programs/ld-identification.c: Likewise.
27809 * locale/programs/ld-time.c: Likewise.
27810 * mach/msg-destroy.c: Likewise.
27811 * nss/nss_files/files-netgrp.c: Likewise.
27812 * resolv/res_data.c: Likewise.
27813 * soft-fp/op-1.h: Likewise.
27814 * soft-fp/op-2.h: Likewise.
27815 * soft-fp/op-4.h: Likewise.
27816 * soft-fp/op-common.h: Likewise.
27817 * stdio-common/printf_fphex.c: Likewise.
27818 * stdlib/strtod_l.c: Likewise.
27819 * sunrpc/rpc/clnt.h: Likewise.
27820 * sysdeps/generic/framestate.c: Likewise.
27821 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27822 * sysdeps/i386/bsd-setjmp.S: Likewise.
27823 * sysdeps/i386/__longjmp.S: Likewise.
27824 * sysdeps/i386/setjmp.S: Likewise.
27825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27826 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27827 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27843 * sysdeps/ieee754/support.c: Likewise.
27844 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27845 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27846 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27847 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27848 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27849 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27850 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27851 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27852 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27853 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27854 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27855 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27856 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27857 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27858 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27859 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27860 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27863 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27865 * posix/transbug.c: Remove executable mode.
27867 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27869 * crypt/speeds.c: Remove trailing whitespace.
27870 * dlfcn/default.c: Likewise.
27871 * elf/ifuncdep2.c: Likewise.
27872 * elf/ifuncmain1.c: Likewise.
27873 * elf/ifuncmain1vis.c: Likewise.
27874 * elf/testobj.h: Likewise.
27875 * elf/tst-stackguard1.c: Likewise.
27876 * gmon/sys/gmon.h: Likewise.
27877 * hurd/hurdmsg.c: Likewise.
27878 * hurd/new-fd.c: Likewise.
27879 * hurd/ports-get.c: Likewise.
27880 * iconvdata/ibm1008_420.c: Likewise.
27881 * inet/tst-getni1.c: Likewise.
27882 * inet/tst-getni2.c: Likewise.
27883 * libio/ioungetc.c: Likewise.
27884 * libio/wfiledoalloc.c: Likewise.
27885 * manual/libm-err-tab.pl: Likewise.
27886 * math/w_dremf.c: Likewise.
27887 * misc/ftruncate.c: Likewise.
27888 * posix/bug-glob2.c: Likewise.
27889 * posix/tst-pcre.c: Likewise.
27890 * posix/wait4.c: Likewise.
27891 * resolv/README: Likewise.
27892 * resolv/res_debug.h: Likewise.
27893 * resolv/tst-inet_ntop.c: Likewise.
27894 * setjmp/bug269-setjmp.c: Likewise.
27895 * soft-fp/extended.h: Likewise.
27896 * soft-fp/op-1.h: Likewise.
27897 * soft-fp/op-2.h: Likewise.
27898 * soft-fp/op-4.h: Likewise.
27899 * soft-fp/op-8.h: Likewise.
27900 * soft-fp/testit.c: Likewise.
27901 * stdio-common/bug16.c: Likewise.
27902 * stdlib/random.c: Likewise.
27903 * sunrpc/rpcsvc/rquota.x: Likewise.
27904 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27905 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27907 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27908 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27909 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27910 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27912 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27913 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27914 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27915 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27916 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27917 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27918 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27919 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27920 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27922 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27923 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27924 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27925 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27926 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27927 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27928 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27929 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27933 * sysdeps/ieee754/s_lib_version.c: Likewise.
27934 * sysdeps/mach/hurd/check_fds.c: Likewise.
27935 * sysdeps/mach/hurd/getsockname.c: Likewise.
27936 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27937 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27938 * sysdeps/powerpc/bits/link.h: Likewise.
27939 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27940 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27941 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27942 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27943 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27944 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27945 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27947 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27948 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27949 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27950 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27951 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27952 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27953 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27954 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27955 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27956 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27957 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27958 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27959 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27960 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27961 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27962 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27963 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27964 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27965 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27966 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27968 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27969 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27971 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27972 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27973 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27974 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27975 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27976 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27977 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27978 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27979 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27980 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27981 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27982 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27983 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27984 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27985 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27986 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27987 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27988 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27991 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27992 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27993 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27994 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27995 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27996 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27997 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27998 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27999 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28000 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28001 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28002 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28003 * sysdeps/powerpc/sysdep.h: Likewise.
28004 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28005 * sysdeps/s390/s390-64/sub_n.S: Likewise.
28006 * sysdeps/sh/dl-trampoline.S: Likewise.
28007 * sysdeps/sh/memset.S: Likewise.
28008 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28009 * sysdeps/sh/strlen.S: Likewise.
28010 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28011 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28012 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28013 * sysdeps/sparc/sparc32/rem.S: Likewise.
28014 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28015 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28016 * sysdeps/sparc/sparc32/strchr.S: Likewise.
28017 * sysdeps/sparc/sparc32/udiv.S: Likewise.
28018 * sysdeps/sparc/sparc32/urem.S: Likewise.
28019 * sysdeps/sparc/sparc64/add_n.S: Likewise.
28020 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28021 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28022 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28024 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28025 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28026 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28027 * sysdeps/unix/bsd/times.c: Likewise.
28028 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28029 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28033 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28034 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28035 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28036 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28037 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28038 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28039 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28040 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28041 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28042 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28043 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28045 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28046 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28047 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28048 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28049 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28050 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28051 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28052 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28053 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28054 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28055 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28056 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28057 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28058 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28059 * sysdeps/x86_64/strcspn.S: Likewise.
28061 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28063 * locale/C-translit.h: Revert #include <stdint.h> because this is a
28064 generated file. Regenerate properly from gen-translit.pl.
28065 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
28066 locale/C-translit.h.
28068 2013-06-05 Andreas Schwab <schwab@suse.de>
28071 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28072 week as 6 instead of -1.
28073 * time/tst-strptime.c (day_tests): Add test case.
28075 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28077 * sysdeps/generic/math_private.h
28078 (libc_feholdexcept_setround_53bit): Replace with
28079 libc_feholdsetround_53bit.
28080 (libc_feupdateenv_53bit): Replace with
28081 libc_feresetround_53bit.
28082 (SET_RESTORE_ROUND_53BIT): Adjust.
28084 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28086 * string/test-strchrnul.c: Add copyright header.
28088 * posix/tst-getaddrinfo4.c: Increase test timeout.
28090 2013-06-03 Carlos O'Donell <carlos@redhat.com>
28093 * math/libm-test.inc (MAX_EXP): Remove
28095 (ulp): Use MIN_EXP - MANT_DIG.
28096 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28098 2013-05-31 Carlos O'Donell <carlos@redhat.com>
28100 * po/be.po: Revert last change.
28101 * po/zh_CN.po: Likewise.
28102 * po/header.pot: Likewise.
28104 2013-05-31 Joseph Myers <joseph@codesourcery.com>
28106 * Makefile ($(common-objpfx)linkobj/libc.so): Define
28107 link-libc-deps to empty as target-specific variable.
28108 * Makerules (link-libc-args): New variable.
28109 (libc-for-link): Likewise.
28110 (link-libc-deps): Likewise.
28111 (lib%.so): Depend on $(link-libc-deps). Link with
28113 (build-module): Link with $(link-libc-args).
28114 (build-module-asneeded): Likewise.
28115 (build-module-helper-objlist): Filter out $(link-libc-deps) from
28117 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28118 target-specific variable.
28119 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28120 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28121 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28123 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28125 ($(objpfx)libpcprofile.so): Likewise.
28126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28128 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28129 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28130 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28132 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28133 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28134 * login/Makefile ($(objpfx)libutil.so): Likewise.
28135 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28136 * math/Makefile ($(objpfx)libm.so): Likewise.
28137 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28138 $(objpfx)libnsl.so): Define libc-for-link as target-specific
28139 variable instead of depending directly on libc.
28140 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28141 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28143 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28145 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28146 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28147 ($(objpfx)libanl.so): Likewise.
28148 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28150 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28152 * sysdeps/i386/fpu/Makefile: Remove file.
28153 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28154 ($(objpfx)libm.so): Remove dependency on ld.so.
28156 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
28159 * nis/yp_xdr.c (XDRMAXNAME): Define.
28160 (XDRMAXRECORD): Define.
28161 (xdr_domainname): Use XDRMAXNAME.
28162 (xdr_mapname): Likewise.
28163 (xdr_peername): Likewise.
28164 (xdr_keydat): Use XDRMAXRECORD.
28165 (xdr_valdat): Likewise.
28167 2013-05-30 Jeff Law <law@redhat.com>
28170 * manual/errno.texi (ESTALE): Update to account for more than
28171 just NFS file systems.
28172 * sysdeps/gnu/errlist.c: Regenerated.
28174 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28177 * elf/Makefile (tests): Add tst-null-argv.
28178 (modules-names): Add tst-null-argv-lib.
28179 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28180 (tst-null-argv-ENV): Set environment for tst-null-argv.
28181 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28182 (RTLD_PROGNAME): New macro.
28183 * elf/tst-null-argv.c: New test case.
28184 * elf/tst-null-argv-lib.c: Library for test case.
28185 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28186 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28187 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28188 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28189 * elf/dl-init.c (call_init): Likewise.
28190 (_dl_init): Likewise.
28191 * elf/dl-load.c (print_search_path): Likewise.
28192 (_dl_map_object): Likewise.
28193 * elf/dl-lookup.c (do_lookup_x): Likewise.
28194 (add_dependency): Likewise.
28195 (_dl_lookup_symbol_x): Likewise.
28196 (_dl_debug_bindings): Likewise.
28197 * elf/dl-open.c (_dl_show_scope): Likewise.
28198 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28199 * elf/dl-version.c (match_symbol): Likewise.
28200 (_dl_check_map_versions): Likewise.
28201 * elf/rtld.c (dl_main): Likewise.
28202 (print_unresolved): Use RTLD_PROGNAME.
28203 (print_missing_version): Likewise.
28204 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28205 (elf_machine_rela): Likewise.
28206 * sysdeps/powerpc/powerpc32/dl-machine.c
28207 (__process_machine_rela): Likewise.
28208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28214 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28221 2013-05-28 Carlos O'Donell <carlos@redhat.com>
28223 * po/be.po: Add descriptive title.
28224 * po/zh_CN.po: Likewise.
28225 * po/header.pot: Likewise.
28227 2013-05-28 Mike Frysinger <vapier@gentoo.org>
28229 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28231 (enlarge_archive): Likewise.
28233 2013-05-28 Ben North <ben@redfrontdoor.org>
28235 * manual/arith.texi (frexp): It is the magnitude of the return
28236 value which lies in [0.5, 1), not the return value itself.
28238 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28242 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28244 * stdio-common/bug26.c (main): Correct fscanf template.
28246 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28247 declare _dl_skip_args.
28249 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28252 * manual/platform.texi: Add missing @end deftypefun.
28254 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28257 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28258 bit of mantissa of 2^16382.
28259 * math/libm-test.inc (hypot_test_data): Add more tests.
28261 * math/libm-test.inc: Add drem and pow10 to list of tested
28263 (pow10_test): New function.
28264 (drem_test): Likewise.
28265 (drem_test_tonearest): Likewise.
28266 (drem_test_towardzero): Likewise.
28267 (drem_test_downward): Likewise.
28268 (drem_test_upward): Likewise.
28269 (main): Call the new functions.
28271 * math/libm-test.inc (finite_test_data): Remove.
28272 (finite_test): Run tests from isfinite_test_data.
28273 (gamma_test_data): Remove.
28274 (gamma_test): Run tests from lgamma_test_data.
28275 * sysdeps/i386/fpu/libm-test-ulps: Update.
28276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28278 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28280 * manual/platform.texi: Add PowerPC PPR function set documentation.
28281 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28284 2013-05-24 Carlos O'Donell <carlos@redhat.com>
28286 * math/libm-test.inc (MAX_EXP): Define.
28288 (ulp): New function.
28289 (check_float_internal): Use ULPDIFF.
28290 (cpow_test): Disable failing test.
28291 (check_ulp): Test ulp() implemetnation.
28292 (main): Call check_ulp before starting tests.
28294 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28296 * math/gen-libm-test.pl (generate_testfile): Do not handle
28297 START_DATA and END_DATA.
28298 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28300 (acos_tonearest_test_data): Likewise.
28301 (acos_towardzero_test_data): Likewise.
28302 (acos_downward_test_data): Likewise.
28303 (acos_upward_test_data): Likewise.
28304 (acosh_test_data): Likewise.
28305 (asin_test_data): Likewise.
28306 (asin_tonearest_test_data): Likewise.
28307 (asin_towardzero_test_data): Likewise.
28308 (asin_downward_test_data): Likewise.
28309 (asin_upward_test_data): Likewise.
28310 (asinh_test_data): Likewise.
28311 (atan_test_data): Likewise.
28312 (atanh_test_data): Likewise.
28313 (atan2_test_data): Likewise.
28314 (cabs_test_data): Likewise.
28315 (cacos_test_data): Likewise.
28316 (cacosh_test_data): Likewise.
28317 (carg_test_data): Likewise.
28318 (casin_test_data): Likewise.
28319 (casinh_test_data): Likewise.
28320 (catan_test_data): Likewise.
28321 (catanh_test_data): Likewise.
28322 (cbrt_test_data): Likewise.
28323 (ccos_test_data): Likewise.
28324 (ccosh_test_data): Likewise.
28325 (ceil_test_data): Likewise.
28326 (cexp_test_data): Likewise.
28327 (cimag_test_data): Likewise.
28328 (clog_test_data): Likewise.
28329 (clog10_test_data): Likewise.
28330 (conj_test_data): Likewise.
28331 (copysign_test_data): Likewise.
28332 (cos_test_data): Likewise.
28333 (cos_tonearest_test_data): Likewise.
28334 (cos_towardzero_test_data): Likewise.
28335 (cos_downward_test_data): Likewise.
28336 (cos_upward_test_data): Likewise.
28337 (cosh_test_data): Likewise.
28338 (cosh_tonearest_test_data): Likewise.
28339 (cosh_towardzero_test_data): Likewise.
28340 (cosh_downward_test_data): Likewise.
28341 (cosh_upward_test_data): Likewise.
28342 (cpow_test_data): Likewise.
28343 (cproj_test_data): Likewise.
28344 (creal_test_data): Likewise.
28345 (csin_test_data): Likewise.
28346 (csinh_test_data): Likewise.
28347 (csqrt_test_data): Likewise.
28348 (ctan_test_data): Likewise.
28349 (ctan_tonearest_test_data): Likewise.
28350 (ctan_towardzero_test_data): Likewise.
28351 (ctan_downward_test_data): Likewise.
28352 (ctan_upward_test_data): Likewise.
28353 (ctanh_test_data): Likewise.
28354 (ctanh_tonearest_test_data): Likewise.
28355 (ctanh_towardzero_test_data): Likewise.
28356 (ctanh_downward_test_data): Likewise.
28357 (ctanh_upward_test_data): Likewise.
28358 (erf_test_data): Likewise.
28359 (erfc_test_data): Likewise.
28360 (exp_test_data): Likewise.
28361 (exp_tonearest_test_data): Likewise.
28362 (exp_towardzero_test_data): Likewise.
28363 (exp_downward_test_data): Likewise.
28364 (exp_upward_test_data): Likewise.
28365 (exp10_test_data): Likewise.
28366 (exp2_test_data): Likewise.
28367 (expm1_test_data): Likewise.
28368 (fabs_test_data): Likewise.
28369 (fdim_test_data): Likewise.
28370 (finite_test_data): Likewise.
28371 (floor_test_data): Likewise.
28372 (fma_test_data): Likewise.
28373 (fma_towardzero_test_data): Likewise.
28374 (fma_downward_test_data): Likewise.
28375 (fma_upward_test_data): Likewise.
28376 (fmax_test_data): Likewise.
28377 (fmin_test_data): Likewise.
28378 (fmod_test_data): Likewise.
28379 (fpclassify_test_data): Likewise.
28380 (frexp_test_data): Likewise.
28381 (gamma_test_data): Likewise.
28382 (hypot_test_data): Likewise.
28383 (ilogb_test_data): Likewise.
28384 (isfinite_test_data): Likewise.
28385 (isgreater_test_data): Likewise.
28386 (isgreaterequal_test_data): Likewise.
28387 (isinf_test_data): Likewise.
28388 (isless_test_data): Likewise.
28389 (islessequal_test_data): Likewise.
28390 (islessgreater_test_data): Likewise.
28391 (isnan_test_data): Likewise.
28392 (isnormal_test_data): Likewise.
28393 (issignaling_test_data): Likewise.
28394 (isunordered_test_data): Likewise.
28395 (j0_test_data): Likewise.
28396 (j1_test_data): Likewise.
28397 (jn_test_data): Likewise.
28398 (ldexp_test_data): Likewise.
28399 (lgamma_test_data): Likewise.
28400 (lrint_test_data): Likewise.
28401 (lrint_tonearest_test_data): Likewise.
28402 (lrint_towardzero_test_data): Likewise.
28403 (lrint_downward_test_data): Likewise.
28404 (lrint_upward_test_data): Likewise.
28405 (llrint_test_data): Likewise.
28406 (llrint_tonearest_test_data): Likewise.
28407 (llrint_towardzero_test_data): Likewise.
28408 (llrint_downward_test_data): Likewise.
28409 (llrint_upward_test_data): Likewise.
28410 (log_test_data): Likewise.
28411 (log10_test_data): Likewise.
28412 (log1p_test_data): Likewise.
28413 (log2_test_data): Likewise.
28414 (logb_test_data): Likewise.
28415 (logb_downward_test_data): Likewise.
28416 (lround_test_data): Likewise.
28417 (llround_test_data): Likewise.
28418 (modf_test_data): Likewise.
28419 (nearbyint_test_data): Likewise.
28420 (nextafter_test_data): Likewise.
28421 (nexttoward_test_data): Likewise.
28422 (pow_test_data): Likewise.
28423 (pow_tonearest_test_data): Likewise.
28424 (pow_towardzero_test_data): Likewise.
28425 (pow_downward_test_data): Likewise.
28426 (pow_upward_test_data): Likewise.
28427 (remainder_test_data): Likewise.
28428 (remainder_tonearest_test_data): Likewise.
28429 (remainder_towardzero_test_data): Likewise.
28430 (remainder_downward_test_data): Likewise.
28431 (remainder_upward_test_data): Likewise.
28432 (remquo_test_data): Likewise.
28433 (rint_test_data): Likewise.
28434 (rint_tonearest_test_data): Likewise.
28435 (rint_towardzero_test_data): Likewise.
28436 (rint_downward_test_data): Likewise.
28437 (rint_upward_test_data): Likewise.
28438 (round_test_data): Likewise.
28439 (scalb_test_data): Likewise.
28440 (scalbn_test_data): Likewise.
28441 (scalbln_test_data): Likewise.
28442 (signbit_test_data): Likewise.
28443 (sin_test_data): Likewise.
28444 (sin_tonearest_test_data): Likewise.
28445 (sin_towardzero_test_data): Likewise.
28446 (sin_downward_test_data): Likewise.
28447 (sin_upward_test_data): Likewise.
28448 (sincos_test_data): Likewise.
28449 (sinh_test_data): Likewise.
28450 (sinh_tonearest_test_data): Likewise.
28451 (sinh_towardzero_test_data): Likewise.
28452 (sinh_downward_test_data): Likewise.
28453 (sinh_upward_test_data): Likewise.
28454 (sqrt_test_data): Likewise.
28455 (tan_test_data): Likewise.
28456 (tan_tonearest_test_data): Likewise.
28457 (tan_towardzero_test_data): Likewise.
28458 (tan_downward_test_data): Likewise.
28459 (tan_upward_test_data): Likewise.
28460 (tanh_test_data): Likewise.
28461 (tgamma_test_data): Likewise.
28462 (trunc_test_data): Likewise.
28463 (y0_test_data): Likewise.
28464 (y1_test_data): Likewise.
28465 (yn_test_data): Likewise.
28466 (significand_test_data): Likewise.
28468 * math/gen-libm-test.pl (@functions): Remove variable.
28469 (generate_testfile): Don't handle START and END lines.
28470 * math/libm-test.inc (START): New macro.
28472 (END_COMPLEX): Likewise.
28473 (acos_test): Use END macro without arguments.
28474 (acos_test_tonearest): Likewise.
28475 (acos_test_towardzero): Likewise.
28476 (acos_test_downward): Likewise.
28477 (acos_test_upward): Likewise.
28478 (acosh_test): Likewise.
28479 (asin_test): Likewise.
28480 (asin_test_tonearest): Likewise.
28481 (asin_test_towardzero): Likewise.
28482 (asin_test_downward): Likewise.
28483 (asin_test_upward): Likewise.
28484 (asinh_test): Likewise.
28485 (atan_test): Likewise.
28486 (atanh_test): Likewise.
28487 (atan2_test): Likewise.
28488 (cabs_test): Likewise.
28489 (cacos_test): Use END_COMPLEX macro without arguments.
28490 (cacosh_test): Likewise.
28491 (carg_test): Use END macro without arguments.
28492 (casin_test): Use END_COMPLEX macro without arguments.
28493 (casinh_test): Likewise.
28494 (catan_test): Likewise.
28495 (catanh_test): Likewise.
28496 (cbrt_test): Use END macro without arguments.
28497 (ccos_test): Use END_COMPLEX macro without arguments.
28498 (ccosh_test): Likewise.
28499 (ceil_test): Use END macro without arguments.
28500 (cexp_test): Use END_COMPLEX macro without arguments.
28501 (cimag_test): Use END macro without arguments.
28502 (clog_test): Use END_COMPLEX macro without arguments.
28503 (clog10_test): Likewise.
28504 (conj_test): Likewise.
28505 (copysign_test): Use END macro without arguments.
28506 (cos_test): Likewise.
28507 (cos_test_tonearest): Likewise.
28508 (cos_test_towardzero): Likewise.
28509 (cos_test_downward): Likewise.
28510 (cos_test_upward): Likewise.
28511 (cosh_test): Likewise.
28512 (cosh_test_tonearest): Likewise.
28513 (cosh_test_towardzero): Likewise.
28514 (cosh_test_downward): Likewise.
28515 (cosh_test_upward): Likewise.
28516 (cpow_test): Use END_COMPLEX macro without arguments.
28517 (cproj_test): Likewise.
28518 (creal_test): Use END macro without arguments.
28519 (csin_test): Use END_COMPLEX macro without arguments.
28520 (csinh_test): Likewise.
28521 (csqrt_test): Likewise.
28522 (ctan_test): Likewise.
28523 (ctan_test_tonearest): Likewise.
28524 (ctan_test_towardzero): Likewise.
28525 (ctan_test_downward): Likewise.
28526 (ctan_test_upward): Likewise.
28527 (ctanh_test): Likewise.
28528 (ctanh_test_tonearest): Likewise.
28529 (ctanh_test_towardzero): Likewise.
28530 (ctanh_test_downward): Likewise.
28531 (ctanh_test_upward): Likewise.
28532 (erf_test): Use END macro without arguments.
28533 (erfc_test): Likewise.
28534 (exp_test): Likewise.
28535 (exp_test_tonearest): Likewise.
28536 (exp_test_towardzero): Likewise.
28537 (exp_test_downward): Likewise.
28538 (exp_test_upward): Likewise.
28539 (exp10_test): Likewise.
28540 (exp2_test): Likewise.
28541 (expm1_test): Likewise.
28542 (fabs_test): Likewise.
28543 (fdim_test): Likewise.
28544 (finite_test): Likewise.
28545 (floor_test): Likewise.
28546 (fma_test): Likewise.
28547 (fma_test_towardzero): Likewise.
28548 (fma_test_downward): Likewise.
28549 (fma_test_upward): Likewise.
28550 (fmax_test): Likewise.
28551 (fmin_test): Likewise.
28552 (fmod_test): Likewise.
28553 (fpclassify_test): Likewise.
28554 (frexp_test): Likewise.
28555 (gamma_test): Likewise.
28556 (hypot_test): Likewise.
28557 (ilogb_test): Likewise.
28558 (isfinite_test): Likewise.
28559 (isgreater_test): Likewise.
28560 (isgreaterequal_test): Likewise.
28561 (isinf_test): Likewise.
28562 (isless_test): Likewise.
28563 (islessequal_test): Likewise.
28564 (islessgreater_test): Likewise.
28565 (isnan_test): Likewise.
28566 (isnormal_test): Likewise.
28567 (issignaling_test): Likewise.
28568 (isunordered_test): Likewise.
28569 (j0_test): Likewise.
28570 (j1_test): Likewise.
28571 (jn_test): Likewise.
28572 (ldexp_test): Likewise.
28573 (lgamma_test): Likewise.
28574 (lrint_test): Likewise.
28575 (lrint_test_tonearest): Likewise.
28576 (lrint_test_towardzero): Likewise.
28577 (lrint_test_downward): Likewise.
28578 (lrint_test_upward): Likewise.
28579 (llrint_test): Likewise.
28580 (llrint_test_tonearest): Likewise.
28581 (llrint_test_towardzero): Likewise.
28582 (llrint_test_downward): Likewise.
28583 (llrint_test_upward): Likewise.
28584 (log_test): Likewise.
28585 (log10_test): Likewise.
28586 (log1p_test): Likewise.
28587 (log2_test): Likewise.
28588 (logb_test): Likewise.
28589 (logb_test_downward): Likewise.
28590 (lround_test): Likewise.
28591 (llround_test): Likewise.
28592 (modf_test): Likewise.
28593 (nearbyint_test): Likewise.
28594 (nextafter_test): Likewise.
28595 (nexttoward_test): Likewise.
28596 (pow_test): Likewise.
28597 (pow_test_tonearest): Likewise.
28598 (pow_test_towardzero): Likewise.
28599 (pow_test_downward): Likewise.
28600 (pow_test_upward): Likewise.
28601 (remainder_test): Likewise.
28602 (remainder_test_tonearest): Likewise.
28603 (remainder_test_towardzero): Likewise.
28604 (remainder_test_downward): Likewise.
28605 (remainder_test_upward): Likewise.
28606 (remquo_test): Likewise.
28607 (rint_test): Likewise.
28608 (rint_test_tonearest): Likewise.
28609 (rint_test_towardzero): Likewise.
28610 (rint_test_downward): Likewise.
28611 (rint_test_upward): Likewise.
28612 (round_test): Likewise.
28613 (scalb_test): Likewise.
28614 (scalbn_test): Likewise.
28615 (scalbln_test): Likewise.
28616 (signbit_test): Likewise.
28617 (sin_test): Likewise.
28618 (sin_test_tonearest): Likewise.
28619 (sin_test_towardzero): Likewise.
28620 (sin_test_downward): Likewise.
28621 (sin_test_upward): Likewise.
28622 (sincos_test): Likewise.
28623 (sinh_test): Likewise.
28624 (sinh_test_tonearest): Likewise.
28625 (sinh_test_towardzero): Likewise.
28626 (sinh_test_downward): Likewise.
28627 (sinh_test_upward): Likewise.
28628 (sqrt_test): Likewise.
28629 (tan_test): Likewise.
28630 (tan_test_tonearest): Likewise.
28631 (tan_test_towardzero): Likewise.
28632 (tan_test_downward): Likewise.
28633 (tan_test_upward): Likewise.
28634 (tanh_test): Likewise.
28635 (tgamma_test): Likewise.
28636 (trunc_test): Likewise.
28637 (y0_test): Likewise.
28638 (y1_test): Likewise.
28639 (yn_test): Likewise.
28640 (significand_test): Likewise.
28642 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28645 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28647 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28650 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28651 __ppc_mdoio and __ppc_mdoom.
28652 * manual/platform.texi: Document new functions __ppc_yield,
28653 __ppc_mdoio and __ppc_mdoom.
28655 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28657 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28658 (main): Mention "tls" pseudo-hwcap is legacy.
28659 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28661 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28663 * math/gen-libm-test.pl (parse_args): Output only string of
28664 arguments as text for test name, not full call or descriptions of
28665 tests for extra outputs.
28666 (generate_testfile): Do not pass function name to parse_args.
28667 Generate this_func variable from START.
28668 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28670 (struct test_ff_f_data): Likewise.
28671 (test_ff_f_data_nexttoward): Likewise.
28672 (struct test_fi_f_data): Likewise.
28673 (struct test_fl_f_data): Likewise.
28674 (struct test_if_f_data): Likewise.
28675 (struct test_fff_f_data): Likewise.
28676 (struct test_c_f_data): Likewise.
28677 (struct test_f_f1_data): Likewise. Remove field extra_name.
28678 (struct test_fF_f1_data): Likewise.
28679 (struct test_ffI_f1_data): Likewise.
28680 (struct test_c_c_data): Rename test_name field to arg_str.
28681 (struct test_cc_c_data): Likewise.
28682 (struct test_f_i_data): Likewise.
28683 (struct test_ff_i_data): Likewise.
28684 (struct test_f_l_data): Likewise.
28685 (struct test_f_L_data): Likewise.
28686 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28688 (COMMON_TEST_SETUP): New macro.
28689 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28690 (COMMON_TEST_CLEANUP): Likewise.
28691 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28692 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28694 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28695 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28697 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28698 (RUN_TEST_fff_f): Take argument string. Call new setup and
28700 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28701 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28703 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28704 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28706 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28707 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28709 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28710 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28712 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28713 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28715 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28716 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28718 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28719 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28721 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28722 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28724 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28725 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28727 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28728 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28730 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28731 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28733 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28734 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28736 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28737 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28739 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28740 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28742 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28743 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28745 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28747 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28749 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28750 to _sifields.sigfault.
28751 (si_addr_lsb): Define new macro.
28752 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28754 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28756 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28759 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28761 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28763 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28764 loading the domain.
28766 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28768 * math/gen-libm-test.pl (parse_args): Do not include expected
28769 result in test name.
28770 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28772 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28774 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28777 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28779 * benchtests/Makefile: Sort function entries.
28781 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28782 tanh, asinh, acosh, atanh.
28783 * benchtests/acos-inputs: New file.
28784 * benchtests/acosh-inputs: New file.
28785 * benchtests/asin-inputs: New file.
28786 * benchtests/asinh-inputs: New file.
28787 * benchtests/atanh-inputs: New file.
28788 * benchtests/cosh-inputs: New file.
28789 * benchtests/log-inputs: New file.
28790 * benchtests/sinh-inputs: New file.
28791 * benchtests/tanh-inputs: New file.
28793 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28796 * posix/tst-getaddrinfo4.c: New test.
28797 * posix/Makefile (tests): Add it.
28799 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28802 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28803 when no services were used.
28804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28805 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28807 2013-05-21 Andreas Schwab <schwab@suse.de>
28810 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28811 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28813 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28814 redundant variable declarations and reallocation of buffer when
28815 parsing as IPv6 address. Always set NSS status when called from
28816 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28817 buffer too small. Correct computation of needed size.
28818 * nss/Makefile (tests): Add test-digits-dots.
28819 * nss/test-digits-dots.c: New test.
28821 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28823 * benchtests/Makefile: Remove instructions for adding
28825 * benchtests/README: New file to explain how to execute and
28826 enhance the benchmark tests.
28828 2013-05-21 Andreas Schwab <schwab@suse.de>
28831 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28832 * setjmp/tst-sigsetjmp.c: New test.
28834 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28836 * sysdeps/x86_64/memset.S (memset): New implementation.
28837 (__bzero): Likewise.
28838 (__memset_tail): New function.
28840 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28842 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28843 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28844 __memcpy_sse2_unaligned ifunc selection.
28845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28846 Add memcpy-sse2-unaligned.S.
28847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28848 Add: __memcpy_sse2_unaligned.
28850 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28853 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28854 math_force_eval before restoring floating-point envrionment.
28855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28858 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28860 (__nearbyintl): Use math_force_eval before restoring
28861 floating-point environment.
28862 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28864 * math/gen-libm-test.pl (special_functions): Remove.
28865 (parse_args): Don't handle TEST_extra. Handle functions with no
28867 * math/libm-test.inc (struct test_sincos_data): Replace with
28868 struct test_fFF_11_data.
28869 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28870 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28871 (sincos_test_data): Change element type to struct
28872 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28873 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28874 RUN_TEST_LOOP_sincos.
28875 * math/README.libm-test: Don't mention special handling of
28876 individual functions.
28877 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28879 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28881 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28884 * math/gen-libm-test.pl (get_variable): Remove function.
28885 (parse_args): Don't show pointer parameters to call in test
28886 names. Use "extra output N" in test names for extra outputs
28887 rather than naming variables.
28889 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28892 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28893 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28894 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28896 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28898 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28901 * math/gen-libm-test.pl (@tests): Remove variable.
28902 ($count): Likewise.
28903 (new_test): Remove function.
28904 (show_exceptions): New function.
28905 (special_functions): Use show_exceptions instead of new_test.
28906 (parse_args): Likewise.
28907 (generate_testfile): Pass only function name in generated call to
28908 print_max_error or print_complex_max_error.
28909 (get_ulps): Do not handle complex tests specially.
28910 (output_test): Rename to ...
28911 (get_all_ulps_for_test): ... this. Return a string rather than
28912 printing to a file. Require ulps to be present.
28913 (output_ulps): Generate arrays rather than #defines.
28914 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28915 (struct ulp_data): New type.
28916 (BUILD_COMPLEX_ULP): Remove macro.
28917 (compare_ulp_data): New function.
28918 (find_ulps): Likewise.
28919 (find_test_ulps): Likewise.
28920 (find_function_ulps): Likewise.
28921 (find_complex_function_ulps): Likewise.
28922 (print_max_error): Determine allowed ulps using
28923 find_function_ulps.
28924 (print_complex_max_error): Determine allowed ulps using
28925 find_complex_function_ulps.
28926 (check_float_internal): Determine max ulps using find_test_ulps.
28927 (check_float): Do not take max_ulp parameter. Update call to
28928 check_float_internal.
28929 (check_complex): Likewise.
28930 (check_int): Do not take max_ulp parameter.
28931 (check_long): Likewise.
28932 (check_bool): Likewise.
28933 (check_longlong): Likewise.
28934 (struct test_f_f_data): Remove max_ulp field.
28935 (struct test_ff_f_data): Likewise.
28936 (struct test_ff_f_data_nexttoward): Likewise.
28937 (struct test_fi_f_data): Likewise.
28938 (struct test_fl_f_data): Likewise.
28939 (struct test_if_f_data): Likewise.
28940 (struct test_fff_f_data): Likewise.
28941 (struct test_c_f_data): Likewise.
28942 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28943 (struct test_fF_f1_data): Likewise.
28944 (struct test_ffI_f1_data): Likewise.
28945 (struct test_c_c_data): Remove max_ulp field.
28946 (struct test_cc_c_data): Likewise.
28947 (struct test_f_i_data): Likewise.
28948 (struct test_ff_i_data): Likewise.
28949 (struct test_f_l_data): Likewise.
28950 (struct test_f_L_data): Likewise.
28951 (struct test_sincos_data): Likewise.
28952 (RUN_TEST_f_f): Do not handle ulps.
28953 (RUN_TEST_LOOP_f_f): Likewise.
28954 (RUN_TEST_2_f): Likewise.
28955 (RUN_TEST_LOOP_2_f): Likewise.
28956 (RUN_TEST_fff_f): Likewise.
28957 (RUN_TEST_LOOP_fff_f): Likewise.
28958 (RUN_TEST_c_f): Likewise.
28959 (RUN_TEST_LOOP_c_f): Likewise.
28960 (RUN_TEST_f_f1): Likewise.
28961 (RUN_TEST_LOOP_f_f1): Likewise.
28962 (RUN_TEST_fF_f1): Likewise.
28963 (RUN_TEST_LOOP_fF_f1): Likewise.
28964 (RUN_TEST_fI_f1): Likewise.
28965 (RUN_TEST_LOOP_fI_f1): Likewise.
28966 (RUN_TEST_ffI_f1): Likewise.
28967 (RUN_TEST_LOOP_ffI_f1): Likewise.
28968 (RUN_TEST_c_c): Likewise.
28969 (RUN_TEST_LOOP_c_c): Likewise.
28970 (RUN_TEST_cc_c): Likewise.
28971 (RUN_TEST_LOOP_cc_c): Likewise.
28972 (RUN_TEST_f_i): Likewise.
28973 (RUN_TEST_LOOP_f_i): Likewise.
28974 (RUN_TEST_f_i_tg): Likewise.
28975 (RUN_TEST_LOOP_f_i_tg): Likewise.
28976 (RUN_TEST_ff_i_tg): Likewise.
28977 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28978 (RUN_TEST_f_b): Likewise.
28979 (RUN_TEST_LOOP_f_b): Likewise.
28980 (RUN_TEST_f_b_tg): Likewise.
28981 (RUN_TEST_LOOP_f_b_tg): Likewise.
28982 (RUN_TEST_f_l): Likewise.
28983 (RUN_TEST_LOOP_f_l): Likewise.
28984 (RUN_TEST_f_L): Likewise.
28985 (RUN_TEST_LOOP_f_L): Likewise.
28986 (RUN_TEST_sincos): Likewise.
28987 (RUN_TEST_LOOP_sincos): Likewise.
28989 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28993 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28994 main case of finite arguments, set rounding mode to FE_TONEAREST
28995 and discard exceptions.
28996 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28998 (remainder_tonearest_test_data): New variable.
28999 (remainder_test_tonearest): New function.
29000 (remainder_towardzero_test_data): New variable.
29001 (remainder_test_towardzero): New function.
29002 (remainder_downward_test_data): New variable.
29003 (remainder_test_downward): New function.
29004 (remainder_upward_test_data): New variable.
29005 (remainder_test_upward): New function.
29006 (main): Call the new test functions.
29008 * math/libm-test.inc (struct test_f_f1_data): Remove field
29010 (struct test_fF_f1_data): Likewise.
29011 (struct test_ffI_f1_data): Likewise.
29012 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
29013 based on value of EXTRA_EXPECTED.
29014 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29015 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
29016 EXTRA_VAR based on value of EXTRA_EXPECTED.
29017 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29018 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
29019 EXTRA_VAR based on value of EXTRA_EXPECTED.
29020 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29021 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
29022 EXTRA_VAR based on value of EXTRA_EXPECTED.
29023 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29024 * math/gen-libm-test.pl (parse_args): Don't output initializers
29025 for extra output values.
29027 * math/libm-test.inc (check_int): Expect result to be exactly
29028 equal to expected value and do not handle ulps.
29029 (check_long): Likewise.
29030 (check_longlong): Likewise.
29032 * math/libm-test.inc (ceil_test_data): Test for "inexact"
29034 (cimag_test_data): Likewise.
29035 (conj_test_data): Likewise.
29036 (copysign_test_data): Likewise.
29037 (cproj_test_data): Likewise.
29038 (creal_test_data): Likewise.
29039 (fabs_test_data): Likewise.
29040 (fdim_test_data): Likewise.
29041 (finite_test_data): Likewise.
29042 (floor_test_data): Likewise.
29043 (fmax_test_data): Likewise.
29044 (fmin_test_data): Likewise.
29045 (fmod_test_data): Likewise.
29046 (fpclassify_test_data): Likewise.
29047 (frexp_test_data): Likewise.
29048 (ilogb_test_data): Likewise.
29049 (isfinite_test_data): Likewise.
29050 (isgreater_test_data): Likewise.
29051 (isgreaterequal_test_data): Likewise.
29052 (isinf_test_data): Likewise.
29053 (isless_test_data): Likewise.
29054 (islessequal_test_data): Likewise.
29055 (islessgreater_test_data): Likewise.
29056 (isnan_test_data): Likewise.
29057 (isnormal_test_data): Likewise.
29058 (issignaling_test_data): Likewise.
29059 (isunordered_test_data): Likewise.
29060 (ldexp_test_data): Likewise.
29061 (lrint_test_data): Likewise.
29062 (lrint_test_data) [TEST_FLOAT]: Disable one test.
29063 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29064 (lrint_tonearest_test_data): Test for "inexact" exceptions.
29065 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29066 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29067 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29069 (lrint_towardzero_test_data): Test for "inexact" exceptions.
29070 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29071 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29072 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29074 (lrint_downward_test_data): Test for "inexact" exceptions.
29075 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29076 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29077 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29079 (lrint_upward_test_data): Test for "inexact" exceptions.
29080 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29082 (llrint_test_data): Test for "inexact" exceptions.
29083 (llrint_test_data) [TEST_FLOAT]: Disable one test.
29084 (llrint_tonearest_test_data): Test for "inexact" exceptions.
29085 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29086 (llrint_towardzero_test_data): Test for "inexact" exceptions.
29087 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29088 (llrint_downward_test_data): Test for "inexact" exceptions.
29089 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29090 (llrint_upward_test_data): Test for "inexact" exceptions.
29091 (logb_test_data): Likewise.
29092 (logb_downward_test_data): Likewise.
29093 (nextafter_test_data): Likewise.
29094 (nexttoward_test_data): Likewise.
29095 (remainder_test_data): Likewise.
29096 (remquo_test_data): Likewise.
29097 (scalbn_test_data): Likewise.
29098 (scalbln_test_data): Likewise.
29099 (signbit_test_data): Likewise.
29100 (sqrt_test_data): Likewise.
29101 (significand_test_data): Likewise.
29103 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29106 * benchtests/bench-modf.c (struct args): Mark arg0 as
29108 * scripts/bench.pl: Mark members of struct args as volatile.
29110 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29113 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29114 negative infinity on POWER6 or lower.
29115 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29117 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
29120 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29121 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29122 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29123 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29124 (_FP_SETQNAN): New macro.
29125 (_FP_SETQNAN_SEMIRAW): Likewise.
29126 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29127 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29128 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29129 (FP_EXTEND): Use _FP_FRAC_SNANP.
29130 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29131 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29138 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29140 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29141 with DIVIDE_BY_ZERO_EXCEPTION.
29142 (gamma_test_data): Likewise.
29143 (lgamma_test_data): Likewise.
29144 (log_test_data): Likewise.
29145 (log10_test_data): Likewise.
29146 (log2_test_data): Likewise.
29147 (tgamma_test_data): Likewise.
29149 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29150 (acos_test_tonearest): Likewise.
29151 (acos_test_towardzero): Likewise.
29152 (acos_test_downward): Likewise.
29153 (acos_test_upward): Likewise.
29154 (acosh_test): Likewise.
29155 (asin_test): Likewise.
29156 (asin_test_tonearest): Likewise.
29157 (asin_test_towardzero): Likewise.
29158 (asin_test_downward): Likewise.
29159 (asin_test_upward): Likewise.
29160 (asinh_test): Likewise.
29161 (atan_test): Likewise.
29162 (atanh_test): Likewise.
29163 (atan2_test): Likewise.
29164 (cabs_test): Likewise.
29165 (cacos_test): Likewise.
29166 (cacosh_test): Likewise.
29167 (casin_test): Likewise.
29168 (casinh_test): Likewise.
29169 (catan_test): Likewise.
29170 (catanh_test): Likewise.
29171 (cbrt_test): Likewise.
29172 (ccos_test): Likewise.
29173 (ccosh_test): Likewise.
29174 (cexp_test): Likewise.
29175 (clog_test): Likewise.
29176 (clog10_test): Likewise.
29177 (cos_test): Likewise.
29178 (cos_test_tonearest): Likewise.
29179 (cos_test_towardzero): Likewise.
29180 (cos_test_downward): Likewise.
29181 (cos_test_upward): Likewise.
29182 (cosh_test): Likewise.
29183 (cosh_test_tonearest): Likewise.
29184 (cosh_test_towardzero): Likewise.
29185 (cosh_test_downward): Likewise.
29186 (cosh_test_upward): Likewise.
29187 (cpow_test): Likewise.
29188 (csin_test): Likewise.
29189 (csinh_test): Likewise.
29190 (csqrt_test): Likewise.
29191 (ctan_test): Likewise.
29192 (ctan_test_tonearest): Likewise.
29193 (ctan_test_towardzero): Likewise.
29194 (ctan_test_downward): Likewise.
29195 (ctan_test_upward): Likewise.
29196 (ctanh_test): Likewise.
29197 (ctanh_test_tonearest): Likewise.
29198 (ctanh_test_towardzero): Likewise.
29199 (ctanh_test_downward): Likewise.
29200 (ctanh_test_upward): Likewise.
29201 (erf_test): Likewise.
29202 (erfc_test): Likewise.
29203 (exp_test): Likewise.
29204 (exp_test_tonearest): Likewise.
29205 (exp_test_towardzero): Likewise.
29206 (exp_test_downward): Likewise.
29207 (exp_test_upward): Likewise.
29208 (exp10_test): Likewise.
29209 (exp2_test): Likewise.
29210 (expm1_test): Likewise.
29211 (fmod_test): Likewise.
29212 (gamma_test): Likewise.
29213 (hypot_test): Likewise.
29214 (j0_test): Likewise.
29215 (j1_test): Likewise.
29216 (jn_test): Likewise.
29217 (lgamma_test): Likewise.
29218 (log_test): Likewise.
29219 (log10_test): Likewise.
29220 (log1p_test): Likewise.
29221 (log2_test): Likewise.
29222 (logb_test_downward): Likewise.
29223 (pow_test): Likewise.
29224 (pow_test_tonearest): Likewise.
29225 (pow_test_towardzero): Likewise.
29226 (pow_test_downward): Likewise.
29227 (pow_test_upward): Likewise.
29228 (remainder_test): Likewise.
29229 (remquo_test): Likewise.
29230 (sin_test): Likewise.
29231 (sin_test_tonearest): Likewise.
29232 (sin_test_towardzero): Likewise.
29233 (sin_test_downward): Likewise.
29234 (sin_test_upward): Likewise.
29235 (sincos_test): Likewise.
29236 (sinh_test): Likewise.
29237 (sinh_test_tonearest): Likewise.
29238 (sinh_test_towardzero): Likewise.
29239 (sinh_test_downward): Likewise.
29240 (sinh_test_upward): Likewise.
29241 (sqrt_test): Likewise.
29242 (tan_test): Likewise.
29243 (tan_test_tonearest): Likewise.
29244 (tan_test_towardzero): Likewise.
29245 (tan_test_downward): Likewise.
29246 (tan_test_upward): Likewise.
29247 (tanh_test): Likewise.
29248 (tgamma_test): Likewise.
29249 (y0_test): Likewise.
29250 (y1_test): Likewise.
29251 (yn_test): Likewise.
29253 * math/gen-libm-test.pl (adjust_arg): Remove function.
29254 (special_function): Remove argument $in_func. Only handle
29255 generating output for tables of tests, not inside functions.
29256 (parse_args): Likewise.
29257 (generate_testfile): Remove variable $in_func. Update call to
29259 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29260 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29261 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29262 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29263 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29264 (MAX_VALUE_INIT): Rename macro to max_value.
29265 (MIN_VALUE_INIT): Rename macro to min_value.
29266 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29267 (plus_zero): Remove variable.
29268 (minus_zero): Likewise.
29269 (plus_infty): Likewise.
29270 (minus_infty): Likewise.
29271 (qnan_value): Likewise.
29272 (max_value): Likewise.
29273 (min_value): Likewise.
29274 (min_subnorm_value): Likewise.
29276 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29278 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29279 uint64_t or uint32_t usage.
29280 * crypt/sha256-block.c: Likewise.
29281 * crypt/sha256-crypt.c: Likewise.
29282 * crypt/sha256.c: Likewise.
29283 * crypt/sha512-block.c: Likewise.
29284 * crypt/sha512-crypt.c: Likewise.
29285 * crypt/sha512.c: Likewise.
29286 * debug/backtrace-tst.c: Likewise.
29287 * debug/pcprofiledump.c: Likewise.
29288 * elf/cache.c: Likewise.
29289 * elf/dl-cache.c: Likewise.
29290 * elf/dl-misc.c: Likewise.
29291 * elf/dl-profile.c: Likewise.
29292 * elf/dl-support.c: Likewise.
29293 * elf/ldconfig.c: Likewise.
29294 * elf/sprof.c: Likewise.
29295 * iconv/dummy-repertoire.c: Likewise.
29296 * iconv/iconv_charmap.c: Likewise.
29297 * iconv/skeleton.c: Likewise.
29298 * iconvdata/8bit-generic.c: Likewise.
29299 * iconvdata/cp737.h: Likewise.
29300 * iconvdata/cp775.h: Likewise.
29301 * iconvdata/ibm1008.h: Likewise.
29302 * iconvdata/ibm1025.h: Likewise.
29303 * iconvdata/ibm1046.h: Likewise.
29304 * iconvdata/ibm1097.h: Likewise.
29305 * iconvdata/ibm1112.h: Likewise.
29306 * iconvdata/ibm1122.h: Likewise.
29307 * iconvdata/ibm1123.h: Likewise.
29308 * iconvdata/ibm1124.h: Likewise.
29309 * iconvdata/ibm1129.h: Likewise.
29310 * iconvdata/ibm1130.h: Likewise.
29311 * iconvdata/ibm1132.h: Likewise.
29312 * iconvdata/ibm1133.h: Likewise.
29313 * iconvdata/ibm1137.h: Likewise.
29314 * iconvdata/ibm1140.h: Likewise.
29315 * iconvdata/ibm1141.h: Likewise.
29316 * iconvdata/ibm1142.h: Likewise.
29317 * iconvdata/ibm1143.h: Likewise.
29318 * iconvdata/ibm1144.h: Likewise.
29319 * iconvdata/ibm1145.h: Likewise.
29320 * iconvdata/ibm1146.h: Likewise.
29321 * iconvdata/ibm1147.h: Likewise.
29322 * iconvdata/ibm1148.h: Likewise.
29323 * iconvdata/ibm1149.h: Likewise.
29324 * iconvdata/ibm1153.h: Likewise.
29325 * iconvdata/ibm1154.h: Likewise.
29326 * iconvdata/ibm1155.h: Likewise.
29327 * iconvdata/ibm1156.h: Likewise.
29328 * iconvdata/ibm1157.h: Likewise.
29329 * iconvdata/ibm1158.h: Likewise.
29330 * iconvdata/ibm1160.h: Likewise.
29331 * iconvdata/ibm1161.h: Likewise.
29332 * iconvdata/ibm1162.h: Likewise.
29333 * iconvdata/ibm1163.h: Likewise.
29334 * iconvdata/ibm1164.h: Likewise.
29335 * iconvdata/ibm1166.h: Likewise.
29336 * iconvdata/ibm1167.h: Likewise.
29337 * iconvdata/ibm12712.h: Likewise.
29338 * iconvdata/ibm1390.h: Likewise.
29339 * iconvdata/ibm1399.h: Likewise.
29340 * iconvdata/ibm16804.h: Likewise.
29341 * iconvdata/ibm4517.h: Likewise.
29342 * iconvdata/ibm4899.h: Likewise.
29343 * iconvdata/ibm4909.h: Likewise.
29344 * iconvdata/ibm4971.h: Likewise.
29345 * iconvdata/ibm5347.h: Likewise.
29346 * iconvdata/ibm803.h: Likewise.
29347 * iconvdata/ibm856.h: Likewise.
29348 * iconvdata/ibm901.h: Likewise.
29349 * iconvdata/ibm902.h: Likewise.
29350 * iconvdata/ibm9030.h: Likewise.
29351 * iconvdata/ibm9066.h: Likewise.
29352 * iconvdata/ibm921.h: Likewise.
29353 * iconvdata/ibm922.h: Likewise.
29354 * iconvdata/ibm9448.h: Likewise.
29355 * iconvdata/isiri-3342.h: Likewise.
29356 * iconvdata/jis0201.h: Likewise.
29357 * include/link.h: Likewise.
29358 * include/netdb.h: Likewise.
29359 * inet/check_native.c: Likewise.
29360 * inet/check_pf.c: Likewise.
29361 * inet/getipv4sourcefilter.c: Likewise.
29362 * inet/getnameinfo.c: Likewise.
29363 * inet/getsourcefilter.c: Likewise.
29364 * inet/htonl.c: Likewise.
29365 * inet/setipv4sourcefilter.c: Likewise.
29366 * inet/setsourcefilter.c: Likewise.
29367 * inet/test-inet6_opt.c: Likewise.
29368 * inet/tst-network.c: Likewise.
29369 * locale/C-collate.c: Likewise.
29370 * locale/C-ctype.c: Likewise.
29371 * locale/C-time.c: Likewise.
29372 * locale/C-translit.h: Likewise.
29373 * locale/loadarchive.c: Likewise.
29374 * locale/programs/3level.h: Likewise.
29375 * locale/programs/charmap.c: Likewise.
29376 * locale/programs/charmap.h: Likewise.
29377 * locale/programs/ld-address.c: Likewise.
29378 * locale/programs/ld-collate.c: Likewise.
29379 * locale/programs/ld-ctype.c: Likewise.
29380 * locale/programs/ld-identification.c: Likewise.
29381 * locale/programs/ld-measurement.c: Likewise.
29382 * locale/programs/ld-messages.c: Likewise.
29383 * locale/programs/ld-monetary.c: Likewise.
29384 * locale/programs/ld-name.c: Likewise.
29385 * locale/programs/ld-numeric.c: Likewise.
29386 * locale/programs/ld-paper.c: Likewise.
29387 * locale/programs/ld-telephone.c: Likewise.
29388 * locale/programs/ld-time.c: Likewise.
29389 * locale/programs/linereader.c: Likewise.
29390 * locale/programs/locale.c: Likewise.
29391 * locale/programs/locarchive.c: Likewise.
29392 * locale/programs/locfile.h: Likewise.
29393 * locale/programs/repertoire.c: Likewise.
29394 * locale/programs/simple-hash.c: Likewise.
29395 * locale/programs/simple-hash.h: Likewise.
29396 * malloc/memusage.c: Likewise.
29397 * malloc/memusagestat.c: Likewise.
29398 * nis/nis_defaults.c: Likewise.
29399 * nis/nis_hash.c: Likewise.
29400 * nis/nis_print.c: Likewise.
29401 * nis/nis_xdr.c: Likewise.
29402 * nscd/connections.c: Likewise.
29403 * nscd/hstcache.c: Likewise.
29404 * nscd/nscd_gethst_r.c: Likewise.
29405 * nscd/nscd_getserv_r.c: Likewise.
29406 * nscd/nscd_helper.c: Likewise.
29407 * nscd/servicescache.c: Likewise.
29408 * nss/makedb.c: Likewise.
29409 * nss/nss_db/db-XXX.c: Likewise.
29410 * nss/nss_db/db-initgroups.c: Likewise.
29411 * nss/nss_db/db-netgrp.c: Likewise.
29412 * nss/nss_files/files-network.c: Likewise.
29413 * nss/nss_files/files-parse.c: Likewise.
29414 * posix/bug-regex5.c: Likewise.
29415 * posix/fnmatch_loop.c: Likewise.
29416 * posix/regcomp.c: Likewise.
29417 * posix/regexec.c: Likewise.
29418 * posix/tst-rfc3484-2.c: Likewise.
29419 * posix/tst-rfc3484-3.c: Likewise.
29420 * posix/tst-rfc3484.c: Likewise.
29421 * resolv/nss_dns/dns-canon.c: Likewise.
29422 * resolv/nss_dns/dns-network.c: Likewise.
29423 * resolv/res_init.c: Likewise.
29424 * resolv/res_mkquery.c: Likewise.
29425 * resolv/tst-aton.c: Likewise.
29426 * stdlib/cxa_atexit.c: Likewise.
29427 * stdlib/cxa_finalize.c: Likewise.
29428 * stdlib/gen-fpioconst.c: Likewise.
29429 * stdlib/strtol_l.c: Likewise.
29430 * string/tst-endian.c: Likewise.
29431 * sunrpc/auth_des.c: Likewise.
29432 * sunrpc/clnt_udp.c: Likewise.
29433 * sunrpc/rtime.c: Likewise.
29434 * sunrpc/svcauth_des.c: Likewise.
29435 * sunrpc/xdr.c: Likewise.
29436 * sunrpc/xdr_intXX_t.c: Likewise.
29437 * sunrpc/xdr_rec.c: Likewise.
29438 * sysdeps/generic/ldconfig.h: Likewise.
29439 * sysdeps/generic/ldsodefs.h: Likewise.
29440 * sysdeps/generic/memusage.h: Likewise.
29441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29442 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29443 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29444 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29445 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29447 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29449 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29450 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29451 * sysdeps/posix/getaddrinfo.c: Likewise.
29452 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29453 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29454 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29455 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29456 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29457 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29458 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29459 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29460 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29461 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29462 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29464 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29465 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29466 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29467 * sysdeps/x86_64/dl-tls.h: Likewise.
29468 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29469 * time/alt_digit.c: Likewise.
29470 * time/era.c: Likewise.
29471 * wcsmbs/tst-c16c32-1.c: Likewise.
29473 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29475 * math/libm-test.inc (struct test_sincos_data): New type.
29476 (RUN_TEST_LOOP_sincos): New macro.
29477 (sincos_test_data): New variable.
29478 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29480 2013-05-16 Richard Henderson <rth@redhat.com>
29482 * math/atest-exp2.c (LIMB64): New macro.
29483 (CONSTSZ): New macro.
29484 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29486 (print_mpn_fp): ... to function scope.
29487 (read_mpn_hex): Remove.
29488 (get_log2): Remove.
29489 (exp2_mpn): Use mp_log2.
29490 (main): Use mp_exp1.
29492 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29494 * math/libm-test.inc: Remove comment about not testing "inexact"
29496 (INEXACT_EXCEPTION): New macro.
29497 (NO_INEXACT_EXCEPTION): Likewise.
29498 (INVALID_EXCEPTION_OK): Update value.
29499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29500 (OVERFLOW_EXCEPTION_OK): Likewise.
29501 (UNDERFLOW_EXCEPTION_OK): Likewise.
29502 (IGNORE_ZERO_INF_SIGN): Likewise.
29503 (ERRNO_UNCHANGED): Likewise.
29504 (ERRNO_EDOM): Likewise.
29505 (ERRNO_ERANGE): Likewise.
29506 (test_exceptions): Handle testing "inexact" exceptions.
29507 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29508 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29509 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29510 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29512 (rint_towardzero_test_data): Likewise.
29513 (rint_downward_test_data): Likewise.
29514 (rint_upward_test_data): Likewise.
29516 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29517 with OVERFLOW_EXCEPTION.
29518 (exp10_test_data): Likewise.
29519 (exp2_test_data): Likewise.
29520 (expm1_test_data): Likewise.
29521 (lgamma_test_data): Likewise.
29522 (pow_test_data): Likewise.
29523 (tgamma_test_data): Likewise.
29524 (yn_test_data): Remove duplicate test of overflow.
29526 * math/libm-test.inc (struct test_cc_c_data): New type.
29527 (RUN_TEST_LOOP_cc_c): New macro.
29528 (cpow_test_data): New variable.
29529 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29531 * math/libm-test.inc (struct test_f_L_data): New type.
29532 (RUN_TEST_LOOP_f_L): New macro.
29533 (llrint_test_data): New variable.
29534 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29535 (llrint_tonearest_test_data): New variable.
29536 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29537 (llrint_towardzero_test_data): New variable.
29538 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29539 (llrint_downward_test_data): New variable.
29540 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29541 (llrint_upward_test_data): New variable.
29542 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29543 (llround_test_data): New variable.
29544 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29546 2013-05-13 Peter Collingbourne <pcc@google.com>
29548 * math/atest-exp2.c (get_log2): Remove const attribute.
29550 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29552 * math/libm-test.inc (struct test_f_l_data): New type.
29553 (RUN_TEST_LOOP_f_l): New macro.
29554 (lrint_test_data): New variable.
29555 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29556 (lrint_tonearest_test_data): New variable.
29557 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29558 (lrint_towardzero_test_data): New variable.
29559 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29560 (lrint_downward_test_data): New variable.
29561 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29562 (lrint_upward_test_data): New variable.
29563 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29564 (lround_test_data): New variable.
29565 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29567 2013-05-15 Peter Collingbourne <pcc@google.com>
29569 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29570 (EXTRACT_WORDS64) Use where appropriate.
29571 (INSERT_WORDS64) Likewise.
29573 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29574 constraints with x constraints.
29575 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29577 * malloc/obstack.c (_obstack_compat): Add initializer.
29579 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29581 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29582 si_trapno and add si_addr_lsb to _sifields.sigfault.
29583 (si_trapno): Remove macro.
29584 (si_addr_lsb): Define new macro.
29585 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29587 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29589 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29590 instead of TEST_f_l.
29591 (llrint_test_tonearest): Likewise.
29592 (llrint_test_towardzero): Likewise.
29593 (llrint_test_downward): Likewise.
29594 (llrint_test_upward): Likewise.
29595 (llround_test): Likewise.
29597 * math/libm-test.inc (struct test_f_i_data): Add comment.
29598 (RUN_TEST_LOOP_f_b): New macro.
29599 (RUN_TEST_LOOP_f_b_tg): Likewise.
29600 (finite_test_data): New variable.
29601 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29602 (isfinite_test_data): New variable.
29603 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29604 (isinf_test_data): New variable.
29605 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29606 (isnan_test_data): New variable.
29607 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29608 (isnormal_test_data): New variable.
29609 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29610 (issignaling_test_data): New variable.
29611 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29612 (signbit_test_data): New variable.
29613 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29615 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29616 with INVALID_EXCEPTION.
29617 (acosh_test_data): Likewise.
29618 (asin_test_data): Likewise.
29619 (atanh_test_data): Likewise.
29620 (fmod_test_data): Likewise.
29621 (log_test_data): Likewise.
29622 (log10_test_data): Likewise.
29623 (log2_test_data): Likewise.
29624 (pow_test_data): Likewise.
29625 (sqrt_test_data): Likewise.
29626 (y0_test_data): Likewise.
29627 (y1_test_data): Likewise.
29628 (yn_test_data): Likewise.
29630 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29633 * math/libm-test.inc (struct test_ff_i_data): New type.
29634 (RUN_TEST_LOOP_ff_i_tg): New macro.
29635 (isgreater_test_data): New variable.
29636 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29637 (isgreaterequal_test_data): New variable.
29638 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29639 (isless_test_data): New variable.
29640 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29641 (islessequal_test_data): New variable.
29642 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29643 (islessgreater_test_data): New variable.
29644 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29645 (isunordered_test_data): New variable.
29646 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29648 2013-05-14 David S. Miller <davem@davemloft.net>
29650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29652 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29654 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29656 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29658 (struct test_f_i_data): Change type of max_ulp to int.
29660 * math/libm-test.inc (test_ffI_f1_data): New type.
29661 (RUN_TEST_LOOP_ffI_f1): New macro.
29662 (remquo_test_data): New variable.
29663 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29665 * setjmp/tst-setjmp-fp.c: New file.
29666 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29667 (link-libm): New variable.
29668 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29670 * math/libm-test.inc (struct test_f_i_data): New type.
29671 (RUN_TEST_LOOP_f_i): New macro.
29672 (RUN_TEST_LOOP_f_i_tg): Likewise.
29673 (fpclassify_test_data): New variable.
29674 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29675 (ilogb_test_data): New variable.
29676 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29678 * math/libm-test.inc (scalbln_test): Correct function name in END
29681 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29682 (RUN_TEST_LOOP_fI_f1): New macro.
29683 (frexp_test_data): New variable.
29684 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29686 * math/libm-test.inc (struct test_fF_f1_data): New type.
29687 (RUN_TEST_LOOP_fF_f1): New macro.
29688 (modf_test_data): New variable.
29689 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29691 * math/libm-test.inc (struct test_f_f1_data): New type.
29692 (RUN_TEST_LOOP_f_f1): New macro.
29693 (gamma_test_data): New variable.
29694 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29695 (lgamma_test_data): New variable.
29696 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29698 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29701 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29702 (main): Comment "tls" pseudo-hwcap.
29704 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29706 * math/libm-test.inc (struct test_fl_f_data): New type.
29707 (RUN_TEST_LOOP_fl_f): New variable.
29708 (scalbln_test_data): New variable.
29709 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29711 * math/libm-test.inc (struct test_fi_f_data): New type.
29712 (RUN_TEST_LOOP_fi_f): New macro.
29713 (ldexp_test_data): New variable.
29714 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29715 (scalbn_test_data): New variable.
29716 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29718 * math/libm-test.inc (struct test_c_f_data): New type.
29719 (RUN_TEST_LOOP_c_f): New macro.
29720 (cabs_test_data): New variable.
29721 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29722 (carg_test_data): New variable.
29723 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29724 (cimag_test_data): New variable.
29725 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29726 (creal_test_data): New variable.
29727 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29729 * math/libm-test.inc (struct test_if_f_data): New type.
29730 (RUN_TEST_LOOP_if_f): New macro.
29731 (jn_test_data): New variable.
29732 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29733 (yn_test_data): New variable.
29734 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29736 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29738 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29740 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29741 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29743 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29745 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29746 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29747 (bench-deps): Add bench-timing.h.
29748 * benchtests-bench-skeleton.c: Include bench-timing.h.
29749 (main): Use TIMING_* macros instead of clock_gettime.
29750 * benchtests/bench-timing.h: New file.
29753 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29754 Renamed from _LIB_VERSION.
29755 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29757 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29759 * math/libm-test.inc (struct test_fff_f_data): New type.
29760 (RUN_TEST_LOOP_fff_f): New macro.
29761 (fma_test_data): New variable.
29762 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29763 (fma_towardzero_test_data): New variable.
29764 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29765 (fma_downward_test_data): New variable.
29766 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29767 (fma_upward_test_data): New variable.
29768 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29770 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29771 (struct test_c_c_data): New type.
29772 (RUN_TEST_LOOP_c_c): New macro.
29773 (cacos_test_data): New variable.
29774 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29775 (cacosh_test_data): New variable.
29776 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29777 (casin_test_data): New variable.
29778 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29779 (casinh_test_data): New variable.
29780 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29781 (catan_test_data): New variable.
29782 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29783 (catanh_test_data): New variable.
29784 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29785 (ccos_test_data): New variable.
29786 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29787 (ccosh_test_data): New variable.
29788 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29789 (cexp_test_data): New variable.
29790 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29791 (clog_test_data): New variable.
29792 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29793 (clog10_test_data): New variable.
29794 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29795 (conj_test_data): New variable.
29796 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29797 (cproj_test_data): New variable.
29798 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29799 (csin_test_data): New variable.
29800 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29801 (csinh_test_data): New variable.
29802 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29803 (csqrt_test_data): New variable.
29804 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29805 (ctan_test_data): New variable.
29806 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29807 (ctan_tonearest_test_data): New variable.
29808 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29809 (ctan_towardzero_test_data): New variable.
29810 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29811 (ctan_downward_test_data): New variable.
29812 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29813 (ctan_upward_test_data): New variable.
29814 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29815 (ctanh_test_data): New variable.
29816 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29817 (ctanh_tonearest_test_data): New variable.
29818 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29819 (ctanh_towardzero_test_data): New variable.
29820 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29821 (ctanh_downward_test_data): New variable.
29822 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29823 (ctanh_upward_test_data): New variable.
29824 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29825 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29828 * math/libm-test.inc (struct test_ff_f_data): New type.
29829 (struct test_ff_f_data_nexttoward): Likewise.
29830 (RUN_TEST_LOOP_2_f): New macro.
29831 (RUN_TEST_LOOP_ff_f): Likewise.
29832 (atan2_test_data): New variable.
29833 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29834 (copysign_test_data): New variable.
29835 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29836 (fdim_test_data): New variable.
29837 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29838 (fmax_test_data): New variable.
29839 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29840 (fmin_test_data): New variable.
29841 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29842 (fmod_test_data): New variable.
29843 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29844 (hypot_test_data): New variable.
29845 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29846 (nextafter_test_data): New variable.
29847 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29848 (nexttoward_test_data): New variable.
29849 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29850 (pow_test_data): New variable.
29851 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29852 (pow_tonearest_test_data): New variable.
29853 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29854 (pow_towardzero_test_data): New variable.
29855 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29856 (pow_downward_test_data): New variable.
29857 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29858 (pow_upward_test_data): New variable.
29859 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29860 (remainder_test_data): New variable.
29861 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29862 (scalb_test_data): New variable.
29863 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29864 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29868 * math/libm-test.inc (fma_test): Use max_value instead of local
29870 (nextafter_test): Likewise.
29872 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29873 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29874 (acos_downward_test_data): New variable.
29875 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29876 (acos_upward_test_data): New variable.
29877 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29878 (acosh_test_data): New variable.
29879 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29880 (asin_test_data): New variable.
29881 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29882 (asin_tonearest_test_data): New variable.
29883 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29884 (asin_towardzero_test_data): New variable.
29885 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29886 (asin_downward_test_data): New variable.
29887 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29888 (asin_upward_test_data): New variable.
29889 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29890 (asinh_test_data): New variable.
29891 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29892 (atan_test_data): New variable.
29893 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29894 (atanh_test_data): New variable.
29895 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29896 (cbrt_test_data): New variable.
29897 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29898 (ceil_test_data): New variable.
29899 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29900 (cos_test_data): New variable.
29901 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29902 (cos_tonearest_test_data): New variable.
29903 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29904 (cos_towardzero_test_data): New variable.
29905 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29906 (cos_downward_test_data): New variable.
29907 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29908 (cos_upward_test_data): New variable.
29909 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29910 (cosh_test_data): New variable.
29911 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29912 (cosh_tonearest_test_data): New variable.
29913 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29914 (cosh_towardzero_test_data): New variable.
29915 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29916 (cosh_downward_test_data): New variable.
29917 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29918 (cosh_upward_test_data): New variable.
29919 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29920 (erf_test_data): New variable.
29921 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29922 (erfc_test_data): New variable.
29923 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29924 (exp_test_data): New variable.
29925 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29926 (exp_tonearest_test_data): New variable.
29927 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29928 (exp_towardzero_test_data): New variable.
29929 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29930 (exp_downward_test_data): New variable.
29931 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29932 (exp_upward_test_data): New variable.
29933 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29934 (exp10_test_data): New variable.
29935 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29936 (exp2_test_data): New variable.
29937 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29938 (expm1_test_data): New variable.
29939 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29940 (fabs_test_data): New variable.
29941 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29942 (floor_test_data): New variable.
29943 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29944 (j0_test_data): New variable.
29945 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29946 (j1_test_data): New variable.
29947 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29948 (log_test_data): New variable.
29949 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29950 (log10_test_data): New variable.
29951 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29952 (log1p_test_data): New variable.
29953 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29954 (log2_test_data): New variable.
29955 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29956 (logb_test_data): New variable.
29957 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29958 (logb_downward_test_data): New variable.
29959 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29960 (nearbyint_test_data): New variable.
29961 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29962 (rint_test_data): New variable.
29963 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29964 (rint_tonearest_test_data): New variable.
29965 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29966 (rint_towardzero_test_data): New variable.
29967 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29968 (rint_downward_test_data): New variable.
29969 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29970 (rint_upward_test_data): New variable.
29971 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29972 (round_test_data): New variable.
29973 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29974 (sin_test_data): New variable.
29975 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29976 (sin_tonearest_test_data): New variable.
29977 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29978 (sin_towardzero_test_data): New variable.
29979 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29980 (sin_downward_test_data): New variable.
29981 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29982 (sin_upward_test_data): New variable.
29983 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29984 (sinh_test_data): New variable.
29985 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29986 (sinh_tonearest_test_data): New variable.
29987 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29988 (sinh_towardzero_test_data): New variable.
29989 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29990 (sinh_downward_test_data): New variable.
29991 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29992 (sinh_upward_test_data): New variable.
29993 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29994 (sqrt_test_data): New variable.
29995 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29996 (tan_test_data): New variable.
29997 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29998 (tan_tonearest_test_data): New variable.
29999 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30000 (tan_towardzero_test_data): New variable.
30001 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30002 (tan_downward_test_data): New variable.
30003 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30004 (tan_upward_test_data): New variable.
30005 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30006 (tanh_test_data): New variable.
30007 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30008 (tgamma_test_data): New variable.
30009 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30010 (trunc_test_data): New variable.
30011 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30012 (y0_test_data): New variable.
30013 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30014 (y1_test_data): New variable.
30015 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30016 (significand_test_data): New variable.
30017 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30019 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
30022 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30024 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
30026 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30028 2013-05-10 Andreas Jaeger <aj@suse.de>
30031 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30032 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30034 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30036 * math/gen-libm-test.pl (adjust_arg): New function.
30037 (special_functions): Handle generating output in both functions
30039 (parse_args): Likewise.
30040 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
30041 $in_func argument to parse_args.
30042 * math/libm-test.inc (struct test_f_f_data): New type.
30043 (IF_ROUND_INIT_): New macro.
30044 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30045 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30046 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30047 (IF_ROUND_INIT_FE_UPWARD): Likewise.
30048 (ROUND_RESTORE_): Likewise.
30049 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30050 (ROUND_RESTORE_FE_TONEAREST): Likewise.
30051 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30052 (ROUND_RESTORE_FE_UPWARD): Likewise.
30053 (RUN_TEST_LOOP_f_f): New macro.
30054 (acos_test_data): New variable.
30055 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30056 (acos_tonearest_test_data): New variable.
30057 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30059 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30061 * benchtests/bench-skeleton.c (startup): Fix coding style.
30063 2013-05-10 Joseph Myers <joseph@codesourcery.com>
30066 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30067 negative infinity argument.
30068 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30069 negative infinity argument.
30070 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30071 negative infinity argument.
30072 * math/libm-test.inc (tgamma_test): Expect errno to be set for
30075 2013-05-10 Florian Weimer <fweimer@redhat.com>
30077 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30078 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30079 * iconv/iconv_prog.c (main): Likewise.
30080 * locale/programs/charmap-dir.c (charmap_readdir)
30081 (fopen_uncompressed): Likewise.
30082 * locale/programs/locfile.c (siblings_uncached)
30083 (write_locale_data): Use lstat64 instead of lstat.
30084 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30087 2013-05-10 Andreas Jaeger <aj@suse.de>
30090 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30092 Include <locale.h>.
30094 2013-05-09 Carlos O'Donell <carlos@redhat.com>
30096 * elf/dl-close.c (_dl_close_worker): Add comments.
30098 2013-05-09 Joseph Myers <joseph@codesourcery.com>
30101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30103 (__ieee754_rem_pio2l): Update comments.
30106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30108 (__ieee754_rem_pio2l): Update comments.
30110 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30111 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30113 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30116 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30117 (M_PI_34_LOG10El): Likewise.
30118 (M_PI2_LOG10El): Likewise.
30119 (M_PI4_LOG10El): Likewise.
30120 (M_PI_LOG10El): Likewise.
30122 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30126 2013-05-08 Joseph Myers <joseph@codesourcery.com>
30128 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30129 (MINUS_ZERO_INIT): Likewise.
30130 (PLUS_INFTY_INIT): Likewise.
30131 (MINUS_INFTY_INIT): Likewise.
30132 (QNAN_VALUE_INIT): Likewise.
30133 (MAX_VALUE_INIT): Likewise.
30134 (MIN_VALUE_INIT): Likewise.
30135 (MIN_SUBNORM_VALUE_INIT): Likewise.
30136 (plus_zero): Initialize with PLUS_ZERO_INIT.
30137 (minus_zero): Initialize with MINUS_ZERO_INIT.
30138 (plus_infty): Initialize with PLUS_INFTY_INIT.
30139 (minus_infty): Initialize with MINUS_INFTY_INIT.
30140 (qnan_value): Initialize with QNAN_VALUE_INIT.
30141 (max_value): Initialize with MAX_VALUE_INIT.
30142 (min_value): Initialize with MIN_VALUE_INIT.
30143 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30145 * math/libm-test.inc (RUN_TEST_if_f): New macro.
30146 (jn_test): Use TEST_if_f instead of TEST_ff_f.
30147 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30148 (yn_test): Use TEST_if_f instead of TEST_ff_f.
30150 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30151 (RUN_TEST_2_f): Likewise.
30152 (RUN_TEST_ff_f): Likewise.
30153 (RUN_TEST_fi_f): Likewise.
30154 (RUN_TEST_fl_f): Likewise.
30155 (RUN_TEST_fff_f): Likewise.
30156 (RUN_TEST_c_f): Likewise.
30157 (RUN_TEST_f_f1): Likewise.
30158 (RUN_TEST_fF_f1): Likewise.
30159 (RUN_TEST_fI_f1): Likewise.
30160 (RUN_TEST_ffI_f1): Likewise.
30161 (RUN_TEST_c_c): Likewise.
30162 (RUN_TEST_cc_c): Likewise.
30163 (RUN_TEST_f_i): Likewise.
30164 (RUN_TEST_f_i_tg): Likewise.
30165 (RUN_TEST_ff_i_tg): Likewise.
30166 (RUN_TEST_f_b): Likewise.
30167 (RUN_TEST_f_b_tg): Likewise.
30168 (RUN_TEST_f_l): Likewise.
30169 (RUN_TEST_f_L): Likewise.
30170 (RUN_TEST_sincos): Likewise.
30171 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30172 whether to show exceptions. Do not include ");\n" in return
30174 (special_functions): Output call to RUN_TEST_sincos instead of
30175 check_float calls. Update calls to new_test.
30176 (parse_args): Output call to single RUN_TEST_* macro instead of
30177 check_* calls and other assignments. Update calls to new_test.
30183 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30184 input to result for tgamma overflow.
30185 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30186 (gamma_coeff): New variable.
30187 (NCOEFF): New macro.
30188 (gamma_positive): New function.
30189 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30190 underflow here. Use gamma_positive instead of exp (lgamma) for
30192 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30193 (gamma_coeff): New variable.
30194 (NCOEFF): New macro.
30195 (gammaf_positive): New function.
30196 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30197 underflow here. Use gamma_positive instead of exp (lgamma) for
30199 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30200 (gamma_coeff): New variable.
30201 (NCOEFF): New macro.
30202 (gammal_positive): New function.
30203 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30204 underflow here. Use gamma_positive instead of exp (lgamma) for
30206 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30207 (gamma_coeff): New variable.
30208 (NCOEFF): New macro.
30209 (gammal_positive): New function.
30210 (__ieee754_gammal_r): Handle positive infinity, overflow and
30211 underflow here. Handle NaN the same as positive infinity. Remove
30212 check x < 0xffffffff for negative integers. Use gamma_positive
30213 instead of exp (lgamma) for other arguments.
30214 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30215 (gamma_coeff): New variable.
30216 (NCOEFF): New macro.
30217 (gammal_positive): New function.
30218 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30219 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30220 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30221 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30223 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30224 * sysdeps/generic/math_private.h (__gamma_productf): New
30226 (__gamma_product): Likewise.
30227 (__gamma_productl): Likewise.
30228 * math/Makefile (libm-calls): Add gamma_product.
30229 * math/libm-test.inc (tgamma_test): Add more tests.
30230 * sysdeps/i386/fpu/libm-test-ulps: Update.
30231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30233 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
30235 * benchtests/bench-skeleton.c (main): Preheat CPU.
30237 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30239 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30241 2013-05-07 Roland McGrath <roland@hack.frob.com>
30243 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30244 and _dl_skip_args_internal.
30246 2013-05-07 Carlos O'Donell <carlos@redhat.com>
30248 * manual/message.texi (Message Translation): Talk about users.
30249 Message to key mapping impacts design.
30251 2013-05-06 Roland McGrath <roland@hack.frob.com>
30253 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30255 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30257 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30258 * sysdeps/wordsize-64/glob64.c: ... here.
30260 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30261 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30264 * debug/getlogin_r_chk.c: Moved to ...
30265 * login/getlogin_r_chk.c: ... here.
30266 * debug/Makefile (routines): Move getlogin_r_chk to ...
30267 * login/Makefile (routines): ... here.
30268 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30269 * login/Versions (libc: GLIBC_2.4): ... here.
30271 * io/poll.c (__poll): Renamed from poll.
30272 Add libc_hidden_def.
30273 (poll): Define as weak alias.
30275 * debug/ptsname_r_chk.c: Moved to ...
30276 * login/ptsname_r_chk.c: ... here.
30277 * debug/Makefile (routines): Move ptsname_r_chk to ...
30278 * login/Makefile (routines): ... here.
30279 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30280 * login/Versions (libc: GLIBC_2.4): ... here.
30282 * posix/getlogin.c: Moved to ...
30283 * login/getlogin.c: ... here.
30284 * posix/getlogin_r.c: Moved to ...
30285 * login/getlogin_r.c: ... here.
30286 * posix/getlogin_r.c: Moved to ...
30287 * login/getlogin_r.c: ... here.
30288 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30289 * login/Makefile (routines): ... here.
30290 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30291 * login/Versions (libc: GLIBC_2.0): ... here.
30293 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30294 (setrlimit): Define as weak alias.
30296 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30297 Call __ names for open, ftruncate, and close.
30298 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30299 (truncate): Define as weak alias.
30301 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30303 * math/gen-libm-test.pl (parse_args): Initialize x before each
30304 test of frexp, modf and remquo.
30306 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30307 test signgam value.
30309 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30313 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30315 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30317 2013-05-06 Roland McGrath <roland@hack.frob.com>
30319 * elf/dl-writev.h: New file.
30320 * elf/dl-misc.c: Include it.
30321 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30322 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30324 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30326 * math/libm-test.inc (noXFails): Remove variable.
30327 (noXPasses): Likewise.
30328 (BUILD_COMPLEX_INT): Remove macro.
30329 (print_screen): Remove xfail argument.
30330 (print_screen_max_error): Likewise.
30331 (update_stats): Likewise.
30332 (print_max_error): Likewise. Update calls to other affected
30334 (print_complex_max_error): Likewise.
30335 (test_single_exception): Update calls to print_screen.
30336 (test_single_errno): Likewise.
30337 (check_float_internal): Remove xfail argument. Update calls to
30338 other affected functions.
30339 (check_float): Likewise.
30340 (check_complex): Likewise.
30341 (check_int): Likewise.
30342 (check_long): Likewise.
30343 (check_bool): Likewise.
30344 (check_longlong): Likewise.
30345 (main): Don't print noXFails and noXPasses.
30346 * math/gen-libm-test.pl (top level): Don't mention expected
30347 failure handling in comment.
30348 (new_test): Don't handle expected failures.
30349 (parse_args): Don't mention expected failure handling in comment.
30350 (generate_testfile): Don't handle expected failures.
30351 (parse_ulps): Likewise.
30352 (print_ulps_file): Likewise.
30353 (get_failure): Remove function.
30354 (output_test): Don't handle expected failures.
30355 * make/README.libm-test: Don't mention expected failure handling.
30357 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30358 (minus_zero): Likewise.
30359 (plus_infty): Likewise.
30360 (minus_infty): Likewise.
30361 (qnan_value): Likewise.
30362 (max_value): Likewise.
30363 (min_value): Likewise.
30364 (min_subnorm_value): Likewise.
30365 (initialize): Do not initialize those variables dynamically.
30367 2013-05-03 Roland McGrath <roland@hack.frob.com>
30369 * io/open.c (__open_2): Moved to ...
30370 * io/open_2.c: ... this new file.
30371 * io/open64.c (__open64_2): Moved to ...
30372 * io/open64_2.c: ... this new file.
30373 * io/openat.c (__openat_2): Moved to ...
30374 * io/openat_2.c: ... this new file.
30375 * io/openat64.c (__openat64_2): Moved to ...
30376 * io/openat64_2.c: ... this new file.
30377 * io/Makefile (routines): Add them.
30378 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30379 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30380 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30381 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30382 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30383 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30384 (__openat64): Add hidden_ver.
30385 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30386 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30388 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30389 Separately conditionalize setting of GLRO(dl_sysinfo) so
30390 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30391 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30393 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30395 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30396 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30398 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30399 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30400 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30401 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30402 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30404 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30406 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30407 test signgam value.
30409 * math/libm-test.inc (hypot_test): Do not use
30410 IGNORE_ZERO_INF_SIGN.
30412 2013-05-03 Andreas Jaeger <aj@suse.de>
30414 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30416 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30417 (PF_MAX): Adjust for VSOCK change.
30419 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30423 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30426 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30427 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30428 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30430 2013-05-02 David S. Miller <davem@davemloft.net>
30432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30434 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30436 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30438 2013-05-01 Roland McGrath <roland@hack.frob.com>
30440 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30442 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30445 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30446 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30447 Use __attribute__ ((__gnu_inline__)).
30448 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30449 Don't use __attribute__ ((__gnu_inline__)).
30451 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30454 * math/s_catan.c (__catan): Handle small real or imaginary part of
30455 input specially to avoid spurious underflow.
30456 * math/s_catanf.c (__catanf): Likewise.
30457 * math/s_catanh.c (__catanh): Likewise.
30458 * math/s_catanhf.c (__catanhf): Likewise.
30459 * math/s_catanhl.c (__catanhl): Likewise.
30460 * math/s_catanl.c (__catanl): Likewise.
30461 * math/libm-test.inc (catan_test): Add more tests.
30462 (catanh_test): Likewise.
30463 * sysdeps/i386/fpu/libm-test-ulps: Update.
30464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30466 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30470 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30473 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30474 accurately for denominator in atan2.
30475 * math/s_catanf.c (__catanf): Likewise.
30476 * math/s_catanh.c (__catanh): Likewise.
30477 * math/s_catanhf.c (__catanhf): Likewise.
30478 * math/s_catanhl.c (__catanhl): Likewise.
30479 * math/s_catanl.c (__catanl): Likewise.
30480 * math/libm-test.inc (catan_test): Add more tests.
30481 (catanh_test): Likewise.
30482 * sysdeps/i386/fpu/libm-test-ulps: Update.
30483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30485 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30487 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30489 * benchtests/Makefile (bench): Remove slow benchmarks.
30490 * benchtests/atan-inputs: Add slow benchmark inputs.
30491 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30492 (BENCH_FUNC): Accept variant offset.
30494 * benchtests/bench-skeleton.c (main): Run benchmark for each
30496 * benchtests/cos-inputs: Add slow benchmark inputs.
30497 * benchtests/exp-inputs: Likewise.
30498 * benchtests/pow-inputs: Likewise.
30499 * benchtests/sin-inputs: Likewise.
30500 * benchtests/slowatan-inputs: Remove.
30501 * benchtests/slowatan.c: Remove.
30502 * benchtests/slowcos-inputs: Remove.
30503 * benchtests/slowcos.c: Remove.
30504 * benchtests/slowexp-inputs: Remove.
30505 * benchtests/slowexp.c: Remove.
30506 * benchtests/slowpow-inputs: Remove.
30507 * benchtests/slowpow.c: Remove.
30508 * benchtests/slowsin-inputs: Remove.
30509 * benchtests/slowsin.c: Remove.
30510 * benchtests/slowtan-inputs: Remove.
30511 * benchtests/slowtan.c: Remove.
30512 * benchtests/tan-inputs: Add slow benchmark inputs.
30513 * scripts/bench.pl: Parse comments and directives.
30515 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30517 ($(objpfx)bench-%.c): Remove *-ITER.
30518 * benchtests/bench-modf.c: Remove definition of ITER.
30519 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30520 (main): Loop for DURATION seconds instead of fixed number of
30522 * scripts/bench.pl: Don't expect iterations in parameters.
30524 2013-04-29 Roland McGrath <roland@hack.frob.com>
30526 * io/fchdir.c (__fchdir): Renamed from fchdir.
30527 (fchdir): Define as weak alias.
30529 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30531 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30532 (ERRNO_EDOM): Likewise.
30533 (ERRNO_ERANGE): Likewise.
30534 (noErrnoTests): New variable.
30535 (init_max_error): Set errno to 0.
30536 (test_single_errno): New function.
30537 (test_errno): Likewise.
30538 (check_float_internal): Call test_errno. Set errno to 0.
30539 (check_complex): Refer to errno tests in comment.
30540 (check_int): Call test_errno. Set errno to 0.
30541 (check_long): Likewise.
30542 (check_bool): Likewise.
30543 (check_longlong): Likewise.
30544 (cos_test): Use ERRNO_* flags for errno tests instead of
30546 (expm1_test): Likewise.
30547 (fmod_test): Likewise.
30548 (ilogb_test): Likewise.
30549 (lgamma_test): Likewise.
30550 (pow_test): Likewise.
30551 (remainder_test): Likewise.
30552 (sin_test): Likewise.
30553 (tan_test): Likewise.
30554 (yn_test): Likewise.
30555 (initialize): Set errno to 0.
30556 (main): Print number of errno tests.
30557 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30559 2013-04-29 Andreas Jaeger <aj@suse.de>
30562 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30566 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30567 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30571 * stdlib/random.c (__initstate): Return NULL if
30575 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30576 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30579 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30583 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30585 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30586 of individual tests.
30587 (casin_test): Likewise.
30588 (casinh_test): Likewise.
30590 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30593 * math/s_catan.c (__catan): Handle arguments with large real or
30594 imaginary part separately without squaring.
30595 * math/s_catanf.c (__catanf): Likewise.
30596 * math/s_catanh.c (__catanh): Likewise.
30597 * math/s_catanhf.c (__catanhf): Likewise.
30598 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30600 (__catanhl): Handle arguments with large real or imaginary part
30601 separately without squaring.
30602 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30604 (__catanl): Handle arguments with large real or imaginary part
30605 separately without squaring.
30606 * math/libm-test.inc (catan_test): Add more tests.
30607 (catanh_test): Likewise.
30608 * sysdeps/i386/fpu/libm-test-ulps: Update.
30609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30611 2013-04-27 Andreas Jaeger <aj@suse.de>
30614 * stdlib/stdlib.h: Update guards for qecvt.
30615 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30618 2013-04-27 Allan McRae <allan@archlinux.org>
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30622 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30625 * math/s_catan.c: Include <float.h>.
30626 (__catan): Ensure underflow exception occurs for underflowed
30628 * math/s_catanf.c: Include <float.h>.
30629 (__catanf): Ensure underflow exception occurs for underflowed
30631 * math/s_catanh.c: Include <float.h>.
30632 (__catanh): Ensure underflow exception occurs for underflowed
30634 * math/s_catanhf.c: Include <float.h>.
30635 (__catanhf): Ensure underflow exception occurs for underflowed
30637 * math/s_catanhl.c: Include <float.h>.
30638 (__catanhl): Ensure underflow exception occurs for underflowed
30640 * math/s_catanl.c: Include <float.h>.
30641 (__catanl): Ensure underflow exception occurs for underflowed
30643 * math/libm-test.inc (catan_test): Add more tests.
30644 (catanh_test): Likewise.
30647 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30648 underflowed result.
30649 * math/s_ccoshf.c (__ccoshf): Likewise.
30650 * math/s_ccoshl.c (__ccoshl): Likewise.
30651 * math/s_csin.c (__csin): Likewise.
30652 * math/s_csinf.c (__csinf): Likewise.
30653 * math/s_csinh.c (__csinh): Likewise.
30654 * math/s_csinhf.c (__csinhf): Likewise.
30655 * math/s_csinhl.c (__csinhl): Likewise.
30656 * math/s_csinl.c (__csinl): Likewise.
30657 * math/libm-test.inc (ccos_test): Add more tests.
30658 (ccosh_test): Likewise.
30659 (csin_test): Likewise.
30660 (csinh_test): Likewise.
30662 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30664 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30665 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30666 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30667 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30668 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30669 powerpc/power5+/fpu folders.
30670 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30673 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30677 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30679 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30680 additions to variable.
30681 [$(config-machine) = x86_64] (modules-names): Likewise.
30682 ($(objpfx)tst-audit3): Remove dependency.
30683 ($(objpfx)tst-audit3.out): Likewise.
30684 ($(objpfx)tst-audit4): Likewise.
30685 ($(objpfx)tst-audit4.out): Likewise.
30686 ($(objpfx)tst-audit5): Likewise.
30687 ($(objpfx)tst-audit5.out): Likewise.
30688 ($(objpfx)tst-audit6): Likewise.
30689 ($(objpfx)tst-audit6.out): Likewise.
30690 ($(objpfx)tst-audit7): Likewise.
30691 ($(objpfx)tst-audit7.out): Likewise.
30692 (tst-audit3-ENV): Remove variable.
30693 (tst-audit4-ENV): Likewise.
30694 (tst-audit5-ENV): Likewise.
30695 (tst-audit6-ENV): Likewise.
30696 (tst-audit7-ENV): Likewise.
30697 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30698 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30699 addition to variable.
30700 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30701 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30702 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30703 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30704 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30705 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30706 tst-audit3, tst-audit4 and tst-audit5.
30707 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30708 tst-audit6 and tst-audit7.
30709 [$(subdir) = elf] (modules-names): Add audit modules for those
30711 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30712 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30713 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30714 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30715 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30716 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30717 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30718 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30719 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30720 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30721 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30722 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30723 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30724 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30725 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30726 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30728 [$(subdir) = elf && $(config-cflags-avx) = yes]
30729 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30730 [$(subdir) = elf && $(config-cflags-avx) = yes]
30731 (CFLAGS-tst-auditmod4a.c): Likewise.
30732 [$(subdir) = elf && $(config-cflags-avx) = yes]
30733 (CFLAGS-tst-auditmod4b.c): Likewise.
30734 [$(subdir) = elf && $(config-cflags-avx) = yes]
30735 (CFLAGS-tst-auditmod6b.c): Likewise.
30736 [$(subdir) = elf && $(config-cflags-avx) = yes]
30737 (CFLAGS-tst-auditmod6c.c): Likewise.
30738 [$(subdir) = elf && $(config-cflags-avx) = yes]
30739 (CFLAGS-tst-auditmod7b.c): Likewise.
30740 * elf/tst-audit3.c: Move to ...
30741 * sysdeps/x86_64/tst-audit3.c: ... here.
30742 * elf/tst-audit4.c: Move to ...
30743 * sysdeps/x86_64/tst-audit4.c: ... here.
30744 * elf/tst-audit5.c: Move to ...
30745 * sysdeps/x86_64/tst-audit5.c: ... here.
30746 * elf/tst-audit6.c: Move to ...
30747 * sysdeps/x86_64/tst-audit6.c: ... here.
30748 * elf/tst-audit7.c: Move to ...
30749 * sysdeps/x86_64/tst-audit7.c: ... here.
30750 * elf/tst-auditmod3a.c: Move to ...
30751 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30752 * elf/tst-auditmod3b.c: Move to ...
30753 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30754 * elf/tst-auditmod4a.c: Move to ...
30755 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30756 * elf/tst-auditmod4b.c: Move to ...
30757 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30758 * elf/tst-auditmod5a.c: Move to ...
30759 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30760 * elf/tst-auditmod5b.c: Move to ...
30761 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30762 * elf/tst-auditmod6a.c: Move to ...
30763 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30764 * elf/tst-auditmod6b.c: Move to ...
30765 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30766 * elf/tst-auditmod6c.c: Move to ...
30767 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30768 * elf/tst-auditmod7a.c: Move to ...
30769 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30770 * elf/tst-auditmod7b.c: Move to ...
30771 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30773 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30776 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30777 define unconditionally.
30778 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30779 define unconditionally.
30780 (INT8_C, INT16_C, etc.): Likewise.
30782 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30784 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30785 __ehdr_start with hidden visibility.
30787 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30789 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30791 * math/libm-test.inc (cos_test): Use accurate hex constants.
30792 (sincost_test): Likewise.
30794 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30796 * math/libm-test.inc (catan_test): Add more tests.
30797 (catanh_test): Likewise.
30799 * math/s_catanf.c (__catanf): Use suffixed floating-point
30801 * math/s_catanhf.c (__catanhf): Likewise.
30802 * math/s_catanhl.c (__catanhl): Likewise.
30803 * math/s_catanl.c (__catanl): Likewise.
30806 * math/s_catan.c (__catan): Calculate imaginary part of result
30807 with log1p not log unless computing log of number close to 0.
30808 * math/s_catanf.c (__catanf): Likewise.
30809 * math/s_catanl.c (__catanl): Likewise.
30810 * math/s_catanh.c (__catanh): Calculate real part of result with
30811 log1p not log unless computing log of number close to 0.
30812 * math/s_catanhf.c (__catanhf): Likewise.
30813 * math/s_catanhl.c (__catanhl): Likewise.
30814 * math/libm-test.inc (catan_test): Add more tests.
30815 (catanh_test): Likewise.
30816 * sysdeps/i386/fpu/libm-test-ulps: Update.
30817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30819 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30821 * benchtests/Makefile: Mention files in which fast and slow
30822 paths of math functions are implemented.
30824 2013-04-23 Roland McGrath <roland@hack.frob.com>
30826 * sysdeps/posix/timespec_get.c: New file.
30828 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30830 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30832 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30834 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30835 powerpc/power5/fpu folders.
30836 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30837 * benchtests/Makefile: Add modf testcase.
30838 * benchtests/bench-modf.c: New file: Benchmark test for mo
30840 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30843 * time/Makefile (tests): Add tst-strptime-whitespace.
30844 * time/strptime_l.c (get_number): Use ISSPACE.
30845 (__strptime_internal): Likewise.
30846 * time/tst-strptime-whitespace.c: New test case.
30848 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30850 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30852 (_nss_files_init): Set it here.
30854 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30856 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30857 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30860 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30862 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30864 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30869 2013-04-21 David S. Miller <davem@davemloft.net>
30871 * po/ru.po: Update Russion translation from translation project.
30873 2013-04-17 Adam Conrad <adconrad@0c3.net>
30875 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30878 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30880 * configure.in: Remove i386 configure warning. Remove i386 case.
30881 * configure: Regenerate.
30882 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30883 Add example to error message.
30884 * sysdeps/i386/configure: Regenerate.
30886 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30888 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30890 * benchtests/cos-inputs: New file.
30891 * benchtests/slowcos-inputs: New file.
30892 * benchtests/slowcos.c: New file.
30893 * benchtests/slowtan-inputs: New file.
30894 * benchtests/slowtan.c: New file.
30895 * benchtests/tan-inputs: New file.
30897 2013-04-16 Roland McGrath <roland@hack.frob.com>
30899 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30902 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30904 * benchtests/Makefile: Include cppflags-iterator.mk to add
30905 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30907 * Makefile.in (bench-clean): New target.
30908 * benchtests/Makefile (bench-clean): Likewise.
30910 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30912 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30914 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30916 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30918 2013-04-15 Andreas Schwab <schwab@suse.de>
30920 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30922 * nscd/pwdcache.c (cache_addpw): Likewise.
30923 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30926 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30928 * benchtests/Makefile (bench): Write all output to
30929 bench-out.tmp together.
30931 2013-04-15 Andreas Schwab <schwab@suse.de>
30933 * nscd/nscd.c (main): Don't fork again after closing files.
30935 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30937 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30939 * benchtests/Rules (bench-deps): Collect dependencies into a
30940 single variable. Add Makefile to dependencies.
30941 ($(objpfx)bench-%.c): Depend on bench-deps.
30943 2013-04-12 Roland McGrath <roland@hack.frob.com>
30944 Xavier Roche <roche+kml2@exalead.com>
30947 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30948 just that it's a file descriptor.
30949 * manual/llio.texi (Synchronizing AIO Operations): Update description
30950 for EBADF error from aio_fsync.
30952 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30954 * Rules (bench): Move target definition...
30955 * benchtests/Makefile: ... here.
30957 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30959 * math/libm-test.inc (cos_test): Fix PI/2 test.
30960 (sincos_test): Likewise.
30961 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30962 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30964 2013-04-11 Andreas Schwab <schwab@suse.de>
30967 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30968 accept exponent character only when digits were seen.
30969 * stdio-common/Makefile (tests): Add bug26.
30970 * stdio-common/bug26.c: New file.
30973 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30976 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30978 * Makeconfig (rtld-prefix): Define built linker prefix.
30979 * Rules (run-bench): Use it.
30980 * math/Makefile (run-regen-ulps): Likewise.
30982 * Rules (bench): Remove eval.
30984 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30985 Roland McGrath <roland@hack.frob.com>
30986 Ondrej Bilka <neleai@seznam.cz>
30989 * time/getdate.c: Include ctype.h and alloca.h.
30990 (__getdate_r): Trim leading and trailing spaces of input.
30991 * time/tst-getdate.c (tests): Add tests with leading and
30994 2013-04-08 Roland McGrath <roland@hack.frob.com>
30997 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30998 when computing value.
31000 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31002 * math/README.libm-test (How can I generate "libm-test-ulps"?):
31003 Use testrun.sh to run libm tests.
31006 * elf/dl-open.c (dl_open_worker): memset all of seen array.
31008 2013-04-06 Marko Myllynen <myllynen@redhat.com>
31011 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31013 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31015 * Makefile.in (regen-ulps): New target.
31016 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31017 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31018 [ifneq (no,$(PERL)] (regen-ulps): New target.
31019 [ifeq (no,$(PERL)] (regen-ulps): New target.
31020 * math/libm-test.inc (ulps_file_name): Define.
31021 (output_dir): New variable.
31022 (options): Add "output-dir" option.
31023 (parse_opt): Handle 'o' case.
31024 (main): If output_dir is non-NULL use it as a prefix
31026 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31028 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31030 [BZ #10060, #10062]
31031 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31032 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31033 fail configure if __sync_val_compare_and_swap is not inlined.
31034 * sysdeps/i386/configure: Regenerate.
31035 * configure.in: Build for i686 when configured for i386.
31036 * configure: Regenerate.
31037 * README: Remove i386 reference.
31039 2013-04-06 Carlos O'Donell <carlos@redhat.com>
31041 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31042 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31044 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
31046 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31047 (lmsnanval): New variables.
31048 (F): Add conversion tests.
31049 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31050 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31052 * stdio-common/tstdiomisc.c (F): Properly collect individual
31055 [BZ #14686, #15336]
31056 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31057 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31058 Instead, use input NaN values or generate a qNaN by arithmetic
31059 operation. Also fix bugs to comply with the standard.
31060 * math/libm-test.inc (remainder_test): Add more tests.
31062 [BZ #15335, #15342]
31063 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31065 input NaN values or generate a qNaN by arithmetic operation.
31067 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31070 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31073 2013-04-03 Joseph Myers <joseph@codesourcery.com>
31076 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31077 underflowed result.
31078 * math/s_cexpf.c (__cexpf): Likewise.
31079 * math/s_cexpl.c (__cexpl): Likewise.
31080 * math/libm-test.inc (cexp_test): Add more tests.
31082 2013-04-03 Andreas Schwab <schwab@suse.de>
31085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31086 order arrays from heap if bigger than alloca cutoff.
31088 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
31090 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31091 (SNAN_TESTS_double): Refer to GCC PR56831.
31092 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31095 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31097 * Rules (bench): Move bench.out after the run is complete.
31099 * Rules (bench): Echo currently running benchmark.
31101 * benchtests/Makefile (bench): Add atan and slowatan.
31102 * benchtests/atan-inputs: New file.
31103 * benchtests/slowatan-inputs: New file.
31104 * benchtests/slowatan.c: New file.
31106 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31107 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31111 * sysdeps/unix/sysv/linux/kernel-features.h
31112 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31113 __ASSUME_XFS_RESTRICTED_CHOWN.
31114 * sysdeps/unix/sysv/linux/pathconf.c
31115 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31116 Save and restore errno.
31118 2013-04-02 Joseph Myers <joseph@codesourcery.com>
31121 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31122 arguments using __kernel_casinh.
31123 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31124 arguments using __kernel_casinhf.
31125 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31126 arguments using __kernel_casinhl.
31127 * math/libm-test.inc (cacosh_test): Add more tests.
31128 * sysdeps/i386/fpu/libm-test-ulps: Update.
31129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31133 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31136 * bench/Makefile (bench): Add sin and slowsin.
31137 * benchtests/sin-inputs: New file.
31138 * benchtests/slowsin-inputs: New file.
31139 * benchtests/slowsin.c: New file.
31141 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31142 (bench): Add slowexp and slowpow.
31143 (exp-ITER): Increase iterations.
31144 (pow-ITER): Likewise.
31145 * benchtests/exp-inputs: Change input.
31146 * benchtests/pow-inputs: Likewise.
31147 * benchtests/slowexp-inputs: New file.
31148 * benchtests/slowexp.c: New file.
31149 * benchtests/slowpow-inputs: New file.
31150 * benchtests/slowpow.c: New file.
31152 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31154 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31156 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31157 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31158 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31159 * benchtests/Makefile: Add rint benchtest.
31160 * benchtests/rint-inputs: Input for rint benchtest.
31162 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31164 * Versions.def (libm): Add GLIBC_2.18.
31165 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31166 hidden libm prototypes.
31167 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31168 * math/Makefile (libm-calls): Add s_issignaling.
31169 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31170 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31171 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31173 * math/math.h [__USE_GNU] (issignaling): New macro.
31174 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31175 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31176 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31177 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31180 * manual/arith.texi (issignaling): New section.
31181 * manual/libm-err-tab.pl (@all_functions): Update comment.
31182 * math/gen-libm-test.pl (parse_args): Apply special handling for
31184 * math/libm-test.inc (print_float, issignaling_test): New
31186 (check_float_internal): Add issignaling checks.
31187 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31188 default definition.
31189 * sysdeps/powerpc/math-tests.h: New file.
31190 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31192 * math/test-snan.c (TEST_FUNC): Likewise.
31194 2013-03-30 David S. Miller <davem@davemloft.net>
31196 * po/de.po: Update from translation team.
31198 2013-03-30 Joseph Myers <joseph@codesourcery.com>
31201 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31202 imaginary part less than 1.0 and real part less than 0.5
31204 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31205 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31206 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31207 (cacos_test): Add more tests.
31208 (casin_test): Likewise.
31209 (casinh_test): Likewise.
31210 * sysdeps/i386/fpu/libm-test-ulps: Update.
31211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31215 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31216 ONE with its value.
31218 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31219 (__pow_mp): Replace ONE and MONE with their values.
31220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31221 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31222 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31223 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31224 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31225 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31227 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31229 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31230 (__pow_mp): Replace ZERO and MZERO with their values.
31231 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31232 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31233 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31235 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31236 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31239 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31241 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31243 2013-03-28 Roland McGrath <roland@hack.frob.com>
31245 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31246 Declare with __attribute__ ((weak)).
31247 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31248 Call __call_tls_dtors only if it's not NULL.
31250 2013-03-28 Roland McGrath <roland@hack.frob.com>
31252 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31253 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31254 magic __ehdr_start linker symbol if it's defined.
31255 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31256 them up here if it was already done.
31258 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31259 (_dl_aux_init): Use const in cast when setting it.
31260 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31261 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31262 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31264 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31266 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31267 * csu/libc-tls.c: Nor here.
31268 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31270 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31271 (__libc_message): Never call vsyslog.
31273 2013-03-28 Alan Modra <amodra@gmail.com>
31275 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31277 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31280 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31283 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31287 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31290 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31291 Don't add gid passed as argument.
31293 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31295 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31298 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31299 imaginary part between 1.0 and 1.5 and real part less than 0.5
31301 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31302 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31303 * math/libm-test.inc (cacos_test): Add more tests.
31304 (casin_test): Likewise.
31305 (casinh_test): Likewise.
31306 * sysdeps/i386/fpu/libm-test-ulps: Update.
31307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31309 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31311 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31314 (denorm): Likewise.
31315 (__dbl_mp): Likewise.
31316 (add_magnitudes): Likewise.
31317 (sub_magnitudes): Likewise.
31325 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31327 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31328 (__dubcos): Likewise.
31329 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31330 (__ieee754_acos): Likewise.
31331 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31332 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31333 (__exp1): Likewise.
31334 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31337 (my_log2): Likewise.
31338 (checkint): Likewise.
31339 * sysdeps/ieee754/dbl-64/e_remainder.c
31340 (__ieee754_remainder): Likewise.
31341 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31342 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31343 (bsloww): Likewise.
31344 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31346 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31347 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31348 MANTISSA_STORE_T to store computations on mantissa. Use
31349 macros for rounding and division.
31350 (denorm): Likewise.
31351 (__dbl_mp): Likewise.
31352 (add_magnitudes): Likewise.
31353 (sub_magnitudes): Likewise.
31356 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31357 powers of two in terms of TWOPOW macro.
31358 (mp_no): Make type of mantissa as MANTISSA_T.
31359 [!RADIXI]: Define RADIXI.
31360 [!TWO52]: Define TWO52.
31361 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31363 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31365 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31366 llroundl symbol when building for PPC32.
31368 2013-03-24 Mark H Weaver <mhw@netris.org>
31370 * manual/arith.texi (Normalization Functions): Fix prototypes for
31371 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31373 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31377 high value to check if expl overflow.
31378 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31379 to check for underflow and overflow.
31380 * math/libm-test.inc: Add exp test.
31382 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31385 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31388 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31390 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31393 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31395 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31396 wrap blocks consisting of several statements.
31398 * sysdeps/generic/math-tests.h: New file.
31399 * sysdeps/i386/fpu/math-tests.h: Likewise.
31400 * math/test-snan.c: Include it.
31401 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31403 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31406 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31407 (__ieee754_j0l): Do not improve calculations using cos of twice
31408 input for inputs above LDBL_MAX / 2.0L.
31409 (__ieee754_y0l): Likewise.
31410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31411 (__ieee754_j1l): Do not improve calculations using cos of twice
31412 input for inputs above LDBL_MAX / 2.0L.
31413 (__ieee754_y1l): Likewise.
31414 * math/libm-test.inc (j0_test): Add another test.
31415 (j1_test): Likewise.
31416 (y0_test): Likewise.
31417 (y1_test): Likewise.
31418 * sysdeps/i386/fpu/libm-test-ulps: Update.
31420 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31422 * Rules ($(objpfx)bench-%.c): Include code from a C source
31425 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31428 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31429 imaginary part 1.0 and real part less than 0.5 specially.
31430 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31431 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31432 * math/libm-test.inc (cacos_test): Add more tests.
31433 (casin_test): Likewise.
31434 (casinh_test): Likewise.
31435 * sysdeps/i386/fpu/libm-test-ulps: Update.
31436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31438 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31440 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31441 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31443 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31445 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31446 * config.make.in (config-cflags-sse4): Remove variable.
31447 (config-cflags-avx): Likewise.
31448 (config-cflags-sse2avx): Likewise.
31449 (config-cflags-novzeroupper): Likewise.
31450 (config-asflags-i686): Likewise.
31451 (have-mfma4): Likewise.
31452 (have-as-vis3): Likewise.
31454 * configure.in (MIG): Do not AC_SUBST.
31455 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31456 (libc_cv_cc_sse4): Do not AC_SUBST.
31457 (libc_cv_cc_avx): Likewise.
31458 (libc_cv_cc_sse2avx): Likewise.
31459 (libc_cv_cc_novzeroupper): Likewise.
31460 (libc_cv_cc_fma4): Likewise.
31461 (libc_cv_as_i686): Likewise.
31462 (libc_cv_sparc_as_vis3): Likewise.
31463 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31465 (config-asflags-i686): Likewise.
31466 (config-cflags-avx): Likewise.
31467 (config-cflags-sse2avx): Likewise.
31468 (have-mfma4): Likewise.
31469 (config-cflags-novzeroupper): Likewise.
31470 * sysdeps/mach/configure.in (MIG): Likewise.
31471 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31472 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31474 (config-cflags-avx): Likewise.
31475 (config-cflags-sse2avx): Likewise.
31476 (have-mfma4): Likewise.
31477 (config-cflags-novzeroupper): Likewise.
31478 * configure: Regenerated.
31479 * sysdeps/i386/configure: Likewise.
31480 * sysdeps/mach/configure: Likewise.
31481 * sysdeps/sparc/configure: Likewise.
31482 * sysdeps/x86_64/configure: Likewise.
31484 2013-03-20 Roland McGrath <roland@hack.frob.com>
31487 * locale/programs/localedef.c (options): Put N_ translation marker
31488 on argument names, not just descriptions.
31490 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31492 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31494 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31497 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31499 2013-03-19 Roland McGrath <roland@hack.frob.com>
31501 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31502 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31503 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31504 [!BEFORE_ABORT] (before_abort): New function.
31505 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31506 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31507 (writev_for_fatal): New function.
31508 (WRITEV_FOR_FATAL): New macro; call that.
31509 (backtrace_and_maps): New function.
31510 (BEFORE_ABORT): New macro; call that.
31511 (struct str_list): Type removed.
31512 (__libc_message, __libc_fatal): Functions removed.
31513 Include <sysdeps/posix/libc_fatal.c> instead.
31515 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31517 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31519 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31522 2013-03-19 Andreas Schwab <schwab@suse.de>
31524 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31525 * sysdeps/gnu/configure: Regenerate.
31527 * configure.in: Substitute libc_cv_rtlddir.
31528 * configure: Regenerate.
31529 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31530 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31531 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31532 * elf/Makefile (install-others, CFLAGS-interp.c)
31533 (ldso_install, common-ldd-rewrite): Likewise.
31534 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31535 $(inst_slibdir)/$(rtld-installed-name).
31536 * scripts/rellns-sh: Add -p option.
31537 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31540 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31542 * manual/nptl.texi: Renamed to ...
31543 * manual/threads.texi: ... this.
31544 * manual/Makefile (chapters): Update.
31546 2013-03-18 Roland McGrath <roland@hack.frob.com>
31549 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31550 on argument names, not just descriptions.
31551 * malloc/memusagestat.c (options): Likewise.
31552 * nss/getent.c (options): Likewise.
31554 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31557 * iconv/iconv_prog.c (options): Put N_ translation marker
31558 on argument names, not just descriptions.
31559 * iconv/iconvconfig.c (options): Likewise.
31561 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31563 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31564 implementation which is faster on all x86_64 architectures.
31565 Tested on AMD, Intel Nehalem, SNB, IVB.
31566 * sysdeps/x86_64/strnlen.S: Likewise.
31568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31569 Remove all multiarch strlen and strnlen versions.
31570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31571 Remove strlen and strnlen related parts.
31573 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31574 Inline strlen part.
31575 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31577 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31578 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31579 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31580 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31581 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31582 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31584 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31586 * manual/memory.texi (Malloc Tunable Parameters):
31587 Sort parameters alphabetically. Add comments for missing entries.
31589 2013-03-17 David S. Miller <davem@davemloft.net>
31591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31593 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31596 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31597 for arguments at most half maximum finite value.
31598 * math/libm-test.inc (j0_test): Add more tests.
31599 (j1_test): Likewise.
31600 (y0_test): Likewise.
31601 (y1_test): Likewise.
31602 * sysdeps/i386/fpu/libm-test-ulps: Update.
31603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31606 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31607 1 / x and functions P and Q for arguments above 0x1p256L.
31608 (__ieee754_y0l): Likewise.
31609 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31610 (__ieee754_y1l): Likewise.
31611 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31612 (j1_test): Likewise.
31613 (y0_test): Likewise.
31614 (y1_test): Likewise.
31616 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31618 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31621 2013-03-15 Roland McGrath <roland@hack.frob.com>
31623 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31624 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31625 zero since it's initialized to EXEC_PAGESIZE.
31627 * sysdeps/unix/sysv/linux/ldsodefs.h
31628 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31629 * sysdeps/generic/ldsodefs.h: ... here.
31631 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31633 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31635 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31637 * math/test-snan.c: Renamed from
31638 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31639 * math/Makefile (tests): Add test-snan.
31640 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31643 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31644 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31646 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31647 __builtin_nan family of functions.
31648 * math/libm-test.inc (initialize): Initialize qnan_value with
31649 __builtin_nan family of functions.
31650 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31652 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31654 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31655 storage class. Initialize qNaN_var and sNaN_var with
31656 __builtin_nan and __builtin_nans families of functions,
31659 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31660 (sqrt_test): Remove duplicate test with qNaN input.
31661 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31662 (round_test, signbit_test, significand_test): Note missing +/-Inf
31663 as well as qNaN tests.
31665 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31666 qNaN_var. Fix a few strings, too.
31667 * math/libm-test.inc (nan_value): Rename to qnan_value.
31668 * math/gen-libm-test.pl (%beautify): Adjust to that.
31669 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31670 * math/test-misc.c (main): Likewise.
31671 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31672 to __qnan_bytes, and __qnan_union, respectively.
31673 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31675 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31676 and lqnanval, respectively.
31677 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31678 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31679 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31680 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31682 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31683 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31686 * math/test-misc.c (main): Fix copy'n'pastos.
31687 * misc/tst-efgcvt.c (special): Likewise.
31689 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31690 Remove declarations.
31692 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31694 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31695 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31696 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31697 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31699 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31701 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31702 macro to return vdso values correctly in IFUNC implementations.
31703 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31704 Optimization by using IFUNC.
31706 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31707 Richard Henderson <rth@redhat.com>
31708 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31710 * Makefile.in (bench): New target.
31711 * NEWS: Mention the benchmark framework.
31712 * Rules (bench): Likewise.
31713 (binaries-bench): Generate binaries for functions to
31715 * benchtests/Makefile: New makefile for benchmark tests.
31716 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31718 * benchtests/exp-inputs: New input file for EXP function.
31719 * benchtests/pow-inputs: New input file for POW function.
31720 * scripts/bench.pl: New script to generate source files for
31721 benchmark programs.
31723 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31725 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31726 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31727 computations on mantissa. Use macros for rounding and
31729 (denorm): Likewise.
31730 (__dbl_mp): Likewise.
31731 (add_magnitudes): Likewise.
31732 (sub_magnitudes): Likewise.
31735 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31736 powers of two in terms of TWOPOW macro.
31737 (mp_no): Make type of mantissa as MANTISSA_T.
31738 [!RADIXI]: Define RADIXI.
31739 [!TWO52]: Define TWO52.
31740 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31742 * manual/nptl.texi (cindex): Modify threads to pthreads.
31744 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31746 * sysdeps/x86_64/preconfigure: Regenerated.
31748 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31751 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31753 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31754 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31756 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31757 * math/libm-test.inc (j0_test): Do not allow one spurious
31758 underflow exception.
31759 (y1_test): Likewise.
31761 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31763 * manual/Makefile (chapters): Add nptl.
31764 * manual/debug.texi (Debugging Support): Add link to Threads
31766 * manual/nptl.texi: New file.
31768 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31770 2013-03-14 Petr Baudis <pasky@ucw.cz>
31772 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31773 for non-NULL pointer before the memory validity test. Pointed
31774 out by Holger Brunck <holger.brunck@keymile.com>.
31776 2013-03-13 Andreas Schwab <schwab@suse.de>
31778 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31781 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31783 * timezone/zic.c: Update from tzcode 2013b.
31785 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31787 * manual/install.texi (Configuring and compiling):
31788 Mention i686 and i586.
31789 * INSTALL: Regenerate.
31791 2013-03-12 Roland McGrath <roland@hack.frob.com>
31793 * sysdeps/init_array/elf-init.c: New file.
31795 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31796 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31798 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31799 __gmon_start__ as global, but as static with a .preinit_array pointer.
31800 * sysdeps/init_array/gmon-start.c: New file. Use that.
31801 * sysdeps/init_array/crti.S: New file, empty except for comments.
31802 * sysdeps/init_array/crtn.S: Likewise.
31804 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31806 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31809 Remove Prefer_SSE_for_memop.
31810 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31811 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31812 HAS_PREFER_SSE_FOR_MEMOP.
31813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31815 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31816 Remove bzero, memset ifunc support.
31817 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31818 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31819 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31820 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31822 2013-03-11 Andreas Schwab <schwab@suse.de>
31825 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31828 (GLIBC_2.16): Remove pthread_atfork.
31830 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31832 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31833 (ptestcases.h): Likewise.
31835 2013-03-08 Roland McGrath <roland@hack.frob.com>
31837 * Makeconfig ($(common-objpfx)config.status): Depend on
31838 sysdeps/*/preconfigure{,.in} too.
31840 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31842 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31843 (__free_hook): Use void * instead of __malloc_ptr_t.
31844 (__malloc_hook): Likewise.
31845 (__realloc_hook): Likewise.
31846 (__memalign_hook): Likewise.
31847 (__after_morecore_hook): Likewise.
31848 * malloc/arena.c (save_malloc_hook): Likewise.
31849 (save_free_hook): Likewise.
31850 * malloc/hooks.c (malloc_hook_ini): Likewise.
31851 (realloc_hook_ini): Likewise.
31852 (memalign_hook_ini): Likewise.
31853 * malloc/malloc.c (malloc_hook_ini): Likewise.
31854 (realloc_hook_ini): Likewise.
31855 (memalign_hook_ini): Likewise.
31856 (__free_hook): Likewise.
31857 (__malloc_hook): Likewise.
31858 (__realloc_hook): Likewise.
31859 (__memalign_hook): Likewise.
31860 (__libc_malloc): Likewise.
31861 (__libc_free): Likewise.
31862 (__libc_realloc): Likewise.
31863 (__libc_memalign): Likewise.
31864 (__libc_valloc): Likewise.
31865 (__libc_pvalloc): Likewise.
31866 (__libc_calloc): Likewise.
31867 (__posix_memalign): Likewise.
31868 * malloc/morecore.c (__sbrk): Likewise.
31869 (__default_morecore): Likewise.
31871 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31873 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31874 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31875 __malloc_ptrdiff_t.
31877 * malloc/malloc.h (__malloc_size_t): Remove macro.
31878 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31880 (old_memalign_hook): Likewise.
31881 (old_realloc_hook): Likewise.
31882 (struct hdr): Likewise.
31884 (mallochook): Likewise.
31885 (memalignhook): Likewise.
31886 (reallochook): Likewise.
31887 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31888 (tr_old_realloc_hook): Likewise.
31889 (tr_old_memalign_hook): Likewise.
31890 (tr_mallochook): Likewise.
31891 (tr_reallochook): Likewise.
31892 (tr_memalignhook): Likewise.
31894 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31897 default_ldbl_pack and using as default implementation.
31898 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31900 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31901 redundant definition.
31902 (ldbl_insert_mantissa): Likewise.
31903 (ldbl_canonicalize): Likewise.
31904 (ldbl_nearbyint): Likewise.
31905 (ldbl_pack): Rename to ldbl_pack_ppc.
31906 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31907 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31908 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31910 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31913 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31915 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31918 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31919 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31921 2013-03-07 Andreas Jaeger <aj@suse.de>
31923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31926 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31928 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31929 Include mpa.h and declare __MPEXP.
31930 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31931 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31932 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31933 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31934 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31935 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31936 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31938 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31939 (__slowpow): Use long double EXPL and LOGL functions to
31941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31942 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31943 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31945 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31946 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31949 intermediate variable to calculate exponent.
31951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31955 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31956 [!NO__SQR]: Define __sqr.
31957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31958 and NO__SQR. Remove all code except __mul and __sqr. Include
31959 sysdeps/ieee754/dbl-64/mpa.c.
31960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31963 * posix/Makefile (tests): Add tst-pathconf.
31964 * posix/tst-pathconf.c: New test case.
31965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31967 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31969 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31971 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31973 2013-03-06 Andreas Jaeger <aj@suse.de>
31975 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31976 definition via __MAP_ANONYMOUS.
31978 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31979 it's not part of Linux headers.
31981 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31982 (MAP_HUGE_MASK): Define.
31984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31986 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31987 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31989 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31990 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31992 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31995 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31997 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31998 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31999 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32000 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32001 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32002 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32004 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32007 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32008 Handle f2fs and efivarfs.
32010 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32013 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32014 (EFIVARFS_MAGIC): Add.
32015 (F2FS_LINK_MAX): Add.
32017 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32019 * stdio-common/vfprintf.c: Replace __builtin_expect with
32022 2013-03-06 Joseph Myers <joseph@codesourcery.com>
32025 * sysdeps/generic/bp-sym.h: Remove file.
32026 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32027 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32028 <bp-sym.h> and <bp-asm.h>.
32029 (__longjmp): Don't use BP_SYM.
32030 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32032 (memcpy): Don't use BP_SYM.
32033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32034 <bp-sym.h> and <bp-asm.h>.
32035 (memcpy): Don't use BP_SYM.
32036 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32038 (memcpy): Don't use BP_SYM.
32039 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32041 (memset): Don't use BP_SYM.
32042 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32043 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32044 (__bzero): Don't use BP_SYM.
32045 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32046 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32047 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32048 <bp-sym.h> and <bp-asm.h>.
32049 (memcmp): Don't use BP_SYM. Remove comment about bounded
32051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32052 <bp-sym.h> and <bp-asm.h>.
32053 (memcpy): Don't use BP_SYM.
32054 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32055 <bp-sym.h> and <bp-asm.h>.
32056 (memset): Don't use BP_SYM.
32057 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32058 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32059 (__bzero): Don't use BP_SYM.
32060 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32061 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32062 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32063 <bp-sym.h> and <bp-asm.h>.
32064 (strncmp): Don't use BP_SYM. Remove comment about bounded
32066 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32067 <bp-sym.h> and <bp-asm.h>.
32068 (memcpy): Don't use BP_SYM.
32069 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32070 <bp-sym.h> and <bp-asm.h>.
32071 (memset): Don't use BP_SYM.
32072 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32073 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32074 (__bzero): Don't use BP_SYM.
32075 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32076 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32077 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32078 <bp-sym.h> and <bp-asm.h>.
32079 (__memchr): Don't use BP_SYM.
32080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32081 <bp-sym.h> and <bp-asm.h>.
32082 (memcmp): Don't use BP_SYM. Remove comment about bounded
32084 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32085 <bp-sym.h> and <bp-asm.h>.
32086 (memcpy): Don't use BP_SYM.
32087 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32088 <bp-sym.h> and <bp-asm.h>.
32089 (__mempcpy): Don't use BP_SYM.
32090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32091 <bp-sym.h> and <bp-asm.h>.
32092 (__memrchr): Don't use BP_SYM.
32093 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32094 <bp-sym.h> and <bp-asm.h>.
32095 (memset): Don't use BP_SYM.
32096 (__bzero): Likewise.
32097 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32098 <bp-sym.h> and <bp-asm.h>.
32099 (__rawmemchr): Don't use BP_SYM.
32100 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32101 <bp-sym.h> and <bp-asm.h>.
32102 (__STRCMP): Don't use BP_SYM.
32103 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32104 <bp-sym.h> and <bp-asm.h>.
32105 (strchr): Don't use BP_SYM.
32106 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32107 <bp-sym.h> and <bp-asm.h>.
32108 (__strchrnul): Don't use BP_SYM.
32109 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32110 <bp-sym.h> and <bp-asm.h>.
32111 (strlen): Don't use BP_SYM.
32112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32113 <bp-sym.h> and <bp-asm.h>.
32114 (strncmp): Don't use BP_SYM. Remove comment about bounded
32116 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32117 <bp-sym.h> and <bp-asm.h>.
32118 (__strnlen): Don't use BP_SYM.
32119 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32120 <bp-sym.h> and <bp-asm.h>.
32121 (__GI__setjmp): Don't use BP_SYM.
32122 (_setjmp): Likewise.
32123 (__sigsetjmp): Likewise.
32124 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32125 (L(start_addresses)): Don't use BP_SYM.
32126 (_start): Likewise.
32127 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32129 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32130 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32131 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32132 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32133 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32135 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32136 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
32137 about bounded pointers.
32138 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32139 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32140 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32142 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32143 about bounded pointers. Remove GKM FIXME comments.
32144 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32145 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32147 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32148 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
32149 Remove GKM FIXME comments.
32150 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32151 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32152 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32154 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32155 about bounded pointers. Remove GKM FIXME comment.
32156 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32158 (strncmp): Don't use BP_SYM. Remove comment about bounded
32160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32161 <bp-sym.h> and <bp-asm.h>.
32162 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32164 <bp-sym.h> and <bp-asm.h>.
32165 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32168 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32170 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32173 2013-03-05 David S. Miller <davem@davemloft.net>
32175 * po/es.po: Update from translation team.
32177 2013-03-05 Andreas Jaeger <aj@suse.de>
32179 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32180 <bits/mman-linux.h>.
32181 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32183 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32184 <bits/mman-linux.h> to end of file.
32185 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32187 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32188 <bits/mman-linux.h> to end of file.
32189 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32192 <bits/mman-linux.h> to end of file.
32194 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32195 (MCL_CURRENT, MCL_FUTURE): Define here.
32197 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32200 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32202 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32204 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32206 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32207 fourth parameter needed for rt_sigprocmask syscall.
32208 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32209 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32210 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32211 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32212 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32213 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32215 2013-03-04 Joseph Myers <joseph@codesourcery.com>
32218 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32219 comment about bounded pointers.
32220 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32221 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32223 2013-03-04 Andreas Jaeger <aj@suse.de>
32225 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32226 common definitions.
32228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32229 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32230 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32231 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32232 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32233 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32235 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32238 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32239 __ieee754_sqrl instead of __sqrl.
32241 2013-03-01 Joseph Myers <joseph@codesourcery.com>
32243 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32244 * sysdeps/powerpc/fpu_control.h: ... here.
32245 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32246 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32247 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32248 * sysdeps/powerpc/bits/mathinline.h: ... here.
32250 2013-03-01 Roland McGrath <roland@hack.frob.com>
32252 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32253 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32254 to just [NEED_DL_SYSINFO_DSO].
32255 * elf/dl-support.c: Likewise.
32256 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32257 * elf/rtld.c (dl_main): Likewise.
32258 * elf/setup-vdso.h (setup_vdso): Likewise.
32259 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32260 * sysdeps/unix/sysv/linux/dl-sysdep.c
32261 (_dl_discover_osversion): Likewise.
32263 2013-03-01 Carlos O'Donell <carlos@redhat.com>
32265 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32266 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32268 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32270 * NEWS: Mention libm performance improvements and non-x86 PI
32273 * csu/libc-start.c (__pthread_initialize_minimal): Change
32274 function arguments.
32275 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32277 2013-02-28 Joseph Myers <joseph@codesourcery.com>
32280 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32281 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32282 <bp-sym.h> and <bp-asm.h>.
32283 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32284 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32286 (memcpy): Don't use BP_SYM.
32287 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32289 (__mpn_add_n): Don't use BP_SYM.
32290 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32291 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32293 (__mpn_addmul_1): Don't use BP_SYM.
32294 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32295 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32297 (_setjmp): Don't use BP_SYM.
32298 (__novmx_setjmp): Likewise.
32299 (__GI__setjmp): Likewise.
32300 (__vmx_setjmp): Likewise.
32301 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32303 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32304 (__bzero): Don't use BP_SYM.
32305 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32306 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32307 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32308 <bp-sym.h> and <bp-asm.h>.
32309 (memcpy): Don't use BP_SYM.
32310 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32311 <bp-sym.h> and <bp-asm.h>.
32312 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32313 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32314 <bp-sym.h> and <bp-asm.h>.
32315 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32316 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32318 (__mpn_lshift): Don't use BP_SYM.
32319 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32320 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32322 (memset): Don't use BP_SYM.
32323 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32324 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32325 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32327 (__mpn_mul_1): Don't use BP_SYM.
32328 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32330 <bp-sym.h> and <bp-asm.h>.
32331 (memcmp): Don't use BP_SYM.
32332 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32333 <bp-sym.h> and <bp-asm.h>.
32334 (memcpy): Don't use BP_SYM.
32335 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32336 <bp-sym.h> and <bp-asm.h>.
32337 (memset): Don't use BP_SYM.
32338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32339 <bp-sym.h> and <bp-asm.h>.
32340 (strncmp): Don't use BP_SYM.
32341 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32342 <bp-sym.h> and <bp-asm.h>.
32343 (memcpy): Don't use BP_SYM.
32344 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32345 <bp-sym.h> and <bp-asm.h>.
32346 (memset): Don't use BP_SYM.
32347 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32348 <bp-sym.h> and <bp-asm.h>.
32349 (__memchr): Don't use BP_SYM.
32350 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32351 <bp-sym.h> and <bp-asm.h>.
32352 (memcmp): Don't use BP_SYM.
32353 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32354 <bp-sym.h> and <bp-asm.h>.
32355 (memcpy): Don't use BP_SYM.
32356 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32357 <bp-sym.h> and <bp-asm.h>.
32358 (__mempcpy): Don't use BP_SYM.
32359 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32360 <bp-sym.h> and <bp-asm.h>.
32361 (__memrchr): Don't use BP_SYM.
32362 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32363 <bp-sym.h> and <bp-asm.h>.
32364 (memset): Don't use BP_SYM.
32365 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32366 <bp-sym.h> and <bp-asm.h>.
32367 (__rawmemchr): Don't use BP_SYM.
32368 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32369 <bp-sym.h> and <bp-asm.h>.
32370 (__STRCMP): Don't use BP_SYM.
32371 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32372 <bp-sym.h> and <bp-asm.h>.
32373 (strchr): Don't use BP_SYM.
32374 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32375 <bp-sym.h> and <bp-asm.h>.
32376 (__strchrnul): Don't use BP_SYM.
32377 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32378 <bp-sym.h> and <bp-asm.h>.
32379 (strlen): Don't use BP_SYM.
32380 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32381 <bp-sym.h> and <bp-asm.h>.
32382 (strncmp): Don't use BP_SYM.
32383 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32384 <bp-sym.h> and <bp-asm.h>.
32385 (__strnlen): Don't use BP_SYM.
32386 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32388 (__mpn_rshift): Don't use BP_SYM.
32389 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32390 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32391 <bp-sym.h> and <bp-asm.h>.
32392 (__sigsetjmp): Don't use BP_SYM.
32393 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32394 (L(start_addresses)): Don't use BP_SYM.
32395 (_start): Likewise.
32396 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32398 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32399 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32400 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32401 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32403 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32404 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32405 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32406 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32408 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32410 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32411 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32413 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32415 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32416 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32417 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32419 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32421 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32423 (strncmp): Don't use BP_SYM,
32424 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32426 (__mpn_sub_n): Don't use BP_SYM.
32427 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32428 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32430 (__mpn_submul_1): Don't use BP_SYM.
32431 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32433 <bp-sym.h> and <bp-asm.h>.
32434 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32436 <bp-sym.h> and <bp-asm.h>.
32437 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32440 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32443 Use ZK to minimize writes to Z.
32444 (sub_magnitudes): Simplify code a bit.
32445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32446 Use ZK to minimize writes to Z.
32447 (sub_magnitudes): Simplify code a bit.
32449 2013-02-27 Roland McGrath <roland@hack.frob.com>
32451 * csu/gmon-start.c: Add special exception to license text.
32453 2013-02-27 Richard Henderson <rth@redhat.com>
32455 * scripts/config.guess: Update from config.git.
32456 * scripts/config.sub: Likewise.
32458 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32460 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32462 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32464 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32466 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32468 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32470 2013-02-26 Roland McGrath <roland@hack.frob.com>
32472 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32473 [$(build-shared = yes].
32475 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32477 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32478 (__mul): Reduce iterations for calculating mantissa.
32480 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32482 (__mpranred): Likewise.
32485 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32486 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32488 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32490 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32491 Define __attribute__.
32493 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32495 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32497 * posix/regex_internal.h (__attribute): Remove.
32498 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32499 (re_string_context_at): Likewise.
32500 (bitset_not): Use __attribute__ and mark function as possibly
32502 (bitset_merge): Likewise.
32503 (bitset_mask): Likewise.
32504 (re_string_char_size_at): Likewise.
32505 (re_string_wchar_at): Likewise.
32506 (re_string_elem_size_at): Likewise.
32508 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32510 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32514 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32518 (denorm): Likewise.
32519 (__dbl_mp): Likewise.
32520 (add_magnitudes): Likewise.
32521 (sub_magnitudes): Likewise.
32525 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32528 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32531 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32535 up changes with default code.
32536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32539 2013-02-24 Allan McRae <allan@archlinux.org>
32541 * manual/socket.texi (The Internet Namespace): Order menu items
32542 to match that in the file.
32544 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32545 node listing of the info page menu.
32547 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32550 * sysdeps/i386/bp-asm.h: Remove file.
32551 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32552 (PARMS): Do not use macros from bp-asm.h.
32556 (__mpn_add_n): Do not use BP_SYM
32557 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32559 (PARMS): Do not use macros from bp-asm.h.
32562 (__mpn_addmul_1): Do not use BP_SYM
32563 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32565 (PARMS): Do not use macros from bp-asm.h.
32566 (SIGMSK): Likewise.
32567 (_setjmp): Likewise. Do not use BP_SYM.
32568 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32570 (PARMS): Do not use macros from bp-asm.h.
32571 (SIGMSK): Likewise.
32572 (setjmp): Likewise. Do not use BP_SYM.
32573 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32575 (PARMS): Do not use macros from bp-asm.h.
32576 (__frexp): Do not use BP_SYM.
32578 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32580 (PARMS): Do not use macros from bp-asm.h.
32581 (__frexpf): Do not use BP_SYM.
32582 (frexpf): Likewise.
32583 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32585 (PARMS): Do not use macros from bp-asm.h.
32586 (__frexpl): Do not use BP_SYM.
32587 (frexpl): Likewise.
32588 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32590 (PARMS): Do not use macros from bp-asm.h.
32591 (__remquo): Do not use BP_SYM.
32592 (remquo): Likewise.
32593 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32595 (PARMS): Do not use macros from bp-asm.h.
32596 (__remquof): Do not use BP_SYM.
32597 (remquof): Likewise.
32598 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32600 (PARMS): Do not use macros from bp-asm.h.
32601 (__remquol): Do not use BP_SYM.
32602 (remquol): Likewise.
32603 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32605 (PARMS): Do not use macros from bp-asm.h.
32608 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32609 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32611 (PARMS): Do not use macros from bp-asm.h.
32612 (strlen): Do not use BP_SYM.
32613 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32615 (PARMS): Do not use macros from bp-asm.h.
32619 (__mpn_add_n): Do not use BP_SYM.
32620 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32622 (PARMS): Do not use macros from bp-asm.h.
32625 (__mpn_addmul_1): Do not use BP_SYM.
32626 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32629 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32631 (PARMS): Do not use macros from bp-asm.h.
32634 (__mpn_lshift): Do not use BP_SYM.
32635 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32637 (PARMS): Do not use macros from bp-asm.h.
32641 (memcpy): Likewise. Do not use BP_SYM.
32642 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32643 libc_hidden_def and weak_alias.
32644 (mempcpy): Do not use BP_SYM in weak_alias.
32645 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32647 (PARMS): Do not use macros from bp-asm.h.
32650 [!BZERO_P] (CHR): Likewise.
32651 (memset): Likewise. Do not use BP_SYM.
32652 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32654 (PARMS): Do not use macros from bp-asm.h.
32657 (__mpn_mul_1): Do not use BP_SYM.
32658 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32660 (PARMS): Do not use macros from bp-asm.h.
32663 (__mpn_rshift): Do not use BP_SYM.
32664 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32666 (PARMS): Do not use macros from bp-asm.h.
32669 (strchr): Likewise. Do not use BP_SYM.
32670 (index): Do not use BP_SYM in weak_alias.
32671 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32673 (PARMS): Do not use macros from bp-asm.h.
32676 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32677 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32679 (PARMS): Do not use macros from bp-asm.h.
32680 (strlen): Do not use BP_SYM.
32681 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32683 (PARMS): Do not use macros from bp-asm.h.
32687 (__mpn_sub_n): Do not use BP_SYM.
32688 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32690 (PARMS): Do not use macros from bp-asm.h.
32693 (__mpn_submul_1): Do not use BP_SYM.
32694 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32696 (PARMS): Do not use macros from bp-asm.h.
32700 (__mpn_add_n): Do not use BP_SYM.
32701 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32704 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32706 (PARMS): Do not use macros from bp-asm.h.
32709 (memcmp): Do not use BP_SYM.
32710 (bcmp): Do not use BP_SYM in weak_alias.
32711 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32713 (PARMS): Do not use macros from bp-asm.h.
32717 (memcpy): Likewise. Do not use BP_SYM.
32718 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32720 (PARMS): Do not use macros from bp-asm.h.
32724 (memmove): Likewise. Do not use BP_SYM.
32725 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32727 (PARMS): Do not use macros from bp-asm.h.
32731 (__mempcpy): Likewise. Do not use BP_SYM.
32732 (mempcpy): Do not use BP_SYM in weak_alias.
32733 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32735 (PARMS): Do not use macros from bp-asm.h.
32738 [!BZERO_P] (CHR): Likewise.
32739 (memset): Likewise. Do not use BP_SYM.
32740 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32742 (PARMS): Do not use macros from bp-asm.h.
32744 (strcmp): Do not use BP_SYM.
32745 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32747 (PARMS): Do not use macros from bp-asm.h.
32750 [USE_AS_STRTOK_R] (SAVE): Likewise.
32751 (FUNCTION): Likewise. Do not use BP_SYM.
32752 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32754 (strtok_r): Likewise.
32755 (__GI___strtok_r): Likewise.
32756 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32757 (PARMS): Do not use macros from bp-asm.h.
32760 (__mpn_lshift): Do not use BP_SYM.
32761 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32762 (PARMS): Do not use macros from bp-asm.h.
32765 (__memchr): Do not use BP_SYM.
32766 (memchr): Do not use BP_SYM in weak_alias.
32767 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32768 (PARMS): Do not use macros from bp-asm.h.
32771 (memcmp): Do not use BP_SYM.
32772 (bcmp): Do not use BP_SYM in weak_alias.
32773 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32774 (PARMS): Do not use macros from bp-asm.h.
32777 (__mpn_mul_1): Do not use BP_SYM.
32778 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32780 (PARMS): Do not use macros from bp-asm.h.
32783 (__rawmemchr): Do not use BP_SYM.
32784 (rawmemchr): Do not use BP_SYM in weak_alias.
32785 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32786 (PARMS): Do not use macros from bp-asm.h.
32789 (__mpn_rshift): Do not use BP_SYM.
32790 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32791 (PARMS): Do not use macros from bp-asm.h.
32792 (SIGMSK): Likewise.
32793 (__sigsetjmp): Likewise. Do not use BP_SYM.
32794 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32795 (_start): Do not use BP_SYM.
32796 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32797 (PARMS): Do not use macros from bp-asm.h.
32800 (__stpcpy): Likewise. Do not use BP_SYM.
32801 (stpcpy): Do not use BP_SYM in weak_alias.
32802 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32804 (PARMS): Do not use macros from bp-asm.h.
32808 (__stpncpy): Likewise. Do not use BP_SYM.
32809 (stpncpy): Do not use BP_SYM in weak_alias.
32810 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32811 (PARMS): Do not use macros from bp-asm.h.
32814 (strchr): Likewise. Do not use BP_SYM.
32815 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32817 (PARMS): Do not use macros from bp-asm.h.
32820 (__strchrnul): Likewise. Do not use BP_SYM.
32821 (strchrnul): Do not use BP_SYM in weak_alias.
32822 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32824 (PARMS): Do not use macros from bp-asm.h.
32826 (strcspn): Do not use BP_SYM.
32827 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32829 (PARMS): Do not use macros from bp-asm.h.
32832 (strpbrk): Likewise. Do not use BP_SYM.
32833 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32835 (PARMS): Do not use macros from bp-asm.h.
32838 (strrchr): Likewise. Do not use BP_SYM.
32839 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32840 (PARMS): Do not use macros from bp-asm.h.
32842 (strspn): Do not use BP_SYM.
32843 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32844 (PARMS): Do not use macros from bp-asm.h.
32848 (FUNCTION): Likewise. Do not use BP_SYM.
32849 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32851 (strtok_r): Likewise.
32852 (__GI___strtok_r): Likewise.
32853 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32854 (PARMS): Do not use macros from bp-asm.h.
32858 (__mpn_sub_n): Do not use BP_SYM.
32859 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32861 (PARMS): Do not use macros from bp-asm.h.
32864 (__mpn_submul_1): Do not use BP_SYM.
32865 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32867 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32869 (PARMS): Do not use macros from bp-asm.h.
32874 (__clone): Do not use BP_SYM.
32875 (clone): Do not use BP_SYM in weak_alias.
32876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32878 (PARMS): Do not use macros from bp-asm.h.
32880 (__mmap64): Do not use BP_SYM.
32881 (mmap64): Do not use BP_SYM in weak_alias.
32882 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32883 <bp-sym.h> and <bp-asm.h>.
32884 (PARMS): Do not use macros from bp-asm.h.
32885 (__posix_fadvise64_l64): Do not use BP_SYM.
32886 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32887 (PARMS): Do not use macros from bp-asm.h.
32889 (semtimedop): Do not use BP_SYM.
32890 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32893 2013-02-21 Allan McRae <allan@archlinux.org>
32895 * manual/message.texi (Charset conversion in gettext):
32896 Move @end statement to beginning of line.
32898 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32905 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32906 (denorm): Likewise.
32907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32910 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32912 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32913 tail-call to the resolved function if pltexit isn't needed.
32915 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32918 or Y being zero as being unlikely.
32919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32922 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32924 * manual/nss.texi (System Databases and Name Service Switch):
32925 Remove frobnicate @pxref.
32927 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32929 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32930 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32932 2013-02-20 Petr Machata <pmachata@redhat.com>
32934 * elf/elf.h (R_ARM_TARGET1): New macro.
32935 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32936 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32937 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32938 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32939 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32940 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32941 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32942 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32943 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32944 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32945 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32946 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32947 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32948 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32949 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32950 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32951 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32952 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32953 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32954 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32955 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32956 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32957 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32958 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32959 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32960 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32961 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32962 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32963 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32964 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32965 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32966 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32967 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32968 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32969 (R_ARM_THM_GOT_BREL12): Likewise.
32970 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32971 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32972 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32973 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32974 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32975 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32976 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32977 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32978 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32980 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32982 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32983 __attribute_used__ to __attribute__ ((unused)).
32985 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32987 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32990 comment formatting.
32991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32993 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32996 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32998 (ENTER): Remove both macro definitions.
33000 (CHECK_BOUNDS_LOW): Likewise.
33001 (CHECK_BOUNDS_HIGH): Likewise.
33002 (CHECK_BOUNDS_BOTH): Likewise.
33003 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33004 (RETURN_BOUNDED_POINTER): Likewise.
33005 (RETURN_NULL_BOUNDED_POINTER): Likewise.
33006 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33007 (POP_ERRNO_LOCATION_RETURN): Likewise.
33008 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33009 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33010 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33012 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33013 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33014 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33015 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33016 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33017 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33018 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33019 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33020 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33021 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33022 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33023 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33024 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33025 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33027 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33028 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33030 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33031 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33032 * sysdeps/i386/i586/memset.S (memset): Likewise.
33033 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33034 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33035 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33037 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33038 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33039 Change uses of L(2) to L(out).
33040 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33041 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33042 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33044 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33047 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33049 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33050 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33051 (RETURN): Do not use macro LEAVE.
33052 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33053 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33054 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33055 * sysdeps/i386/i686/memset.S (memset): Likewise.
33056 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33057 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33058 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33059 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33061 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33062 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
33063 L(1_2) and L(1_3) into L(1).
33064 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33065 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33066 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33067 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33068 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33069 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33070 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33071 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33072 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33074 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33075 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33076 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33077 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33078 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33079 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33080 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33081 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33082 * sysdeps/i386/strcspn.S (strcspn): Likewise.
33083 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33084 * sysdeps/i386/strrchr.S (strrchr): Likewise.
33085 * sysdeps/i386/strspn.S (strspn): Likewise.
33086 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33088 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33089 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33090 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33091 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
33092 L(1_3) into L(1_1).
33093 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33094 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33095 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33097 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33099 2013-02-19 Jakub Jelinek <jakub@redhat.com>
33101 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33104 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33106 * math/atest-exp.c (exp_mpn): Remove ROUND.
33107 * math/atest-exp2.c (exp_mpn): Likewise.
33108 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33110 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33111 * stdlib/tst-tls-atexit-lib.c: Likewise.
33112 * stdlib/tst-tls-atexit.c: Likewise.
33114 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33116 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33117 and __attribute_alloc_size__.
33119 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33121 * include/programs/xmalloc.h: Change __attribute_alloc_size to
33122 __attribute_alloc_size__.
33123 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33124 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33126 2013-02-18 Mike Frysinger <vapier@gentoo.org>
33128 * include/programs/xmalloc.h: New file.
33129 * catgets/gencat.c: Include it.
33130 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33131 * elf/pldd.c: Likewise.
33132 * iconv/iconv_charmap.c: Likewise.
33133 * iconv/iconvconfig.c: Likewise.
33134 * iconv/strtab.c: Likewise.
33135 * locale/programs/locale.c: Likewise.
33136 * locale/programs/localedef.h: Likewise.
33137 * locale/programs/simple-hash.c: Likewise.
33138 * nscd/nscd.h: Likewise.
33139 * nss/makedb.c: Likewise.
33140 * sysdeps/generic/ldconfig.h: Likewise.
33142 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33144 * Versions.def: Add GLIBC_2.18.
33145 * include/link.h (struct link_map): New member l_tls_dtor_count.
33146 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33147 (__call_tls_dtors): Likewise.
33148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33149 __cxa_thread_atexit_impl.
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33166 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33167 (tests): Add test case tst-tls-atexit.
33168 (modules-names): Add shared library for tst-tls-atexit.
33169 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33170 (GLIBC_PRIVATE): Add __call_tls_dtors.
33171 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33173 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33174 * stdlib/tst-tls-atexit.c: New test case.
33175 * stdlib/tst-tls-atexit-lib.c: New test case.
33177 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33179 * elf/Versions (ld): Add _dl_find_dso_for_object.
33180 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33181 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33182 (dl_open_worker): Use _dl_find_dso_for_object.
33183 * elf/dl-sym.c (do_sym): Likewise.
33184 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33186 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33188 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33189 Syntactic changes only.
33190 (_dl_runtime_profile): Do a tail-call to the resolved function.
33192 2013-02-17 Joseph Myers <joseph@codesourcery.com>
33195 * sysdeps/x86_64/bp-asm.h: Remove file.
33196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33197 <bp-sym.h> and <bp-asm.h>.
33198 (__clone): Do not use BP_SYM.
33199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33200 <bp-sym.h> and <bp-asm.h>.
33201 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33202 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33204 (_setjmp): Do not use BP_SYM.
33205 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33207 (setjmp): Do not use BP_SYM.
33208 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33210 (mempcpy): Do not use BP_SYM in weak_alias.
33211 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33213 (strchr): Do not use BP_SYM.
33214 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33216 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33217 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33218 (_start): Do not use BP_SYM.
33219 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33221 (strcat): Do not use BP_SYM.
33222 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33224 (STRCMP): Do not use BP_SYM.
33225 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33227 (STRCPY): Do not use BP_SYM.
33228 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33230 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33232 (FUNCTION): Do not use BP_SYM.
33233 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33235 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33237 2013-02-17 Andreas Jaeger <aj@suse.de>
33239 * time/Versions: Sort entries.
33240 * string/Versions: Likewise.
33241 * resolv/Versions: Likewise.
33242 * posix/Versions: Likewise.
33243 * iconv/Versions: Likewise.
33244 * elf/Versions: Likewise.
33245 * wcsmbs/Versions: Likewise.
33247 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33249 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33250 loop termination condition.
33252 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33253 variable to calculate EZ.
33256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33257 the lower precision input.
33259 2013-02-15 Joseph Myers <joseph@codesourcery.com>
33262 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33263 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33264 (run-via-rtld-prefix): Do not handle %-bp tests.
33265 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33266 (all-object-suffixes): Remove .ob.
33267 (bppfx): Remove variable.
33268 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33269 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33270 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33271 [$(build-bounded) = yes] (libtype.ob): Likewise.
33272 * Makerules (elide-routines.ob): Remove variable.
33273 (do-tests-clean): Do not handle *-bp.out.
33274 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33275 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33276 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33277 (tests): Do not include $(tests-bp.out).
33278 (xtests): Do not include $(xtests-bp.out).
33279 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33280 [$(build-bounded) = yes] ($(addprefix
33281 $(objpfx),$(binaries-bounded))): Remove rule.
33282 ($(objpfx)%-bp.out): Remove rule.
33283 * config.make.in (build-bounded): Remove variable.
33284 * crypt/Makefile [$(build-bounded) = yes]
33285 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33286 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33287 append to variable.
33288 [$(build-bounded) = yes] (install-lib): Likewise.
33289 [$(build-bounded) = yes] (generated): Likewise.
33290 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33292 * intl/Makefile [$(build-bounded) = yes]
33293 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33294 * math/Makefile [$(build-bounded) = yes]
33295 ($(tests:%=$(objpfx)%-bp): Likewise.
33296 * misc/Makefile [$(build-bounded) = yes]
33297 ($(objpfx)tst-tsearch-bp): Likewise.
33298 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33299 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33301 * string/Makefile (o-objects.ob): Remove variable.
33302 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33303 (CFLAGS-.ob): Remove variable.
33304 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33306 both definitions of variable.
33307 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33308 (ASFLAGS-.ob): Remove variable.
33310 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33313 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33314 Remove __BOUNDED_POINTERS__ from condition.
33315 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33316 * string/bits/string2.h [!__NO_STRING_INLINES &&
33317 !__BOUNDED_POINTERS__]: Likewise.
33318 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33320 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33321 Remove conditional code.
33322 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33323 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33324 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33328 * csu/libc-start.c: Do not include <bp-sym.h>.
33329 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33330 * elf/dl-open.c: Do not include <bp-sym.h>.
33331 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33332 * math/fegetenv.c: Do not include <bp-sym.h>.
33333 (fegetenv): Do not use BP_SYM in versioned symbols.
33334 * nptl/sysdeps/pthread/bits/libc-lockP.h
33335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33338 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33340 (__pthread_mutex_destroy): Likewise.
33341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33342 (__pthread_mutex_lock): Likewise.
33343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33344 (__pthread_mutex_trylock): Likewise.
33345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33346 (__pthread_mutex_unlock): Likewise.
33347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33348 (__pthread_mutexattr_init): Likewise.
33349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33350 (__pthread_mutexattr_destroy): Likewise.
33351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33352 (__pthread_mutexattr_settype): Likewise.
33353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33354 (__pthread_rwlock_init): Likewise.
33355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33356 (__pthread_rwlock_destroy): Likewise.
33357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33358 (__pthread_rwlock_rdlock): Likewise.
33359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33360 (__pthread_rwlock_tryrdlock): Likewise.
33361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33362 (__pthread_rwlock_wrlock): Likewise.
33363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33364 (__pthread_rwlock_trywrlock): Likewise.
33365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33366 (__pthread_rwlock_unlock): Likewise.
33367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33368 (__pthread_key_create): Likewise.
33369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33370 (__pthread_setspecific): Likewise.
33371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33372 (__pthread_getspecific): Likewise.
33373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33376 (_pthread_cleanup_push_defer): Likewise.
33377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33378 (_pthread_cleanup_pop_restore): Likewise.
33379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33380 (pthread_setcancelstate): Likewise.
33381 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33383 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33384 (memchr): Do not use BP_SYM in weak_alias.
33385 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33386 (fegetenv): Do not use BP_SYM in versioned symbols.
33387 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33388 (fesetenv): Do not use BP_SYM in versioned symbols.
33389 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33390 (feupdateenv): Do not use BP_SYM in versioned symbols.
33391 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33392 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33393 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33394 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33395 (open64): Do not use BP_SYM in weak_alias.
33396 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33397 (fegetenv): Do not use BP_SYM in versioned symbols.
33398 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33399 (fesetenv): Do not use BP_SYM in versioned symbols.
33400 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33401 (feupdateenv): Do not use BP_SYM in versioned symbols.
33402 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33403 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33404 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33405 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33406 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33407 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33408 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33410 (__libc_start_main): Do not use BP_SYM.
33412 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33415 redundant return line.
33417 (denorm): Likewise.
33418 (dbl_mp): Likewise.
33419 (sub_magnitudes): Likewise.
33425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33427 (denorm): Likewise.
33428 (dbl_mp): Likewise.
33429 (sub_magnitudes): Likewise.
33436 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33438 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33439 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33442 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33443 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33445 of __mul for squares.
33446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33450 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33451 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33453 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33456 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33458 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33459 prototype or function definition. Rename ubp_* variables and
33460 parameters. Remove argv definitions conditional on
33461 [__BOUNDED_POINTERS__].
33462 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33463 * elf/dl-runtime.c (_dl_fixup): Likewise.
33464 * include/set-hooks.h (RUN_HOOK): Likewise.
33465 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33467 * string/strcpy.c (strcpy): Do not use __unbounded.
33468 * sysdeps/generic/frame.h (struct layout): Likewise.
33469 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33470 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33471 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33472 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33473 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33474 (__backtrace): Likewise.
33475 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33477 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33478 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33479 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33481 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33482 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33483 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33484 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33485 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33486 Do not use __unbounded.
33487 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33488 Rename __unboundedrlimits parameter to rlimits in prototype.
33489 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33490 Do not use __unbounded.
33491 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33492 not use __ptrvalue.
33493 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33494 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33495 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33496 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33497 __ptrvalue or __unbounded.
33498 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33499 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33501 (__new_msgctl): Do not use __ptrvalue.
33502 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33504 (__libc_msgrcv): Do not use __ptrvalue.
33505 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33506 startup_info): Do not use __unbounded.
33507 (__libc_start_main): Likewise. Rename ubp_* variables and
33508 parameters. Remove argv definitions conditional on
33509 [__BOUNDED_POINTERS__].
33510 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33512 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33514 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33516 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33518 (__new_shmctl): Do not use __ptrvalue.
33519 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33520 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33522 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33524 (__libc_sigaction): Likewise.
33525 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33528 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33530 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33532 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33534 * string/mempcpy.c: Implement by calling memcpy.
33536 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33543 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33544 values in the mantissa.
33546 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33547 minimize writes to Z.
33548 (sub_magnitudes): Simplify code a bit.
33550 2013-02-12 Roland McGrath <roland@hack.frob.com>
33552 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33553 from the message. The linker prefixes all warnings with that already.
33555 2013-02-12 Andreas Schwab <schwab@suse.de>
33558 * posix/regexec.c (extend_buffers): Add parameter min_len.
33559 (check_matching): Pass minimum needed length.
33560 (clean_state_log_if_needed): Likewise.
33561 (get_subexp): Likewise.
33562 * posix/Makefile (tests): Add bug-regex34.
33563 (bug-regex34-ENV): Define.
33564 * posix/bug-regex34.c: New file.
33567 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33568 elements compare against the byte sequence of it, not its name.
33569 * posix/Makefile (tests): Add bug-regex35.
33570 (bug-regex35-ENV): Define.
33571 * posix/bug-regex35.c: New file.
33573 2013-02-11 Tom de Vries <tom@codesourcery.com>
33575 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33577 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33578 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33579 (CHECK_EOL): Add undef.
33581 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33583 * bits/stdlib-bsearch.h: New file.
33584 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33585 * stdlib/stdlib.h: Likewise.
33587 2013-02-11 Roland McGrath <roland@hack.frob.com>
33589 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33590 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33592 * manual/search.texi (Array Search Function): Add missing const in
33594 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33595 declaration to use rlim_t.
33596 (Basic Scheduling Functions): Remove erroneous const from
33597 sched_getparam prototype. Remove erroneous * from
33598 sched_get_priority_max and sched_get_priority_min prototypes.
33599 (Resource Usage): Fix summary @comment on vtimes to refer to
33600 sys/vtimes.h rather than vtimes.h.
33601 Add missing *s in vtimes prototype.
33602 (Limits on Resources): Fix ulimit prototype to return long int.
33603 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33604 prototypes to use long int rather than double.
33605 (BSD Random): Fix initstate and setstate to use char *, not void *.
33606 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33607 prototype to make second argument 'struct aiocb64 *const[]'.
33608 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33609 (Status of AIO Operations): Remove erroneous const in aio_return and
33610 aio_return64 prototypes.
33611 (Synchronizing I/O): Fix sync prototype to return void.
33612 * manual/startup.texi (Suboptions): Remove an erroneous const in
33613 getsubopt prototype.
33614 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33615 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33616 use size_t rather than int.
33617 (Scanning All Users): Likewise for getpwent_r.
33618 (Setting Groups): Add missing const to setgroups prototype.
33619 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33620 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33621 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33622 'const void *' rather than 'const char *'.
33623 (Host Address Functions): Likewise for inet_ntop.
33624 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33625 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33626 ssize_t for return value.
33627 (Sending Data): Likewise for send, sendto, sendmsg.
33628 (Socket Option Functions): Add a missing const in setsockopt prototype.
33629 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33630 use wchar_t for the argument.
33631 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33632 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33634 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33635 double/float/long double for second argument.
33636 Fix return types of significand, significandf, significandl.
33637 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33638 argument in fchmod prototype.
33639 (File Owner): Use uid_t and gid_t in fchown prototype.
33640 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33641 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33642 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33643 use 'const struct dirent **' as argument types to CMP function pointer
33645 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33646 (File Times): Fix summary magic @comment for struct utimbuf and utime
33647 to refer to utime.h, not time.h.
33648 * manual/string.texi (Argz Functions): Add missing const in
33649 argz_extract and argz_next prototypes.
33650 (Finding Tokens in a String): Likewise for basename.
33651 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33652 (Copying and Concatenation): Fix typo in wmemmove prototype.
33653 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33654 (Signal Stack): Remove erroneous const in sigstack prototype.
33655 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33657 (Simple Calendar Time): Likewise for stime.
33658 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33660 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33661 say sys/sysctl.h instead.
33662 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33663 and vsyslog prototypes.
33665 2013-02-11 Tom de Vries <tom@codesourcery.com>
33667 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33670 2013-02-11 Roland McGrath <roland@hack.frob.com>
33672 * misc/sys/mman.h: Fix typo in mremap comment.
33674 2013-02-08 Roland McGrath <roland@hack.frob.com>
33676 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33677 the '\0' terminator.
33679 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33682 * debug/segfault.c: Don't include <bp-checks.h>.
33683 * sysdeps/generic/bp-checks.h: Remove file.
33684 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33685 (__GETDENTS): Don't use CHECK_N.
33686 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33687 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33688 (__getgroups): Don't use CHECK_N.
33689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33690 (setgroups): Don't use CHECK_N.
33691 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33692 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33693 (__libc_msgrcv): Don't use CHECK_N.
33694 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33695 (__libc_msgsnd): Don't use CHECK_N.
33696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33698 (__libc_pread): Don't use CHECK_N.
33699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33700 include <bp-checks.h>.
33701 (__libc_pread64): Don't use CHECK_N.
33702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33703 include <bp-checks.h>.
33704 (__libc_pwrite): Don't use CHECK_N.
33705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33706 include <bp-checks.h>.
33707 (__libc_pwrite64): Don't use CHECK_N.
33708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33710 (__libc_pread): Don't use CHECK_N.
33711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33712 include <bp-checks.h>.
33713 (__libc_pread64): Don't use CHECK_N.
33714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33715 include <bp-checks.h>.
33716 (__libc_pwrite): Don't use CHECK_N.
33717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33718 include <bp-checks.h>.
33719 (__libc_pwrite64): Don't use CHECK_N.
33720 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33721 (do_pread): Don't use CHECK_N.
33722 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33723 (do_pread64): Don't use CHECK_N.
33724 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33725 (do_pwrite): Don't use CHECK_N.
33726 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33727 (do_pwrite64): Don't use CHECK_N.
33728 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33729 (__libc_readv): Don't use CHECK_N.
33730 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33731 (semop): Don't use CHECK_N.
33732 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33734 (semtimedop): Don't use CHECK_N.
33735 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33736 (__libc_pread): Don't use CHECK_N.
33737 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33739 (__libc_pread64): Don't use CHECK_N.
33740 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33742 (__libc_pwrite): Don't use CHECK_N.
33743 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33745 (__libc_pwrite64): Don't use CHECK_N.
33746 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33748 (__libc_msgrcv): Don't use CHECK_N.
33749 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33750 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33751 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33752 (__libc_writev): Don't use CHECK_N.
33754 2013-02-08 Roland McGrath <roland@hack.frob.com>
33756 * string/strcpy.c: Removed unused variable.
33758 * Makeconfig (+sysdep-includes): Define with := rather than =.
33759 Use an existing include/ subdir of each sysdeps dir before it.
33761 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33763 * nscd/connection.c (register_traced_file): Comment function.
33764 [HAVE_INOTIFY] (union __inev): Define.
33765 [HAVE_INOTIFY] (inotify_check_files): New function.
33766 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33767 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33769 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33771 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33773 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33774 loaded if not already and that a failure is permanent.
33776 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33779 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33780 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33782 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33785 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33786 (CHECK_1_NULL_OK): Likewise.
33787 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33788 (__fxstat): Do not use CHECK_1.
33789 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33791 (___fxstat64): Do not use CHECK_1.
33792 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33794 (__fxstatat): Do not use CHECK_1.
33795 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33797 (__fxstatat64): Do not use CHECK_1.
33798 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33800 (__fxstat): Do not use CHECK_1.
33801 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33803 (__fxstatat): Do not use CHECK_1.
33804 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33806 (__getresgid): Do not use CHECK_1.
33807 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33809 (__getresuid): Do not use CHECK_1.
33810 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33812 (__lxstat): Do not use CHECK_1.
33813 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33815 (__old_msgctl): Do not use CHECK_1.
33816 (__new_msgctl): Likewise.
33817 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33819 (__new_setrlimit): Do not use CHECK_1.
33820 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33822 (__old_shmctl): Do not use CHECK_1.
33823 (__new_shmctl): Likewise.
33824 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33826 (__xstat): Do not use CHECK_1.
33827 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33828 (__lxstat): Do not use CHECK_1.
33829 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33831 (___lxstat64): Do not use CHECK_1.
33832 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33833 (__old_msgctl): Do not use CHECK_1.
33834 (__new_msgctl): Likewise.
33835 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33837 (__gettimeofday): Do not use CHECK_1.
33838 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33839 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33840 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33842 (__gettimeofday): Do not use CHECK_1.
33843 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33844 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33845 (__new_shmctl): Do not use CHECK_1.
33846 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33848 (do_sigtimedwait): Do not use CHECK_1.
33849 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33851 (do_sigwaitinfo): Do not use CHECK_1.
33852 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33854 (msgctl): Do not use CHECK_1.
33855 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33857 (shmctl): Do not use CHECK_1.
33858 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33859 (ustat): Do not use CHECK_1.
33860 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33862 (__fxstat): Do not use CHECK_1.
33863 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33865 (__fxstatat): Do not use CHECK_1.
33866 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33868 (__lxstat): Do not use CHECK_1.
33869 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33871 (__xstat): Do not use CHECK_1.
33872 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33873 (__xstat): Do not use CHECK_1.
33874 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33875 (___xstat64): Do not use CHECK_1.
33878 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33880 (CHECK_BOUNDS_HIGH): Likewise.
33881 * string/strcpy.c: Do not include <bp-checks.h>.
33882 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33884 2013-02-07 Roland McGrath <roland@hack.frob.com>
33886 * nscd/nscd-client.h (__nscd_drop_map_ref):
33887 Add __attribute__ ((unused)).
33888 * nis/nss-nisplus.h (niserr2nss): Likewise.
33890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33891 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33893 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33894 Remove inline keyword.
33895 * include/rounding-mode.h (round_away): Likewise.
33896 * libio/wfileops.c (adjust_wide_data): Likewise.
33897 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33898 (__m128i_strloadu_tolower): Likewise.
33899 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33900 (__m128i_strloadu_tolower): Likewise.
33901 * time/mktime.c (ydhms_diff): Likewise.
33902 * locale/elem-hash.h (elem_hash): Likewise.
33903 * locale/setlocale.c (setdata): Likewise.
33904 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33905 (re_string_wchar_at): Likewise.
33906 (bitset_not, bitset_merge, bitset_mask): Likewise.
33907 [!(__GNUC__ > 3)] (inline): Remove macro.
33908 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33909 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33910 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33911 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33912 * string/memcmp.c (memcmp_bytes): Likewise.
33913 * locale/programs/locarchive.c (compute_hashval): Likewise.
33914 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33915 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33916 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33917 * nss/getent.c (print_rpc, print_protocols): Likewise.
33918 (print_passwd, print_group, print_aliases): Likewise.
33919 * nis/nss-nisplus.h (niserr2nss): Likewise.
33920 * nscd/connections.c (restart_p): Likewise.
33921 Change return type to bool.
33923 2013-02-05 Roland McGrath <roland@hack.frob.com>
33925 * Makeconfig (all-Depend-files): Add existing
33926 $(sorted-subdirs:=/Depend) files.
33927 (all-subdirs): Remove nss.
33928 * sysdeps/unix/inet/Subdirs: Add it here instead.
33929 * hesiod/Depend: New file.
33931 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33932 instead of calling alloca.
33934 * io/lseek.c (__lseek): Rename to __libc_lseek.
33935 Define __lseek as an alias.
33937 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33939 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33941 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33942 else clause and remove check for non-standard endianness.
33944 2013-02-04 David S. Miller <davem@davemloft.net>
33946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33948 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33951 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33952 (__ubp_memchr): Remove prototype.
33953 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33954 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33955 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33956 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33957 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33959 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33960 (__ubp_memchr): Likewise.
33961 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33962 (__ubp_memchr): Likewise.
33963 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33964 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33965 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33966 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33968 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33969 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33970 (__getcwd): Do not use CHECK_STRING.
33971 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33973 (__real_chown): Do not use CHECK_STRING.
33974 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33976 (fchownat): Do not use CHECK_STRING.
33977 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33979 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33981 (__lchown): Do not use CHECK_STRING.
33982 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33983 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33984 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33985 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33987 include <bp-checks.h>.
33988 (truncate64): Do not use CHECK_STRING.
33989 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33991 (__real_chown): Do not use CHECK_STRING.
33992 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33994 (__lchown): Do not use CHECK_STRING.
33995 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33997 (__chown): Do not use CHECK_STRING.
33998 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34000 (truncate64): Do not use CHECK_STRING.
34001 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34003 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34004 (__xmknod): Do not use CHECK_STRING.
34005 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34007 (__xmknodat): Do not use CHECK_STRING.
34008 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34009 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34011 2013-02-04 Andreas Schwab <schwab@suse.de>
34014 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34015 * include/netdb.h: Likewise for h_errno.
34016 * elf/tst-stackguard1.c: Include <tls.h>.
34018 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
34020 * elf/link.h (struct link_map): Extend the l_addr comment.
34021 * include/link.h (struct link_map): Likewise.
34023 2013-02-01 Joseph Myers <joseph@codesourcery.com>
34026 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34027 (BOUNDED_1): Remove macro.
34028 * debug/backtrace.c: Don't include <bp-checks.h>.
34029 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34030 (__backtrace): Likewise.
34031 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34033 (__backtrace): Don't use BOUNDED_1.
34034 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34036 (__backtrace): Don't use BOUNDED_1.
34037 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34038 (__backtrace): Don't use BOUNDED_1.
34039 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34040 (shmat): Don't use BOUNDED_N.
34042 2013-01-31 Joseph Myers <joseph@codesourcery.com>
34045 * sysdeps/generic/bp-start.h: Remove file.
34046 * csu/libc-start.c: Don't include <bp-start.h>.
34047 (LIBC_START_MAIN): Set up __environ directly instead of using
34048 INIT_ARGV_and_ENVIRON.
34049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34053 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34055 (CHECK_FCNTL): Likewise.
34056 (CHECK_N_PAGES): Likewise.
34059 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34061 (CHECK_SIGSET_NULL_OK): Likewise.
34062 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34064 (sigpending): Don't use CHECK_SIGSET.
34065 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34067 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34068 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34070 (do_sigsuspend): Don't use CHECK_SIGSET.
34071 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34073 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34074 (do_sigwait): Don't use CHECK_SIGSET.
34075 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34078 include <bp-checks.h>.
34079 (sigpending): Don't use CHECK_SIGSET.
34080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34081 include <bp-checks.h>.
34082 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34083 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34085 (sigpending): Don't use CHECK_SIGSET.
34086 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34088 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34091 * sysdeps/generic/bp-semctl.h: Remove file.
34092 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34093 <bp-checks.h> and <bp-semctl.h>.
34094 (__old_semctl): Don't use CHECK_SEMCTL.
34095 (__new_semctl): Likewise.
34096 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34098 (__old_semctl): Don't use CHECK_SEMCTL.
34099 (__new_semctl): Likewise.
34100 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34101 <bp-checks.h> and <bp-semctl.h>.
34102 (__old_semctl): Don't use CHECK_SEMCTL.
34103 (__new_semctl): Likewise.
34104 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34105 <bp-checks.h> and <bp-semctl.h>.
34106 (semctl): Don't use CHECK_SEMCTL.
34109 * Makerules (elide-bp-thunks): Remove variable.
34110 (elide-routines.oS): Don't use $(elide-bp-thunks).
34111 (elide-routines.os): Likewise.
34112 (elide-routines.o): Likewise.
34113 (elide-routines.op): Likewise.
34114 (elide-routines.og): Likewise.
34115 (objects): Don't use $(bp-thunks).
34116 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34118 (common-generated): Do not add s-proto-bp.d.
34119 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34122 Do not generate makefile rules for bounded-pointer thunks.
34123 * sysdeps/generic/bp-thunks.h: Remove file.
34124 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34125 * sysdeps/unix/s-proto-bp.S: Likewise.
34128 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34129 parts of result separately when argument is not close to line from
34130 -i to i and one part of argument is small.
34131 * math/k_casinhf.c (__kernel_casinhf): Likewise.
34132 * math/k_casinhl.c (__kernel_casinhl): Likewise.
34133 * math/libm-test.inc (cacos_test): Add more tests.
34134 (casin_test): Likewise.
34135 (casinh_test): Likewise.
34136 * sysdeps/i386/fpu/libm-test-ulps: Update.
34137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34139 2013-01-31 David S. Miller <davem@davemloft.net>
34141 * po/de.po: Update from translation team.
34143 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
34145 * time/tzfile.c: Include stdint.h for SIZE_MAX.
34147 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
34149 * configure.in (_AC_PROG_CC_C89): New definition.
34150 * configure: Regenerate.
34152 * configure.in (AC_PROG_CPP): New definition.
34153 * configure: Regenerate.
34155 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34157 * debug/tst-backtrace.h: New file.
34158 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34159 (ret): Remove variable.
34161 (FAIL): Remove macro.
34162 (NO_INLINE): Likewise.
34163 (fn1): Use match function instead of strstr.
34164 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34165 (ret): Remove variable.
34167 (FAIL): Remove macro.
34168 (NO_INLINE): Likewise.
34169 (fn): Use match function instead of strstr.
34170 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34171 (ret): Remove variable.
34173 (FAIL): Remove macro.
34174 (NO_INLINE): Likewise.
34175 (handle_signal): Use match function instead of strstr.
34176 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34177 (ret): Remove variable.
34179 (FAIL): Remove macro.
34180 (NO_INLINE): Likewise.
34181 (handle_signal): Use match function instead of strstr.
34183 2013-01-23 Roland McGrath <roland@hack.frob.com>
34185 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34187 2013-01-23 David S. Miller <davem@davemloft.net>
34189 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34190 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34191 argument of CAS if possible.
34192 * sysdeps/sparc/sparc64/bits/atomic.h
34193 (__arch_compare_and_exchange_val_32_acq): Likewise.
34194 (__arch_compare_and_exchange_val_64_acq): Likewise.
34196 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34198 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34199 * sysdeps/posix/ulimit.c: ... this.
34200 Include <limits.h>.
34201 * sysdeps/unix/bsd/ulimit.c: Remove file.
34203 2013-01-23 Adam Conrad <adconrad@0c3.net>
34205 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34206 (LDFLAGS-tst-array5): Likewise.
34208 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34211 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34212 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34213 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34214 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34216 2013-01-21 David S. Miller <davem@davemloft.net>
34218 * sysdeps/sparc/backtrace.c: New file.
34219 * sysdeps/sparc/sparc32/backtrace.h: New file.
34220 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34221 * sysdeps/sparc/sparc64/backtrace.h: New file.
34222 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34223 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34226 2013-01-21 Andreas Schwab <schwab@suse.de>
34229 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34232 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34238 2013-01-18 Joseph Myers <joseph@codesourcery.com>
34239 Mark Mitchell <mark@codesourcery.com>
34240 Tom de Vries <tom@codesourcery.com>
34241 Paul Pluzhnikov <ppluzhnikov@google.com>
34243 * debug/tst-backtrace2.c: New file.
34244 * debug/tst-backtrace3.c: Likewise.
34245 * debug/tst-backtrace4.c: Likewise.
34246 * debug/tst-backtrace5.c: Likewise.
34247 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34248 (CFLAGS-tst-backtrace3.c): Likewise.
34249 (CFLAGS-tst-backtrace4.c): Likewise.
34250 (CFLAGS-tst-backtrace5.c): Likewise.
34251 (LDFLAGS-tst-backtrace2): Likewise.
34252 (LDFLAGS-tst-backtrace3): Likewise.
34253 (LDFLAGS-tst-backtrace4): Likewise.
34254 (LDFLAGS-tst-backtrace5): Likewise.
34255 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34256 tst-backtrace4 and tst-backtrace5.
34258 2013-01-18 Anton Blanchard <anton@samba.org>
34259 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34261 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34262 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34264 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34266 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34267 "+r" and remove output regs list as redundant. Add explicit inline
34268 asm to specify register of return val to work around compiler codegen
34269 bug. Remove (int) cast on return value. Add return type parameter to
34270 use in macro so that this macro does not truncate return value for
34272 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34273 pass to INTERNAL_VSYSCALL_NCS.
34274 (INLINE_VSYSCALL): Add 'long int' as return type to
34275 INTERNAL_VSYSCALL_NCS macro invocation.
34276 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34277 INTERNAL_VSYSCALL_NCS macro invocation.
34278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34280 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34283 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34284 Fix application of SIMD FP exception mask.
34286 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34287 mp_no from a power of two.
34288 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34289 __mpexp_twomm1. Use __pow_mp.
34291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34294 2013-01-17 David S. Miller <davem@davemloft.net>
34296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34298 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34301 * include/complex.h: Condition contents on [!_COMPLEX_H].
34302 (__kernel_casinhf): New prototype.
34303 (__kernel_casinh): Likewise.
34304 (__kernel_casinhl): Likewise.
34305 * math/Makefile (libm_calls): Add k_casinh.
34306 * math/k_casinh.c: New file.
34307 * math/k_casinhf.c: Likewise.
34308 * math/k_casinhl.c: Likewise.
34309 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34310 finite nonzero arguments.
34311 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34312 finite nonzero arguments.
34313 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34314 finite nonzero arguments.
34315 * math/s_casinh.c: Do not include <float.h>.
34316 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34317 * math/s_casinhf.c: Do not include <float.h>.
34318 (__casinhf): Move code for finite nonzero arguments to
34320 * math/s_casinhl.c: Do not include <float.h>.
34321 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34323 (__casinhl): Move code for finite nonzero arguments to
34325 * math/libm-test.inc (cacos_test): Add more tests.
34326 * sysdeps/i386/fpu/libm-test-ulps: Update.
34327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34329 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34331 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34332 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34333 [!HAVE_MREMAP]: Remove [defined linux] case.
34334 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34336 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34338 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34340 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34342 * elf/elf.h (R_386_SIZE32): New relocation.
34343 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34345 (elf_machine_rela): Likewise.
34346 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34347 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34349 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34351 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34352 (FP_FAST_FMA): Do not define.
34353 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34354 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34355 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34356 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34357 !_SOFT_FLOAT]: Likewise.
34358 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34359 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34361 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34362 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34363 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34364 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34365 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34366 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34369 2013-01-16 Andreas Schwab <schwab@suse.de>
34372 * include/stdlib.h (__mktemp): Add declaration.
34373 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34374 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34376 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34378 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34380 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34381 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34382 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34384 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34385 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34387 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34389 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34390 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34393 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34394 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34396 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34398 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34400 2013-01-15 David S. Miller <davem@davemloft.net>
34402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34403 trunc{,f} to libm-sysdep_routes.
34404 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34414 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34415 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34416 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34417 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34418 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34419 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34422 nearbyint{,f} to libm-sysdep_routes.
34423 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34434 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34436 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34437 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34439 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34440 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34441 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34444 libc_feholdexcept and libc_fesetenv.
34446 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34448 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34450 2013-01-14 David S. Miller <davem@davemloft.net>
34452 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34453 (SPARC_ASM_VIS2_IFUNC): Likewise.
34454 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34456 use of 'siam' instruction.
34457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34490 routines to libm-sysdep_routines.
34491 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34494 fdim/fdimf to libm-sysdep_routines.
34495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34503 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34504 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34505 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34506 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34508 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34510 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34511 to optimize copies.
34513 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34518 local variable MPTWO.
34519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34522 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34524 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34527 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34529 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34531 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34533 * manual/pattern.texi (glob_t): Document gl_flags.
34534 (glob64_t): Likewise.
34536 2013-01-11 David S. Miller <davem@davemloft.net>
34538 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34539 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34540 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34541 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34542 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34543 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34544 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34545 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34546 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34547 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34548 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34549 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34550 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34552 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34553 sparc V9 rather than using V8 code.
34554 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34555 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34557 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34559 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34562 2013-01-11 Roland McGrath <roland@hack.frob.com>
34564 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34565 not in the main loop.
34566 * configure: Regenerated.
34568 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34570 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34571 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34573 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34574 [!__GLIBC_HAVE_LONG_LONG] case.
34575 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34576 condition to just #else.
34577 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34578 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34579 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34580 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34582 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34583 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34584 #elif condition to just #else.
34585 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34586 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34587 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34588 #elif condition to just #else.
34590 2013-01-11 Steve Ellcey <sellcey@mips.com>
34592 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34593 (EF_MIPS_ARCH_64): Fix value.
34594 (EF_MIPS_ARCH_32R2): New.
34595 (EF_MIPS_ARCH_64R2): New.
34597 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34599 * Makeconfig (+link-pie-before-libc): New.
34600 (+link-pie-after-libc): Likewise.
34601 (+link-pie-tests): Likewise.
34602 (+link-pie): Rewritten.
34603 (link-before-libc): Remove $(config-LDFLAGS).
34604 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34605 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34606 (config-LDFLAGS): Renamed to ...
34607 (rtld-LDFLAGS): This.
34608 (rtld-tests-LDFLAGS): New macro.
34609 (link-libc-rpath-link): Likewise.
34610 (link-libc-tests-rpath-link): Likewise.
34611 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34612 (link-libc): Prepand $(link-libc-rpath-link).
34613 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34614 (test-program-prefix): New macro.
34615 (test-via-rtld-prefix): Likewise.
34616 (test-program-cmd): Likewise.
34617 (host-test-program-cmd): Likewise.
34618 * Makefile ($(common-objpfx)testrun.sh): Replace
34619 $(run-program-prefix) with $(test-program-prefix).
34620 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34622 ($(common-objpfx)shlib.lds): Likewise.
34623 (build-module-helper): Likewise.
34624 ($(common-objpfx)format.lds): Likewise.
34625 * Rules (binaries-pie-tests): New.
34626 (binaries-pie-notests): Likewise.
34627 (binaries-pie): Rewritten.
34628 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34629 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34630 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34631 (make-test-out): Replace $(host-built-program-cmd) with
34632 $(host-test-program-cmd).
34633 * config.make.in (build-hardcoded-path-in-tests): New variable.
34634 * configure.in (--enable-hardcoded-path-in-tests): New configure
34636 (hardcoded_path_in_tests): New AC_SUBST.
34637 * configure: Regenerated.
34638 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34639 $(built-program-cmd) with $(test-program-cmd).
34640 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34641 (test_program_cmd): This.
34642 * elf/Makefile ($(objpfx)order.out): Run test with
34643 $(test-program-prefix).
34644 ($(objpfx)order2.out): Likewise.
34645 ($(objpfx)tst-initorder.out): Likewise.
34646 ($(objpfx)tst-initorder2.out): Likewise.
34647 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34648 $(test-program-cmd).
34649 ($(objpfx)tst-array1-static.out): Likewise.
34650 ($(objpfx)tst-array2.out): Likewise.
34651 ($(objpfx)tst-array3.out): Likewise.
34652 ($(objpfx)tst-array4.out): Likewise.
34653 ($(objpfx)tst-array5.out): Likewise.
34654 ($(objpfx)tst-array5-static.out): Likewise.
34655 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34656 $(test-program-cmd).
34657 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34658 $(run-program-prefix) with $(test-program-prefix).
34659 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34660 (test_program_prefix): This.
34661 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34662 $(run-program-prefix) with $(test-program-prefix).
34663 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34664 (test_program_prefix): This.
34665 * iconvdata/tst-tables.sh: Likewise.
34666 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34667 $(run-program-prefix) with $(test-program-prefix).
34668 ($(objpfx)tst-translit.out): Likewise.
34669 ($(objpfx)tst-gettext2.out): Likewise.
34670 ($(objpfx)tst-gettext4.out): Likewise.
34671 ($(objpfx)tst-gettext6.out): Likewise.
34672 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34673 (test_program_prefix): This.
34674 * intl/tst-gettext2.sh: Likewise.
34675 * intl/tst-gettext4.sh Likewise.
34676 * intl/tst-gettext6.sh: Likewise.
34677 * intl/tst-translit.sh: Likewise.
34678 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34679 with $(test-program-cmd).
34680 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34681 $(run-program-prefix) with $(test-program-prefix).
34682 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34683 (test_program_prefix): This.
34684 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34685 $(run-program-prefix) with $(test-program-prefix).
34686 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34687 (test_program_prefix): This.
34688 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34689 * posix/Makefile ($(objpfx)globtest.out): Replace
34690 $(run-via-rtld-prefix) and $(test-wrapper) with
34691 $(test-program-prefix) and $(test-via-rtld-prefix).
34692 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34693 $(test-program-prefix).
34694 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34695 $(host-test-program-cmd).
34696 (tst-spawn-ARGS): Likewise.
34697 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34698 $(test-program-prefix).
34699 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34700 (test_via_rtld_prefix): This.
34701 (test_wrapper): Renamed to ...
34702 (test_program_prefix): This.
34703 (run_program_prefix): Replaced by test_program_prefix.
34704 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34705 (test_program_prefix): This.
34706 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34707 with $(host-test-program-cmd).
34708 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34709 $(run-program-prefix) with $(test-program-prefix).
34710 ($(objpfx)tst-printf.out): Likewise.
34711 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34712 $(test-program-cmd).
34713 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34714 (test_program_prefix): This.
34715 * stdio-common/tst-unbputc.sh: Likewise.
34716 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34717 $(run-program-prefix) with $(test-program-prefix).
34718 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34719 (test_program_prefix): This.
34720 * string/Makefile ($(objpfx)tst-svc.out): Replace
34721 $(built-program-cmd) with $(test-program-cmd).
34723 2013-01-11 Andreas Jaeger <aj@suse.de>
34726 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34727 value. Sync with Linux 3.7.
34729 2013-01-10 David S. Miller <davem@davemloft.net>
34731 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34732 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34733 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34735 2013-01-10 Roland McGrath <roland@hack.frob.com>
34737 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34739 * configure: Regenerated.
34741 2013-01-10 David S. Miller <davem@davemloft.net>
34743 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34744 sparc V9 rather than using V8 code.
34745 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34746 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34748 2013-01-10 Roland McGrath <roland@hack.frob.com>
34750 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34751 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34752 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34753 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34754 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34755 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34756 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34757 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34758 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34759 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34760 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34761 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34762 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34763 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34764 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34765 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34766 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34767 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34768 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34769 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34770 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34771 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34772 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34773 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34774 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34775 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34776 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34778 2013-01-10 David S. Miller <davem@davemloft.net>
34780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34782 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34784 * posix/Makefile (tests-static): New variable.
34785 (tests): Add $(tests-static).
34786 (tst-exec-static-ARGS): New variable.
34787 (tst-spawn-static-ARGS): Likewise.
34788 * posix/tst-exec-static.c: New file.
34789 * posix/tst-spawn-static.c: Likewise.
34790 * posix/tst-exec.c: Support run directly.
34791 * posix/tst-spawn.c: Likewise.
34793 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34795 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34797 * math/bits/mathcalls.h (llrint): Likewise.
34798 (llround): Likewise.
34799 * stdlib/stdlib.h (struct drand48_data): Likewise.
34800 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34801 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34802 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34804 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34806 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34807 (elf_greg_t): Likewise.
34808 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34809 (__jmp_buf): Likewise.
34810 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34812 (llrint): Likewise, for all definitions.
34813 (llrintl): Likewise.
34815 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34816 Remove [__GNUC__] condition.
34817 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34818 condition to just [__USE_ISOC99].
34819 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34821 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34824 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34825 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34827 (_POSIX_V6_ILP32_OFF32): Likewise.
34828 (_XBS5_ILP32_OFF32): Likewise.
34829 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34830 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34832 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34834 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34837 doubles __mpexp_twomm1. Adjust usage.
34838 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34841 2013-01-10 Andreas Schwab <schwab@suse.de>
34844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34845 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34847 2013-01-09 David S. Miller <davem@davemloft.net>
34850 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34851 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34852 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34853 (TCP_FASTOPEN): Define.
34854 (tcp_repair_opt): New structure.
34855 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34857 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34858 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34859 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34860 (tcp_cookie_transactions): New structure.
34862 2013-01-09 Anton Blanchard <anton@samba.org>
34864 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34865 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34866 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34867 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34869 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34871 * include/features.h (__USE_ANSI): Remove.
34873 2013-01-09 Roland McGrath <roland@hack.frob.com>
34875 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34877 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34879 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34881 * sysdeps/s390/fpu/libm-test-ulps: Update.
34883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34885 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34889 (denorm): Likewise.
34890 (__mp_dbl): Likewise.
34891 (__dbl_mp): Likewise.
34892 (add_magnitudes): Likewise.
34893 (sub_magnitudes): Likewise.
34899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34903 (denorm): Likewise.
34904 (__mp_dbl): Likewise.
34905 (__dbl_mp): Likewise.
34906 (add_magnitudes): Likewise.
34907 (sub_magnitudes): Likewise.
34913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34917 (denorm): Likewise.
34918 (__mp_dbl): Likewise.
34919 (__dbl_mp): Likewise.
34920 (add_magnitudes): Likewise.
34921 (sub_magnitudes): Likewise.
34928 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34930 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34931 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34932 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34933 2 && __USE_EXTERN_INLINES]: Likewise.
34935 2013-01-08 Andreas Jaeger <aj@suse.de>
34938 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34940 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34941 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34943 2013-01-07 Anton Blanchard <anton@samba.org>
34945 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34946 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34947 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34948 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34949 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34950 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34951 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34952 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34954 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34955 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34956 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34957 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34958 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34959 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34960 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34962 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34963 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34964 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34965 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34966 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34967 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34968 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34969 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34970 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34971 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34972 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34974 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34975 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34977 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34978 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34979 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34980 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34981 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34983 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34984 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34985 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34987 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34989 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34991 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34992 (__MALLOC_PMT): Likewise.
34993 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34994 [__GNUC__], only on [_LIBC].
34995 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34996 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34997 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34998 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34999 forward declaration.
35000 (realloc_hook_ini): Likewise.
35001 (memalign_hook_ini): Likewise.
35002 (__libc_memalign): Do not use __MALLOC_PMT in variable
35004 (__libc_valloc): Likewise.
35005 (__libc_pvalloc): Likewise.
35006 (__libc_calloc): Likewise.
35007 (__posix_memalign): Likewise.
35010 * math/s_casinh.c: Include <float.h>.
35011 (__casinh): Do not do computation with squaring and square root
35012 for large arguments.
35013 * math/s_casinhf.c: Include <float.h>.
35014 (__casinhf): Do not do computation with squaring and square root
35015 for large arguments.
35016 * math/s_casinhl.c: Include <float.h>.
35017 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35018 (__casinhl): Do not do computation with squaring and square root
35019 for large arguments.
35020 * math/libm-test.inc (casin_test): Add more tests.
35021 (casinh_test): Likewise.
35022 * sysdeps/i386/fpu/libm-test-ulps: Update.
35023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35025 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
35027 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35028 (__x86_64_raw_data_cache_size): Likewise.
35029 (__x86_64_data_cache_size_half): Likewise.
35030 (__x86_64_raw_data_cache_size_half): Likewise.
35031 (__x86_64_shared_cache_size): Likewise.
35032 (__x86_64_raw_shared_cache_size): Likewise.
35033 (__x86_64_shared_cache_size_half): Likewise.
35034 (__x86_64_raw_shared_cache_size_half): Likewise.
35035 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35037 (__x86_data_cache_size): This.
35038 (__x86_64_raw_data_cache_size): Renamed to ...
35039 (__x86_raw_data_cache_size): This.
35040 (__x86_64_data_cache_size_half): Renamed to ...
35041 (__x86_data_cache_size_half): This.
35042 (__x86_64_raw_data_cache_size_half): Renamed to ...
35043 (__x86_raw_data_cache_size_half): This.
35044 (__x86_64_shared_cache_size): Renamed to ...
35045 (__x86_shared_cache_size): This.
35046 (__x86_64_raw_shared_cache_size): Renamed to ...
35047 (__x86_raw_shared_cache_size): This.
35048 (__x86_64_shared_cache_size_half): Renamed to ...
35049 (__x86_shared_cache_size_half): This.
35050 (__x86_64_raw_shared_cache_size_half): Renamed to ...
35051 (__x86_raw_shared_cache_size_half): This.
35052 * sysdeps/x86_64/memcpy.S: Updated.
35053 * sysdeps/x86_64/memset.S: Likewise.
35054 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35055 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35058 2013-01-04 David S. Miller <davem@davemloft.net>
35060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35062 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
35064 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35065 1 to avoid redefinition warning.
35066 (__USE_GNU): Don't define.
35067 (init_signaling_nan): Protoize.
35069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35071 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35073 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35075 (__cpymn): Likewise.
35076 (norm): Remove commented code.
35077 (denorm): Likewise.
35078 (__mp_dbl): Likewise.
35080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35081 (__cpymn): Likewise.
35082 (norm): Remove commented code.
35083 (denorm): Likewise.
35084 (__mp_dbl): Likewise.
35087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35088 mp_no value for 1.0 and 2.0.
35089 (norm): Use RADIXI instead of radixi.d.
35090 (denorm): Likewise.
35091 (__mul): Use 0.0 instead of zero.d.
35092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35093 mp_no value for 1.0 and 2.0.
35094 (norm): Use RADIXI instead of radixi.d.
35095 (denorm): Likewise.
35096 (__mul): Use 0.0 instead of zero.d.
35098 2013-01-04 Joseph Myers <joseph@codesourcery.com>
35101 * math/s_casinh.c (__casinh): Reduce finite argument to first
35102 quadrant then set signs of results at the end.
35103 * math/s_casinhf.c (__casinhf): Likewise.
35104 * math/s_casinhl.c (__casinhl): Likewise.
35105 * math/libm-test.inc (casin_test): Add more tests.
35106 (casinh_test): Likewise.
35107 * sysdeps/i386/fpu/libm-test-ulps: Update.
35108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35110 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35112 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35114 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35116 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35118 (denorm): Likewise.
35119 (__mp_dbl): Likewise.
35122 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35123 and adjust the header comment.
35125 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35126 variable name from declaration.
35128 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
35130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35131 Initialize COMMON_CPUID_INDEX_7 element.
35132 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35133 (CPUID_RTM): Likewise.
35134 (HAS_RTM): Likewise.
35135 (COMMON_CPUID_INDEX_7): New enum.
35137 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
35140 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35141 size is zero, record memory as freed.
35143 2013-01-03 Andreas Jaeger <aj@suse.de>
35145 * po/ia.po: Add new Interlingua translation.
35147 2012-01-03 Allan McRae <allan@archlinux.org>
35149 * locale/programs/localedef.c: Fix description of '--posix' flag.
35151 2013-01-02 Joseph Myers <joseph@codesourcery.com>
35153 * NEWS: Update dates in second copyright notice.
35154 * README: Update copyright dates in example.
35155 * manual/libc.texinfo: Update copyright dates.
35156 * scripts/test-installation.pl: Update copyright date in --version
35159 * hurd/ctty-input.c: Fix copyright notice formatting.
35160 * hurd/ctty-output.c: Likewise.
35161 * hurd/dtable.c: Likewise.
35162 * hurd/hurd-raise.c: Likewise.
35163 * hurd/hurdprio.c: Likewise.
35164 * hurd/msgportdemux.c: Likewise.
35165 * misc/sys/file.h: Likewise.
35166 * misc/sys/ioctl.h: Likewise.
35167 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35168 * sysdeps/mach/hurd/chdir.c: Likewise.
35169 * sysdeps/mach/hurd/fchdir.c: Likewise.
35170 * sysdeps/mach/hurd/rename.c: Likewise.
35171 * sysdeps/mach/hurd/rmdir.c: Likewise.
35172 * sysdeps/mach/hurd/seekdir.c: Likewise.
35173 * sysdeps/mach/hurd/setsid.c: Likewise.
35174 * sysdeps/posix/wait3.c: Likewise.
35176 * All files with FSF copyright notices: Update copyright dates
35177 using scripts/update-copyrights.
35178 * intl/plural.c: Regenerated.
35179 * locale/programs/charmap-kw.h: Likewise.
35180 * locale/programs/locfile-kw.h: Likewise.
35182 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35184 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35188 calculation loop and add branch prediction.
35190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35191 check access beyond bounds of m1np.
35193 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35195 (__inv): Remove local variable MPTWO to use the global
35197 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35201 MP3HALFS static const.
35203 2013-01-01 David S. Miller <davem@davemloft.net>
35205 * po/ca.po: Update from translation team.
35207 2013-01-01 Joseph Myers <joseph@codesourcery.com>
35209 * scripts/update-copyrights: New file.
35210 * Makeconfig: Reformat copyright notice.
35211 * ctype/ctype.h: Likewise.
35212 * debug/swprintf_chk.c: Likewise.
35213 * elf/dl-cache.c: Likewise.
35214 * elf/dl-debug.c: Likewise.
35215 * elf/dl-object.c: Likewise.
35216 * grp/initgroups.c: Likewise.
35217 * hurd/Makefile: Likewise.
35218 * hurd/hurd/signal.h: Likewise.
35219 * hurd/hurdfault.c: Likewise.
35220 * hurd/hurdioctl.c: Likewise.
35221 * hurd/hurdlookup.c: Likewise.
35222 * hurd/intr-msg.c: Likewise.
35223 * iconv/gconv_open.c: Likewise.
35224 * libio/swprintf.c: Likewise.
35225 * locale/lc-ctype.c: Likewise.
35226 * locale/nl_langinfo.c: Likewise.
35227 * mach/Machrules: Likewise.
35228 * mach/Makefile: Likewise.
35229 * malloc/obstack.h: Likewise.
35230 * manual/Makefile: Likewise.
35231 * manual/tsort.awk: Likewise.
35232 * misc/bits/stab.def: Likewise.
35233 * nis/nis_print_group_entry.c: Likewise.
35234 * nis/nis_table.c: Likewise.
35235 * nis/nss_compat/compat-pwd.c: Likewise.
35236 * nis/nss_compat/compat-spwd.c: Likewise.
35237 * po/Makefile: Likewise.
35238 * posix/fnmatch.c: Likewise.
35239 * posix/regex.h: Likewise.
35240 * resolv/Makefile: Likewise.
35241 * resolv/nss_dns/dns-network.c: Likewise.
35242 * resolv/res_hconf.c: Likewise.
35243 * scripts/gen-sorted.awk: Likewise.
35244 * soft-fp/soft-fp.h: Likewise.
35245 * stdio-common/printf.h: Likewise.
35246 * stdlib/monetary.h: Likewise.
35247 * stdlib/random.c: Likewise.
35248 * stdlib/random_r.c: Likewise.
35249 * sysdeps/generic/Makefile: Likewise.
35250 * sysdeps/gnu/Makefile: Likewise.
35251 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35252 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35253 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35254 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35258 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35259 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35261 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35262 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35263 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35264 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35265 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35266 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35271 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35272 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35273 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35274 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35275 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35277 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35278 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35279 * sysdeps/mach/hurd/errnos.awk: Likewise.
35280 * sysdeps/mach/hurd/fork.c: Likewise.
35281 * sysdeps/mach/hurd/getcwd.c: Likewise.
35282 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35283 * sysdeps/mach/hurd/mmap.c: Likewise.
35284 * sysdeps/mach/hurd/utimes.c: Likewise.
35285 * sysdeps/mach/hurd/xmknod.c: Likewise.
35286 * sysdeps/posix/profil.c: Likewise.
35287 * sysdeps/posix/readdir_r.c: Likewise.
35288 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35289 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35290 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35291 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35293 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35294 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35295 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35297 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35298 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35299 * sysdeps/pthread/lio_listio.c: Likewise.
35300 * sysdeps/sparc/dl-procinfo.h: Likewise.
35301 * sysdeps/unix/i386/sysdep.S: Likewise.
35302 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35303 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35304 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35305 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35307 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35308 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35309 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35310 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35311 * sysdeps/wordsize-32/divdi3.c: Likewise.
35312 * time/sys/time.h: Likewise.
35313 * wcsmbs/Makefile: Likewise.
35315 2013-01-01 David S. Miller <davem@davemloft.net>
35317 * po/fr.po: Update from translation team.
35319 * catgets/gencat.c: Update copyright year.
35320 * csu/version.c: Likewise.
35321 * debug/catchsegv.sh: Likewise.
35322 * debug/pcprofiledump.c: Likewise.
35323 * debug/xtrace.sh: Likewise.
35324 * elf/ldconfig.c: Likewise.
35325 * elf/ldd.bash.in: Likewise.
35326 * elf/pldd.c: Likewise.
35327 * elf/sotruss.ksh: Likewise.
35328 * elf/sprof.c: Likewise.
35329 * iconv/iconv_prog.c: Likewise.
35330 * iconv/iconvconfig.c: Likewise.
35331 * locale/programs/locale.c: Likewise.
35332 * locale/programs/localedef.c: Likewise.
35333 * login/programs/pt_chown.c: Likewise.
35334 * malloc/memusage.sh: Likewise.
35335 * malloc/memusagestat.c: Likewise.
35336 * malloc/mtrace.pl: Likewise.
35337 * nscd/nscd.c: Likewise.
35338 * nss/getent.c: Likewise.
35339 * nss/makedb.c: Likewise.
35340 * posix/getconf.c: Likewise.
35342 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35344 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35347 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35349 * math/bits/mathcalls.h (modf): Use __nonnull.
35351 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35353 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35354 (split): Use macro CN instead of the bare value.
35355 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35358 instead of the bare value.
35359 (power1): Likewise.
35361 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35363 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35365 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35367 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35369 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35370 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35371 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35372 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35374 2012-12-28 Andreas Jaeger <aj@suse.de>
35376 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35377 values are from Linux 3.7.
35379 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35380 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35382 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35384 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35387 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35389 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35390 variables with preprocessor constants.
35391 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35392 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35395 2012-12-27 Bruno Haible <bruno@clisp.org>
35398 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35401 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35403 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35404 and use variable directly.
35405 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35407 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35409 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35410 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35412 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35414 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35415 include directive. Remove local variable MPONE.
35416 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35417 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35418 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35420 2012-12-25 David S. Miller <davem@davemloft.net>
35422 * version.h (RELEASE): Set to "development".
35423 (VERSION): Set to "2.17.90".
35424 * NEWS: Add 2.18 section.
35426 2012-12-21 David S. Miller <davem@davemloft.net>
35428 * po/hr.po: Update from translation team.
35430 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35432 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35434 2012-12-19 Steve Ellcey <sellcey@mips.com>
35436 * NEWS: Mention new memcpy for MIPS.
35438 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35440 * manual/contrib.texi (Contributors): Spelling correction.
35442 2012-12-15 David S. Miller <davem@davemloft.net>
35444 * po/ru.po: Update from translation team.
35446 2012-12-13 David S. Miller <davem@davemloft.net>
35448 * NEWS: Mention IFUNC testsuite enhancements.
35450 * po/pl.po: Update from translation team.
35451 * po/bg.po: Likewise.
35453 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35454 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35456 2012-12-11 David S. Miller <davem@davemloft.net>
35458 * po/sv.po: Update from translation team.
35460 * po/vi.po: Update from translation team.
35462 * po/cs.po: Update from translation team.
35464 * po/de.po: Update from translation team.
35465 * po/eo.po: Likewise.
35466 * po/nl.po: Likewise.
35468 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35471 * manual/argp.texi (Argp Helper Functions): Move node to follow
35472 Argp Parsing State.
35475 * manual/conf.texi (Limits on File System Capacity): Mention if
35476 terminating null is included in the max size.
35478 2012-12-10 Andreas Jaeger <aj@suse.de>
35480 * po/cs.po: Update from translation team.
35482 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35484 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35485 void pointer and cast to uintptr_t.
35486 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35488 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35489 * sysdeps/s390/s390-64/memset.S: Likewise.
35491 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35494 * menual/message.texi (Message Translation): Fix typos.
35495 (Helper programs for gettext): Likewise.
35497 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35500 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35503 2012-12-07 David S. Miller <davem@davemloft.net>
35505 * po/libc.pot: Update.
35507 2012-12-07 Richard Henderson <rth@redhat.com>
35510 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35511 normal/normal case to before the switch.
35512 (_FP_DIV): Likewise.
35514 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35515 Mike Frysinger <vapier@gentoo.org>
35517 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35518 check for __NR_fadvise64_64.
35520 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35522 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35523 0, not just to plain "0" as a statement.
35524 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35527 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35529 * NEWS: Use sourceware.org in Bugzilla URL.
35531 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35534 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35536 * stdio-common/tst-put-error.c (do_test): Add newline to the
35537 padded test to ensure flush.
35539 2012-12-05 Jeff Law <law@redhat.com>
35541 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35543 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35545 * README: Don't refer to ports add-on as distributed separately.
35546 Mention AArch64 in list of systems supported in the ports add-on.
35548 * LICENSES: Add more non-FSF copyright and license notices.
35550 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35553 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35555 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35556 10000 as width of padded output.
35558 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35560 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35563 variable LX with __attribute__ ((unused)).
35564 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35566 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35569 with __attribute__ ((unused)).
35571 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35573 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35575 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35577 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35578 (CFLAGS-nldbl-acos.c): New variable.
35579 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35580 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35581 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35582 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35583 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35584 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35585 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35586 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35587 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35588 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35589 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35590 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35591 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35592 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35593 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35594 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35595 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35596 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35597 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35598 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35599 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35600 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35601 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35602 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35603 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35604 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35605 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35606 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35607 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35608 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35609 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35610 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35611 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35612 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35613 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35614 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35615 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35616 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35617 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35618 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35619 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35620 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35621 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35622 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35623 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35624 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35625 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35626 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35627 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35628 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35629 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35630 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35631 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35632 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35633 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35634 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35635 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35636 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35637 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35638 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35639 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35640 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35641 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35642 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35643 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35644 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35645 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35646 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35647 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35648 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35649 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35650 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35651 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35652 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35653 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35654 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35655 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35656 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35657 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35658 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35659 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35660 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35661 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35662 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35663 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35664 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35665 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35666 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35667 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35668 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35669 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35670 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35671 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35672 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35673 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35674 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35675 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35678 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35682 whole low double instead of just low 47 bits when splitting values
35685 2012-12-03 Allan McRae <allan@archlinux.org>
35687 * manual/stdio.texi (Predefined Printf Handlers): Remove
35688 @hsep and @vsep usage.
35690 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35692 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35693 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35695 2012-12-03 Jeff Law <law@redhat.com>
35697 * time/sys/time.h (settimeofday): Do not mark TV argument
35700 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35702 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35703 when currently writing and seek to current position when not.
35704 * libio/Makefile (tests): Remove bug-fclose1.
35705 * libio/bug-fclose1.c: Delete.
35707 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35709 * manual/arith.texi (feenableexcept): Fix typo.
35710 (fedisableexcept): Likewise.
35712 2012-11-30 Roland McGrath <roland@hack.frob.com>
35714 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35715 second, differently-typed declaration, rather than a cast.
35717 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35719 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35720 * include/rpc/svc.h: ... here.
35722 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35725 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35726 depending n and resplen2 to catch cases where answer
35729 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35731 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35732 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35734 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35738 2012-11-29 Roland McGrath <roland@hack.frob.com>
35740 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35742 2012-11-28 Jeff Law <law@redhat.com>
35745 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35746 dataset_temporary. Track alloca usage into alloca_used.
35747 If dataset is large allocate and release it via malloc/free.
35749 2012-06-04 Florian Weimer <fweimer@redhat.com>
35752 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35754 2012-11-28 David S. Miller <davem@davemloft.net>
35756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35758 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35761 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35762 of pi/2 rounded to nearest to 64 bits.
35763 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35764 nearest to 64 bits.
35765 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35768 2012-11-28 Jeff Law <law@redhat.com>
35769 Martin Osvald <mosvald@redhat.com>
35772 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35773 * sunrpc/svc.c: Include time.h.
35774 (__svc_accept_failed): New function.
35775 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35776 any reason other than EINTR, call __svc_accept_failed.
35777 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35778 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35780 2012-11-28 Andreas Schwab <schwab@suse.de>
35782 * scripts/abilist.awk: Also handle indirect functions in .opd
35785 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35788 * sysdeps/x86/fpu/powl_helper.c: New file.
35789 * sysdeps/x86/fpu/Makefile: Likewise.
35790 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35792 (__ieee754_powl): Use __powl_helper for finite arguments except
35793 integer exponents below 8.
35794 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35796 (__ieee754_powl): Use __powl_helper for finite arguments except
35797 integer exponents below 8.
35798 * math/libm-test.inc (pow_test): Add more tests and enable some
35799 previously disabled tests.
35800 * sysdeps/i386/fpu/libm-test-ulps: Update.
35801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35803 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35804 Carlos O'Donell <carlos_odonell@mentor.com>
35806 * nss/makedb.c (is_prime): Assert that input is odd and greater
35807 than 4. Note that fact in a comment too.
35808 (next_prime): Add 4 to input.
35810 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35813 * libio/Makefile (tests): Add test case tst-fwrite-error.
35814 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35815 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35816 * libio/tst-fwrite-error.c: New test case.
35818 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35820 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35821 before casting to void *.
35822 * include/libc-internal.h (__pointer_type): New macro.
35823 (__integer_if_pointer_type_sub): Likewise.
35824 (__integer_if_pointer_type): Likewise.
35825 (cast_to_integer): Likewise.
35826 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35827 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35828 before casting to atomic64_t.
35829 (atomic_exchange_acq): Likewise.
35830 (__arch_exchange_and_add_body): Likewise.
35831 (__arch_add_body): Likewise.
35832 (atomic_add_negative): Likewise.
35833 (atomic_add_zero): Likewise.
35835 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35837 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35838 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35839 (add_fdes): Likewise.
35840 (linear_search_fdes): Likewise.
35841 (binary_search_unencoded_fdes): Likewise.
35843 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35845 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35847 2012-11-24 Adam Conrad <adconrad@0c3.net>
35849 * configure.in: Autodetect C++ header directories.
35850 * configure: Regenerated.
35852 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35854 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35856 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35860 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35862 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35863 LDBL_MANT_DIG == 106]: Disable some tests.
35864 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35866 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35871 input for small inputs. Return +/- pi/2 for large inputs.
35872 * math/libm-test.inc (atan_test): Add more tests.
35874 * sysdeps/generic/unwind-dw2-fde-glibc.c
35875 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35876 __attribute__ ((unused)).
35879 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35880 x * y if x and y are nonzero and z is zero.
35883 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35884 nonzero exponents with absolute value below 0x1p-117 to +/-
35888 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35889 up arguments below 2**-450, not just those below 2**-500.
35890 * math/libm-test.inc (hypot_test): Add another test.
35893 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35894 Return a+b for ratio over 2**120, not 2**60.
35895 * math/libm-test.inc (hypot_test): Add another test.
35897 * math/libm-test.inc (clog_test): Use
35898 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35899 (clog10_test): Likewise.
35902 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35904 2012-11-22 Andreas Schwab <schwab@suse.de>
35906 * sysdeps/i386/fpu/libm-test-ulps: Update.
35908 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35910 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35911 printf output with newline.
35913 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35916 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35917 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35918 -z nodlopen, -z initfirst and -z execstack support.
35919 * configure: Regenerated.
35921 * elf/elf.h (DF_1_NODIRECT): New macro.
35922 (DF_1_IGNMULDEF): Likewise.
35923 (DF_1_NOKSYMS): Likewise.
35924 (DF_1_NOHDR): Likewise.
35925 (DF_1_EDITED): Likewise.
35926 (DF_1_NORELOC): Likewise.
35927 (DF_1_SYMINTPOSE): Likewise.
35928 (DF_1_GLOBAUDIT): Likewise.
35929 (DF_1_SINGLETON): Likewise.
35930 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35931 DT_1_SUPPORTED_MASK bits.
35932 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35934 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35936 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35938 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35940 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35943 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35944 (sendmmsg): Move declarations...
35945 * socket/sys/socket.h: ... here.
35946 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35947 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35949 * socket/recvmmsg.c: ... this new file.
35950 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35951 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35952 definition of __sendmmsg hidden.
35953 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35954 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35955 Move ENOSYS stub into and include it from...
35956 * socket/sendmmsg.c: ... this new file.
35957 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35958 (sysdep_routines): Move recvmmsg and sendmmsg...
35959 * socket/Makefile (routines): ... here.
35960 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35961 (GLIBC_PRIVATE): Add __sendmmsg.
35962 * include/sys/socket.h (__sendmmsg): Add declarations.
35963 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35966 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35968 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35969 variable I1 with __attribute__ ((unused)).
35970 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35972 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35974 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35975 DUMMY variables with __attribute__ ((unused)).
35977 * bits/byteswap.h: Include <bits/types.h>.
35978 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35980 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35982 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35983 string_t. Do not manually set errno.
35984 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35985 length with __strnlen. Make sure to both set errno and return it on
35988 2012-11-19 David S. Miller <davem@davemloft.net>
35990 With help from Joseph Myers.
35991 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35992 very large arguments properly.
35993 * math/libm-test.inc (atan_test): New tests.
35994 (atan2_test): New tests.
35995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35998 2012-11-19 Joseph Myers <joseph@codesourcery.com>
36001 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36004 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36005 [POSIX] (EADDRNOTAVAIL): Likewise.
36006 [POSIX] (EAFNOSUPPORT): Likewise.
36007 [POSIX] (EALREADY): Likewise.
36008 [POSIX] (ECONNABORTED): Likewise.
36009 [POSIX] (ECONNREFUSED): Likewise.
36010 [POSIX] (ECONNRESET): Likewise.
36011 [POSIX] (EDESTADDRREQ): Likewise.
36012 [POSIX] (EDQUOT): Likewise.
36013 [POSIX] (EHOSTUNREACH): Likewise.
36014 [POSIX] (EIDRM): Likewise.
36015 [POSIX] (EISCONN): Likewise.
36016 [POSIX] (ELOOP): Likewise.
36017 [POSIX] (EMULTIHOP): Likewise.
36018 [POSIX] (ENETDOWN): Likewise.
36019 [POSIX] (ENETUNREACH): Likewise.
36020 [POSIX] (ENOBUFS): Likewise.
36021 [POSIX] (ENODATA): Likewise.
36022 [POSIX] (ENOLINK): Likewise.
36023 [POSIX] (ENOMSG): Likewise.
36024 [POSIX] (ENOPROTOOPT): Likewise.
36025 [POSIX] (ENOSR): Likewise.
36026 [POSIX] (ENOSTR): Likewise.
36027 [POSIX] (ENOTCONN): Likewise.
36028 [POSIX] (ENOTSOCK): Likewise.
36029 [POSIX] (EOPNOTSUPP): Likewise.
36030 [POSIX] (EOVERFLOW): Likewise.
36031 [POSIX] (EPROTO): Likewise.
36032 [POSIX] (EPROTONOSUPPORT): Likewise.
36033 [POSIX] (EPROTOTYPE): Likewise.
36034 [POSIX] (ESTALE): Likewise.
36035 [POSIX] (ETIME): Likewise.
36036 [POSIX] (ETXTBSY): Likewise.
36037 [POSIX] (EWOULDBLOCK): Likewise.
36038 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36039 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36040 [POSIX] (SEEK_CUR): Likewise.
36041 [POSIX] (SEEK_END): Likewise.
36042 [POSIX || UNIX98] (mode_t): Do not require.
36043 [POSIX] (off_t): Likewise.
36044 [POSIX] (pid_t): Likewise.
36045 [POSIX] (sys/stat.h): Do not allow header.
36046 [POSIX] (unistd.h): Likewise.
36047 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36048 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36049 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36050 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36052 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36053 sigevent): Specify elements.
36054 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36056 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36057 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36059 * conform/data/cpio.h-data [POSIX]: Disable whole file.
36060 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36061 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36062 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36063 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36064 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36065 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36066 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36067 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36068 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36069 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36070 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36071 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36072 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36074 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36076 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36078 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36080 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36081 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36082 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36083 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36084 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36085 Specify lower bound on value.
36086 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36087 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36088 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36089 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36090 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36091 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36092 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36093 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36095 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36097 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36098 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36099 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36100 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36101 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36102 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36103 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36104 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36105 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36106 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36107 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36108 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36109 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36110 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36111 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36112 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36114 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36116 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36117 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36118 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36119 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36120 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36121 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36123 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36124 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36125 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36126 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36127 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
36128 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36129 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36131 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36132 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36133 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36134 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36135 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36136 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36137 specify as optional.
36138 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36139 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36140 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36141 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36142 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36143 [XPG3] (NL_LANGMAX): Likewise.
36144 [POSIX || XPG3] (NL_MSGMAX): Likewise.
36145 [POSIX || XPG3] (NL_NMAX): Likewise.
36146 [POSIX || XPG3] (NL_SETMAX): Likewise.
36147 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36148 [XPG3] (NZERO): Likewise.
36149 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36150 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36151 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36152 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36153 (REG_ERANGE): Expect.
36154 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36156 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36157 Use (void) in prototype.
36158 [POSIX] (*_t): Allow.
36159 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36160 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36161 (WRDE_BADVAL): Expect.
36163 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36165 [XPG3 || XPG4] (O_RSYNC): Likewise.
36166 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36168 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36169 [XPG3 || XPG4] (sigqueue): Likewise.
36170 [XPG3 || XPG4] (sigtimedwait): Likewise.
36171 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36172 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36173 [XPG3 || XPG4] (vsnprintf): Likewise.
36174 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36176 [XPG3 || XPG4] (blksize_t): Likewise.
36177 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36179 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36180 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36181 [XPG3 || XPG4] (struct itimerspec): Likewise.
36182 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36183 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36184 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36185 [XPG3 || XPG4] (clockid_t): Likewise.
36186 [XPG3 || XPG4] (timer_t): Likewise.
36187 [XPG3 || XPG4] (clock_getres): Likewise.
36188 [XPG3 || XPG4] (clock_gettime): Likewise.
36189 [XPG3 || XPG4] (clock_settime): Likewise.
36190 [XPG3 || XPG4] (nanosleep): Likewise.
36191 [XPG3 || XPG4] (timer_create): Likewise.
36192 [XPG3 || XPG4] (timer_delete): Likewise.
36193 [XPG3 || XPG4] (timer_gettime): Likewise.
36194 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36195 [XPG3 || XPG4] (timer_settime): Likewise.
36196 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36197 [XPG3 || XPG4] (getlogin_r): Likewise.
36198 [XPG3 || XPG4] (pread): Likewise.
36199 [XPG3 || XPG4] (pthread_atfork): Likewise.
36200 [XPG3 || XPG4] (pwrite): Likewise.
36203 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36206 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36208 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36209 finalizing MALLSTREAM.
36211 * sysdeps/mach/hurd/syncfs.c: New file.
36213 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36216 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36217 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36218 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36219 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36220 (_nss_dns_gethostbyname4_r): Likewise.
36221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36222 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36224 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36227 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36229 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36231 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36232 * elf/cache.c (print_entry): Print ",AArch64" for
36235 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36236 * elf/cache.c (print_entry): Print ",hard-float" for
36239 2012-11-18 David S. Miller <davem@davemloft.net>
36241 With help from Joseph Myers.
36242 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36244 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36246 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36247 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36249 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36250 * math/libm-test.inc (y0_test): New tests.
36251 (y1_test): New tests.
36252 * sysdeps/i386/fpu/libm-test-ulps: Update.
36253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36256 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36258 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36260 * configure: Regenerated.
36262 2012-11-17 David S. Miller <davem@davemloft.net>
36265 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36266 nonzero exponents with absolute value below 0x1p-128 to +/-
36269 2012-11-17 Joseph Myers <joseph@codesourcery.com>
36271 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36273 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36275 * posix/getconf-speclist.c: New file.
36276 * posix/posix-envs.def: Likewise.
36277 * posix/confstr.c (START_ENV_GROUP): New macro.
36278 (END_ENV_GROUP): Likewise.
36279 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36280 (KNOWN_PRESENT_ENV_STRING): Likewise.
36281 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36282 (UNKNOWN_ENVIRONMENT): Likewise.
36283 (confstr): Include posix-envs.def instead of handling
36284 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36285 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36286 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36287 (END_ENV_GROUP): Likewise.
36288 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36289 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36290 (UNKNOWN_ENVIRONMENT): Likewise.
36291 (__sysconf): Include posix-envs.def instead of handling associated
36292 cases directly here.
36293 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36294 preprocessing getconf-speclist.c rather than running getconf or
36295 generating empty file.
36297 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36299 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36301 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36304 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36306 2012-11-16 David S. Miller <davem@davemloft.net>
36308 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36309 smaller than LDBL_EPSILON/2.0L, just return xm1.
36311 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36313 * elf/tst-array1.c (init): Set constructor priority to 1000.
36314 (fini): Set destructor priority to 1000.
36315 * elf/tst-array2dep.c: Likewise.
36317 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36320 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36321 (_IO_new_file_xsputn): Also return EOF if none of the input
36322 data was written when overflow failed.
36323 * libio/iopadn.c (_IO_padn): Likewise.
36324 * libio/iowpadn.c (_IO_wpadn): Likewise.
36325 * stdio-common/tst-put-error.c: Add copyright notice.
36326 (do_test): Add case for printing padded string.
36327 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36328 _IO_padn returned error.
36329 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36330 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36333 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36335 * libio/libioP.h: Add comment note that the references to C++
36336 bits are now obsolete.
36338 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36340 * math/libm-test.inc (check_complex): Use asprintf.
36342 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36344 * debug/pcprofiledump.c (print_version): Update copyright year.
36345 * malloc/memusagestat.c (print_version): Likewise.
36347 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36350 * elf/Makefile (tests): Add tst-audit8.
36351 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36352 ($(objpfx)tst-audit8.out): New target.
36353 (tst-audit8-ENV): New variable.
36354 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36355 audit if l_reloc_result is NULL.
36356 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36357 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36358 * elf/tst-audit8.c: New file.
36360 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36362 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36363 * misc/Makefile (CFLAGS-select.c): Define.
36364 * posix/Makefile (CFLAGS-pause.c): Define.
36366 2012-11-13 David S. Miller <davem@davemloft.net>
36368 * crypt/Makefile: Move test targets after toplevel Rules
36369 inclusion. Grab any necessary sysdep routines when linking.
36370 * crypt/md5.c (md5_process_block): Remove define, we will always
36371 name it __md5_process_block.
36372 (md5_finish_ctx): Update md5_process_block call.
36373 (md5_stream): Likewise.
36374 (md5_process_bytes): Likewise.
36375 (md5_process_block): Rename to __md5_process_block and move to ...
36376 * crypt/md5-block.c: ... here.
36377 * crypt/sha256.c (sha256_process_block): Move to ...
36378 * crypt/sha256-block.c: ... here.
36379 * crypt/sha512.c (sha512_process_block): Move to ...
36380 * crypt/sha512-block.c: ... here.
36381 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36383 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36384 * sysdeps/sparc/sparc64/multiarch/Makefile
36385 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36387 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36388 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36390 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36391 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36392 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36393 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36394 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36395 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36396 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36397 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36398 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36400 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36401 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36403 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36405 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36407 * timezone/tzselect.ksh: Update from tzcode git revision
36408 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36409 * timezone/zdump.c: Likewise.
36410 * timezone/zic.c: Likewise.
36411 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36412 in TZVERSION setting, not $(PKGVERSION).
36413 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36414 REPORT_BUGS_TO settings.
36417 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36420 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36422 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36423 detection to immediately after _FP_ROUND().
36424 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36427 2012-11-11 David S. Miller <davem@davemloft.net>
36429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36431 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36432 __close rather than their public counterparts.
36434 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36436 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36438 [UNIX98] (sem_timedwait): Do not expect.
36439 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36440 [XPG4 || UNIX98] (sockatmark): Do not expect.
36441 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36442 (clock_getcpuclockid): Do not expect.
36443 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36444 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36446 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36447 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36448 [UNIX98] (vwscanf): Likewise.
36449 [UNIX98] (vswscanf): Likewise.
36451 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36453 * timezone/version.h: Remove file.
36454 * timezone/README: Do not refer to version.h.
36455 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36456 $(objpfx)version.h.
36457 ($(objpfx)zdump.o): Likewise.
36458 ($(objpfx)version.h): New target.
36460 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36462 * timezone/README: Don't mention modification to tzselect.ksh.
36463 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36464 work on unmodified tzselect.ksh. Substitute version numbers in
36467 * Makefile (format-me): Remove.
36468 (INSTALL): Adjust indentation. Use commands directly instead of
36469 using $(format-me).
36471 * aclocal.m4 (ACX_PKGVERSION): New macro.
36472 (ACX_BUGURL): Likewise.
36473 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36474 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36475 (REPORT_BUGS_TO): Likewise.
36476 * configure: Regenerated.
36477 * config.h.in (PKGVERSION): New macro.
36478 (REPORT_BUGS_TO): Likewise.
36479 * config.make.in (PKGVERSION): New variable.
36480 (PKGVERSION_TEXI): Likewise.
36481 (REPORT_BUGS_TO): Likewise.
36482 (REPORT_BUGS_TEXI): Likewise.
36483 * Makefile (format-me): Use -I$(common-objpfx)manual.
36484 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36485 ($(common-objpfx)manual/%): New target.
36486 (manual/%): Remove target.
36487 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36488 (print_version): Use PKGVERSION.
36489 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36490 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36491 and REPORT_BUGS_TO.
36492 ($(objpfx)xtrace): Likewise.
36493 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36494 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36495 (print_version): Use PKGVERSION.
36496 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36497 (do_version): Use PKGVERSION.
36498 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36500 (common-ldd-rewrite): Likewise.
36501 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36502 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36503 (print_version): Use PKGVERSION.
36504 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36505 * elf/pldd.c (argp_program_bug_address): Remove variable.
36506 (more_help): New function.
36507 (argp): Use more_help.
36508 (print_version): Use PKGVERSION.
36509 * elf/sln.c (main): Use PKGVERSION.
36510 (usage): Use REPORT_BUGS_TO.
36511 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36512 (top level): Use PKGVERSION.
36513 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36514 (print_version): Use PKGVERSION.
36515 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36516 (print_version): Use PKGVERSION.
36517 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36518 (print_version): Use PKGVERSION.
36519 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36520 (print_version): Use PKGVERSION.
36521 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36522 (print_version): Use PKGVERSION.
36523 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36524 (print_version): Use PKGVERSION.
36525 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36527 ($(objpfx)memusage): Likewise.
36528 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36529 (do_version): Use PKGVERSION.
36530 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36531 (print_version): Use PKGVERSION.
36532 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36533 ($PKGVERSION): New variable.
36534 ($REPORT_BUGS_TO): Likewise.
36535 (usage): Use $REPORT_BUGS_TO.
36536 (top level): Use $PKGVERSION.
36537 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36538 ($(objpfx)pkgvers.texi): New rule.
36539 ($(objpfx)stamp-pkgvers): Likewise.
36540 * manual/install.texi: Include pkgvers.texi.
36541 (--with-pkgversion): Document new configure option.
36542 (--with-bugurl): Likewise.
36543 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36544 than necessarily for this particular distribution. Use
36545 REPORT_BUGS_TO for where to report bugs.
36546 * INSTALL: Regenerated.
36547 * manual/libc.texinfo: Include pkgvers.texi.
36548 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36549 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36550 (print_version): Use PKGVERSION.
36551 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36552 (print_version): Use PKGVERSION.
36553 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36554 (print_version): Use PKGVERSION.
36555 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36556 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36558 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36559 (print_version): Use PKGVERSION.
36560 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36561 (print_version): Use PKGVERSION.
36562 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36565 * timezone/checktab.awk: Update from tzcode 2012i.
36566 * timezone/ialloc.c: Likewise.
36567 * timezone/private.h: Likewise.
36568 * timezone/scheck.c: Likewise.
36569 * timezone/tzfile.h: Likewise.
36570 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36571 (TZVERSION): Hardcode tzcode version number.
36572 * timezone/zdump.c: Update from tzcode 2012i.
36573 * timezone/zic.c: Likewise.
36574 * timezone/version.h: New file.
36575 * timezone/README: Describe version.h. Update upstream location.
36578 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36579 (mktemp): Enable declaration.
36580 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36582 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36585 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36597 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36598 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36599 for copies of such integer values.
36600 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36601 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36603 2012-11-09 Andreas Jaeger <aj@suse.de>
36605 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36606 definitions and declarations that are provided by
36607 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36609 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36611 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36612 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36613 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36616 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36618 * elf/elf.h: Update comment before AArch64 relocations.
36620 2012-11-07 David S. Miller <davem@davemloft.net>
36622 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36623 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36624 (__start_context): Declare.
36625 (__makecontext_ret): Delete.
36626 (__makecontext): Hook up __start_context instead of
36628 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36629 (sysdep_routines): Add __start_context when in stdlib.
36631 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36633 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36634 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36635 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36637 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36638 (READELF): New variable. Use it instead of hardcoded "readelf".
36640 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36642 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36643 * sysdeps/x86/Makefile: Here.
36644 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36645 * sysdeps/x86/tst-xmmymm.sh: This.
36647 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36649 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36651 [UNIX98] (pthread_barrier_t): Do not expect.
36652 [UNIX98] (pthread_barrierattr_t): Likewise.
36653 [UNIX98] (pthread_spinlock_t): Likewise.
36654 [UNIX98] (pthread_barrier_destroy): Likewise.
36655 [UNIX98] (pthread_barrier_init): Likewise.
36656 [UNIX98] (pthread_barrier_wait): Likewise.
36657 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36658 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36659 [UNIX98] (pthread_barrierattr_init): Likewise.
36660 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36661 [UNIX98] (pthread_getcpuclockid): Likewise.
36662 [UNIX98] (pthread_mutex_timedlock): Likewise.
36663 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36664 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36665 [UNIX98] (pthread_sigmask): Likewise.
36666 [UNIX98] (pthread_spin_destroy): Likewise.
36667 [UNIX98] (pthread_spin_init): Likewise.
36668 [UNIX98] (pthread_spin_lock): Likewise.
36669 [UNIX98] (pthread_spin_trylock): Likewise.
36670 [UNIX98] (pthread_spin_unlock): Likewise.
36671 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36673 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36674 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36675 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36676 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36677 [XPG3 || XPG4] (pthread_key_t): Likewise.
36678 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36679 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36680 [XPG3 || XPG4] (pthread_once_t): Likewise.
36681 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36682 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36683 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36684 [XPG3 || XPG4] (pthread_t): Likewise.
36686 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36688 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36690 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36691 Change function return type to int.
36693 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36694 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36695 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36696 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36697 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36698 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36699 [!POSIX] (posix_madvise): Likewise.
36700 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36702 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36703 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36704 (mode_t): Likewise.
36705 (posix_mem_offset): Likewise.
36706 (posix_typed_mem_get_info): Likewise.
36707 (posix_typed_mem_open): Likewise.
36709 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36710 Change condition to [XOPEN2K8].
36712 * conform/conformtest.pl: Preprocess allow-header data with -x c
36713 instead of from stdin.
36714 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36715 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36716 [C99-based standards] (cerfc): Likewise.
36717 [C99-based standards] (cexp2): Likewise.
36718 [C99-based standards] (cexpm1): Likewise.
36719 [C99-based standards] (clog10): Likewise.
36720 [C99-based standards] (clog1p): Likewise.
36721 [C99-based standards] (clog2): Likewise.
36722 [C99-based standards] (clgamma): Likewise.
36723 [C99-based standards] (ctgamma): Likewise.
36724 [C99-based standards] (cerff): Likewise.
36725 [C99-based standards] (cerfcf): Likewise.
36726 [C99-based standards] (cexp2f): Likewise.
36727 [C99-based standards] (cexpm1f): Likewise.
36728 [C99-based standards] (clog10f): Likewise.
36729 [C99-based standards] (clog1pf): Likewise.
36730 [C99-based standards] (clog2f): Likewise.
36731 [C99-based standards] (clgammaf): Likewise.
36732 [C99-based standards] (ctgammaf): Likewise.
36733 [C99-based standards] (cerfl): Likewise.
36734 [C99-based standards] (cerfcl): Likewise.
36735 [C99-based standards] (cexp2l): Likewise.
36736 [C99-based standards] (cexpm1l): Likewise.
36737 [C99-based standards] (clog10l): Likewise.
36738 [C99-based standards] (clog1pl): Likewise.
36739 [C99-based standards] (clog2l): Likewise.
36740 [C99-based standards] (clgammal): Likewise.
36741 [C99-based standards] (ctgammal): Likewise.
36742 * conform/data/inttypes.h-data [C99-based standards]: Include
36743 stdint.h-data. Remove all expectations for stdint.h contents.
36744 [C99-based standards] (PRI*): Do not allow.
36745 [C99-based standards] (SCN*): Likewise.
36746 [C99-based standards] (*_t): Likewise.
36747 [C99-based-standards] (PRId8): Expect macro.
36748 [C99-based-standards] (PRIi8): Likewise.
36749 [C99-based-standards] (PRIo8): Likewise.
36750 [C99-based-standards] (PRIu8): Likewise.
36751 [C99-based-standards] (PRIx8): Likewise.
36752 [C99-based-standards] (PRIX8): Likewise.
36753 [C99-based-standards] (SCNd8): Likewise.
36754 [C99-based-standards] (SCNi8): Likewise.
36755 [C99-based-standards] (SCNo8): Likewise.
36756 [C99-based-standards] (SCNu8): Likewise.
36757 [C99-based-standards] (SCNx8): Likewise.
36758 [C99-based-standards] (PRIdLEAST8): Likewise.
36759 [C99-based-standards] (PRIiLEAST8): Likewise.
36760 [C99-based-standards] (PRIoLEAST8): Likewise.
36761 [C99-based-standards] (PRIuLEAST8): Likewise.
36762 [C99-based-standards] (PRIxLEAST8): Likewise.
36763 [C99-based-standards] (PRIXLEAST8): Likewise.
36764 [C99-based-standards] (SCNdLEAST8): Likewise.
36765 [C99-based-standards] (SCNiLEAST8): Likewise.
36766 [C99-based-standards] (SCNoLEAST8): Likewise.
36767 [C99-based-standards] (SCNuLEAST8): Likewise.
36768 [C99-based-standards] (SCNxLEAST8): Likewise.
36769 [C99-based-standards] (PRIdFAST8): Likewise.
36770 [C99-based-standards] (PRIiFAST8): Likewise.
36771 [C99-based-standards] (PRIoFAST8): Likewise.
36772 [C99-based-standards] (PRIuFAST8): Likewise.
36773 [C99-based-standards] (PRIxFAST8): Likewise.
36774 [C99-based-standards] (PRIXFAST8): Likewise.
36775 [C99-based-standards] (SCNdFAST8): Likewise.
36776 [C99-based-standards] (SCNiFAST8): Likewise.
36777 [C99-based-standards] (SCNoFAST8): Likewise.
36778 [C99-based-standards] (SCNuFAST8): Likewise.
36779 [C99-based-standards] (SCNxFAST8): Likewise.
36780 [C99-based-standards] (PRId16): Likewise.
36781 [C99-based-standards] (PRIi16): Likewise.
36782 [C99-based-standards] (PRIo16): Likewise.
36783 [C99-based-standards] (PRIu16): Likewise.
36784 [C99-based-standards] (PRIx16): Likewise.
36785 [C99-based-standards] (PRIX16): Likewise.
36786 [C99-based-standards] (SCNd16): Likewise.
36787 [C99-based-standards] (SCNi16): Likewise.
36788 [C99-based-standards] (SCNo16): Likewise.
36789 [C99-based-standards] (SCNu16): Likewise.
36790 [C99-based-standards] (SCNx16): Likewise.
36791 [C99-based-standards] (PRIdLEAST16): Likewise.
36792 [C99-based-standards] (PRIiLEAST16): Likewise.
36793 [C99-based-standards] (PRIoLEAST16): Likewise.
36794 [C99-based-standards] (PRIuLEAST16): Likewise.
36795 [C99-based-standards] (PRIxLEAST16): Likewise.
36796 [C99-based-standards] (PRIXLEAST16): Likewise.
36797 [C99-based-standards] (SCNdLEAST16): Likewise.
36798 [C99-based-standards] (SCNiLEAST16): Likewise.
36799 [C99-based-standards] (SCNoLEAST16): Likewise.
36800 [C99-based-standards] (SCNuLEAST16): Likewise.
36801 [C99-based-standards] (SCNxLEAST16): Likewise.
36802 [C99-based-standards] (PRIdFAST16): Likewise.
36803 [C99-based-standards] (PRIiFAST16): Likewise.
36804 [C99-based-standards] (PRIoFAST16): Likewise.
36805 [C99-based-standards] (PRIuFAST16): Likewise.
36806 [C99-based-standards] (PRIxFAST16): Likewise.
36807 [C99-based-standards] (PRIXFAST16): Likewise.
36808 [C99-based-standards] (SCNdFAST16): Likewise.
36809 [C99-based-standards] (SCNiFAST16): Likewise.
36810 [C99-based-standards] (SCNoFAST16): Likewise.
36811 [C99-based-standards] (SCNuFAST16): Likewise.
36812 [C99-based-standards] (SCNxFAST16): Likewise.
36813 [C99-based-standards] (PRId32): Likewise.
36814 [C99-based-standards] (PRIi32): Likewise.
36815 [C99-based-standards] (PRIo32): Likewise.
36816 [C99-based-standards] (PRIu32): Likewise.
36817 [C99-based-standards] (PRIx32): Likewise.
36818 [C99-based-standards] (PRIX32): Likewise.
36819 [C99-based-standards] (SCNd32): Likewise.
36820 [C99-based-standards] (SCNi32): Likewise.
36821 [C99-based-standards] (SCNo32): Likewise.
36822 [C99-based-standards] (SCNu32): Likewise.
36823 [C99-based-standards] (SCNx32): Likewise.
36824 [C99-based-standards] (PRIdLEAST32): Likewise.
36825 [C99-based-standards] (PRIiLEAST32): Likewise.
36826 [C99-based-standards] (PRIoLEAST32): Likewise.
36827 [C99-based-standards] (PRIuLEAST32): Likewise.
36828 [C99-based-standards] (PRIxLEAST32): Likewise.
36829 [C99-based-standards] (PRIXLEAST32): Likewise.
36830 [C99-based-standards] (SCNdLEAST32): Likewise.
36831 [C99-based-standards] (SCNiLEAST32): Likewise.
36832 [C99-based-standards] (SCNoLEAST32): Likewise.
36833 [C99-based-standards] (SCNuLEAST32): Likewise.
36834 [C99-based-standards] (SCNxLEAST32): Likewise.
36835 [C99-based-standards] (PRIdFAST32): Likewise.
36836 [C99-based-standards] (PRIiFAST32): Likewise.
36837 [C99-based-standards] (PRIoFAST32): Likewise.
36838 [C99-based-standards] (PRIuFAST32): Likewise.
36839 [C99-based-standards] (PRIxFAST32): Likewise.
36840 [C99-based-standards] (PRIXFAST32): Likewise.
36841 [C99-based-standards] (SCNdFAST32): Likewise.
36842 [C99-based-standards] (SCNiFAST32): Likewise.
36843 [C99-based-standards] (SCNoFAST32): Likewise.
36844 [C99-based-standards] (SCNuFAST32): Likewise.
36845 [C99-based-standards] (SCNxFAST32): Likewise.
36846 [C99-based-standards] (PRId64): Likewise.
36847 [C99-based-standards] (PRIi64): Likewise.
36848 [C99-based-standards] (PRIo64): Likewise.
36849 [C99-based-standards] (PRIu64): Likewise.
36850 [C99-based-standards] (PRIx64): Likewise.
36851 [C99-based-standards] (PRIX64): Likewise.
36852 [C99-based-standards] (SCNd64): Likewise.
36853 [C99-based-standards] (SCNi64): Likewise.
36854 [C99-based-standards] (SCNo64): Likewise.
36855 [C99-based-standards] (SCNu64): Likewise.
36856 [C99-based-standards] (SCNx64): Likewise.
36857 [C99-based-standards] (PRIdLEAST64): Likewise.
36858 [C99-based-standards] (PRIiLEAST64): Likewise.
36859 [C99-based-standards] (PRIoLEAST64): Likewise.
36860 [C99-based-standards] (PRIuLEAST64): Likewise.
36861 [C99-based-standards] (PRIxLEAST64): Likewise.
36862 [C99-based-standards] (PRIXLEAST64): Likewise.
36863 [C99-based-standards] (SCNdLEAST64): Likewise.
36864 [C99-based-standards] (SCNiLEAST64): Likewise.
36865 [C99-based-standards] (SCNoLEAST64): Likewise.
36866 [C99-based-standards] (SCNuLEAST64): Likewise.
36867 [C99-based-standards] (SCNxLEAST64): Likewise.
36868 [C99-based-standards] (PRIdFAST64): Likewise.
36869 [C99-based-standards] (PRIiFAST64): Likewise.
36870 [C99-based-standards] (PRIoFAST64): Likewise.
36871 [C99-based-standards] (PRIuFAST64): Likewise.
36872 [C99-based-standards] (PRIxFAST64): Likewise.
36873 [C99-based-standards] (PRIXFAST64): Likewise.
36874 [C99-based-standards] (SCNdFAST64): Likewise.
36875 [C99-based-standards] (SCNiFAST64): Likewise.
36876 [C99-based-standards] (SCNoFAST64): Likewise.
36877 [C99-based-standards] (SCNuFAST64): Likewise.
36878 [C99-based-standards] (SCNxFAST64): Likewise.
36879 [C99-based-standards] (PRIdMAX): Likewise.
36880 [C99-based-standards] (PRIiMAX): Likewise.
36881 [C99-based-standards] (PRIoMAX): Likewise.
36882 [C99-based-standards] (PRIuMAX): Likewise.
36883 [C99-based-standards] (PRIxMAX): Likewise.
36884 [C99-based-standards] (PRIXMAX): Likewise.
36885 [C99-based-standards] (SCNdMAX): Likewise.
36886 [C99-based-standards] (SCNiMAX): Likewise.
36887 [C99-based-standards] (SCNoMAX): Likewise.
36888 [C99-based-standards] (SCNuMAX): Likewise.
36889 [C99-based-standards] (SCNxMAX): Likewise.
36890 [C99-based-standards] (PRIdPTR): Likewise.
36891 [C99-based-standards] (PRIiPTR): Likewise.
36892 [C99-based-standards] (PRIoPTR): Likewise.
36893 [C99-based-standards] (PRIuPTR): Likewise.
36894 [C99-based-standards] (PRIxPTR): Likewise.
36895 [C99-based-standards] (PRIXPTR): Likewise.
36896 [C99-based-standards] (SCNdPTR): Likewise.
36897 [C99-based-standards] (SCNiPTR): Likewise.
36898 [C99-based-standards] (SCNoPTR): Likewise.
36899 [C99-based-standards] (SCNuPTR): Likewise.
36900 [C99-based-standards] (SCNxPTR): Likewise.
36901 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36903 * conform/data/stdint.h-data: Update comments to clarify
36905 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36907 [C99-based standards] (INT8_MAX): Likewise.
36908 [C99-based standards] (INT16_MIN): Likewise.
36909 [C99-based standards] (INT16_MAX): Likewise.
36910 [C99-based standards] (INT32_MIN): Likewise.
36911 [C99-based standards] (INT32_MAX): Likewise.
36912 [C99-based standards] (INT64_MIN): Likewise.
36913 [C99-based standards] (INT64_MAX): Likewise.
36914 [C99-based standards] (UINT8_MAX): Likewise.
36915 [C99-based standards] (UINT16_MAX): Likewise.
36916 [C99-based standards] (UINT32_MAX): Likewise.
36917 [C99-based standards] (UINT64_MAX): Likewise.
36918 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36919 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36920 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36921 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36922 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36923 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36924 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36925 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36926 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36927 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36928 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36929 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36930 [C99-based standards] (INT_FAST8_MIN): Likewise.
36931 [C99-based standards] (INT_FAST8_MAX): Likewise.
36932 [C99-based standards] (INT_FAST16_MIN): Likewise.
36933 [C99-based standards] (INT_FAST16_MAX): Likewise.
36934 [C99-based standards] (INT_FAST32_MIN): Likewise.
36935 [C99-based standards] (INT_FAST32_MAX): Likewise.
36936 [C99-based standards] (INT_FAST64_MIN): Likewise.
36937 [C99-based standards] (INT_FAST64_MAX): Likewise.
36938 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36939 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36940 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36941 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36942 [C99-based standards] (INTPTR_MIN): Likewise.
36943 [C99-based standards] (INTPTR_MAX): Likewise.
36944 [C99-based standards] (UINTPTR_MAX): Likewise.
36945 [C99-based standards] (INTMAX_MIN): Likewise.
36946 [C99-based standards] (INTMAX_MAX): Likewise.
36947 [C99-based standards] (UINTMAX_MAX): Likewise.
36948 [C99-based standards] (PTRDIFF_MIN): Likewise.
36949 [C99-based standards] (PTRDIFF_MAX): Likewise.
36950 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36951 [C99-based standards] (SIZE_MAX): Likewise.
36952 [C99-based standards] (WCHAR_MAX): Likewise.
36953 [C99-based standards] (WINT_MAX): Likewise.
36954 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36955 constraint on value.
36956 [C99-based standards] (WCHAR_MIN): Likewise.
36957 [C99-based standards] (WINT_MIN): Likewise.
36958 [C99-based standards] (*_t): Allow.
36959 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36960 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36961 Include math.h-data and complex.h-data. Remove all expectations
36962 of math.h and complex.h contents.
36963 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36965 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36966 (struct tm): Expect tag.
36967 [C99-based-standards] (wcstof): Expect function.
36968 [C99-based-standards] (wcstold): Likewise.
36969 [C99-based-standards] (wcstoll): Likewise.
36970 [C99-based-standards] (wcstoull): Likewise.
36971 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36972 macro-int-constant. Specify type.
36973 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36974 constraint on value.
36975 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36977 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36979 [ISO C standards]: Do not allow headers.
36980 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36981 wcs[abcdefghijklmnopqrstuvwxyz]*.
36982 [ISO C standards] (*_t): Do not allow.
36983 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36985 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36986 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36988 [ISO C standards]: Do not allow headers.
36989 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36990 is[abcdefghijklmnopqrstuvwxyz]*.
36991 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36992 to[abcdefghijklmnopqrstuvwxyz]*.
36993 [ISO C standards] (*_t): Do not allow.
36994 * conform/data/stdalign.h-data: New file.
36995 * conform/data/stdbool.h-data: Likewise.
36996 * conform/data/stdnoreturn.h-data: Likewise.
36998 2012-11-07 Roland McGrath <roland@hack.frob.com>
37001 * manual/filesys.texi (Directory Entries): Typo fix.
37002 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37004 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37006 * elf/elf.h (EM_AARCH64): New macro.
37007 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37008 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37009 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37010 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37011 (R_AARCH64_TLSDESC): Likewise.
37012 (NT_ARM_TLS): Likewise.
37013 (NT_ARM_HW_BREAK): Likewise.
37014 (NT_ARM_HW_WATCH): Likewise.
37016 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37019 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37020 (__ieee754_powl): Saturate nonzero exponents with absolute value
37021 below 0x1p-79 to +/- 0x1p-79.
37022 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37023 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37024 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37025 nonzero exponents with absolute value below 0x1p-32 to +/-
37027 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37028 (__ieee754_powl): Saturate nonzero exponents with absolute value
37029 below 0x1p-79 to +/- 0x1p-79.
37030 * math/libm-test.inc (pow_test): Add more tests.
37032 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37034 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37035 _dl_s390_cap_flags with kernel. Increase string length.
37036 (_dl_s390_platforms): Add z196 and zEC12.
37038 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37040 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37041 Change XOPEN21K to XOPEN2K.
37043 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
37045 * string/memmove.c: Use memcpy when possible.
37047 2012-11-06 Andreas Jaeger <aj@suse.de>
37049 * po/eo.po: Update from translation team.
37051 2012-11-06 Joseph Myers <joseph@codesourcery.com>
37054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37055 exponent and small x and y exponents, scale x or y up. Increase
37056 by 2 the exponent used in scaling up.
37057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37059 * math/libm-test.inc (fma_test): Add more tests.
37060 (fma_test_towardzero): Likewise.
37061 (fma_test_downward): Likewise.
37062 (fma_test_upward): Likewise.
37064 2012-11-05 Joseph Myers <joseph@codesourcery.com>
37067 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37071 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37072 namespace for names of struct fields.
37073 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37075 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37076 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37078 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
37081 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37083 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37085 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37089 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37092 2012-11-04 Joseph Myers <joseph@codesourcery.com>
37095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37096 definitely overflow as x * y not x * y + z.
37097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37099 * math/libm-test.inc (fma_test): Add more tests.
37100 (fma_test_towardzero): Likewise.
37101 (fma_test_downward): Likewise.
37102 (fma_test_upward): Likewise.
37104 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
37108 * include/stub-tag.h: Remove file.
37109 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37111 * manual/maint.texi (Porting): Don't reference it.
37112 * Makerules ($(objpfx)stubs): Likewise.
37113 * dirent/closedir.c: Don't include <stub-tag.h>.
37114 * dirent/dirfd.c: Likewise.
37115 * dirent/fdopendir.c: Likewise.
37116 * dirent/getdents.c: Likewise.
37117 * dirent/getdents64.c: Likewise.
37118 * dirent/opendir.c: Likewise.
37119 * dirent/readdir.c: Likewise.
37120 * dirent/readdir64.c: Likewise.
37121 * dirent/readdir64_r.c: Likewise.
37122 * dirent/readdir_r.c: Likewise.
37123 * dirent/rewinddir.c: Likewise.
37124 * dirent/seekdir.c: Likewise.
37125 * dirent/telldir.c: Likewise.
37126 * gmon/profil.c: Likewise.
37127 * grp/setgroups.c: Likewise.
37128 * inet/if_index.c: Likewise.
37129 * io/access.c: Likewise.
37130 * io/chdir.c: Likewise.
37131 * io/chmod.c: Likewise.
37132 * io/chown.c: Likewise.
37133 * io/close.c: Likewise.
37134 * io/dup.c: Likewise.
37135 * io/dup2.c: Likewise.
37136 * io/dup3.c: Likewise.
37137 * io/euidaccess.c: Likewise.
37138 * io/faccessat.c: Likewise.
37139 * io/fchdir.c: Likewise.
37140 * io/fchmod.c: Likewise.
37141 * io/fchmodat.c: Likewise.
37142 * io/fchown.c: Likewise.
37143 * io/fchownat.c: Likewise.
37144 * io/fcntl.c: Likewise.
37145 * io/flock.c: Likewise.
37146 * io/fstatfs.c: Likewise.
37147 * io/fstatfs64.c: Likewise.
37148 * io/fstatvfs.c: Likewise.
37149 * io/fstatvfs64.c: Likewise.
37150 * io/futimens.c: Likewise.
37151 * io/fxstat.c: Likewise.
37152 * io/fxstat64.c: Likewise.
37153 * io/fxstatat.c: Likewise.
37154 * io/fxstatat64.c: Likewise.
37155 * io/getcwd.c: Likewise.
37156 * io/isatty.c: Likewise.
37157 * io/lchmod.c: Likewise.
37158 * io/lchown.c: Likewise.
37159 * io/link.c: Likewise.
37160 * io/linkat.c: Likewise.
37161 * io/lseek.c: Likewise.
37162 * io/lseek64.c: Likewise.
37163 * io/lxstat64.c: Likewise.
37164 * io/mkdir.c: Likewise.
37165 * io/mkdirat.c: Likewise.
37166 * io/mkfifo.c: Likewise.
37167 * io/mkfifoat.c: Likewise.
37168 * io/open.c: Likewise.
37169 * io/open64.c: Likewise.
37170 * io/openat.c: Likewise.
37171 * io/openat64.c: Likewise.
37172 * io/pipe.c: Likewise.
37173 * io/pipe2.c: Likewise.
37174 * io/poll.c: Likewise.
37175 * io/posix_fadvise.c: Likewise.
37176 * io/posix_fadvise64.c: Likewise.
37177 * io/posix_fallocate.c: Likewise.
37178 * io/posix_fallocate64.c: Likewise.
37179 * io/read.c: Likewise.
37180 * io/readlink.c: Likewise.
37181 * io/readlinkat.c: Likewise.
37182 * io/rmdir.c: Likewise.
37183 * io/sendfile.c: Likewise.
37184 * io/sendfile64.c: Likewise.
37185 * io/statfs.c: Likewise.
37186 * io/statfs64.c: Likewise.
37187 * io/statvfs.c: Likewise.
37188 * io/statvfs64.c: Likewise.
37189 * io/symlink.c: Likewise.
37190 * io/symlinkat.c: Likewise.
37191 * io/ttyname.c: Likewise.
37192 * io/ttyname_r.c: Likewise.
37193 * io/umask.c: Likewise.
37194 * io/unlink.c: Likewise.
37195 * io/unlinkat.c: Likewise.
37196 * io/utime.c: Likewise.
37197 * io/utimensat.c: Likewise.
37198 * io/write.c: Likewise.
37199 * io/xmknod.c: Likewise.
37200 * io/xmknodat.c: Likewise.
37201 * io/xstat.c: Likewise.
37202 * io/xstat64.c: Likewise.
37203 * login/getpt.c: Likewise.
37204 * login/grantpt.c: Likewise.
37205 * login/unlockpt.c: Likewise.
37206 * math/e_acoshl.c: Likewise.
37207 * math/e_acosl.c: Likewise.
37208 * math/e_asinl.c: Likewise.
37209 * math/e_atan2l.c: Likewise.
37210 * math/e_atanhl.c: Likewise.
37211 * math/e_coshl.c: Likewise.
37212 * math/e_expl.c: Likewise.
37213 * math/e_fmodl.c: Likewise.
37214 * math/e_gammal_r.c: Likewise.
37215 * math/e_hypotl.c: Likewise.
37216 * math/e_j0l.c: Likewise.
37217 * math/e_j1l.c: Likewise.
37218 * math/e_jnl.c: Likewise.
37219 * math/e_lgammal_r.c: Likewise.
37220 * math/e_log10l.c: Likewise.
37221 * math/e_log2l.c: Likewise.
37222 * math/e_logl.c: Likewise.
37223 * math/e_powl.c: Likewise.
37224 * math/e_rem_pio2l.c: Likewise.
37225 * math/e_sinhl.c: Likewise.
37226 * math/e_sqrtl.c: Likewise.
37227 * math/fclrexcpt.c: Likewise.
37228 * math/fedisblxcpt.c: Likewise.
37229 * math/feenablxcpt.c: Likewise.
37230 * math/fegetenv.c: Likewise.
37231 * math/fegetexcept.c: Likewise.
37232 * math/fegetround.c: Likewise.
37233 * math/feholdexcpt.c: Likewise.
37234 * math/fesetenv.c: Likewise.
37235 * math/fesetround.c: Likewise.
37236 * math/feupdateenv.c: Likewise.
37237 * math/fgetexcptflg.c: Likewise.
37238 * math/fraiseexcpt.c: Likewise.
37239 * math/fsetexcptflg.c: Likewise.
37240 * math/ftestexcept.c: Likewise.
37241 * math/k_cosl.c: Likewise.
37242 * math/k_rem_pio2l.c: Likewise.
37243 * math/k_sinl.c: Likewise.
37244 * math/k_tanl.c: Likewise.
37245 * math/s_asinhl.c: Likewise.
37246 * math/s_atanl.c: Likewise.
37247 * math/s_cbrtl.c: Likewise.
37248 * math/s_erfl.c: Likewise.
37249 * math/s_expm1l.c: Likewise.
37250 * math/s_log1pl.c: Likewise.
37251 * math/s_tanhl.c: Likewise.
37252 * misc/acct.c: Likewise.
37253 * misc/brk.c: Likewise.
37254 * misc/chflags.c: Likewise.
37255 * misc/chroot.c: Likewise.
37256 * misc/fchflags.c: Likewise.
37257 * misc/fgetxattr.c: Likewise.
37258 * misc/flistxattr.c: Likewise.
37259 * misc/fremovexattr.c: Likewise.
37260 * misc/fsetxattr.c: Likewise.
37261 * misc/fsync.c: Likewise.
37262 * misc/ftruncate.c: Likewise.
37263 * misc/futimes.c: Likewise.
37264 * misc/futimesat.c: Likewise.
37265 * misc/getdomain.c: Likewise.
37266 * misc/getdtsz.c: Likewise.
37267 * misc/gethostid.c: Likewise.
37268 * misc/gethostname.c: Likewise.
37269 * misc/getloadavg.c: Likewise.
37270 * misc/getpagesize.c: Likewise.
37271 * misc/getsysstats.c: Likewise.
37272 * misc/getxattr.c: Likewise.
37273 * misc/gtty.c: Likewise.
37274 * misc/ioctl.c: Likewise.
37275 * misc/lgetxattr.c: Likewise.
37276 * misc/listxattr.c: Likewise.
37277 * misc/llistxattr.c: Likewise.
37278 * misc/lremovexattr.c: Likewise.
37279 * misc/lsetxattr.c: Likewise.
37280 * misc/lutimes.c: Likewise.
37281 * misc/madvise.c: Likewise.
37282 * misc/mincore.c: Likewise.
37283 * misc/mlock.c: Likewise.
37284 * misc/mlockall.c: Likewise.
37285 * misc/mmap.c: Likewise.
37286 * misc/mprotect.c: Likewise.
37287 * misc/msync.c: Likewise.
37288 * misc/munlock.c: Likewise.
37289 * misc/munlockall.c: Likewise.
37290 * misc/munmap.c: Likewise.
37291 * misc/preadv.c: Likewise.
37292 * misc/preadv64.c: Likewise.
37293 * misc/ptrace.c: Likewise.
37294 * misc/pwritev.c: Likewise.
37295 * misc/pwritev64.c: Likewise.
37296 * misc/readv.c: Likewise.
37297 * misc/reboot.c: Likewise.
37298 * misc/remap_file_pages.c: Likewise.
37299 * misc/removexattr.c: Likewise.
37300 * misc/revoke.c: Likewise.
37301 * misc/select.c: Likewise.
37302 * misc/setdomain.c: Likewise.
37303 * misc/setegid.c: Likewise.
37304 * misc/seteuid.c: Likewise.
37305 * misc/sethostid.c: Likewise.
37306 * misc/sethostname.c: Likewise.
37307 * misc/setregid.c: Likewise.
37308 * misc/setreuid.c: Likewise.
37309 * misc/setxattr.c: Likewise.
37310 * misc/sstk.c: Likewise.
37311 * misc/stty.c: Likewise.
37312 * misc/swapoff.c: Likewise.
37313 * misc/swapon.c: Likewise.
37314 * misc/sync.c: Likewise.
37315 * misc/syncfs.c: Likewise.
37316 * misc/syscall.c: Likewise.
37317 * misc/truncate.c: Likewise.
37318 * misc/ualarm.c: Likewise.
37319 * misc/usleep.c: Likewise.
37320 * misc/ustat.c: Likewise.
37321 * misc/utimes.c: Likewise.
37322 * misc/vhangup.c: Likewise.
37323 * misc/writev.c: Likewise.
37324 * posix/_exit.c: Likewise.
37325 * posix/alarm.c: Likewise.
37326 * posix/execve.c: Likewise.
37327 * posix/fexecve.c: Likewise.
37328 * posix/fork.c: Likewise.
37329 * posix/fpathconf.c: Likewise.
37330 * posix/getaddrinfo.c: Likewise.
37331 * posix/getegid.c: Likewise.
37332 * posix/geteuid.c: Likewise.
37333 * posix/getgid.c: Likewise.
37334 * posix/getgroups.c: Likewise.
37335 * posix/getlogin.c: Likewise.
37336 * posix/getlogin_r.c: Likewise.
37337 * posix/getpgid.c: Likewise.
37338 * posix/getpid.c: Likewise.
37339 * posix/getppid.c: Likewise.
37340 * posix/getresgid.c: Likewise.
37341 * posix/getresuid.c: Likewise.
37342 * posix/getsid.c: Likewise.
37343 * posix/getuid.c: Likewise.
37344 * posix/glob64.c: Likewise.
37345 * posix/nanosleep.c: Likewise.
37346 * posix/pathconf.c: Likewise.
37347 * posix/pause.c: Likewise.
37348 * posix/posix_madvise.c: Likewise.
37349 * posix/pread.c: Likewise.
37350 * posix/pread64.c: Likewise.
37351 * posix/pwrite.c: Likewise.
37352 * posix/pwrite64.c: Likewise.
37353 * posix/sched_getaffinity.c: Likewise.
37354 * posix/sched_getp.c: Likewise.
37355 * posix/sched_gets.c: Likewise.
37356 * posix/sched_primax.c: Likewise.
37357 * posix/sched_primin.c: Likewise.
37358 * posix/sched_rr_gi.c: Likewise.
37359 * posix/sched_setaffinity.c: Likewise.
37360 * posix/sched_setp.c: Likewise.
37361 * posix/sched_sets.c: Likewise.
37362 * posix/sched_yield.c: Likewise.
37363 * posix/setgid.c: Likewise.
37364 * posix/setlogin.c: Likewise.
37365 * posix/setpgid.c: Likewise.
37366 * posix/setresgid.c: Likewise.
37367 * posix/setresuid.c: Likewise.
37368 * posix/setsid.c: Likewise.
37369 * posix/setuid.c: Likewise.
37370 * posix/sleep.c: Likewise.
37371 * posix/spawni.c: Likewise.
37372 * posix/sysconf.c: Likewise.
37373 * posix/times.c: Likewise.
37374 * posix/wait.c: Likewise.
37375 * posix/wait3.c: Likewise.
37376 * posix/wait4.c: Likewise.
37377 * posix/waitpid.c: Likewise.
37378 * resolv/gai_sigqueue.c: Likewise.
37379 * resource/getpriority.c: Likewise.
37380 * resource/getrlimit.c: Likewise.
37381 * resource/getrusage.c: Likewise.
37382 * resource/nice.c: Likewise.
37383 * resource/setpriority.c: Likewise.
37384 * resource/setrlimit.c: Likewise.
37385 * resource/ulimit.c: Likewise.
37386 * rt/aio_cancel.c: Likewise.
37387 * rt/aio_fsync.c: Likewise.
37388 * rt/aio_read.c: Likewise.
37389 * rt/aio_sigqueue.c: Likewise.
37390 * rt/aio_suspend.c: Likewise.
37391 * rt/aio_write.c: Likewise.
37392 * rt/clock_getres.c: Likewise.
37393 * rt/clock_gettime.c: Likewise.
37394 * rt/clock_nanosleep.c: Likewise.
37395 * rt/clock_settime.c: Likewise.
37396 * rt/lio_listio.c: Likewise.
37397 * rt/mq_close.c: Likewise.
37398 * rt/mq_getattr.c: Likewise.
37399 * rt/mq_notify.c: Likewise.
37400 * rt/mq_open.c: Likewise.
37401 * rt/mq_receive.c: Likewise.
37402 * rt/mq_send.c: Likewise.
37403 * rt/mq_setattr.c: Likewise.
37404 * rt/mq_timedreceive.c: Likewise.
37405 * rt/mq_timedsend.c: Likewise.
37406 * rt/mq_unlink.c: Likewise.
37407 * rt/shm_open.c: Likewise.
37408 * rt/shm_unlink.c: Likewise.
37409 * rt/timer_create.c: Likewise.
37410 * rt/timer_delete.c: Likewise.
37411 * rt/timer_getoverr.c: Likewise.
37412 * rt/timer_gettime.c: Likewise.
37413 * rt/timer_settime.c: Likewise.
37414 * setjmp/__longjmp.c: Likewise.
37415 * setjmp/setjmp.c: Likewise.
37416 * signal/kill.c: Likewise.
37417 * signal/killpg.c: Likewise.
37418 * signal/raise.c: Likewise.
37419 * signal/sigaction.c: Likewise.
37420 * signal/sigaltstack.c: Likewise.
37421 * signal/sigblock.c: Likewise.
37422 * signal/sigignore.c: Likewise.
37423 * signal/sigintr.c: Likewise.
37424 * signal/signal.c: Likewise.
37425 * signal/sigpause.c: Likewise.
37426 * signal/sigpending.c: Likewise.
37427 * signal/sigqueue.c: Likewise.
37428 * signal/sigreturn.c: Likewise.
37429 * signal/sigset.c: Likewise.
37430 * signal/sigsetmask.c: Likewise.
37431 * signal/sigstack.c: Likewise.
37432 * signal/sigsuspend.c: Likewise.
37433 * signal/sigtimedwait.c: Likewise.
37434 * signal/sigvec.c: Likewise.
37435 * signal/sigwait.c: Likewise.
37436 * signal/sigwaitinfo.c: Likewise.
37437 * signal/sysv_signal.c: Likewise.
37438 * socket/accept.c: Likewise.
37439 * socket/accept4.c: Likewise.
37440 * socket/bind.c: Likewise.
37441 * socket/connect.c: Likewise.
37442 * socket/getpeername.c: Likewise.
37443 * socket/getsockname.c: Likewise.
37444 * socket/getsockopt.c: Likewise.
37445 * socket/isfdtype.c: Likewise.
37446 * socket/listen.c: Likewise.
37447 * socket/recv.c: Likewise.
37448 * socket/recvfrom.c: Likewise.
37449 * socket/recvmsg.c: Likewise.
37450 * socket/send.c: Likewise.
37451 * socket/sendmsg.c: Likewise.
37452 * socket/sendto.c: Likewise.
37453 * socket/setsockopt.c: Likewise.
37454 * socket/shutdown.c: Likewise.
37455 * socket/sockatmark.c: Likewise.
37456 * socket/socket.c: Likewise.
37457 * socket/socketpair.c: Likewise.
37458 * stdio-common/ctermid.c: Likewise.
37459 * stdio-common/cuserid.c: Likewise.
37460 * stdio-common/remove.c: Likewise.
37461 * stdio-common/rename.c: Likewise.
37462 * stdio-common/renameat.c: Likewise.
37463 * stdio-common/tempname.c: Likewise.
37464 * stdlib/getcontext.c: Likewise.
37465 * stdlib/makecontext.c: Likewise.
37466 * stdlib/setcontext.c: Likewise.
37467 * stdlib/swapcontext.c: Likewise.
37468 * stdlib/system.c: Likewise.
37469 * streams/fattach.c: Likewise.
37470 * streams/fdetach.c: Likewise.
37471 * streams/getmsg.c: Likewise.
37472 * streams/getpmsg.c: Likewise.
37473 * streams/putmsg.c: Likewise.
37474 * streams/putpmsg.c: Likewise.
37475 * sysdeps/unix/bsd/getpt.c: Likewise.
37476 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37477 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37478 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37481 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37482 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37483 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37484 * sysvipc/msgctl.c: Likewise.
37485 * sysvipc/msgget.c: Likewise.
37486 * sysvipc/msgrcv.c: Likewise.
37487 * sysvipc/msgsnd.c: Likewise.
37488 * sysvipc/semctl.c: Likewise.
37489 * sysvipc/semget.c: Likewise.
37490 * sysvipc/semop.c: Likewise.
37491 * sysvipc/semtimedop.c: Likewise.
37492 * sysvipc/shmat.c: Likewise.
37493 * sysvipc/shmctl.c: Likewise.
37494 * sysvipc/shmdt.c: Likewise.
37495 * sysvipc/shmget.c: Likewise.
37496 * termios/tcdrain.c: Likewise.
37497 * termios/tcflow.c: Likewise.
37498 * termios/tcflush.c: Likewise.
37499 * termios/tcgetattr.c: Likewise.
37500 * termios/tcgetpgrp.c: Likewise.
37501 * termios/tcsendbrk.c: Likewise.
37502 * termios/tcsetattr.c: Likewise.
37503 * termios/tcsetpgrp.c: Likewise.
37504 * time/adjtime.c: Likewise.
37505 * time/clock.c: Likewise.
37506 * time/getitimer.c: Likewise.
37507 * time/gettimeofday.c: Likewise.
37508 * time/setitimer.c: Likewise.
37509 * time/settimeofday.c: Likewise.
37510 * time/stime.c: Likewise.
37511 * time/time.c: Likewise.
37513 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37515 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37518 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37520 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37522 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37526 FE_TONEAREST before applying Dekker multiplication and Knuth
37527 addition. Clear inexact exceptions and check for exact zero
37528 results afterwards.
37529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37532 * math/libm-test.inc (fma_test): Add more tests.
37533 (fma_test_towardzero): Likewise.
37534 (fma_test_downward): Likewise.
37535 (fma_test_upward): Likewise.
37536 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37538 (libc_fesetround): New macro.
37539 (libc_fesetroundf): Likewise.
37540 (libc_fesetroundl): Likewise.
37541 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37543 (libc_fesetround_387): Likewise.
37544 (libc_fesetroundf): New macro.
37545 (libc_fesetround): Likewise.
37546 (libc_fesetroundl): Likewise.
37547 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37549 (libc_fesetroundf): New macro.
37550 (libc_fesetround): Likewise.
37551 (libc_fesetroundl): Likewise.
37552 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37553 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37554 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37556 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37557 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37559 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37560 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37562 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37566 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37567 integer constant usable in #if and use that to give value to enum
37569 (FE_DIVBYZERO): Likewise.
37570 (FE_UNDERFLOW): Likewise.
37571 (FE_OVERFLOW): Likewise.
37572 (FE_INVALID): Likewise.
37573 (FE_INVALID_SNAN): Likewise.
37574 (FE_INVALID_ISI): Likewise.
37575 (FE_INVALID_IDI): Likewise.
37576 (FE_INVALID_ZDZ): Likewise.
37577 (FE_INVALID_IMZ): Likewise.
37578 (FE_INVALID_COMPARE): Likewise.
37579 (FE_INVALID_SOFTWARE): Likewise.
37580 (FE_INVALID_SQRT): Likewise.
37581 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37582 (FE_TONEAREST): Likewise.
37583 (FE_TOWARDZERO): Likewise.
37584 (FE_UPWARD): Likewise.
37585 (FE_DOWNWARD): Likewise.
37586 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37587 (FE_DIVBYZERO): Likewise.
37588 (FE_OVERFLOW): Likewise.
37589 (FE_UNDERFLOW): Likewise.
37590 (FE_INEXACT): Likewise.
37591 (FE_TONEAREST): Likewise.
37592 (FE_DOWNWARD): Likewise.
37593 (FE_UPWARD): Likewise.
37594 (FE_TOWARDZERO): Likewise.
37595 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37596 (FE_UNDERFLOW): Likewise.
37597 (FE_OVERFLOW): Likewise.
37598 (FE_DIVBYZERO): Likewise.
37599 (FE_INVALID): Likewise.
37600 (FE_TONEAREST): Likewise.
37601 (FE_TOWARDZERO): Likewise.
37602 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37603 (FE_OVERFLOW): Likewise.
37604 (FE_UNDERFLOW): Likewise.
37605 (FE_DIVBYZERO): Likewise.
37606 (FE_INEXACT): Likewise.
37607 (FE_TONEAREST): Likewise.
37608 (FE_TOWARDZERO): Likewise.
37609 (FE_UPWARD): Likewise.
37610 (FE_DOWNWARD): Likewise.
37611 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37612 (FE_DIVBYZERO): Likewise.
37613 (FE_OVERFLOW): Likewise.
37614 (FE_UNDERFLOW): Likewise.
37615 (FE_INEXACT): Likewise.
37616 (FE_TONEAREST): Likewise.
37617 (FE_DOWNWARD): Likewise.
37618 (FE_UPWARD): Likewise.
37619 (FE_TOWARDZERO): Likewise.
37621 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37623 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37625 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37627 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37628 commands. Quote $PWD.
37629 (blacklist_exports): Don't use remove_newlines. Replace "declare
37631 (remove_newlines): Remove.
37633 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37635 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37636 * stdlib/stdlib.h (atof): Moved to ...
37637 * include/bits/stdlib-float.h: Here. New file.
37638 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37639 * stdlib/bits/stdlib-float.h: New file.
37640 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37642 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37645 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37647 * conform/conformtest.pl (@headers): Add fenv.h.
37648 * conform/data/fenv.h-data: New file.
37649 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37650 include of <math/fenv.h>.
37652 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37653 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37654 && !UNIX98]. Enables tests for XOPEN2K8.
37655 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37656 POSIX2008]: Likewise.
37658 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37659 (struct rusage): Do not expect type or its members.
37662 * math/math.h (FP_NAN): Define macro to integer constant usable in
37663 #if and use that to give value to enum constant.
37664 (FP_INFINITE): Likewise.
37665 (FP_ZERO): Likewise.
37666 (FP_SUBNORMAL): Likewise.
37667 (FP_NORMAL): Likewise.
37669 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37671 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37672 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37675 2012-11-02 Roland McGrath <roland@hack.frob.com>
37677 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37678 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37679 autoconf-time if not.
37680 * configure.in: Remove AC_PREREQ.
37682 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37684 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37685 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37686 of the internal implementation.
37688 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37690 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37691 except include of <misc/sys/syslog.h>.
37693 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37696 function returns with a NULL context exit with zero.
37698 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37700 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37702 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37704 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37705 (run_program_cmd): This.
37706 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37707 (tst_langinfo): New variable. Use it.
37709 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37711 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37712 floating point opcodes.
37714 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37716 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37719 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37721 * sysdeps/mach/hurd/powerpc: Remove directory.
37722 * sysdeps/mach/powerpc: Likewise.
37724 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37726 * scripts/check-local-headers.sh: Ignore c++ headers.
37728 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37730 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37731 __libc_cleanup_region_start argument.
37733 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37737 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37738 x * y using scaling, not as x * y + z.
37739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37740 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37741 * math/libm-test.inc (fma_test): Add more tests.
37742 (fma_test_towardzero): Likewise.
37743 (fma_test_downward): Likewise.
37744 (fma_test_upward): Likewise.
37746 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37748 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37750 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37752 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37755 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37757 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37759 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37766 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37769 Fix the order of the list for glibc 2.17.
37770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37773 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37777 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37781 for low part of x being zero before using __atanl (y).
37782 * math/libm-test.inc (atan2_test): Add another test.
37784 * manual/install.texi (Configuring and compiling): Document
37785 general use of test-wrapper and test-wrapper-env.
37786 * INSTALL: Regenerated.
37788 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37789 (__fma): Do not extract and scale down low bits on after-rounding
37790 systems when result rounded to normal precision would have normal
37792 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37793 (__fmal): Do not extract and scale down low bits on after-rounding
37794 systems when result rounded to normal precision would have normal
37796 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37797 (__fmal): Do not extract and scale down low bits on after-rounding
37798 systems when result rounded to normal precision would have normal
37800 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37802 (fma_test): Add more tests.
37803 (fma_test_towardzero): Likewise.
37804 (fma_test_downward): Likewise.
37805 (fma_test_upward): Likewise.
37807 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37809 * sysdeps/i386/tininess.h: Renamed to ...
37810 * sysdeps/x86/tininess.h: This.
37811 * sysdeps/x86_64/tininess.h: Removed.
37813 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37815 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37816 input. Use $(build-program-cmd).
37817 ($(objpfx)tst-array1-static.out): Likewise.
37818 ($(objpfx)tst-array2.out): Likewise.
37819 ($(objpfx)tst-array3.out): Likewise.
37820 ($(objpfx)tst-array4.out): Likewise.
37821 ($(objpfx)tst-array5.out): Likewise.
37822 ($(objpfx)tst-array5-static.out): Likewise.
37824 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37826 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37829 * nss/nsswitch.h (nss_interface_function): Provide new
37830 macro for use with NSS functions.
37831 * grp/initgroups.c: Use new macro.
37832 * nss/getXXbyYY.c: Likewise.
37833 * nss/getXXbyYY_r.c: Likewise.
37834 * nss/getXXent.c: Likewise.
37835 * nss/getXXent_r.c: Likewise.
37836 * sysdeps/posix/getaddrinfo.c: Likewise.
37838 2012-10-30 Andreas Jaeger <aj@suse.de>
37840 * po/ru.po: Update Russion translation from translation project.
37842 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37847 result and shift together with sticky bit instead of replicating
37848 round-to-nearest rounding.
37849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37850 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37851 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37852 missing underflow exceptions.
37853 (fma_test_towardzero): Add more tests.
37854 (fma_test_downward): Likewise.
37855 (fma_test_upward): Likewise.
37858 * sysdeps/generic/tininess.h: New file.
37859 * sysdeps/i386/tininess.h: Likewise.
37860 * sysdeps/sh/tininess.h: Likewise.
37861 * sysdeps/x86_64/tininess.h: Likewise.
37862 * stdlib/tst-strtod-underflow.c: Likewise.
37863 * stdlib/tst-tininess.c: Likewise.
37864 * stdlib/strtod_l.c: Include <tininess.h>.
37865 (round_and_return): Do not set errno for exact underflow cases.
37866 Force an underflow exception when setting errno for underflow.
37867 Determine underflow based on rounding to normal precision if
37868 TININESS_AFTER_ROUNDING.
37869 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37870 ERANGE for exact underflow cases.
37871 * stdlib/Makefile (tests): Add tst-tininess and
37872 tst-strtod-underflow.
37873 ($(objpfx)tst-tininess): Use $(link-libm).
37874 ($(objpfx)tst-strtod-underflow): Likewise.
37876 2012-10-30 Andreas Jaeger <aj@suse.de>
37879 * elf/Makefile (tests): Remove conditional for have-initfini-array
37880 since this is now always required and the variable does not exist
37882 (tests-static): Likewise.
37883 (modules-names): Likewise.
37885 * po/eo.po: Add Esperanto translation from translation project.
37887 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37888 merged with constructor/destructor.
37889 (init_array): Likewise.
37890 * elf/tst-array2dep.c (fini_array): Likewise.
37891 (init_array): Likewise.
37893 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37895 * manual/message.texi: Delete @cartouche tags.
37897 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37899 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37901 * sysdeps/mach/hurd/fsync.c: Likewise.
37903 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37904 [_POSIX_REALTIME_SIGNALS]: Change condition to
37905 [_POSIX_REALTIME_SIGNALS > 0].
37907 2012-10-27 Andreas Jaeger <aj@suse.de>
37909 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37910 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37912 [__WORDSIZE != 64]: Likewise.
37914 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37916 * iconvdata/tst-table.sh: Remove ${SHELL}.
37917 * iconvdata/tst-tables.sh: Likewise.
37919 2012-10-25 David S. Miller <davem@davemloft.net>
37921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37922 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37928 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37929 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37932 2012-10-25 Roland McGrath <roland@hack.frob.com>
37934 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37935 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37938 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37939 Jim Blandy <jimb@codesourcery.com>
37941 * scripts/cross-test-ssh.sh: New file.
37942 * manual/install.texi (Configuring and compiling): Document use of
37944 * INSTALL: Regenerated.
37946 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37948 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37951 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37953 * Makeconfig (run-program-prefix): Fix comment.
37955 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37956 Jim Blandy <jimb@codesourcery.com>
37958 * Makeconfig (test-wrapper): New variable,
37959 (test-wrapper-env): Likewise.
37960 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37961 (run-built-tests): Define to yes.
37962 (run-program-prefix): Use $(test-wrapper).
37963 (built-program-cmd): Likewise.
37964 * Rules (make-test-out): Use $(test-wrapper-env) and
37965 $(host-built-program-cmd).
37966 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37967 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37969 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37970 $(test-wrapper-env) to tst-rtld-load-self.sh.
37971 ($(objpfx)order2.out): Use $(test-wrapper).
37972 ($(objpfx)tst-initorder.out): Likewise.
37973 ($(objpfx)tst-initorder2.out): Likewise.
37974 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37975 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37976 (test_wrapper_env): New variable. Use it to run ld.so.
37977 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37978 Use it to run ld.so.
37979 (test_wrapper_env): Likewise.
37980 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37981 $(test-wrapper) to run-iconv-test.sh.
37982 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37983 (ICONV): Use $test_wrapper.
37984 * posix/Makefile ($(objpfx)globtest.out): Pass
37985 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37986 globtest.sh, not $(run-program-prefix).
37987 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37988 (test_wrapper): Likewise.
37989 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37990 set together with run_via_rtld_prefix.
37991 (run_program_prefix): Define in terms of test_wrapper and
37992 run_via_rtld_prefix.
37994 2012-10-24 Roland McGrath <roland@hack.frob.com>
37996 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37997 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38001 * include/time.h: Remove librt_hidden_proto (clock_gettime).
38002 Declare __clock_getres, __clock_gettime, __clock_settime,
38003 __clock_nanosleep, and __clock_getcpuclockid.
38004 * rt/clock_gettime.c: Define __clock_gettime as an alias.
38005 Remove librt_hidden_def (clock_gettime).
38006 * sysdeps/unix/clock_gettime.c: Likewise.
38007 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38008 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38009 * rt/clock_getres.c: Define __clock_getres as an alias.
38010 * sysdeps/posix/clock_getres.c: Likewise.
38011 * rt/clock_settime.c: Define __clock_settime as an alias.
38012 * sysdeps/unix/clock_settime.c: Likewise.
38013 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38014 * sysdeps/unix/clock_nanosleep.c: Likewise.
38015 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38016 * rt/clock-compat.c: New file.
38017 * rt/Makefile (librt-routines): Add clock-compat and move
38018 $(clock-routines) to ...
38019 (routines): ... here, new variable.
38020 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38021 Don't add get_clockfreq here.
38022 * rt/Versions (libc: GLIBC_2.17): New version set.
38023 Add clock_* symbols here.
38024 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
38025 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38026 (GLIBC_2.17): Add clock_* symbols.
38027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38038 * NEWS: Mention the move.
38040 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38041 Use __open, __read, __close rather than their public counterparts.
38042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38043 (__get_clockfreq_via_cpuinfo): Likewise.
38044 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38045 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38047 * config.h.in (HAVE_IFUNC): New #undef.
38048 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38050 * configure: Regenerated.
38052 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38054 * configure.in: Move READELF check to start of file.
38055 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38056 libc_cv_asm_gnu_indirect_function in the process.
38057 * configure: Regenerated.
38059 2012-10-24 Mike Frysinger <vapier@gentoo.org>
38061 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38062 send the output to /dev/null.
38063 (libc_cv_cc_with_libunwind): Likewise.
38064 (libc_cv_as_noexecstack): Likewise.
38065 * configure: Regenerate.
38067 2012-10-24 Joseph Myers <joseph@codesourcery.com>
38069 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38071 * posix/globtest.sh (TMPDIR): Do not set.
38072 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38073 (testout): Likewise.
38075 2012-10-24 Andreas Jaeger <aj@suse.de>
38077 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38078 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38079 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38080 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38081 posix_fadvise64, posix_fallocate64.
38083 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38084 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38085 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38087 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38089 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38092 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38093 <bits/fcntl-linux.h>.
38094 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38097 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38098 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38099 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38100 [__WORDSIZE != 64]: Likewise.
38102 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38104 * Makeconfig (run-built-tests): New variable.
38105 * Rules [$(cross-compiling) = yes]: Change condition to
38106 [$(run-built-tests) = no].
38107 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38108 to [$(run-built-tests) = yes].
38109 * elf/Makefile [$(cross-compiling) = no]: Likewise
38110 * grp/Makefile [$(cross-compiling) = no]: Likewise.
38111 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38112 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38113 * intl/Makefile [$(cross-compiling) = no]: Likewise.
38114 * io/Makefile [$(cross-compiling) = no]: Likewise.
38115 * libio/Makefile [$(cross-compiling) = no]: Likewise.
38116 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38117 * misc/Makefile [$(cross-compiling) = no]: Likewise.
38118 * posix/Makefile [$(cross-compiling) = no]: Likewise.
38119 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38120 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38121 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38122 * string/Makefile [$(cross-compiling) = no]: Likewise.
38124 * posix/Makefile ($(objpfx)globtest.out): Pass
38125 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38126 $(rtld-installed-name).
38127 * posix/globtest.sh (elf_objpfx): Remove variable.
38128 (rtld_installed_name): Likewise.
38129 (library_path): Likewise.
38130 (run_program_prefix): New variable. Use for running globtest
38133 2012-10-23 Jim Blandy <jimb@codesourcery.com>
38134 Joseph Myers <joseph@codesourcery.com>
38136 * Makeconfig (host-built-program-cmd): New variable.
38137 * elf/Makefile (tst-stackguard1-ARGS): Use
38138 $(host-built-program-cmd).
38139 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38140 (tst-spawn-ARGS): Likewise.
38141 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38143 2012-10-23 Joseph Myers <joseph@codesourcery.com>
38144 Jim Blandy <jimb@codesourcery.com>
38146 * Makeconfig (run-via-rtld-prefix): New variable.
38147 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38148 (built-program-cmd): Likewise.
38150 2012-10-22 Andreas Jaeger <aj@suse.de>
38152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38153 __O_RSYNC if it exists, otherwise to O_SYNC.
38155 2012-10-22 Jim Blandy <jimb@codesourcery.com>
38156 Joseph Myers <joseph@codesourcery.com>
38158 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38160 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38162 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38165 2012-10-22 Andreas Jaeger <aj@suse.de>
38167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38172 bits/fcntl-linux.h.
38174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38175 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38182 2012-10-21 Jim Blandy <jimb@codesourcery.com>
38183 Joseph Myers <joseph@codesourcery.com>
38185 * config.make.in (NM): New variable.
38187 2012-10-21 Andreas Jaeger <aj@suse.de>
38189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38190 definitions and declarations that are provided by
38191 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38193 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38196 * elf/Makefile (tests-static): Add tst-leaks1-static.
38197 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38198 ($(objpfx)tst-leaks1-static): New rule.
38199 ($(objpfx)tst-leaks1-static-mem): Likewise.
38200 (tst-leaks1-static-ENV): New macro.
38201 * elf/dl-open.c (dl_open_worker): Check the main application
38202 only if SHARED is defined.
38203 * elf/tst-leaks1-static.c: New file.
38205 2012-10-20 Andreas Jaeger <aj@suse.de>
38207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38208 generic values for Linux.
38209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38210 and declarations that are provided by <bits/fcntl-linux.h> and
38211 include <bits/fcntl-linux.h>.
38212 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38215 2012-10-20 Roland McGrath <roland@hack.frob.com>
38217 * io/fcntl.h: Move include of <bits/types.h> to the top and
38218 include it unconditionally.
38220 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38222 * wcsmbs/Makefile (tests-ifunc): New variable.
38223 (tests): Add $(tests-ifunc).
38224 * wcsmbs/test-wcschr-ifunc.c: New file.
38225 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38226 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38227 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38228 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38229 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38231 * string/Makefile (tests-ifunc): New variable.
38232 (tests): Add $(tests-ifunc).
38233 * string/test-memccpy.c (TEST_NAME): New macro.
38234 * string/test-memchr.c (TEST_NAME): Likewise.
38235 * string/test-memcmp.c (TEST_NAME): Likewise.
38236 * string/test-memcpy.c (TEST_NAME): Likewise.
38237 * string/test-memmem.c (TEST_NAME): Likewise.
38238 * string/test-memmove.c (TEST_NAME): Likewise.
38239 * string/test-memset.c (TEST_NAME): Likewise.
38240 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38241 * string/test-stpcpy.c (TEST_NAME): Likewise.
38242 * string/test-stpncpy.c (TEST_NAME): Likewise.
38243 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38244 * string/test-strcasestr.c (TEST_NAME): Likewise.
38245 * string/test-strcat.c (TEST_NAME): Likewise.
38246 * string/test-strchr.c (TEST_NAME): Likewise.
38247 * string/test-strcmp.c(TEST_NAME): Likewise.
38248 * string/test-strcpy.c (TEST_NAME): Likewise.
38249 * string/test-strcspn.c (TEST_NAME): Likewise.
38250 * string/test-strlen.c (TEST_NAME): Likewise.
38251 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38252 * string/test-strncmp.c (TEST_NAME): Likewise.
38253 * string/test-strncpy.c (TEST_NAME): Likewise.
38254 * string/test-strnlen.c (TEST_NAME): Likewise.
38255 * string/test-strpbrk.c (TEST_NAME): Likewise.
38256 * string/test-strrchr.c (TEST_NAME): Likewise.
38257 * string/test-strspn.c (TEST_NAME): Likewise.
38258 * string/test-strstr.c (TEST_NAME): Likewise.
38259 * string/test-bcopy-ifunc.c: New file.
38260 * string/test-bzero-ifunc.c: Likewise.
38261 * string/test-memccpy-ifunc.c: Likewise.
38262 * string/test-memchr-ifunc.c: Likewise.
38263 * string/test-memcmp-ifunc.c: Likewise.
38264 * string/test-memcpy-ifunc.c: Likewise.
38265 * string/test-memmem-ifunc.c: Likewise.
38266 * string/test-memmove-ifunc.c: Likewise.
38267 * string/test-mempcpy-ifunc.c: Likewise.
38268 * string/test-memset-ifunc.c: Likewise.
38269 * string/test-rawmemchr-ifunc.c: Likewise.
38270 * string/test-stpcpy-ifunc.c: Likewise.
38271 * string/test-stpncpy-ifunc.c: Likewise.
38272 * string/test-strcasecmp-ifunc.c: Likewise.
38273 * string/test-strcasestr-ifunc.c: Likewise.
38274 * string/test-strcat-ifunc.c: Likewise.
38275 * string/test-strchr-ifunc.c: Likewise.
38276 * string/test-strchrnul-ifunc.c: Likewise.
38277 * string/test-strcmp-ifunc.c: Likewise.
38278 * string/test-strcpy-ifunc.c: Likewise.
38279 * string/test-strcspn-ifunc.c: Likewise.
38280 * string/test-strlen-ifunc.c: Likewise.
38281 * string/test-strncasecmp-ifunc.c: Likewise.
38282 * string/test-strncat-ifunc.c: Likewise.
38283 * string/test-strncmp-ifunc.c: Likewise.
38284 * string/test-strncpy-ifunc.c: Likewise.
38285 * string/test-strnlen-ifunc.c: Likewise.
38286 * string/test-strpbrk-ifunc.c: Likewise.
38287 * string/test-strrchr-ifunc.c: Likewise.
38288 * string/test-strspn-ifunc.c: Likewise.
38289 * string/test-strstr-ifunc.c: Likewise.
38291 * debug/Makefile (tests-ifunc): New variable.
38292 (tests): Add $(tests-ifunc).
38293 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38294 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38295 * debug/test-stpcpy_chk-ifunc.c: New file.
38296 * debug/test-strcpy_chk-ifunc.c: Likewise.
38298 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38301 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38302 header is not read in.
38304 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38306 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38307 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38308 directly. Pass built executable to script as
38309 $(built-program-cmd).
38310 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38311 $testprogram without using LD_LIBRARY_PATH and $ldso.
38313 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38314 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38315 $(rtld-installed-name).
38316 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38317 (rtld_installed_name): Likewise.
38318 (library_path): Likewise.
38319 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38320 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38321 $(run-program-prefix) to tst-tables.sh.
38322 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38323 it to run tst-table-from and tst-table-to.
38324 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38325 Pass it to tst-table.sh.
38326 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38327 $(run-program-prefix) to tst-gettext.sh.
38328 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38330 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38332 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38333 to run tst-gettext.
38334 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38335 to run tst-gettext2.
38336 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38337 to run tst-translit.
38338 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38339 $(run-program-prefix) to tst-mtrace.sh.
38340 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38342 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38343 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38344 $(rtld-installed-name).
38345 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38346 (rtld_installed_name): Likewise.
38347 (run_program_prefix): New variable. Use it to run wordexp-test.
38349 * Makeconfig (ARCH): Remove all definitions.
38350 (machine): Likewise.
38351 [ARCH]: Remove conditional code.
38352 [!objdir]: Give error.
38353 [!objdir] (objpfx): Remove.
38354 [!objdir] (common-objpfx): Likewise.
38355 [!objdir] (common-objdir): Likewise.
38356 * configure.in (config_makefile): Remove. Hardcode Makefile in
38357 AC_CONFIG_FILES call.
38358 * configure: Regenerated.
38361 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38363 (testout): Likewise.
38365 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38366 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38367 $(rtld-installed-name).
38368 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38369 (rtld_installed_name): Likwise.
38370 (runit): Remove function.
38371 (run_getconf): New variable, Use it for running getconf binary.
38373 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38376 * string/test-memmem.c (check_result): New function.
38377 (do_one_test): Use it.
38378 (check1): New function.
38379 (test_main): Use it.
38381 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38383 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38385 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38387 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38388 (_G_LSEEK64): Likewise.
38389 (_G_MMAP64): Likewise.
38390 (_G_FSTAT64): Likewise.
38391 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38392 (_G_LSEEK64): Likewise.
38393 (_G_MMAP64): Likewise.
38394 (_G_FSTAT64): Likewise.
38395 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38396 unconditional. Call __mmap64 directly.
38397 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38398 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38399 __lseek64 directly.
38400 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38401 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38403 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38404 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38405 __lseek64 directly.
38406 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38407 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38408 __lseek64 directly.
38409 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38410 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38411 __lseek64 directly.
38412 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38413 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38414 __fxstat64 directly.
38415 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38416 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38418 (freopen64) [!_G_OPEN64]: Remove conditional code.
38419 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38421 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38422 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38424 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38425 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38427 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38428 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38430 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38431 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38433 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38434 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38436 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38437 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38439 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38441 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38444 * manual/memory.texi (Malloc Tunable Parameters): Add note
38445 about free list pointers overwriting some perturb bytes.
38446 Wording suggested by Roland McGrath.
38448 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38450 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38451 (lgamma_test): Likewise.
38452 (tgamma_test): Likewise.
38454 2012-10-16 Florian Weimer <fweimer@redhat.com>
38457 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38458 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38460 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38462 * NEWS: Mention BZ #14716.
38463 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38464 when removing AVAILABLE1_USES_J macro.
38466 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38468 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38469 (__bswap_64): __uint64_t for unsigned 64-bit int.
38471 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38473 * include/string.h (memmem): Declare libc hidden alias.
38474 * string/memmem.c (memmem): Define libc hidden alias.
38475 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38476 __read, __close instead of open, read, close.
38478 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38481 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38483 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38484 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38485 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38487 (__rawmemchr_sse2): Likewise.
38488 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38489 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38490 (__strchr_sse2): Likewise.
38491 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38492 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38493 (__strcasecmp_sse2): Likewise.
38494 (__strncasecmp_sse2): Likewise.
38495 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38496 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38497 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38498 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38499 (__strrchr_sse2): Likewise.
38500 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38502 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38503 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38504 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38506 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38507 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38508 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38509 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38510 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38511 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38512 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38513 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38514 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38515 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38516 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38517 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38518 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38519 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38520 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38521 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38522 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38523 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38524 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38525 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38526 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38527 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38528 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38529 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38530 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38531 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38533 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38535 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38536 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38537 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38538 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38540 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38542 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38543 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38544 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38545 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38547 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38548 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38549 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38550 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38551 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38552 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38553 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38554 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38555 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38556 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38557 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38558 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38559 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38560 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38561 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38563 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38564 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38565 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38566 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38567 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38568 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38569 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38570 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38571 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38572 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38573 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38574 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38575 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38576 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38577 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38578 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38579 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38580 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38581 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38582 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38583 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38584 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38586 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38587 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38589 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38590 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38591 * include/ifunc-impl-list.h: New file.
38592 * misc/ifunc-impl-list.c: Likewise.
38593 * misc/Makefile (routines): Add ifunc-impl-list.
38594 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38595 * string/test-string.h: Include <ifunc-impl-list.h>.
38596 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38597 TEST_NAME]: New variables.
38598 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38600 (test_init): Call __libc_ifunc_impl_list to initialize
38601 func_list if TEST_IFUNC and TEST_NAME are defined.
38603 * string/Makefile (strop-tests): Add bcopy and bzero.
38604 * string/test-bcopy.c: New file.
38605 * string/test-bzero.c: Likewise.
38606 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38608 * string/test-memset.c: Support bzero test if TEST_BZERO is
38610 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38612 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38614 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38617 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38619 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38620 * configure: Regenerated.
38622 * Makeconfig (+link-static-before-libc): Don't include
38623 $(link-static-libc).
38625 * libio/libio.h (_IO_pos_t): Remove.
38627 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38629 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38632 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38634 * crypt/crypt-entry.c: Include fips-private.h.
38635 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38636 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38637 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38638 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38640 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38642 * crypt/crypt-private.h: Include stdbool.h.
38643 (_ufc_setup_salt_r): Return bool.
38644 * crypt/crypt-entry.c: Include errno.h.
38645 (__crypt_r): Return NULL with EINVAL for bad salt.
38646 * crypt/crypt_util.c (bad_for_salt): New.
38647 (_ufc_setup_salt_r): Check that salt is long enough and within
38648 the specified alphabet.
38649 * crypt/badsalttest.c: New file.
38650 * crypt/Makefile (tests): Add it.
38651 ($(objpfx)badsalttest): New.
38653 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38655 * NEWS: Add entry for BZ #14602.
38657 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38659 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38661 * math/libm-test.inc: Update comment listing what functions and
38663 (isgreater_test): New function.
38664 (isgreaterequal_test): Likewise.
38665 (isless_test): Likewise.
38666 (islessequal_test): Likewise.
38667 (islessgreater_test): Likewise.
38668 (isunordered_test): Likewise.
38669 (main): Call the new functions.
38671 2012-10-09 Roland McGrath <roland@hack.frob.com>
38673 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38674 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38675 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38676 * sysdeps/i386/configure: Regenerated.
38677 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38678 * sysdeps/mach/configure: Regenerated.
38679 * sysdeps/mach/hurd/configure: Regenerated.
38680 * sysdeps/powerpc/configure: Regenerated.
38681 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38682 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38683 * sysdeps/s390/s390-32/configure: Regenerated.
38684 * sysdeps/s390/s390-64/configure: Regenerated.
38685 * sysdeps/sh/configure: Regenerated.
38686 * sysdeps/sparc/configure: Regenerated.
38687 * sysdeps/unix/sysv/linux/configure: Regenerated.
38688 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38689 * sysdeps/x86_64/configure: Regenerated.
38691 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38692 defined. Don't check if MAP is NULL.
38694 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38696 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38697 (_G_stat64): Likewise.
38698 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38699 (_G_stat64): Likewise.
38700 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38701 instead of struct _G_stat64.
38702 * libio/fileops.c (mmap_remap_check): Likewise.
38703 (decide_maybe_mmap): Likewise.
38704 (_IO_new_file_seekoff): Likewise.
38705 (_IO_file_stat): Likewise.
38706 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38708 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38709 instead of struct _G_stat64.
38710 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38712 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38715 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38717 (CHECK_EOL): New macro.
38718 (two_way_short_needle): Check beginning of haystack for EOL. Use
38720 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38721 Replace with CHECK_EOL.
38722 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38723 Replace with CHECK_EOL.
38725 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38727 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38729 * math/libm-test.inc: Update comment listing what functions and
38731 (finite_test): New function.
38732 (isinf_test): Likewise.
38733 (isnan_test): Likewise.
38734 (fpclassify_test): Test subnormal input.
38735 (isfinite_test): Likewise.
38736 (isnormal_test): Likewise.
38737 (main): Call the new functions.
38739 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38742 * Makerules (%.dynsym): Force C locale when running
38743 $(OBJDUMP) --dynamic-syms.
38745 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38747 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38750 2012-10-06 David S. Miller <davem@davemloft.net>
38752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38753 upper 32-bits of the length value in %o2 since we use branch-on-register
38754 tests which consider the entire 64-bit register.
38756 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38758 * string/test-strstr.c (check2): Add a test for page boundary.
38760 2012-10-05 David S. Miller <davem@davemloft.net>
38762 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38763 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38765 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38767 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38768 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38769 and bzero when HWCAP_SPARC_CRYPTO is present.
38771 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38774 * string/test-strstr.c (check2): New function.
38775 (test_main): Call check2.
38777 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38779 * string/bug-strcasestr1.c (do_test): Moved to ...
38780 * string/test-strcasestr.c (check1): Here. New function.
38781 (do_one_test): Break out result checking code into ...
38782 (check_result): This. New function.
38783 (do_one_test): Call check_result.
38784 (test_main): Call check1.
38785 * string/bug-strchr1.c (do_test): Moved to ...
38786 * string/test-strchr.c (check1): Here. New function.
38787 (do_one_test): Break out result checking code into ...
38788 (check_result): This. New function.
38789 (do_one_test): Call check_result.
38790 (test_main): Call check1.
38791 * string/bug-strstr1.c (main): Moved to ...
38792 * string/test-strstr.c (check1): Here. New function.
38793 (do_one_test): Break out result checking code into ...
38794 (check_result): This. New function.
38795 (do_one_test): Call check_result.
38796 (test_main): Call check1.
38797 * string/bug-strcasestr1.c: Removed.
38798 * string/bug-strchr1.c: Likewise.
38799 * string/bug-strstr1.c: Likewise.
38801 * elf/Makefile (dl-routines): Add hwcaps.
38802 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38803 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38804 (_dl_important_hwcaps): Moved to ...
38805 * elf/dl-hwcaps.c: Here. New file.
38806 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38809 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38810 if IS_IN_rtld isn't defined.
38812 * elf/dl-support.c (_dl_sysinfo_map): New.
38813 Include "get-dynamic-info.h" and "setup-vdso.h".
38814 (_dl_non_dynamic_init): Call setup_vdso.
38815 * elf/dynamic-link.h: Don't include <assert.h>.
38816 (elf_get_dynamic_info): Moved to ...
38817 * elf/get-dynamic-info.h: Here. New file.
38818 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38819 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38820 * elf/setup-vdso.h: Here. New file.
38821 * elf/rtld.c: Include "setup-vdso.h".
38822 (dl_main): Call setup_vdso.
38824 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38826 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38827 creal in comment listing functions tested. List finite, isinf,
38828 isnan, isless, islessequal, isgreater, isgreaterequal,
38829 islessgreater, isunordered, lgamma_r and pow10 as functions and
38830 macros not tested. Mention which functions not tested are aliases
38831 for other functions. Fix typo. Note that signs of NaNs are not
38834 * scripts/config.guess: Update from config.git.
38835 * scripts/config.sub: Likewise.
38837 2012-10-04 Roland McGrath <roland@hack.frob.com>
38839 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38840 * misc/madvise.c (madvise): Renamed to __madvise.
38841 Make madvise a weak alias.
38842 * include/sys/mman.h: Declare __madvise.
38843 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38844 * sysdeps/unix/syscalls.list
38845 (madvise): Make __madvise the strong name, and madvise a weak alias.
38846 * sysdeps/unix/sysv/linux/syscalls.list
38847 (madvise, mmap): Remove redundant entries.
38848 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38849 * malloc/malloc.c (mtrim): Likewise.
38850 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38852 2012-10-03 Roland McGrath <roland@hack.frob.com>
38854 * sysdeps/mach/hurd/dl-cache.c: File removed.
38855 * config.h.in (USE_LDCONFIG): New #undef.
38856 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38857 * configure: Regenerated.
38858 * elf/Makefile (dl-routines): Add dl-cache only under
38859 [$(use-ldconfig) = yes].
38860 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38861 cache on [USE_LDCONFIG].
38862 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38864 * elf/rtld.c (dl_main): Likewise.
38866 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38868 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38869 _SC_LEVEL4_CACHE_LINESIZE.
38871 2012-10-03 Roland McGrath <roland@hack.frob.com>
38873 * sysdeps/unix/bsd/confstr.h: File removed.
38875 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38877 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38880 2012-10-02 Roland McGrath <roland@hack.frob.com>
38882 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38883 Make 'mapoff' field ElfW(Off) rather than off_t.
38885 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38887 * nscd/Makefile: Remove nscd-cflags and all its users.
38888 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38889 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38892 * malloc.c (malloc_printerr): Clarify error message.
38894 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38898 Set bit_FMA_Usable if FMA is supported.
38899 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38901 (bit_FMA4_Usable): Updated.
38902 (index_FMA_Usable): New macro.
38903 (CPUID_FMA): Likewise
38904 (HAS_FMA): Defined with bit_FMA_Usable.
38906 2012-10-01 Roland McGrath <roland@hack.frob.com>
38908 * bits/types.h (__swblk_t): Type removed.
38909 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38910 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38912 (__SWBLK_T_TYPE): Likewise.
38913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38914 (__SWBLK_T_TYPE): Likewise.
38915 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38916 (__SWBLK_T_TYPE): Likewise.
38917 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38918 (__SWBLK_T_TYPE): Likewise.
38920 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38921 Honza Horak <hhorak@redhat.com>
38923 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38924 (xdr_mapname): Use YPMAXMAP as maxsize.
38925 (xdr_peername): Use YPMAXPEER as maxsize.
38926 (xdr_keydat): Use YPAXRECORD as maxsize.
38927 (xdr_valdat): Use YPMAXRECORD as maxsize.
38929 2012-10-01 Roland McGrath <roland@hack.frob.com>
38931 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38933 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38934 * csu/init-first.c: ... here.
38935 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38936 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38937 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38938 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38939 * sysdeps/i386/init-first.c: File removed.
38940 * sysdeps/sh/init-first.c: File removed.
38942 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38946 if x * y might underflow to zero and z is zero.
38947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38948 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38949 * math/libm-test.inc (min_subnorm_value): New variable.
38950 (fma_test): Add more tests.
38951 (fma_test_towardzero): Likewise.
38952 (fma_test_downward): Likewise
38953 (fma_test_upward): Likewise.
38954 (initialize): Set min_subnorm_value.
38956 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38961 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38962 mode for addition resulting in exact zero.
38963 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38964 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38966 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38967 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38968 * math/libm-test.inc (fma_test): Add more tests.
38969 (fma_test_towardzero): New function.
38970 (fma_test_downward): Likewise.
38971 (fma_test_upward): Likewise.
38972 (main): Call the new functions.
38974 2012-09-28 David S. Miller <davem@davemloft.net>
38976 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38978 2012-09-28 Roland McGrath <roland@hack.frob.com>
38980 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38981 instead of SIGALRM.
38983 * sysdeps/gnu/_G_config.h: Moved to ...
38984 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38985 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38986 * sysdeps/generic/_G_config.h: ... here.
38988 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38990 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38992 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38993 Conditionalize target on [libnss_test1.so-version].
38995 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38997 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38998 (elfobjdir): Move out of conditionals.
39000 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39001 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39002 (__nss_lookup_function): Conditionalize label remove_from_tree on
39003 [!DO_STATIC_NSS || SHARED], matching its only use.
39005 2012-09-28 David S. Miller <davem@davemloft.net>
39007 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39008 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39010 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39012 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39014 when HWCAP_SPARC_CRYPTO is present.
39016 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39018 * io/tst-mknodat.c: Create a FIFO instead of a socket.
39020 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
39023 * stdio-common/vfprintf.c (process_string_arg): Revert
39026 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
39028 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39030 * stdio-common/tst-sprintf.c: Include <locale.h>
39031 (main): Test sprintf's handling of incomplete multibyte
39034 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
39036 * elf/dl-runtime.c (VERSYMIDX): Removed.
39037 * elf/dl-version.c (VERSYMIDX): Likewise.
39038 * elf/do-rel.h (VERSYMIDX): Likewise.
39039 (VALIDX): Likewise.
39040 * elf/dynamic-link.h (VERSYMIDX): Likewise.
39041 * elf/rtld.c (VALIDX): Likewise.
39042 (ADDRIDX): Likewise.
39043 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39044 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39045 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39046 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39047 (VALIDX): Likewise.
39048 (ADDRIDX): Likewise.
39050 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39052 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39054 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
39057 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39059 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39060 addresses are in the same scope as 192.0.2/24.
39061 * posix/gai.conf: Document new scope table defaults.
39063 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39066 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39067 for ftell. Compute offsets from write pointers instead.
39068 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39070 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39073 * libio/Makefile (tests): New test case tst-fseek.
39074 * libio/tst-fseek.c: New test case to verify that fseek/ftell
39075 combination works in wide mode.
39076 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39077 state when the external buffer state changes.
39079 2012-09-27 David S. Miller <davem@davemloft.net>
39082 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39083 pass reloc->r_addend in as the 'high' argument to
39084 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39088 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
39090 * rt/tst-aio2.c: Include <pthread.h>.
39091 * rt/tst-aio3.c: Likewise.
39093 2012-09-27 Steve Ellcey <sellcey@mips.com>
39095 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39097 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
39099 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39100 contents on [SHARED].
39102 2012-09-26 Marek Polacek <polacek@redhat.com>
39106 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39107 for C++ and GCC <4.3 as well as for non GCC compilers.
39109 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
39111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39113 2012-09-25 Roland McGrath <roland@hack.frob.com>
39115 * Makefile.in (all, install): Declare with .PHONY.
39116 Reported by Michael Hope <michael.hope@linaro.org>.
39118 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39120 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39121 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39123 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39125 (sydep_routines): Add the new and the internal functions.
39126 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39127 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39129 (GLIBC_2.17): Add the new function.
39130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39131 (GLIBC_2.17): Likewise.
39132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39133 (GLIBC_2.17): Likewise.
39134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39135 (GLIBC_2.17): Likewise.
39136 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39138 2012-09-25 Alan Modra <amodra@gmail.com>
39140 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39141 Add release barrier before setting once_control to say
39142 initialisation is done. Add hints on lwarx. Use macro in
39144 (clear_once_control): Add release barrier.
39146 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39149 * math/s_clog.c (__clog): Handle more values close to |z| = 1
39151 * math/s_clog10.c (__clog10): Likewise.
39152 * math/s_clog10f.c (__clog10f): Likewise.
39153 * math/s_clog10l.c (__clog10l): Likewise.
39154 * math/s_clogf.c (__clogf): Likewise.
39155 * math/s_clogl.c (__clogl): Likewise.
39156 * math/Makefile (libm-calls): Add x2y2m1.
39157 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39158 (__x2y2m1): Likewise.
39159 (__x2y2m1l): Likewise.
39160 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39161 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39164 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39165 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39166 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39167 * sysdeps/i386/fpu/libm-test-ulps: Update.
39168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39172 int as type of variable DEPTH.
39173 (glob): Use size_t instead of int as type of variables NEWCOUNT
39176 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39178 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39179 Add s_sincosf-sse2.
39180 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39181 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39182 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39183 macros for using routine as __sincosf_ia32.
39184 Use macro for function declaration and weak_alias.
39185 * sysdeps/i386/fpu/libm-test-ulps: Update.
39187 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39190 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39191 subnormal argument.
39192 * math/s_cexpf.c (__cexpf): Likewise.
39193 * math/s_csinf.c (__csinf): Likewise.
39194 * math/s_csinhf.c (__csinhf): Likewise.
39195 * math/s_ctanf.c (__ctanf): Likewise.
39196 * math/s_ctanhf.c (__ctanhf): Likewise.
39197 * math/s_ccosh.c (__ccoshf): Likewise.
39198 * math/s_cexp.c (__cexpl): Likewise.
39199 * math/s_csin.c (__csin): Likewise.
39200 * math/s_csinh.c (__csinh): Likewise.
39201 * math/s_ctan.c (__ctan): Likewise.
39202 * math/s_ctanh.c (ctanh): Likewise.
39203 * math/s_ccoshl.c (__ccoshl): Likewise.
39204 * math/s_cexpl.c (__cexpl): Likewise.
39205 * math/s_csinl.c (__csinl): Likewise.
39206 * math/s_csinhl.c (__csinhl): Likewise.
39207 * math/s_ctanl.c (__ctanl): Likewise.
39208 * math/s_ctanhl.c (__ctanhl): Likewise.
39210 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39212 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39213 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39214 (_IO_off_t): Define to __off_t, not _G_off_t.
39215 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39216 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39217 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39218 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39219 type of __dummy and __dummy2 fields.
39220 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39221 (_G_ssize_t): Likewise.
39222 (_G_off_t): Likewise.
39223 (_G_pid_t): Likewise.
39224 (_G_uid_t): Likewise.
39225 (_G_wchar_t): Likewise.
39226 (_G_wint_t): Likewise.
39227 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39228 (_G_ssize_t): Likewise.
39229 (_G_off_t): Likewise.
39230 (_G_pid_t): Likewise.
39231 (_G_uid_t): Likewise.
39232 (_G_wchar_t): Likewise.
39233 (_G_wint_t): Likewise.
39234 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39235 (_G_ssize_t): Likewise.
39236 (_G_off_t): Likewise.
39237 (_G_pid_t): Likewise.
39238 (_G_uid_t): Likewise.
39239 (_G_wchar_t): Likewise.
39240 (_G_wint_t): Likewise.
39242 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39244 * malloc/arena.c: Include malloc-sysdep.h.
39245 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39246 is sufficient to shrink the heap or an unmap is needed.
39247 * sysdeps/generic/malloc-sysdep.h: New file. Define
39248 new function check_may_shrink_heap.
39249 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39250 new function check_may_shrink_heap.
39252 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39254 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39257 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39259 * catgets/test-gencat.sh: Add "set -e".
39260 * elf/tst-pathopt.sh: Likewise.
39261 * grp/tst_fgetgrent.sh: Likewise.
39262 * iconvdata/run-iconv-test.sh: Likewise.
39263 * intl/tst-gettext.sh: Likewise.
39264 * intl/tst-gettext2.sh: Likewise.
39265 * intl/tst-gettext4.sh: Likewise.
39266 * intl/tst-gettext6.sh: Likewise.
39267 * intl/tst-translit.sh: Likewise.
39268 * io/ftwtest-sh: Likewise.
39269 * libio/test-freopen.sh: Likewise.
39270 * malloc/tst-mtrace.sh: Likewise.
39271 * posix/globtest.sh: Likewise.
39272 * posix/tst-getconf.sh: Likewise.
39273 * posix/wordexp-tst.sh: Likewise.
39274 * stdio-common/tst-printf.sh: Likewise.
39275 * stdio-common/tst-unbputc.sh: Likewise.
39276 * stdlib/tst-fmtmsg.sh: Likewise.
39277 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39278 * catgets/Makefile: Do not specify -e option when running
39279 testsuite shell scripts.
39280 * elf/Makefile: Likewise.
39281 * grp/Makefile: Likewise.
39282 * iconvdata/Makefile: Likewise.
39283 * intl/Makefile: Likewise.
39284 * io/Makefile: Likewise.
39285 * libio/Makefile: Likewise.
39286 * malloc/Makefile: Likewise.
39287 * posix/Makefile: Likewise.
39288 * stdio-common/Makefile: Likewise.
39289 * stdlib/Makefile: Likewise.
39290 * sysdeps/x86_64/Makefile: Likewise.
39292 * io/ftwtest-sh: Add copyright header.
39293 * posix/globtest.sh: Likewise.
39294 * posix/tst-getconf.sh: Likewise.
39295 * posix/wordexp-tst.sh: Likewise.
39296 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39298 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39301 * Makeconfig (+link): Defined as $(+link-static) if
39302 $(build-shared) isn't yes.
39303 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39305 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39307 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39310 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39311 new chunk size with MALLOC_ALIGN_MASK.
39313 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39316 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39318 (__printf_fphex): Determine rounding using get_rounding_mode and
39320 * stdio-common/tst-printf-round.c (struct hex_test): New
39322 (hex_tests): New variable.
39323 (test_hex_in_one_mode): New function.
39324 (do_test): Also run tests for hex float output.
39326 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39328 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39329 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39330 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39331 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39332 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39333 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39334 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39335 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39337 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39339 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39340 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39341 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39342 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39344 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39347 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39349 * elf/tst-rtld-load-self.sh: New test.
39350 * elf/Makefile: Run it.
39352 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39354 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39355 (tst-writev-ENV): Remove.
39356 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39358 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39360 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39362 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39364 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39366 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39368 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39369 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39370 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39373 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39376 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39377 * config.make.in (have-cpp-asm-debuginfo): Removed.
39378 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39379 * configure: Regenerated.
39381 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39384 * stdio-common/printf_fp.c: Include <stdbool.h> and
39386 (___printf_fp): Determine rounding using get_rounding_mode and
39388 * stdio-common/tst-printf-round.c: New file.
39389 * stdio-common/Makefile (tests): Add tst-printf-round.
39390 (link-libm): New variable.
39391 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39393 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39396 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39397 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39399 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39402 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39404 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39405 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39406 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39407 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39409 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39412 * include/rounding-mode.h: New file.
39413 * sysdeps/generic/get-rounding-mode.h: Likewise.
39414 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39415 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39416 (MAX_VALUE): New macro.
39417 (MIN_VALUE): Likewise.
39418 (overflow_value): New function.
39419 (underflow_value): Likewise.
39420 (round_and_return): Use overflow_value and underflow_value to
39421 determine return values in overflow and underflow cases. Use
39422 round_away to determine rounding depending on rounding mode.
39423 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39424 determine return values in overflow and underflow cases.
39425 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39426 (struct test_results): New structure.
39427 (struct test): Use struct test_results to store expected results
39428 for all rounding modes.
39429 (TEST): Include expected results for all rounding modes.
39430 (test_in_one_mode): New function.
39431 (do_test): Use test_in_one_mode to compute and check results.
39432 Check results for all rounding modes.
39433 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39436 2012-12-09 Allan McRae <allan@archlinux.org>
39438 * sysdeps/i386/fpu/libm-test-ulps: Update
39440 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39442 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39443 (_G_int32_t): Likewise.
39444 (_G_uint16_t): Likewise.
39445 (_G_uint32_t): Likewise.
39446 (_G_HAVE_BOOL): Likewise.
39447 (_G_HAVE_ATEXIT): Likewise.
39448 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39449 (_G_HAVE_IO_FILE_OPEN): Likewise.
39450 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39451 (_G_int32_t): Likewise.
39452 (_G_uint16_t): Likewise.
39453 (_G_uint32_t): Likewise.
39454 (_G_HAVE_BOOL): Likewise.
39455 (_G_HAVE_ATEXIT): Likewise.
39456 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39457 (_G_HAVE_IO_FILE_OPEN): Likewise.
39458 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39459 (_G_int32_t): Likewise.
39460 (_G_uint16_t): Likewise.
39461 (_G_uint32_t): Likewise.
39462 (_G_HAVE_BOOL): Likewise.
39463 (_G_HAVE_ATEXIT): Likewise.
39464 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39465 (_G_HAVE_IO_FILE_OPEN): Likewise.
39467 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39469 * csu/libc-tls.c: Update copyright years.
39471 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39473 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39474 [!_G_USING_THUNKS]: Remove conditional code.
39475 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39476 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39478 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39479 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39480 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39481 (_G_VTABLE_LABEL_PREFIX): Likewise.
39482 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39483 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39484 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39485 (_G_VTABLE_LABEL_PREFIX): Likewise.
39486 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39487 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39488 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39489 (_G_VTABLE_LABEL_PREFIX): Likewise.
39490 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39492 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39494 * libio/Makefile: Include ../Makeconfig before tests.
39495 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39496 only if $(build-shared) is yes.
39498 * iconv/gconv_db.c: Update copyright years.
39500 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39502 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39503 unwind info if defined PIC. Fix special cases description.
39504 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39506 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39508 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39510 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39512 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39514 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39517 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39518 (LDLIBS-tst-chk4): This.
39519 (LDFLAGS-tst-chk5): Renamed to ...
39520 (LDLIBS-tst-chk5): This.
39521 (LDFLAGS-tst-chk6): Renamed to ...
39522 (LDLIBS-tst-chk6): This.
39523 (LDFLAGS-tst-lfschk4): Renamed to ...
39524 (LDLIBS-tst-lfschk4): This.
39525 (LDFLAGS-tst-lfschk5): Renamed to ...
39526 (LDLIBS-tst-lfschk5): This.
39527 (LDFLAGS-tst-lfschk6): Renamed to ...
39528 (LDLIBS-tst-lfschk6): This.
39530 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39531 on $(common-objpfx)soversions.mk.
39533 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39536 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39539 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39541 * malloc/arena.c (arena_get_retry): New function that gets
39542 another arena for the caller to try its request on.
39543 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39544 current arena cannot fulfill the request.
39545 (__libc_memalign): Likewise.
39546 (__libc_memalign): Likewise.
39547 (__libc_pvalloc): Likewise.
39548 (__libc_calloc): Likewise.
39550 2012-09-05 John Tobey <john.tobey@gmail.com>
39553 * manual/arith.texi (Operations on Complex): Fix description
39554 of carg branch cut.
39556 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39559 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39563 * manual/memory.texi (Memory): Make order of menu items match
39566 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39568 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39569 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39570 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39572 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39574 * csu/libc-tls.c (static_dtv): Renamed to ...
39575 (_dl_static_dtv): This. Make it global.
39576 (_dl_initial_dtv): Removed.
39577 (__libc_setup_tls): Updated.
39578 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39579 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39582 2012-09-06 Petr Machata <pmachata@redhat.com>
39584 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39585 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39586 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39587 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39589 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39592 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39593 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39596 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39599 * Makeconfig (link-static-before-libc): Replace $(+prector)
39601 (link-static-after-libc): Replace $(+postctor) with
39603 (link-bounded): Replace $(+prector)/$(+postctor) with
39604 $(+prectorT)/$(+postctorT).
39605 (+prectorT): New macro.
39606 (+postctorT): Likewise.
39608 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39610 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39611 (round_str): Handle values above the maximum for IBM long double
39613 * stdlib/tst-strtod-round.c (tests): Regenerated.
39615 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39617 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39619 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39620 zarch_nohighgprs around the zarch optimized routines.
39621 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39622 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39623 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39626 2012-09-05 David S. Miller <davem@davemloft.net>
39628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39630 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39631 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39632 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39633 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39636 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39638 * malloc/arena.c: Fold copyright years.
39639 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39641 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39643 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39645 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39647 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39649 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39651 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39652 change internal state upon failure.
39654 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39656 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39657 * malloc/memusage.c (mmap): Likewise.
39658 (mmap64, mremap): Likewise. Adjust name in comment.
39660 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39662 * libio/fileops.c: Fix typos in comments.
39663 * libio/oldfileops.c: Likewise.
39664 * libio/wfileops.c: Likewise.
39666 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39669 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39670 (tst-malloc-usable-ENV): Set environment for test case.
39671 * malloc/hooks.c (malloc_check_get_size): New function to get
39673 * malloc/malloc.c (musable): Use malloc_check_get_size.
39674 * malloc/tst-malloc-usable.c: New test case.
39676 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39678 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39680 2012-09-05 Allan McRae <allan@archlinux.org>
39683 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39684 determine header location.
39685 * configure: Regenerated.
39687 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39689 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39691 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39692 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39694 (test): Regenerate.
39696 2012-09-04 David S. Miller <davem@davemloft.net>
39698 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39699 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39702 2012-09-04 Florian Weimer <fweimer@redhat.com>
39704 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39707 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39709 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39712 * libio/iogetdelim.c: Include <limits.h>.
39713 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39714 + len + 1 would overflow.
39716 2012-09-03 Andreas Jaeger <aj@suse.de>
39718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39719 * sysdeps/i386/fpu/libm-test-ulps: Update.
39721 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39723 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39724 Add s_sinf-sse2, s_conf-sse2.
39726 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39727 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39728 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39729 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39731 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39732 for using routine as __sinf_ia32.
39733 Use macro for function declaration and weak_alias.
39734 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39735 for using routine as __cosf_ia32.
39736 Use macro for function declaration and weak_alias.
39738 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39739 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39741 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39742 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39745 * math/libm-test.inc (cos_test): Add more test cases.
39746 (sin_test): Likewise.
39747 (sincos_test): Likewise.
39749 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39751 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39752 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39754 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39756 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39759 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39760 first element of the GOT.
39761 (elf_machine_load_address): Return the difference between
39762 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39764 2012-09-01 Allan McRae <allan@archlinux.org>
39767 * configure.in (AWK): Require gawk version 3.0 or later.
39768 * configure: Regenerated.
39770 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39772 * sysdeps/unix/sysv/linux/kernel-features.h
39773 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39774 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39775 [__NR_clock_getres]: Make code unconditional.
39776 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39777 (clock_getcpuclockid): Remove code left unreachable by removal of
39779 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39780 code unconditional.
39781 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39782 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39783 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39784 Make code unconditional.
39785 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39786 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39787 * sysdeps/unix/sysv/linux/clock_settime.c
39788 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39790 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39791 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39793 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39796 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39797 scripts/test-installation.pl.
39799 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39800 and $ld_so_version if it is set.
39802 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39805 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39806 failure if reading from procfs failed.
39807 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39809 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39811 * sysdeps/unix/sysv/linux/kernel-features.h
39812 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39813 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39814 Remove conditional code.
39815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39816 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39817 Remove conditional code.
39818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39819 * sysdeps/unix/sysv/linux/i386/fxstat.c
39820 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39822 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39823 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39825 * sysdeps/unix/sysv/linux/i386/lxstat.c
39826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39828 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39829 Remove conditional code.
39830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39831 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39832 Remove conditional code.
39833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39834 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39835 <kernel-features.h>.
39836 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39838 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39839 Remove conditional code.
39840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39841 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39842 Remove conditional.
39844 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39847 * NEWS: Add fixed bug number.
39849 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39852 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39853 underflowing exponent in case of negative sign.
39854 * stdlib/tst-strtod-round-data: Add more tests.
39855 * stdlib/tst-strtod-round.c (tests): Regenerated.
39858 * stdlib/strtod_l.c (NDIG): Remove.
39859 (HEXNDIG): Likewise.
39860 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39861 smallest representable value.
39862 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39863 lie within an exact representation of 1/2 ulp of the result.
39864 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39866 (TENS_P9_IDX): Define unconditionally.
39867 (TENS_P9_SIZE): Likewise.
39868 (TENS_P10_IDX): Likewise.
39869 (TENS_P10_SIZE): Likewise.
39870 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39871 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39872 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39873 entries for 10^2^13 and 10^2^14.
39874 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39875 (TENS_P13_IDX): Define.
39876 (TENS_P13_SIZE): Likewise.
39877 (TENS_P14_IDX): Likewise.
39878 (TENS_P14_SIZE): Likewise.
39879 (_fpioconst_pow10): Change array size to
39880 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39882 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39883 1024]: Add entries for 10^2^13 and 10^2^14.
39884 [LAST_POW10 > _LAST_POW10]: Remove #error.
39885 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39886 (_fpioconst_pow10): Change array size to
39887 FPIOCONST_POW10_ARRAY_SIZE.
39888 * stdlib/gen-fpioconst.c: New file.
39889 * stdlib/gen-tst-strtod-round.c: Likewise.
39890 * stdlib/tst-strtod-round-data: Likewise.
39891 * stdlib/tst-strtod-round.c: Likewise.
39892 * stdlib/Makefile (tests): Add tst-strtod-round.
39895 * stdlib/strtod_l.c: Include <stdint.h>.
39896 (NDEBUG): Do not define.
39897 (round_and_return): Change EXPONENT parameter to type intmax_t.
39898 Rearrange calculations to avoid internal overflow possibilities.
39899 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39900 Rearrange calculations to avoid internal overflow possibilities.
39901 Assert that number fits inside MPNSIZE limbs.
39902 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39903 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39904 calculations and add assertions to avoid internal overflow
39905 possibilities. Add casts to avoid signed/unsigned operations.
39906 * stdlib/tst-strtod-overflow.c: New file.
39907 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39909 2012-08-25 Marek Polacek <polacek@redhat.com>
39911 * time/time.h: Fix some typos in comments.
39913 2012-08-23 Roland McGrath <roland@hack.frob.com>
39915 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39916 * posix/tst-rfc3484-2.c: Likewise.
39917 * posix/tst-rfc3484-3.c: Likewise.
39919 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39921 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39922 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39924 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39926 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39927 #include of fxstatat64.c.
39929 2012-08-22 Roland McGrath <roland@hack.frob.com>
39931 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39932 * shadow/getspent_r.c: Likewise.
39933 * shadow/getspnam.c: Likewise.
39934 * shadow/getspnam_r.c: Likewise.
39935 * gshadow/getsgent.c: Likewise.
39936 * gshadow/getsgent_r.c: Likewise.
39937 * gshadow/getsgnam.c: Likewise.
39938 * gshadow/getsgnam_r.c: Likewise.
39939 * inet/getnetbyad.c: Likewise.
39940 * inet/getnetbyad_r.c: Likewise.
39941 * inet/getnetbynm.c: Likewise.
39942 * inet/getnetbynm_r.c: Likewise.
39943 * inet/getnetent.c: Likewise.
39944 * inet/getnetent_r.c: Likewise.
39945 * inet/getproto.c: Likewise.
39946 * inet/getproto_r.c: Likewise.
39947 * inet/getprtent.c: Likewise.
39948 * inet/getprtent_r.c: Likewise.
39949 * inet/getprtname.c: Likewise.
39950 * inet/getprtname_r.c: Likewise.
39951 * inet/getrpcbyname.c: Likewise.
39952 * inet/getrpcbyname_r.c: Likewise.
39953 * inet/getrpcbynumber.c: Likewise.
39954 * inet/getrpcbynumber_r.c: Likewise.
39955 * inet/getrpcent.c: Likewise.
39956 * inet/getrpcent_r.c: Likewise.
39957 * inet/getaliasent.c: Likewise.
39958 * inet/getaliasent_r.c: Likewise.
39959 * inet/getaliasname.c: Likewise.
39960 * inet/getaliasname_r.c: Likewise.
39961 * nscd/getgrgid_r.c: Likewise.
39962 * nscd/getgrnam_r.c: Likewise.
39963 * nscd/gethstbyad_r.c: Likewise.
39964 * nscd/gethstbynm3_r.c: Likewise.
39965 * nscd/getpwnam_r.c: Likewise.
39966 * nscd/getpwuid_r.c: Likewise.
39967 * nscd/getsrvbynm_r.c: Likewise.
39968 * nscd/getsrvbypt_r.c: Likewise.
39969 * nscd/gai.c: Likewise.
39971 * configure.in (build_nscd): New substituted variable, set
39972 by --disable-build-nscd and defaults to $use_nscd.
39973 * configure: Regenerated.
39974 * config.make.in (build-nscd): New substituted variable.
39975 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39976 Change conditional to require [$(build-nscd) = yes] as well.
39977 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39980 * configure.in (use_nscd): New substituted variable, set by
39981 --disable-nscd. If enabled, define USE_NSCD.
39982 * configure: Regenerated.
39983 * config.h.in: Add USE_NSCD.
39984 * config.make.in (use-nscd): New substituted variable.
39985 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39986 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39987 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39988 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39989 (CFLAGS-getgrnam_r.c): Likewise.
39990 (CFLAGS-initgroups.c): Likewise.
39991 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39992 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39994 * inet/getnetgrent_r.c
39995 (nscd_setnetgrent): New function, broken out of ...
39996 (setnetgrent): ... here. Call it.
39997 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39998 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39999 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40000 * nscd/Makefile (routines, aux): Move definitions after include of
40001 Makeconfig. Conditionalize on [$(use-nscd) != no].
40002 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40003 Conditionalize on [USE_NSCD].
40004 (is_nscd, nscd_init_cb): Likewise.
40005 (nss_load_library): Conditionalize init callback on [USE_NSCD].
40006 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40007 * nss/nss_db/db-init.c: Likewise.
40008 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40010 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40011 (make_request): Use it.
40012 (cache_valid_p): New function.
40013 (__check_pf): Use it.
40014 * NEWS: Add item for --disable-nscd.
40016 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
40018 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40019 to support sed >= 4.2.1-20-ga9bf076.
40020 * configure: Regenerated.
40022 2012-08-22 Roland McGrath <roland@hack.frob.com>
40024 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40025 Conditionalize whole body on [IREL].
40027 2012-08-22 Jeff Law <law@redhat.com>
40030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40031 if the family is PF_UNSPEC.
40033 2012-08-22 Mike Frysinger <vapier@gentoo.org>
40035 * Makerules (lib-version): Rename from V.
40036 (install-lib-nosubdir): Change V to lib-version.
40038 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
40041 * powerpc32/power6/wcschr.c: New file.
40042 * powerpc32/power6/wcscpy.c: New file.
40043 * powerpc32/power6/wcsrchr.c: New file.
40044 * powerpc64/power6/wcschr.c: New file.
40045 * powerpc64/power6/wcscpy.c: New file.
40046 * powerpc64/power6/wcsrchr.c: New file.
40048 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40050 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40051 (two_way_short_needle): Use it.
40052 * string/strstr.c (AVAILABLE1_USES_J): Define.
40053 * string/strcasestr.c: Likewise.
40055 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40057 * string/strcasestr.c (TOLOWER): Make side-effect safe.
40060 * NEWS: Add an entry.
40061 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40062 define their defaults.
40063 (two_way_short_needle): Detect end-of-string on-the-fly.
40064 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40065 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40066 * string/bug-strcasestr1.c: New test.
40067 * string/Makefile: Run it.
40069 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
40072 * string/str-two-way.h (two_way_short_needle): Optimize matching of
40073 the first character.
40075 2012-08-21 Roland McGrath <roland@hack.frob.com>
40077 * csu/elf-init.c (__libc_csu_irel): Function removed.
40078 * csu/libc-start.c (apply_irel): New function.
40079 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40081 2012-08-21 Joseph Myers <joseph@codesourcery.com>
40083 * sysdeps/unix/sysv/linux/kernel-features.h
40084 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40085 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40086 <kernel-features.h>.
40087 [__NR_fadvise64_64]: Make code unconditional.
40088 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40089 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40090 !__NR_fadvise64_64)]: Likewise.
40091 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40092 !__NR_fadvise64_64))]: Likewise.
40093 [__NR_fadvise64]: Make code unconditional.
40094 [!__NR_fadvise64]: Remove conditional code.
40095 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40096 <kernel-features.h>.
40097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40102 not include <kernel-features.h>.
40103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40107 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40108 include <kernel-features.h>.
40109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40114 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40116 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40117 slight instruction rearrangements per scrollpipe analysis.
40118 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40120 2012-08-20 Roland McGrath <roland@hack.frob.com>
40122 * manual/syslog.texi (syslog; vsyslog, closelog):
40123 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40124 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40126 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40127 DSOCAPS to match condition on defining it.
40129 2012-08-20 Joseph Myers <joseph@codesourcery.com>
40131 * sysdeps/unix/sysv/linux/kernel-features.h
40132 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40134 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40135 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40137 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40138 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40143 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40144 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40146 * sysdeps/unix/sysv/linux/kernel-features.h
40147 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40148 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40150 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40151 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40152 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40153 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40154 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40155 Make code unconditional.
40156 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40157 (__mmap64) [!__NR_mmap2]: Likewise.
40158 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40159 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40160 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40161 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40162 [__NR_mmap2]: Make code unconditional.
40163 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40164 (__mmap64) [!__NR_mmap2]: Likewise.
40166 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40168 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40170 2012-08-18 Andreas Jaeger <aj@suse.de>
40172 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40174 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40176 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40177 * include/unistd.h (__have_sock_cloexec): Likewise.
40178 (__have_pipe2): Likewise.
40179 (__have_dup3): Likewise.
40181 2012-08-18 Mike Frysinger <vapier@gentoo.org>
40184 * include/unistd.h (__have_pipe2): Change define into an extern int.
40185 (__have_dup3): Likewise.
40186 * socket/have_sock_cloexec.c: Include fcntl.h.
40187 (__have_pipe2): New variable.
40188 (__have_dup3): Likewise.
40190 2012-08-17 Mike Frysinger <vapier@gentoo.org>
40192 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40194 2012-08-17 Marek Polacek <polacek@redhat.com>
40196 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40197 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40199 2012-08-17 Roland McGrath <roland@hack.frob.com>
40201 * configure.in: Add AC_SUBST for sysheaders.
40202 * configure: Regenerated.
40203 * config.make.in (sysheaders): New substituted variable.
40205 * sysdeps/unix/mkfifo.c: Moved ...
40206 * sysdeps/posix/mkfifo.c: ... here.
40207 * sysdeps/unix/mkfifoat.c: Moved ...
40208 * sysdeps/posix/mkfifoat.c: ... here.
40210 * sysdeps/unix/utime.c: Moved ...
40211 * sysdeps/posix/utime.c: ... here.
40213 * sysdeps/unix/time.c: Moved ...
40214 * sysdeps/posix/time.c: ... here.
40215 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40216 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40218 * sysdeps/unix/nice.c: Moved ...
40219 * sysdeps/posix/nice.c: ... here.
40221 * sysdeps/unix/alarm.c: Moved ...
40222 * sysdeps/posix/alarm.c: ... here.
40224 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40226 2012-08-17 Jeff Law <law@redhat.com>
40228 * intl/Makefile (codeset_mo): New variable.
40229 ($(codeset_mo)): New target.
40230 (tst-codeset.out): Depend on that. Remove explicit rule.
40231 (tst-gettext3.out, tst-gettext5.out): Likewise.
40232 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40233 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40234 * intl/tst-codeset.sh: Remove.
40235 * intl/tst-gettext3.sh: Likewise.
40236 * intl/tst-gettext5.sh: Likewise.
40238 2012-08-17 Roland McGrath <roland@hack.frob.com>
40240 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40241 * sysdeps/unix/syscalls.list: ... here.
40243 * sysdeps/posix/getaddrinfo.c
40244 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40245 (gaiconf_init, gaiconf_reload): Use them.
40246 [!_STATBUF_ST_NSEC]
40247 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40248 Define using time_t rather than struct timespec.
40250 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40251 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40253 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40255 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40256 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40259 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40260 __libc_cleanup_push argument.
40262 * bits/param.h: New file.
40263 * misc/sys/param.h: New file.
40264 * include/sys/param.h: New file.
40265 * misc/Makefile (headers): Add bits/param.h.
40266 * sysdeps/generic/sys/param.h: File removed.
40267 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40268 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40269 * sysdeps/mach/hurd/bits/param.h: New file.
40270 * sysdeps/mach/hurd/sys/param.h: File removed.
40272 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40275 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40277 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40278 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40281 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40282 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40283 rather than -D_IO_MTSAFE_IO conditionally.
40284 * stdio-common/Makefile (CPPFLAGS): Likewise.
40285 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40286 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40287 Use $(libio-mtsafe).
40288 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40289 of -D_IO_MTSAFE_IO.
40290 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40291 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40292 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40293 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40294 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40295 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40296 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40297 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40298 (CFLAGS-fread_u_chk.c): Likewise.
40299 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40300 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40301 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40302 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40303 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40304 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40305 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40306 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40307 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40309 * libio/Makefile: Test [$(libc-reentrant) = yes]
40310 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40313 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40314 * sysdeps/pthread/configure: File removed.
40315 * sysdeps/pthread/Makeconfig: New file.
40316 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40317 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40319 2012-08-16 Gary Benson <gbenson@redhat.com>
40321 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40322 unmapping the first object in a namespace.
40324 2012-08-16 Roland McGrath <roland@hack.frob.com>
40326 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40327 (__internal_setnetgrent): ... this. Add internal_function to
40328 definition. Add libc_hidden_def.
40329 (setnetgrent): Update caller.
40330 (internal_endnetgrent): Renamed to ...
40331 (__internal_endnetgrent): ... this. Add internal_function to
40332 definition. Add libc_hidden_def.
40333 (endnetgrent): Update caller.
40334 (internal_getnetgrent_r): Renamed to ...
40335 (__internal_getnetgrent_r): ... this. Add internal_function to
40336 definition. Add libc_hidden_def.
40337 (__getnetgrent_r): Update caller.
40338 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40340 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40342 * stdlib/longlong.h: Update from GCC.
40344 2012-08-16 Roland McGrath <roland@hack.frob.com>
40346 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40347 on _QL, which is set by umul_ppmm but never used.
40348 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40349 variables, which are set by GMP macros but never used.
40350 * stdio-common/_itowa.c (_itowa): Likewise.
40351 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40352 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40354 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40356 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40357 struct La_sh_regs is not constant.
40358 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40359 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40360 and struct La_sparc64_regs are not constant.
40362 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40364 * sysdeps/unix/sysv/linux/kernel-features.h
40365 (__ASSUME_POSIX_TIMERS): Remove.
40366 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40368 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40369 Make code unconditional.
40370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40371 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40372 Make code unconditional.
40373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40374 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40375 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40377 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40378 Make code unconditional.
40379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40380 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40381 (__libc_missing_posix_timers): Remove.
40383 2012-08-15 Roland McGrath <roland@hack.frob.com>
40385 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40386 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40388 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40390 * elf/dl-sym.c: Include <stdlib.h>.
40392 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40393 constants, which avoids warnings in 32-bit builds.
40395 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40396 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40398 * misc/lseek.c: File moved to ...
40399 * io/lseek.c: ... here.
40401 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40403 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40404 shifting LEN more than 31 bits at once.
40406 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40409 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40410 segmentation fault for a case of two empty input strings.
40411 * string/test-strncasecmp.c (check1): Renamed to...
40412 (bz12205): ...this.
40413 (bz14195): Add new testcase for two empty input strings and N > 0.
40414 (test_main): Call new testcase, adapt for renamed function.
40416 2012-08-15 Andreas Jaeger <aj@suse.de>
40419 * crypt/md5test2.c: New test, based on test supplied by Serge
40420 Belyshev <belyshev@depni.sinp.msu.ru>.
40421 * crypt/Makefile (xtests): Add md5test-giant..
40422 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40424 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40427 * crypt/md5.c (md5_process_block): Don't assume the buffer
40428 length is less than 2**32.
40429 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40430 length is less than 2**64.
40432 2012-08-15 Roland McGrath <roland@hack.frob.com>
40434 * string/str-two-way.h: Include <sys/param.h>.
40435 (MAX): Macro removed.
40437 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40438 Move #define and #undef of memmove to just before and after
40439 including <string.h>.
40441 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40442 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40443 and after including <string.h>. Move declarations of
40444 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40445 to before #include "string/memmove.c".
40447 * include/dirent.h: Declare __getdirentries.
40449 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40450 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40452 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40454 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40455 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40456 * sysdeps/i386/configure: Regenerated.
40457 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40458 STABS_CURRENT_FILE, and STABS_FUN.
40459 (END): Remove call to STABS_FUN_END.
40460 (STABS_CURRENT_FILE1): Delete.
40461 (STABS_CURRENT_FILE): Likewise.
40462 (STABS_FUN): Likewise.
40463 (STABS_FUN_END): Likewise.
40464 (STABS_FUN2): Likewise.
40465 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40466 * sysdeps/x86_64/configure: Regenerated.
40468 2012-08-14 Roland McGrath <roland@hack.frob.com>
40470 * elf/dl-open.c: Include <atomic.h>.
40471 * elf/dl-lookup.c: Likewise.
40473 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40475 * sysdeps/unix/sysv/linux/kernel-features.h
40476 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40477 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40479 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40481 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40482 condition on __ASSUME_CLONE_THREAD_FLAGS.
40484 2012-08-14 Andreas Jaeger <aj@suse.de>
40486 * sysdeps/i386/fpu/libm-test-ulps: Update.
40488 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40490 * include/atomic.h (atomic_exchange_and_add): Split into ...
40491 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40494 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40498 2012-08-13 Jeff Law <law@redhat.com>
40500 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40501 null byte in the output string.
40503 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40505 * sysdeps/unix/sysv/linux/kernel-features.h
40506 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40507 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40508 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40509 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40510 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40511 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40512 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40514 2012-08-09 Jeff Law <law@redhat.com>
40517 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40518 When avoid_arena is set, don't retry in the that arena. Pick the
40519 next one, whatever it might be.
40520 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40521 (arena_lock): Pass in new parameter to arena_get2.
40522 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40524 (__libc_malloc): Unify retrying after main arena failure with
40525 __libc_memalign version.
40526 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40528 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40531 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40532 to __redirect_strstr.
40533 (__strstr_sse42): Use typeof __redirect_strstr.
40534 (__strstr_ia32): Likewise.
40535 (__libc_strstr): New prototype.
40536 (strstr): Renamed to ...
40537 (__libc_strstr): This.
40538 (strstr): New strong alias of __libc_strstr.
40539 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40540 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40543 (__libc_time): New prototype.
40544 (time_ifunc): Replace time with __libc_time.
40545 (time): New strong alias and hidden definition of __libc_time.
40546 (__GI_time): Remove strong alias.
40547 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40548 Include <stddef.h>.
40549 (memmove): Redefined to __redirect_memmove.
40550 (__memmove_sse2): Use typeof __redirect_memmove.
40551 (__memmove_ssse3): Likewise.
40552 (__memmove_ssse3_back): Likewise.
40553 (__libc_memmove): New prototype.
40554 (memmove): Renamed to ...
40555 (__libc_memmove): This.
40556 (memmove): New strong alias of __libc_memmove.
40558 2012-08-08 Mark Salter <msalter@redhat.com>
40561 (R_MN10300_TLS_GD): Define.
40562 (R_MN10300_TLS_LD): Likewise.
40563 (R_MN10300_TLS_LDO): Likewise.
40564 (R_MN10300_TLS_GOTIE): Likewise.
40565 (R_MN10300_TLS_IE): Likewise.
40566 (R_MN10300_TLS_LE): Likewise.
40567 (R_MN10300_TLS_DTPMOD): Likewise.
40568 (R_MN10300_TLS_DTPOFF): Likewise.
40569 (R_MN10300_TLS_TPOFF): Likewise.
40570 (R_MN10300_SYM_DIFF): Likewise.
40571 (R_MN10300_ALIGN): Likewise.
40572 (R_MN10300_NUM): Update.
40574 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40576 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40579 2012-08-08 Roland McGrath <roland@hack.frob.com>
40581 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40583 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40584 sysdeps/unix -> sysdeps/posix move.
40585 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40587 2012-08-07 Allan McRae <allan@archlinux.org>
40590 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40591 (SUNOS_CPP): Likewise.
40592 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40594 (open_input): Call CPP using execvp.
40596 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40598 * sysdeps/unix/sysv/linux/kernel-features.h
40599 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40600 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40601 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40602 (__ASSUME_WAITID_SYSCALL): Likewise.
40603 * sysdeps/unix/sysv/linux/dl-execstack.c
40604 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40605 code unconditional.
40606 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40608 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40609 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40610 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40612 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40614 [__ASSUME_WAITID_SYSCALL]: Likewise.
40615 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40617 2012-08-07 Roland McGrath <roland@hack.frob.com>
40619 * sysdeps/unix/closedir.c: Renamed to ...
40620 * sysdeps/posix/closedir.c: ... here.
40621 * sysdeps/unix/dirfd.c: Renamed to ...
40622 * sysdeps/posix/dirfd.c: ... here.
40623 * sysdeps/unix/dirstream.h: Renamed to ...
40624 * sysdeps/posix/dirstream.h: ... here.
40625 * sysdeps/unix/fdopendir.c: Renamed to ...
40626 * sysdeps/posix/fdopendir.c: ... here.
40627 * sysdeps/unix/opendir.c: Renamed to ...
40628 * sysdeps/posix/opendir.c: ... here.
40629 * sysdeps/unix/readdir.c: Renamed to ...
40630 * sysdeps/posix/readdir.c: ... here.
40631 * sysdeps/unix/readdir_r.c: Renamed to ...
40632 * sysdeps/posix/readdir_r.c: ... here.
40633 * sysdeps/unix/rewinddir.c: Renamed to ...
40634 * sysdeps/posix/rewinddir.c: ... here.
40635 * sysdeps/unix/seekdir.c: Renamed to ...
40636 * sysdeps/posix/seekdir.c: ... here.
40637 * sysdeps/unix/telldir.c: Renamed to ...
40638 * sysdeps/posix/telldir.c: ... here.
40639 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40640 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40641 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40642 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40644 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40645 * bits/fcntl.h: ... here.
40647 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40649 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40650 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40651 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40652 (struct flock): Move l_start, l_len to the beginning.
40653 Use __pid_t for l_pid.
40654 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40655 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40656 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40657 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40658 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40659 [__USE_LARGEFILE64] (struct flock64): New type.
40660 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40662 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40663 * bits/dirent.h: ... here.
40665 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40666 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40668 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40670 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40671 Change from 2.6.0 to 2.6.16.
40672 * sysdeps/unix/sysv/linux/configure: Regenerated.
40673 * sysdeps/unix/sysv/linux/kernel-features.h
40674 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40675 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40677 (__ASSUME_UTIMES): Likewise.
40678 (__ASSUME_CLONE_STOPPED): Remove.
40679 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40680 architectures, not kernel version.
40681 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40682 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40683 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40684 (__ASSUME_WAITID_SYSCALL): Likewise.
40685 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40686 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40687 * README: State 2.6.16 as minimum Linux kernel version. Do not
40688 refer to older versions.
40690 2012-08-06 Roland McGrath <roland@hack.frob.com>
40692 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40693 Define alphasort64 as an alias.
40694 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40695 Define versionsort64 as an alias.
40696 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40697 Define scandir64 as an alias.
40698 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40699 Define scandirat64 as an alias.
40700 * dirent/alphasort64.c (alphasort64):
40701 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40702 * dirent/versionsort64.c: Likewise.
40703 * dirent/scandir64.c: Likewise.
40704 * dirent/scandirat64.c: Likewise.
40705 * sysdeps/wordsize-64/alphasort.c: File removed.
40706 * sysdeps/wordsize-64/alphasort64.c: File removed.
40707 * sysdeps/wordsize-64/scandir.c: File removed.
40708 * sysdeps/wordsize-64/scandir64.c: File removed.
40709 * sysdeps/wordsize-64/scandirat.c: File removed.
40710 * sysdeps/wordsize-64/scandirat64.c: File removed.
40711 * sysdeps/wordsize-64/versionsort.c: File removed.
40712 * sysdeps/wordsize-64/versionsort64.c: File removed.
40713 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40715 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40716 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40717 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40718 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40719 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40720 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40722 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40724 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40725 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40726 [defined __arch64__ || defined __sparcv9]
40727 (__INO_T_MATCHES_INO64_T): New macro.
40728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40729 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40730 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40731 * sysdeps/unix/sysv/linux/bits/dirent.h
40732 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40733 (_DIRENT_MATCHES_DIRENT64): New macro.
40735 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40736 Define lockf64 as an alias.
40737 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40738 Define fseeko64 as an alias.
40739 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40740 Define ftello64 as an alias.
40741 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40742 Define _IO_fgetpos64 and fgetpos64 as aliases.
40743 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40744 Define _IO_fsetpos64 and fsetpos64 as aliases.
40745 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40746 Conditionalize body on this.
40747 * libio/fseeko64.c: Likewise.
40748 * libio/ftello64.c: Likewise.
40749 * libio/iofgetpos64.c: Likewise.
40750 * libio/iofsetpos64.c: Likewise.
40751 * sysdeps/wordsize-64/lockf.c: File removed.
40752 * sysdeps/wordsize-64/lockf64.c: File removed.
40753 * sysdeps/wordsize-64/fseeko.c: File removed.
40754 * sysdeps/wordsize-64/fseeko64.c: File removed.
40755 * sysdeps/wordsize-64/ftello.c: File removed.
40756 * sysdeps/wordsize-64/ftello64.c: File removed.
40757 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40758 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40759 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40760 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40767 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40768 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40769 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40772 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40774 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40776 [defined __arch64__ || defined __sparcv9]
40777 (__OFF_T_MATCHES_OFF64_T): New macro.
40778 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40779 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40781 (__OFF_T_MATCHES_OFF64_T): New macro.
40783 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40785 * stdlib/secure-getenv.c (__secure_getenv): Replace
40786 GLIBC_2_16 with GLIBC_2_17.
40788 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40790 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40793 2012-08-03 David S. Miller <davem@davemloft.net>
40795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40797 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40799 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40801 (__ASSUME_CORRECT_SI_PID): Likewise.
40802 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40803 (__ASSUME_TMPFS_NAME): Likewise.
40804 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40805 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40806 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40807 (HAVE_AUX_SECURE): Make definition unconditional.
40808 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40809 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40811 2012-08-03 Roland McGrath <roland@hack.frob.com>
40813 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40814 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40815 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40816 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40817 __eloop_threshold instead of SYMLOOP_MAX.
40819 * sysdeps/generic/eloop-threshold.h: New file.
40820 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40822 * elf/chroot_canon.c (chroot_canon): Likewise.
40824 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40827 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40828 Change to 2.6.0 everywhere.
40829 * sysdeps/unix/sysv/linux/configure: Regenerated.
40830 * sysdeps/unix/sysv/linux/kernel-features.h
40831 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40832 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40834 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40835 (__ASSUME_FUTEX_REQUEUE): Remove.
40836 (__ASSUME_STATFS64): Define unconditionally.
40837 (__ASSUME_AT_SECURE): Likewise.
40838 (__ASSUME_CORRECT_SI_PID): Likewise.
40839 (__ASSUME_TGKILL): Define without depending on kernel version for
40841 (__ASSUME_UTIMES): Likewise.
40842 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40844 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40845 (__ASSUME_TMPFS_NAME): Likewise.
40846 * README: Update reference to Linux kernel versions.
40848 2012-08-02 Marek Polacek <polacek@redhat.com>
40851 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40852 libc_cv_asm_type_prefix with %.
40853 * configure: Regenerated.
40854 * include/libc-symbols.h: Remove comment about
40855 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40856 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40857 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40858 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40859 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40860 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40861 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40862 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40863 * elf/tst-unique2mod1.c: Likewise.
40864 * elf/tst-unique1mod2.c: Likewise.
40865 * elf/tst-unique1mod1.c: Likewise.
40866 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40867 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40868 Replace ASM_TYPE_DIRECTIVE with .type.
40869 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40870 * sysdeps/i386/sysdep.h: Likewise.
40871 * sysdeps/x86_64/sysdep.h: Likewise.
40872 * sysdeps/sh/sysdep.h: Likewise.
40873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40874 Do not define ASM_TYPE_DIRECTIVE.
40875 * sysdeps/powerpc/sysdep.h: Likewise.
40876 * sysdeps/powerpc/powerpc32/sysdep.h:
40877 Replace ASM_TYPE_DIRECTIVE with .type.
40878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40879 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40880 * sysdeps/i386/fpu/e_powf.S: Likewise.
40881 * sysdeps/i386/fpu/e_expl.S: Likewise.
40882 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40883 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40884 * sysdeps/i386/fpu/e_pow.S: Likewise.
40885 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40886 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40887 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40888 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40889 * sysdeps/i386/fpu/e_log2.S: Likewise.
40890 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40891 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40892 * sysdeps/i386/fpu/e_powl.S: Likewise.
40893 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40894 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40895 * sysdeps/i386/fpu/e_logl.S: Likewise.
40896 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40897 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40898 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40899 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40900 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40901 * sysdeps/i386/fpu/e_log.S: Likewise.
40902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40903 * sysdeps/i386/fpu/e_logf.S: Likewise.
40904 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40906 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40907 * sysdeps/i386/fpu/e_log10.S: Likewise.
40908 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40909 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40910 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40911 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40912 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40913 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40914 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40915 * sysdeps/i386/i686/strtok.S: Likewise.
40916 * sysdeps/i386/i386-mcount.S: Likewise.
40917 * sysdeps/i386/strtok.S: Likewise.
40918 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40919 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40920 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40921 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40923 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40924 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40925 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40926 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40927 * sysdeps/x86_64/_mcount.S: Likewise.
40928 * sysdeps/x86_64/strtok.S: Likewise.
40929 * sysdeps/sh/_mcount.S: Likewise.
40931 2012-08-01 Roland McGrath <roland@hack.frob.com>
40933 * libio/iofopen.c: Include <fcntl.h>.
40934 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40935 (_IO_fopen64, fopen64): Define as aliases.
40936 * libio/iofopen64.c: Include <fcntl.h>.
40937 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40938 Conditionalize body on this.
40939 * sysdeps/wordsize-64/iofopen.c: File removed.
40940 * sysdeps/wordsize-64/iofopen64.c: File removed.
40942 2012-08-01 Marek Polacek <polacek@redhat.com>
40944 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40945 Use dlfcn directly instead of a variable.
40946 (binfmt-subdir): Do not define.
40949 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40951 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40952 Remove all definitions.
40953 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40954 <kernel-features.h>.
40955 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40956 (miss_F_GETOWN_EX): Remove all definitions.
40957 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40959 [!__ASSUME_FCNTL64]: Remove conditional code.
40960 [__ASSUME_FCNTL64]: Make code unconditional.
40961 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40962 <kernel-features.h>.
40963 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40964 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40965 (lockf64) [__NR_fcntl64]: Make code unconditional.
40966 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40968 * sysdeps/unix/sysv/linux/kernel-features.h
40969 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40970 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40971 Make code unconditional.
40972 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40973 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40975 [__NR_vfork]: Make code unconditional.
40976 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40977 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40979 [__NR_vfork]: Make code unconditional.
40980 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40981 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40983 2012-08-01 Roland McGrath <roland@hack.frob.com>
40985 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40986 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40988 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40989 Define mkstemp64 as an alias.
40990 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40991 Define mkstemps64 as an alias.
40992 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40993 Define mkostemp64 as an alias.
40994 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40995 Define mkostemps64 as an alias.
40996 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40997 Conditionalize body on this.
40998 * misc/mkostemp64.c: Likewise.
40999 * misc/mkostemps64.c: Likewise.
41000 * misc/mkstemps64.c: Likewise.
41001 * sysdeps/wordsize-64/mkstemp64.c: File removed.
41002 * sysdeps/wordsize-64/mkostemp64.c: File removed.
41003 * sysdeps/wordsize-64/mkostemp.c: File removed.
41004 * sysdeps/wordsize-64/mkstemp.c: File removed.
41005 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41006 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41007 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41011 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41013 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41014 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41016 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41017 compat_symbol macros from <shlib-compat.h> rather than the underlying
41018 default_symbol_version and symbol_version macros, so that DEFAULT
41019 lines in shlib-versions are respected.
41020 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41022 2012-08-01 Florian Weimer <fweimer@redhat.com>
41024 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41025 Declare with warn_unused_result.
41026 (setgid, setregid, setegid, setresgid): Likewise.
41027 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41029 * WUR-REPORT: Remove set*id functions.
41031 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
41033 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41035 2012-07-31 Roland McGrath <roland@hack.frob.com>
41038 * include/sys/socket.h (__libc_accept, __libc_accept4):
41039 Add attribute_hidden.
41040 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41042 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41044 * inet/getnetgrent_r.c (setup): Likewise.
41046 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41048 2012-07-31 David S. Miller <davem@davemloft.net>
41050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41052 2012-07-31 Joseph Myers <joseph@codesourcery.com>
41055 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41056 value between 1.0 and 2.0 and smaller part has absolute value less
41058 * math/s_clog10.c (__clog10): Likewise.
41059 * math/s_clog10f.c (__clog10f): Likewise.
41060 * math/s_clog10l.c (__clog10l): Likewise.
41061 * math/s_clogf.c (__clogf): Likewise.
41062 * math/s_clogl.c (__clogl): Likewise.
41063 * math/libm-test.inc (clog_test): Add more tests.
41064 (clog10_test): Likewise.
41065 * sysdeps/i386/fpu/libm-test-ulps: Update.
41066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41068 2012-07-31 Florian Weimer <fweimer@redhat.com>
41070 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41071 Exit with zero in case no suitable GID is found, and write a
41072 message to standard error.
41074 2012-07-30 Roland McGrath <roland@hack.frob.com>
41076 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41078 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41079 (MAXPATHLEN): Removed.
41080 (NOGROUP, NODEV): New macros.
41081 (setbit, clrbit, isset, isclr): New macros.
41082 (howmany, roundup, powerof2): New macros.
41083 (DEV_BSIZE): New macro.
41085 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41086 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41088 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41089 definition on [!__NO_LONG_DOUBLE_MATH].
41091 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41092 PTR_MANGLE and PTR_DEMANGLE.
41094 * socket/accept4.c (accept4): Rename to __libc_accept4.
41095 Define accept4 as a weak alias.
41097 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41098 on [_DIRENT_HAVE_D_TYPE].
41099 * io/ftw.c (ftw_dir): Likewise.
41101 * io/xmknod.c (__xmknod): Don't check PATH for being null.
41103 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41105 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41106 Use the BSD numbers rather than the arbitrary ones we had.
41107 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41108 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41109 (SIGXCPU, SIGXFSZ): New macros.
41112 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41113 initializer on [_LIBC_REENTRANT].
41115 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41116 definitions inside [_POSIX_MAPPED_FILES].
41118 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41120 * dirent/opendir.c: Include <fcntl.h>.
41122 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41123 (__libc_getspecific): Likewise.
41124 (__libc_key_create): Likewise.
41126 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41127 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41128 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41129 (tmpfile64): Define as alias.
41130 * sysdeps/wordsize-64/tmpfile.c: File removed.
41131 * sysdeps/wordsize-64/tmpfile64.c: File removed.
41132 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41133 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41135 * stdio-common/vfscanf.c: Include <stdbool.h>.
41136 * nss/makedb.c: Likewise.
41137 * stdio-common/_i18n_number.h: Likewise.
41138 * argp/argp-help.c: Likewise.
41139 * posix/wordexp.c: Likewise.
41140 * sysdeps/posix/spawni.c: Likewise.
41141 * nss/nss_files/files-initgroups.c: Likewise.
41142 * stdio-common/reg-modifier.c: Include <stdlib.h>.
41143 * nss/nss_files/files-initgroups.c: Likewise.
41144 * nss/nss_db/db-netgrp.c: Likewise.
41145 * nss/nss_db/db-initgroups.c: Likewise.
41146 * io/fchmodat.c: Include <sys/stat.h>.
41148 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41149 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41151 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41154 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41155 Add multiple inclusion protection.
41157 2012-07-27 David S. Miller <davem@davemloft.net>
41159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41161 2012-07-27 Gary Benson <gbenson@redhat.com>
41164 * elf/rtld.c: Include <stap-probe.h>.
41165 (dl_main): Added static probes "init_start" and "init_complete".
41166 * elf/dl-load.c: Include <stap-probe.h>.
41167 (lose): Take new parameter "nsid".
41168 Added static probe "map_failed".
41169 (_dl_map_object_from_fd): Pass namespace id to lose.
41170 Added static probe "map_start".
41171 (open_verify): Pass namespace id to lose.
41172 * elf/dl-open.c: Include <stap-probe.h>.
41173 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41174 and "reloc_complete".
41175 * elf/dl-close.c: Include <stap-probe.h>.
41176 (_dl_close_worker): Added static probes "unmap_start" and
41178 * elf/rtld-debugger-interface.txt: New file documenting the above.
41180 2012-07-26 Roland McGrath <roland@hack.frob.com>
41182 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41183 rather than a string variable.
41184 * sunrpc/rpc_main.c (h_output): Likewise.
41185 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41187 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41189 * inet/check_native.c: New file.
41191 2012-07-26 Joseph Myers <joseph@codesourcery.com>
41194 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41195 if larger part has absolute value 1.0.
41196 * math/s_clog10.c (__clog10): Likewise.
41197 * math/s_clog10f.c (__clog10f): Likewise.
41198 * math/s_clog10l.c (__clog10l): Likewise.
41199 * math/s_clogf.c (__clogf): Likewise.
41200 * math/s_clogl.c (__clogl): Likewise.
41201 * math/libm-test.inc (clog_test): Add more tests.
41202 (clog10_test): Likewise.
41203 * sysdeps/i386/fpu/libm-test-ulps: Update.
41204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41206 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41207 (pltexit): Likewise.
41208 (La_regs): Likewise.
41209 (La_retval): Likewise.
41210 (int_retval): Likewise.
41211 Update #error for removed macros to refer only to definitions in
41213 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41215 (pltexit): Likewise.
41216 (La_regs): Likewise.
41217 (La_retval): Likewise.
41218 (int_retval): Likewise.
41219 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41221 (pltexit): Likewise.
41222 (La_regs): Likewise.
41223 (La_retval): Likewise.
41224 (int_retval): Likewise.
41225 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41227 (pltexit): Likewise.
41228 (La_regs): Likewise.
41229 (La_retval): Likewise.
41230 (int_retval): Likewise.
41231 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41233 (pltexit): Likewise.
41234 (La_regs): Likewise.
41235 (La_retval): Likewise.
41236 (int_retval): Likewise.
41237 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41239 (pltexit): Likewise.
41240 (La_regs): Likewise.
41241 (La_retval): Likewise.
41242 (int_retval): Likewise.
41243 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41245 (pltexit): Likewise.
41246 (La_regs): Likewise.
41247 (La_retval): Likewise.
41248 (int_retval): Likewise.
41249 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41250 macro definitions in tst-audit.h.
41251 * sysdeps/i386/tst-audit.h: New file.
41252 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41253 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41254 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41255 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41256 * sysdeps/sh/tst-audit.h: Likewise.
41257 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41258 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41259 * sysdeps/x86_64/tst-audit.h: Likewise.
41261 2012-07-26 Andreas Jaeger <aj@suse.de>
41263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41266 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41267 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41268 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41270 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41271 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41272 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41274 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41277 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41279 (si_call_addr, si_syscall, si_arch): Define new macro.
41280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41282 (si_call_addr, si_syscall, si_arch): Define new marcro.
41283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41285 (si_call_addr, si_syscall, si_arch): Define new macro.
41286 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41288 (si_call_addr, si_syscall, si_arch): Define new macro.
41290 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41293 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41294 Change to 2.4.21 where previously 2.4.1.
41295 * sysdeps/unix/sysv/linux/configure: Regenerated.
41296 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41297 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41298 Linux kernel version.
41299 (__ASSUME_STD_AUXV): Remove.
41300 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41302 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41303 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41304 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41305 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41306 (__ASSUME_NETLINK_SUPPORT): Likewise.
41307 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41308 (__no_netlink_support): Remove conditional definition.
41309 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41311 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41312 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41313 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41314 (if_nameindex_ioctl): Remove.
41315 (if_nameindex_netlink): Do not handle __no_netlink_support.
41316 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41318 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41319 Remove conditional code.
41320 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41322 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41324 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41325 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41326 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41328 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41329 [!__ASSUME_STD_AUXV]: Remove conditional code.
41330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41331 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41332 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41334 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41335 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41337 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41339 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41340 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41342 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41344 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41347 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41350 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41351 code unconditional.
41352 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41354 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41356 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41359 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41361 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41364 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41365 code unconditional.
41366 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41368 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41370 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41373 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41374 code unconditional.
41375 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41377 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41379 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41382 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41384 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41385 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41386 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41387 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41388 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41389 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41390 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41391 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41392 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41393 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41394 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41395 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41396 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41397 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41398 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41400 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41402 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41404 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41405 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41408 2012-07-25 Florian Weimer <fweimer@redhat.com>
41410 * Versions.def: Add GLIBC_2.17.
41411 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41412 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41413 Introduce __libc_secure_getenv.
41414 * stdlib/Versions (2.17): Add secure_getenv
41415 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41416 * stdlib/secure-getenv.c: Rename __secure_getenv to
41417 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41418 symbol __secure_getenv for GLIBC_2.0.
41419 * stdlib/tst-secure-getenv.c: New.
41420 * stdlib/Makefile (tests): Add testcase.
41421 * manual/startup.texi (Environment Access): Document
41423 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41424 __libc_secure_getenv.
41425 * inet/ruserpass.c (ruserpass): Likewise.
41426 * malloc/mtrace.c (mtrace): Likewise.
41427 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41428 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41429 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41430 * sysdeps/posix/tempname.c: Likewise. Evaluate
41431 HAVE_SECURE_GETENV.
41432 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41433 __secure_getenv to __libc_secure_getenv.
41434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41441 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41447 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41449 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41450 (struct La_i86_retval): Likewise.
41451 (struct La_x86_64_regs): Likewise.
41452 (struct La_x86_64_retval): Likewise.
41453 (struct La_x32_regs): Likewise.
41454 (struct La_x32_retval): Likewise.
41455 (struct La_ppc32_regs): Likewise.
41456 (struct La_ppc32_retval): Likewise.
41457 (struct La_ppc64_regs): Likewise.
41458 (struct La_ppc64_retval): Likewise.
41459 (struct La_sh_regs): Likewise.
41460 (struct La_sh_retval): Likewise.
41461 (struct La_s390_32_regs): Likewise.
41462 (struct La_s390_32_retval): Likewise.
41463 (struct La_s390_64_regs): Likewise.
41464 (struct La_s390_64_retval): Likewise.
41465 (struct La_sparc32_regs): Likewise.
41466 (struct La_sparc32_retval): Likewise.
41467 (struct La_sparc64_regs): Likewise.
41468 (struct La_sparc64_retval): Likewise.
41469 (struct audit_ifaces): Remove architecture-specific pltenter and
41471 * sysdeps/i386/ldsodefs.h: New file.
41472 * sysdeps/powerpc/ldsodefs.h: Likewise.
41473 * sysdeps/s390/ldsodefs.h: Likewise.
41474 * sysdeps/sh/ldsodefs.h: Likewise.
41475 * sysdeps/sparc/ldsodefs.h: Likewise.
41476 * sysdeps/x86_64/ldsodefs.h: Likewise.
41478 2012-07-25 Marek Polacek <polacek@redhat.com>
41481 * math/libm-test.inc (yn_test): Add another test.
41482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41483 to ERANGE when the result is +-Inf.
41484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41485 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41486 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41487 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41489 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41491 * conform/data/time.h-data (NULL): Use macro-constant. Require
41493 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41495 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41497 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41499 * configure.in <sysdeps resolving>: Correct printing
41501 * configure: Regenerate.
41503 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41505 * math/w_ilogb.c: Include <limits.h>.
41506 * math/w_ilogbl.c: Likewise.
41508 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41510 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41511 va_copy. Document allowing for unavailable va_copy only as
41512 pre-C99 compatibility.
41513 * manual/string.texi (Copying and Concatenation): Use va_copy
41514 instead of __va_copy in concat example.
41516 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41518 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41519 (__sendto): Use create_address_port. Initialize APORT and deallocate
41522 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41523 with O_NOLINK passed to __file_name_lookup.
41525 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41526 with O_NOLINK passed to __file_name_lookup.
41528 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41529 negative N or less than NGIDS.
41531 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41532 type to string_t. Set ERANGE as errno and return it if NAME is not big
41533 enough. Use memcpy instead of strncpy.
41535 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41537 * elf/Makefile (check-data): Remove.
41538 (localplt.data): New vpath directive.
41539 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41540 instead of $(check-data).
41541 * scripts/data/localplt-generic.data: Move to ...
41542 * sysdeps/generic/localplt.data: ... here.
41543 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41544 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41545 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41548 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41551 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41554 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41557 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41560 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41564 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41566 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41567 PPC32 and PPC64 files.
41568 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41569 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41571 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41573 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41574 __makecontext_ret to ...
41575 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41576 ... here and call exit if uc_link is NULL. New file.
41577 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41578 __makecontext_ret.S.
41579 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41580 __makecontext_ret to ...
41581 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41582 ... here and call exit if uc_link is NULL. New file.
41583 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41584 __makecontext_ret.S.
41586 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41588 * elf/elf.h (R_390_IRELATIVE): New definition.
41589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41590 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41591 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41593 (elf_machine_lazy_rel): Likewise.
41594 * sysdeps/s390/dl-irel.h: New file.
41595 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41596 * sysdeps/s390/s390-64/memset.S: New asm code.
41597 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41598 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41599 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41600 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41601 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41602 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41604 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41605 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41606 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41607 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41608 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41609 * sysdeps/s390/s390-32/memset.S: New asm code.
41610 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41612 2012-07-17 Marek Polacek <polacek@redhat.com>
41615 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41616 * sysdeps/s390/s390-64/configure.in: Likewise.
41617 * sysdeps/sparc/configure.in: Likewise.
41618 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41619 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41620 * sysdeps/i386/configure.in: Likewise.
41621 * sysdeps/x86_64/configure.in: Likewise.
41622 * sysdeps/sh/configure.in: Likewise.
41623 * sysdeps/s390/s390-32/configure: Regenerated.
41624 * sysdeps/s390/s390-64/configure: Likewise.
41625 * sysdeps/x86_64/configure: Likewise.
41626 * sysdeps/sh/configure: Likewise.
41627 * sysdeps/powerpc/powerpc64/configure: Likewise.
41628 * sysdeps/powerpc/powerpc32/configure: Likewise.
41629 * sysdeps/sparc/configure: Likwise.
41630 * sysdeps/i386/configure: Likewise.
41632 * elf/dl-open.c: Comment fixes.
41634 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41636 * Makefile [CXX] (check-data): Remove.
41637 [CXX] (c++-types.data): New vpath directive.
41638 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41639 vpath. Do not allow for C++ type data being missing.
41640 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41641 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41642 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41643 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41644 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41645 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41646 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41649 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41652 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41655 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41658 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41661 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41664 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41667 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41670 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41671 definitions to architecture-specific files.
41672 (TLS_IE): Likewise.
41673 (TLS_LD): Likewise.
41674 (TLS_GD): Likewise.
41675 * sysdeps/i386/tls-macros.h: New file.
41676 * sysdeps/powerpc/tls-macros.h: Likewise.
41677 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41678 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41679 * sysdeps/sh/tls-macros.h: Likewise.
41680 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41681 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41682 * sysdeps/x86_64/tls-macros.h: Likewise.
41684 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41686 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41687 zero value for regular exit case.
41689 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41690 (__start_context): Preserve zero value for regular exit case.
41692 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41693 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41695 * manual/setjmp.texi (setcontext): Clarify normal process
41696 termination when uc_link is the null pointer.
41697 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41700 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41702 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41703 preprocessor. Test for each exception mask separately.
41705 2012-07-16 Andreas Jaeger <aj@suse.de>
41707 * po/ru.po: Update from translation team.
41709 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41711 * conform/data/string.h-data (NULL): Use macro-constant. Require
41713 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41715 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41716 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41719 2012-07-13 Andreas Jaeger <aj@suse.de>
41721 * po/fr.po: Update from translation team.
41723 2012-07-12 Marek Polacek <polacek@redhat.com>
41726 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41727 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41730 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41733 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41734 Change to 2.4.1 where previously 2.4.0.
41735 * sysdeps/unix/sysv/linux/configure: Regenerated.
41736 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41737 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41739 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41740 (__ASSUME_AT_CLKTCK): Remove.
41741 (__ASSUME_AT_PAGESIZE): Likewise.
41742 (__ASSUME_AT_XID): Likewise.
41743 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41744 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41745 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41747 (HAVE_AUX_PAGESIZE): Likewise.
41748 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41749 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41750 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41752 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41755 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41756 the temporary buffer used to invoke __gethostbyname2_r,
41757 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41758 host_data / struct gaih_addrtuple.
41759 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41760 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41761 header file nss/nsswitch.h.
41762 * nss/nsswitch.h (global scope): Add definition of implementation
41763 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41764 resolv/nss_dns/dns-host.c).
41766 2012-07-11 Andreas Jaeger <aj@suse.de>
41768 * po/fr.po: Update from translation team.
41770 * po/sv.po: Update from translation team
41771 * po/fr.po: Another update from translation team.
41773 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41776 for subnormals or multiply small sinh result by itself.
41777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41780 2012-07-11 David S. Miller <davem@davemloft.net>
41782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41784 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41787 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41788 (INTERNAL_MARK): Shift it here.
41790 2012-07-10 Marek Polacek <polacek@redhat.com>
41793 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41794 libc_cv_asm_global_directive with .globl.
41795 * configure: Regenerated.
41796 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41798 * sysdeps/i386/configure: Regenerated.
41799 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41801 * sysdeps/x86_64/configure: Regenerated.
41802 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41803 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41804 * elf/tst-unique2mod2.c: Likewise.
41805 * elf/tst-unique2mod1.c: Likewise.
41806 * elf/tst-unique1mod2.c: Likewise.
41807 * elf/tst-unique1mod1.c: Likewise.
41808 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41810 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41811 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41812 * sysdeps/mach/sysdep.h: Likewise.
41813 * sysdeps/i386/sysdep.h: Likewise.
41814 * sysdeps/i386/i386-mcount.S: Likewise.
41815 * sysdeps/x86_64/_mcount.S: Likewise.
41816 * sysdeps/x86_64/sysdep.h: Likewise.
41817 * sysdeps/sh/_mcount.S: Likewise.
41818 * sysdeps/sh/sysdep.h: Likewise.
41819 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41820 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41821 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41822 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41823 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41824 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41825 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41826 * locale/localeinfo.h: Likewise.
41827 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41828 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41830 2012-07-09 Roland McGrath <roland@hack.frob.com>
41833 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41835 * manual/message.texi (The Uniforum approach): Likewise.
41836 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41837 (glibc iconv Implementation): Likewise.
41839 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41842 * math/s_clog.c (__clog): Avoid scaling a value down where that
41843 could result in underflow.
41844 * math/s_clog10.c (__clog10): Likewise.
41845 * math/s_clog10f.c (__clog10f): Likewise.
41846 * math/s_clog10l.c (__clog10l): Likewise.
41847 * math/s_clogf.c (__clogf): Likewise.
41848 * math/s_clogl.c (__clogl): Likewise.
41849 * math/libm-test.inc (clog_test): Add more tests.
41850 (clog10_test): Likewise.
41851 * sysdeps/i386/fpu/libm-test-ulps: Update.
41852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41854 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41857 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41858 by 7 not 8 to examine high bit of fractional part.
41861 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41862 for call to __mcount_internal.
41863 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41864 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41865 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41867 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41870 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41871 approximation for values within 0x1p-13f of an odd multiple of
41873 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41874 exception. Add more tests.
41875 * sysdeps/i386/fpu/libm-test-ulps: Update.
41878 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41879 inputs and return -1 for them. Do not check for +Inf in case not
41880 reachable for +Inf.
41881 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41882 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41883 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41884 and return -1 for them. Do not check for +Inf in case not
41885 reachable for +Inf.
41886 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41888 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41889 and return -1 for them. Do not check for +Inf in case not
41890 reachable for +Inf.
41891 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41892 spurious underflow.
41893 * sysdeps/i386/fpu/libm-test-ulps: Update.
41894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41896 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41898 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41900 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41904 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41905 could result in spurious underflow. Scale down values above
41906 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41907 * math/s_csqrtf.c (__csqrtf): Likewise.
41908 * math/s_csqrtl.c (__csqrtl): Likewise.
41909 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41910 spurious underflow.
41911 * sysdeps/i386/fpu/libm-test-ulps: Update.
41912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41914 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41916 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41918 * catgets/xopen-msg.awk: New file.
41919 * catgets/xopen-msg.sed: Removed.
41921 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41923 * intl/po2test.awk: New file.
41924 * intl/po2test.sed: Removed.
41926 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41929 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41930 or multiply small sinh result by itself.
41931 * math/s_ctanf.c (__ctanf): Likewise.
41932 * math/s_ctanh.c (__ctanh): Likewise.
41933 * math/s_ctanhf.c (__ctanhf): Likewise.
41934 * math/s_ctanhl.c (__ctanhl): Likewise.
41935 * math/s_ctanl.c (__ctanl): Likewise.
41936 * math/libm-test.inc (ctan_test_tonearest): New function.
41937 (ctan_test_towardzero): Likewise.
41938 (ctan_test_downward): Likewise.
41939 (ctan_test_upward): Likewise.
41940 (ctanh_test_tonearest): Likewise.
41941 (ctanh_test_towardzero): Likewise.
41942 (ctanh_test_downward): Likewise.
41943 (ctanh_test_upward): Likewise.
41944 (main): Call these new functions.
41945 * sysdeps/i386/fpu/libm-test-ulps: Update.
41946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41948 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41950 * .gitignore: Delete /ports entry.
41952 2012-07-03 Andreas Jaeger <aj@suse.de>
41954 * po/bg.po: Update from translation team.
41955 * po/cs.po: Likewise.
41956 * po/de.po: Likewise.
41957 * po/hr.po: Likewise.
41958 * po/nl.pl: Likewise.
41959 * po/pl.po: Likewise.
41960 * po/vi.po: Likewise.
41962 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41964 * Makeconfig [!+link] (+link-before-libc): New variable.
41965 [!+link] (+link-after-libc): Likewise.
41966 [!+link] (+link-tests): Likewise.
41967 [!+link] (+link): Define in terms of $(+link-before-libc) and
41968 $(+link-after-libc).
41969 [!+link-static] (+link-static-before-libc): New variable.
41970 [!+link-static] (+link-static-after-libc): Likewise.
41971 [!+link-static] (+link-static-tests): Likewise.
41972 [!+link-static] (+link-static): Define in terms of
41973 $(+link-static-before-libc) and $(+link-static-after-libc).
41974 [build-shared] (link-libc-before-gnulib): New variable.
41975 [build-shared] (link-libc-tests): Likewise.
41976 [build-shared] (link-libc): Define in terms of
41977 $(link-libc-before-gnulib).
41978 [!build-shared] (link-libc-tests): New variable.
41979 (link-libc-static-tests): New variable.
41980 [!gnulib] (gnulib-arch): New variable.
41981 [!gnulib] (gnulib-tests): Likewise.
41982 [!gnulib] (static-gnulib-arch): Likewise.
41983 [!gnulib] (static-gnulib-tests): Likewise.
41984 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41985 Define with "=" instead of ":=".
41986 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41987 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41988 * Rules (binaries-all-notests): New variable.
41989 (binaries-all-tests): Likewise.
41990 (binaries-static-notests): Likewise.
41991 (binaries-static-tests): Likewise.
41992 (binaries-all): Define using $(binaries-all-notests) and
41993 $(binaries-all-tests).
41994 (binaries-static): Define using $(binaries-static-notests) and
41995 $(binaries-static-tests).
41996 (binaries-shared-tests): New variable.
41997 (binaries-shared-notests): Likewise.
41998 (binaries-shared): Remove variable.
41999 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42000 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42001 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42002 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42003 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42004 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42005 * elf/Makefile (sln-modules): New variable.
42006 (extra-objs): Add $(sln-modules:=.o).
42007 (ldconfig-modules): Add static-stubs.
42008 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42009 * elf/static-stubs.c: New file.
42012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42013 by 7 not 8 to examine high bit of fractional part. Use volatile
42014 variables when splitting into final array of floats if
42015 __FLT_EVAL_METHOD__ != 0.
42016 * math/libm-test.inc (cos_test): Add another test.
42017 (sin_test): Likewise.
42018 * sysdeps/i386/fpu/libm-test-ulps: Update.
42021 * math/libm-test.inc (cosh_test): Add more tests.
42023 * version.h (RELEASE): Set to "development".
42024 (VERSION): Set to "2.16.90".
42026 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
42028 * NEWS: Update copyright. Remove last-updated date.
42029 Mention math library bug fixes and timezone data changes.
42030 * README: Mention GNU/Hurd, x32, and HPPA support status.
42032 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
42034 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42036 2012-06-27 Andreas Jaeger <aj@suse.de>
42038 * manual/contrib.texi (Contributors): Add Samuel Thibault.
42040 2012-06-25 Andreas Jaeger <aj@suse.de>
42042 * sysdeps/s390/fpu/libm-test-ulps: Update.
42044 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
42045 Thomas Schwinge <thomas@codesourcery.com>
42047 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42048 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42049 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42052 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
42054 * sysdeps/mach/start.c: Remove file.
42055 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42056 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42057 * sysdeps/sh/init-first.c: Likewise.
42059 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42060 registers for frame unwinding purposes, add CFI directives.
42061 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42062 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42063 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42066 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42067 __fortify_fail returning.
42068 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42070 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42071 sysdeps/sh/____longjmp_chk.S.
42072 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42073 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42074 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42075 (gen-as-const-headers): Append sigaltstack-offsets.sym.
42077 * sysdeps/sh/abort-instr.h: New file.
42078 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42079 process in case exit returns.
42081 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42082 initialize the GOT register before use.
42084 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42085 calculation of ARGC > 4.
42087 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42088 meaningful names to some local labels.
42090 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42091 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42093 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42094 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42095 (__arch_compare_and_exchange_val_16_acq): Likewise.
42096 (__arch_compare_and_exchange_val_32_acq): Likewise.
42097 (atomic_exchange_and_add): Fix gUSA sequence.
42098 (atomic_add): Likewise.
42099 (atomic_add_negative): Likewise.
42100 (atomic_add_zero): Likewise.
42101 (atomic_bit_test_set): Likewise.
42103 2012-06-22 Andreas Schwab <schwab@redhat.com>
42106 * include/link.h (struct link_map): Add l_free_initfini.
42107 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42109 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42110 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42111 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42114 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
42116 * configure.in: Use AC_LANG_SOURCE.
42117 * configure: Regenerate.
42119 2012-06-22 Roland McGrath <roland@hack.frob.com>
42121 * configure.in (libc_cv_localstatedir): New substituted variable.
42122 * configure: Regenerated.
42123 * config.make.in (localstatedir): New variable, substituted from
42124 libc_cv_localstatedir.
42125 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42126 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42127 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42128 * sysdeps/gnu/configure: Regenerated.
42130 2012-06-21 Jeff Law <law@redhat.com>
42133 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42134 free. Simplify list management for _LIBC case.
42136 2012-06-21 Joseph Myers <joseph@codesourcery.com>
42139 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42140 Clear sign bit of 64-bit integer value before comparing against
42143 * sysdeps/mach/configure: Regenerated.
42145 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
42148 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42150 2012-06-21 Jeff Law <law@redhat.com>
42153 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42154 uint16_t for elements in the "seen" array to avoid char overflows.
42155 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42156 * elf/dl-open.c (dl_open_worker): Likewise.
42158 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42160 * scripts/list-sources.sh: Scan PORTS for translations.
42161 * po/libc.pot: Regenerated.
42163 2012-06-21 Andreas Jaeger <aj@suse.de>
42166 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42168 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42169 * bits/byteswap-16.h (__bswap_16): Likewise.
42170 * bits/byteswap.h (__bswap_constant_16): Likewise.
42172 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42175 * sysdeps/i386/fpu_control.h: Removed.
42176 * sysdeps/x86_64/fpu_control.h: Moved to ...
42177 * sysdeps/x86/fpu_control.h: Here.
42179 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42180 (_FPU_SETCW): Likewise.
42182 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42185 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42186 * sysdeps/x86/fpu/bits/mathinline.h: This.
42187 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42191 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42192 functions if __x86_64__ is defined.
42194 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42196 * string/endian.h: Add !__ASSEMBLER__ condition for including
42197 conversion interfaces.
42199 2012-06-15 Joseph Myers <joseph@codesourcery.com>
42202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42203 of ABS(x) in calculating zero to negative powers other than odd
42205 * math/libm-test.inc (pow_test): Add more tests.
42207 2012-06-15 Andreas Jaeger <aj@suse.de>
42209 * manual/contrib.texi (Contributors): Update entry of Liubov
42210 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42213 2012-06-15 Cyril Hrubis <metan@ucw.cz>
42215 * string/string.h: Add __wur to GNU version of strerror_r.
42217 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42220 * string/Makefile (tests): Add tst-strtok_r.
42221 * string/tst-strtok_r.c: New file.
42222 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42223 RAX_LP/RDX_LP on SAVE_PTR.
42225 2012-06-14 Roland McGrath <roland@hack.frob.com>
42227 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42229 2012-06-14 Joseph Myers <joseph@codesourcery.com>
42231 * libm_test.inc (csqrt_test): Allow more spurious underflow
42233 (j0_test): Likewise.
42234 (j1_test): Likewise.
42235 (y0_test): Likewise.
42236 (y1_test): Likewise.
42238 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42240 * po/Makefile (libc.pot): Use UTF-8 charset.
42242 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42245 Suppress sign-conversion warning from FD_SET.
42246 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42247 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42248 not unsigned long int.
42249 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42251 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42255 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42256 __extern_always_inline instead of __extern_inline.
42257 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42258 (__signbit): Likewise.
42259 (__signbitl): Support C++ namespace.
42260 (lrintf): New inline function.
42262 (llrintf): Likewise.
42263 (llrint): Likewise.
42273 (floorf): Likewise.
42274 (nearbyint): Likewise.
42275 (nearbyintf): Likewise.
42277 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42279 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42280 non-default versions.
42282 2012-06-11 Roland McGrath <roland@hack.frob.com>
42285 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42287 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42289 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42290 (FE_UPWARD, FE_DOWNWARD): Don't define.
42291 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42296 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42297 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42299 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42301 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42303 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42304 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42306 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42309 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42310 * sysdeps/i386/fpu/Implies: New file.
42311 * sysdeps/x86_64/fpu/Implies: Likewise.
42312 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42313 * sysdeps/x86/fpu/bits/fenv.h: This.
42315 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42318 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42321 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42322 character 0xffff that matches the last element of the
42325 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42330 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42333 values higher than 25.6283.
42335 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42338 subnormal exponent extraction and add some __builtin_expect.
42339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42340 Fix for subnormal mantissa calculation.
42342 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42344 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42345 cpu2 is -1 and errno is not ENOSYS.
42347 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42350 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42351 * sysdeps/x86/bits/string.h: This.
42352 * sysdeps/x86_64/bits/string.h: Removed.
42354 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42355 if not compiling for x86-64, but compiling for >= i486.
42357 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42358 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42360 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42361 New macro from Linux kernel 3.4.0.
42362 (FP_XSTATE_MAGIC2): Likewise.
42363 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42364 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42365 (struct _fpx_sw_bytes): New struct.
42366 (struct _xsave_hdr): Likewise.
42367 (struct _ymmh_state): Likewise.
42368 (struct _xstate): Likewise.
42370 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42371 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42372 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42373 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42374 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42375 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42377 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42378 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42379 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42380 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42381 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42382 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42384 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42387 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42388 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42389 (sysdep_headers): Include sys/platform/ppc.h.
42390 * sysdeps/powerpc/test-gettimebase.c: Test for
42391 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42392 * manual/Makefile (appendices): Include platform.texi.
42393 * manual/contrib.texi (Contributors): Update @node pointers.
42394 * manual/maint.texi (Maintenance): Likewise.
42395 (Platform): New node.
42396 * manual/platform.texi: New file. Document the new features.
42398 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42399 Jakub Jelinek <jakub@redhat.com>
42402 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42403 where __builtin_expect is unavailable.
42405 2012-06-03 David S. Miller <davem@davemloft.net>
42407 * stdlib/longlong.h: Updated from GCC.
42409 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42412 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42413 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42416 (GLIBC_2.16): Likewise.
42418 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42422 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42425 (default-abi): New variable.
42426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42427 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42429 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42431 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42433 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42436 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42437 definition. Document in comment.
42439 2012-06-01 David S. Miller <davem@davemloft.net>
42441 * stdlib/longlong.h: Updated from GCC.
42443 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42446 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42447 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42448 sys/debugreg.h sys/io.h here.
42449 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42450 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42452 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42453 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42454 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42455 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42456 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42457 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42460 Define only if __x86_64__ is defined.
42462 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42466 Use int64_t for variable i.
42467 * math/libm-test.inc (fmod_test): Add more tests.
42469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42470 z computation is not scheduled after fetestexcept.
42471 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42472 Use math_force_eval instead of asm to ensure calculation scheduled
42473 before exception test.
42474 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42475 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42477 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42480 computation is not scheduled after fetestexcept.
42482 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42485 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42486 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42488 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42490 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42493 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42496 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42498 (__WCHAR_MIN): Support __WORDSIZE == 64.
42499 (__WCHAR_MAX): Likewise.
42501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42502 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42506 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42509 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42512 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42513 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42515 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42516 Defined to 1 if __x86_64__ isn't defined.
42517 (_STAT_VER_LINUX_OLD): New.
42518 (st_atime): Remove duplicate.
42519 (st_mtime): Likewise.
42520 (st_ctime): Likewise.
42522 2012-05-31 David S. Miller <davem@davemloft.net>
42524 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42527 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42529 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42533 * elf/dl-reloc.c: Include <_itoa.h>.
42534 (_dl_reloc_bad_type): Remove use of INTUSE.
42535 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42536 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42537 * stdio-common/psiginfo.c (psiginfo): Likewise.
42538 * stdio-common/psignal.c (psignal): Likewise.
42539 * string/strsignal.c (strsignal): Likewise.
42540 * include/signal.h (_sys_siglist): Declare hidden proto.
42541 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42542 INTVARDEF with libc_hidden_data_def.
42543 * stdio-common/itoa-udigits.c: Likewise.
42544 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42545 (_itoa_lower_digits_internal): Remove declaration.
42546 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42547 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42548 (_sys_sigabbrev_internal): Remove aliases.
42549 (_sys_siglist): Define hidden alias.
42551 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42553 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42556 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42559 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42560 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42562 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42563 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42564 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42565 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42567 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42569 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42570 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42571 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42573 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42583 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42585 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42586 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42587 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42588 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42589 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42590 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42592 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42593 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42596 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42598 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42602 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42603 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42605 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42607 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42608 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42609 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42611 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42613 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42615 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42617 * math/math.h (M_El): Use two more decimal places.
42618 (M_LOG2El): Likewise.
42619 (M_LOG10El): Likewise.
42620 (M_LN2l): Likewise.
42621 (M_LN10l): Likewise.
42623 (M_PI_2l): Likewise.
42624 (M_PI_4l): Likewise.
42625 (M_1_PIl): Likewise.
42626 (M_2_PIl): Likewise.
42627 (M_2_SQRTPIl): Likewise.
42628 (M_SQRT2l): Likewise.
42629 (M_SQRT1_2l): Likewise.
42631 2012-05-31 David S. Miller <davem@davemloft.net>
42633 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42634 values between float registers.
42635 * sysdeps/sparc/sparc64/memset.S: Likewise.
42636 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42638 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42640 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42641 -D_FORTIFY_SOURCE=1.
42642 (CPPFLAGS-tst-longjmp_chk.c): Define.
42643 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42644 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42645 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42646 CFLAGS-tst-wchar-h.c.
42648 2012-05-31 Marek Polacek <polacek@redhat.com>
42651 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42652 __endmntent_internal): Remove declaration.
42653 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42654 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42655 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42657 2012-05-30 David S. Miller <davem@davemloft.net>
42659 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42660 (___Q_simulate_exceptions): Use real FP ops rather than writing
42662 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42665 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42668 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42669 * sysdeps/x86/bits/xtitypes.h: This.
42671 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42672 * sysdeps/x86/bits/wordsize.h: This.
42674 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42675 * sysdeps/x86/bits/huge_vall.h: This.
42677 * sysdeps/i386/bits/select.h: Removed.
42678 * sysdeps/x86_64/bits/select.h: Renamed to ...
42679 * sysdeps/x86/bits/select.h: This.
42681 * sysdeps/i386/bits/setjmp.h: Removed.
42682 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42683 * sysdeps/x86/bits/setjmp.h: This.
42685 * sysdeps/i386/bits/mathdef.h: Removed.
42686 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42687 * sysdeps/x86/bits/mathdef.h: This.
42689 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42692 * include/sys/socket.h (__connect_internal)
42693 (__libc_sa_len_internal): Remove declaration.
42694 (__connect, __libc_sa_len): Declare hidden_proto.
42695 (SA_LEN): Remove use of INTUSE.
42696 * socket/connect.c: Add libc_hidden_def.
42697 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42698 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42699 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42701 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42702 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42703 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42704 of adding _internal alias.
42706 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42709 * sysdeps/i386/bits/link.h: Removed.
42710 * sysdeps/i386/bits/linkmap.h: Likewise.
42711 * sysdeps/x86_64/bits/link.h: Renamed to ...
42712 * sysdeps/x86/bits/link.h: This.
42713 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42714 * sysdeps/x86/bits/linkmap.h: This.
42716 * sysdeps/i386/bits/endian.h: Removed.
42717 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42718 * sysdeps/x86/bits/endian.h: This.
42720 * sysdeps/i386/bits/byteswap.h: Removed.
42721 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42722 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42723 * sysdeps/x86/bits/byteswap.h: This.
42724 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42725 * sysdeps/x86/bits/byteswap-16.h: This.
42726 * sysdeps/i386/Implies: Add x86.
42727 * sysdeps/x86_64/Implies: Likewise.
42729 2012-05-30 David S. Miller <davem@davemloft.net>
42731 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42732 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42733 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42734 (FP_TRAPPING_EXCEPTIONS): Define.
42735 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42736 (FP_TRAPPING_EXCEPTIONS): Define.
42737 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42738 subnormals only when inexact has been signalled or underflow
42739 exceptions are enabled.
42740 (_FP_PACK_CANONICAL): Likewise.
42742 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42746 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42748 2012-05-30 Richard Henderson <rth@twiddle.net>
42750 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42751 with #ifndef NOT_IN_libc.
42753 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42754 marked to avoid plt entry.
42756 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42759 * Makeconfig (default-abi): New macro.
42760 (abi-includes): Likewise.
42761 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42762 $(abi-$(default-abi)-lib-soname) for soname if defined.
42763 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42765 * Makefile (installed-stubs): Likewise.
42766 * include/stubs-biarch.h: Removed.
42767 * scripts/lib-names.awk: Only handle one library at a time.
42768 * scripts/soversions.awk: Remove WORDSIZE support.
42769 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42771 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42773 (syscall-list-default-condition): Likewise.
42774 (syscall-list-default-condition): Likewise.
42775 (syscall-list-includes): Likewise.
42776 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42777 syscall-list-* with abi-*. Handle undefined abi-variants.
42778 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42779 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42780 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42781 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42782 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42783 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42785 (syscall-list-32-options): Likewise.
42786 (syscall-list-32-condition): Likewise.
42787 (syscall-list-64-options): Likewise.
42788 (syscall-list-64-condition): Likewise.
42789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42791 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42794 (abi-64-ld-soname): New macro.
42795 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42796 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42799 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42800 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42802 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42804 * sysdeps/unix/sysv/linux/kernel-features.h
42805 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42806 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42807 include <kernel-features.h>.
42808 [!__NR_ftruncate64]: Remove conditional code.
42809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42810 [__NR_ftruncate64]: Make code unconditional.
42811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42812 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42813 include <kernel-features.h>.
42814 [!__NR_ftruncate64]: Remove conditional code.
42815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42816 [__NR_ftruncate64]: Make code unconditional.
42817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42819 include <kernel-features.h>.
42820 [!__NR_ftruncate64]: Remove conditional code.
42821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42822 [__NR_ftruncate64]: Make code unconditional.
42823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42825 include <kernel-features.h>.
42826 [!__NR_ftruncate64]: Remove conditional code.
42827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42828 [__NR_ftruncate64]: Make code unconditional.
42829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42831 * configure.in (libc_cv_fpie): Weaken to a compile test using
42832 LIBC_TRY_CC_OPTION.
42833 * configure: Regenerated.
42835 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42850 2012-05-27 David S. Miller <davem@davemloft.net>
42852 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42854 (__Q_simulate_exceptions): Return void. Change to simulate
42855 exceptions by writing into the %fsr.
42856 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42857 (__Qp_handle_exceptions): Likewise.
42859 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42860 __Qp_handle_exceptions.
42861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42862 __Qp_handle_exceptions.
42863 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42864 as unused and give dummy FP_RND_NEAREST initializer.
42865 (FP_INHIBIT_RESULTS): Define.
42866 (___Q_simulate_exceptions): Update declaration.
42867 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42869 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42870 as unused and give dummy FP_RND_NEAREST initializer.
42871 (__Qp_handle_exceptions): Update declaration.
42872 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42875 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42877 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42878 the temporary FPU control word.
42879 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42880 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42881 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42882 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42883 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42884 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42885 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42887 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42888 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42889 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42891 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42893 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42896 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42898 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42899 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42900 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42901 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42903 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42904 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42907 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42909 * po/h.po: Update from translation team.
42911 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42913 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42915 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42916 handling of denormals.
42917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42918 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42919 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42920 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42921 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42926 2012-05-26 Marek Polacek <polacek@redhat.com>
42929 * math/libm-test.inc (fma_test): Don't always expect underflow
42932 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42935 * elf/tst-execstack.c: Include stackinfo.h.
42936 (do_test): Adjust test case to ensure that pthread_getattr_np
42937 behaviour remains the same after marking stack executable.
42939 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42941 * sysdeps/unix/sysv/linux/kernel-features.h
42942 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42945 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42946 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42947 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42949 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42950 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42952 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42954 * configure.in: Define the default includes to being none.
42955 * configure: Regenerated.
42957 2012-05-25 Roland McGrath <roland@hack.frob.com>
42959 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42960 * sysdeps/x86_64/setjmp.S: Likewise.
42961 * sysdeps/i386/bsd-setjmp.S: Likewise.
42962 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42963 * sysdeps/i386/setjmp.S: Likewise.
42964 * sysdeps/i386/__longjmp.S: Likewise.
42965 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42968 * include/stap-probe.h: New file.
42969 * configure.in: Handle --enable-systemtap.
42970 * configure: Regenerated.
42971 * config.h.in (USE_STAP_PROBE): New #undef.
42972 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42973 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42974 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42976 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42979 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42980 to 2.4.0 where earlier.
42981 * sysdeps/unix/sysv/linux/configure: Regenerated.
42982 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42983 <kernel-features.h>.
42984 [__ASSUME_32BITUIDS]: Make code unconditional.
42985 [!__ASSUME_32BITUIDS]: Remove conditional code.
42986 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42987 <kernel-features.h>.
42988 [__ASSUME_32BITUIDS]: Make code unconditional.
42989 [!__ASSUME_32BITUIDS]: Remove conditional code.
42990 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42991 [__ASSUME_32BITUIDS]: Make code unconditional.
42992 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42993 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42994 <kernel-features.h>.
42995 [__ASSUME_32BITUIDS]: Make code unconditional.
42996 [!__ASSUME_32BITUIDS]: Remove conditional code.
42997 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42998 <kernel-features.h>.
42999 [__ASSUME_32BITUIDS]: Make code unconditional.
43000 [!__ASSUME_32BITUIDS]: Remove conditional code.
43001 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43002 <kernel-features.h>.
43003 [__ASSUME_32BITUIDS]: Make code unconditional.
43004 [!__ASSUME_32BITUIDS]: Remove conditional code.
43005 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43006 <kernel-features.h>.
43007 [__ASSUME_32BITUIDS]: Make code unconditional.
43008 [!__ASSUME_32BITUIDS]: Remove conditional code.
43009 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43010 <kernel-features.h>.
43011 [__ASSUME_32BITUIDS]: Make code unconditional.
43012 [!__ASSUME_32BITUIDS]: Remove conditional code.
43013 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43014 <kernel-features.h>.
43015 [__ASSUME_32BITUIDS]: Make code unconditional.
43016 [!__ASSUME_32BITUIDS]: Remove conditional code.
43017 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43018 <kernel-features.h>.
43019 [__ASSUME_32BITUIDS]: Make code unconditional.
43020 [!__ASSUME_32BITUIDS]: Remove conditional code.
43021 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43022 <kernel-features.h>.
43023 [__ASSUME_32BITUIDS]: Make code unconditional.
43024 [!__ASSUME_32BITUIDS]: Remove conditional code.
43025 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43026 <kernel-features.h>.
43027 [__ASSUME_32BITUIDS]: Make code unconditional.
43028 [!__ASSUME_32BITUIDS]: Remove conditional code.
43029 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43030 <kernel-features.h>.
43031 [__ASSUME_32BITUIDS]: Make code unconditional.
43032 [!__ASSUME_32BITUIDS]: Remove conditional code.
43033 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43034 <kernel-features.h>.
43035 [__NR_setresgid] (__setresgid): Do not declare.
43036 [__ASSUME_32BITUIDS]: Make code unconditional.
43037 [!__ASSUME_32BITUIDS]: Remove conditional code.
43038 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43039 <kernel-features.h>.
43040 [__NR_setresuid] (__setresuid): Do not declare.
43041 [__ASSUME_32BITUIDS]: Make code unconditional.
43042 [!__ASSUME_32BITUIDS]: Remove conditional code.
43043 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43044 <kernel-features.h>.
43045 [__ASSUME_32BITUIDS]: Make code unconditional.
43046 [!__ASSUME_32BITUIDS]: Remove conditional code.
43047 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43048 <kernel-features.h>.
43049 [__ASSUME_32BITUIDS]: Make code unconditional.
43050 [!__ASSUME_32BITUIDS]: Remove conditional code.
43051 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43052 <kernel-features.h>.
43053 [__ASSUME_32BITUIDS]: Make code unconditional.
43054 [!__ASSUME_32BITUIDS]: Remove conditional code.
43055 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43056 <kernel-features.h>.
43057 [__ASSUME_32BITUIDS]: Make code unconditional.
43058 [!__ASSUME_32BITUIDS]: Remove conditional code.
43059 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43060 <kernel-features.h>.
43061 [__ASSUME_32BITUIDS]: Make code unconditional.
43062 [!__ASSUME_32BITUIDS]: Remove conditional code.
43063 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43064 <kernel-features.h>.
43065 [__ASSUME_32BITUIDS]: Make code unconditional.
43066 [!__ASSUME_32BITUIDS]: Remove conditional code.
43067 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43068 <kernel-features.h>.
43069 [__ASSUME_32BITUIDS]: Make code unconditional.
43070 [!__ASSUME_32BITUIDS]: Remove conditional code.
43071 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43072 <kernel-features.h>.
43073 [__ASSUME_32BITUIDS]: Make code unconditional.
43074 [!__ASSUME_32BITUIDS]: Remove conditional code.
43075 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43076 <kernel-features.h>.
43077 [__ASSUME_32BITUIDS]: Make code unconditional.
43078 [!__ASSUME_32BITUIDS]: Remove conditional code.
43079 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43080 <kernel-features.h>.
43081 [__ASSUME_32BITUIDS]: Make code unconditional.
43082 [!__ASSUME_32BITUIDS]: Remove conditional code.
43083 * sysdeps/unix/sysv/linux/kernel-features.h
43084 (__ASSUME_SETRESUID_SYSCALL): Remove.
43085 (__ASSUME_SETRESGID_SYSCALL): Likewise.
43086 (__ASSUME_32BITUIDS): Likewise.
43087 (__ASSUME_LDT_WORKS): Likewise.
43088 (__ASSUME_O_DIRECTORY): Likewise.
43089 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43090 architecture but not kernel version.
43091 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43092 (__ASSUME_MMAP2_SYSCALL): Likewise.
43093 (__ASSUME_STAT64_SYSCALL): Likewise.
43094 (__ASSUME_IPC64): Likewise.
43095 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43096 <kernel-features.h>.
43097 [__ASSUME_32BITUIDS]: Make code unconditional.
43098 [!__ASSUME_32BITUIDS]: Remove conditional code.
43099 * sysdeps/unix/sysv/linux/opendir.c: Do not include
43100 <kernel-features.h>.
43101 [__ASSUME_O_DIRECTORY]: Make code unconditional.
43102 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43103 132096]: Remove conditional code.
43104 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43105 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43106 <kernel-features.h>.
43107 [__ASSUME_32BITUIDS]: Make code unconditional.
43108 [!__ASSUME_32BITUIDS]: Remove conditional code.
43109 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43110 <kernel-features.h>.
43111 [__ASSUME_32BITUIDS]: Make code unconditional.
43112 [!__ASSUME_32BITUIDS]: Remove conditional code.
43113 * sysdeps/unix/sysv/linux/setegid.c: Do not include
43114 <kernel-features.h>.
43115 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43117 (__setresgid): Do not declare.
43118 [__ASSUME_32BITUIDS]: Make code unconditional.
43119 [!__ASSUME_32BITUIDS]: Remove conditional code.
43120 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43121 <kernel-features.h>.
43122 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43124 (__setresuid): Do not declare.
43125 [__ASSUME_32BITUIDS]: Make code unconditional.
43126 [!__ASSUME_32BITUIDS]: Remove conditional code.
43127 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43128 <kernel-features.h>.
43129 [__ASSUME_32BITUIDS]: Make code unconditional.
43130 [!__ASSUME_32BITUIDS]: Remove conditional code.
43131 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43132 <kernel-features.h>.
43133 [__ASSUME_32BITUIDS]: Make code unconditional.
43134 [!__ASSUME_32BITUIDS]: Remove conditional code.
43136 2012-05-25 Richard Henderson <rth@twiddle.net>
43138 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43139 dl_hwcap to ifunc resolver.
43140 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43142 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43143 dl_hwcap to ifunc resolver.
43144 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43149 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43150 for |x| <= 2**-26, not 2**-57.
43151 * math/libm-test.inc (acos_test): Do not allow spurious underflow
43154 2012-05-24 Jeff Law <law@redhat.com>
43156 * stdio-common/Makefile (tests): Add bug25.
43157 * stdio-common/bug25.c: New test.
43159 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43162 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43163 multiple of MALLOC_ALIGNMENT in size.
43164 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43166 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43168 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43170 (FILENAME_MAX): Use macro-int-constant.
43171 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43172 (_IOFBF): Use macro-int-constant.
43173 (_IOLBF): Likewise.
43174 (_IONBF): Likewise.
43175 (SEEK_CUR): Likewise.
43176 (SEEK_END): Likewise.
43177 (SEEK_SET): Likewise.
43178 (TMP_MAX): Likewise.
43179 (EOF): Use macro-int-constant. Require < 0.
43180 (NULL): Use macro-constant. Require == 0.
43181 (stdin): Require type to be FILE *.
43182 (stdout): Likewise.
43183 (stderr): Likewise.
43184 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43185 macro-int-constant.
43186 (EXIT_SUCCESS): Likewise.
43187 (NULL): Use macro-constant. Require == 0.
43188 (RAND_MAX): Use macro-int-constant.
43189 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43190 [C99-based standards] (strtof): Require function.
43191 [C99-based standards] (strtold): Likewise.
43192 [C99-based standards] (strtoll): Likewise.
43193 [C99-based standards] (strtoull): Likewise.
43194 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43195 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43196 [ISO || ISO99 || ISO11] (math.h): Likewise.
43197 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43198 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43201 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43204 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43205 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43206 * intl/dgettext.c (DCGETTEXT): Likewise.
43207 * intl/gettext.c (DCGETTEXT): Likewise.
43208 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43209 * posix/regex_internal.h (gettext): Likewise.
43210 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43211 Remove declaration.
43212 * include/argz.h (__argz_count_internal)
43213 (__argz_stringify_internal): Remove declaration.
43214 (__argz_count, __argz_stringify): Declare hidden proto.
43215 * intl/dcgettext.c: Remove use of INTDEF.
43216 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43217 * string/argz-stringify.c: Likewise.
43218 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43219 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43220 Declare hidden proto.
43221 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43222 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43223 Declare hidden proto.
43224 * include/stdio.h (__asprintf_internal): Don't declare.
43225 (__asprintf): Don't define as macro. Declare hidden proto.
43226 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43227 (__fsetlocking): Declare hidden proto.
43228 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43229 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43231 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43232 (_IO_setlinebuf): Remove use of INTUSE.
43233 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43234 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43235 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43236 Remove declaration.
43237 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43238 (_IO_do_flush): Remove use of INTUSE.
43239 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43240 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43241 (_IO_adjust_column, _IO_least_wmarker)
43242 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43243 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43244 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43245 (_IO_default_doallocate, _IO_wdefault_doallocate)
43246 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43247 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43248 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43249 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43250 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43251 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43252 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43253 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43254 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43255 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43256 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43257 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43258 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43260 (_IO_flush_all_internal, _IO_adjust_column_internal)
43261 (_IO_default_uflow_internal, _IO_default_finish_internal)
43262 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43263 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43264 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43265 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43266 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43267 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43268 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43269 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43270 (_IO_file_close_internal, _IO_file_close_it_internal)
43271 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43272 (_IO_file_init_internal, _IO_file_attach_internal)
43273 (_IO_file_fopen_internal, _IO_file_read_internal)
43274 (_IO_file_sync_internal, _IO_file_seek_internal)
43275 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43276 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43277 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43278 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43279 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43280 (_IO_list_all_internal, _IO_link_in_internal)
43281 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43282 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43283 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43284 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43285 (_IO_do_write_internal, _IO_padn_internal)
43286 (_IO_getline_info_internal, _IO_getline_internal)
43287 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43288 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43289 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43290 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43291 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43292 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43293 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43294 with libc_hidden_ver, remove use of INTUSE.
43295 * libio/genops.c: Likewise.
43296 * libio/freopen.c: Likewise.
43297 * libio/freopen64.c: Likewise.
43298 * libio/iofclose.c: Likewise.
43299 * libio/iofdopen.c: Likewise.
43300 * libio/iofflush.c: Likewise.
43301 * libio/iofflush_u.c: Likewise.
43302 * libio/iofgets.c: Likewise.
43303 * libio/iofgets_u.c: Likewise.
43304 * libio/iofopen.c: Likewise.
43305 * libio/iofopncook.c: Likewise.
43306 * libio/iofread.c: Likewise.
43307 * libio/iofread_u.c: Likewise.
43308 * libio/ioftell.c: Likewise.
43309 * libio/iofwrite.c: Likewise.
43310 * libio/iogetline.c: Likewise.
43311 * libio/iogets.c: Likewise.
43312 * libio/iogetwline.c: Likewise.
43313 * libio/iopadn.c: Likewise.
43314 * libio/iopopen.c: Likewise.
43315 * libio/ioseekoff.c: Likewise.
43316 * libio/ioseekpos.c: Likewise.
43317 * libio/iosetbuffer.c: Likewise.
43318 * libio/iosetvbuf.c: Likewise.
43319 * libio/ioungetc.c: Likewise.
43320 * libio/ioungetwc.c: Likewise.
43321 * libio/iovdprintf.c: Likewise.
43322 * libio/iovsprintf.c: Likewise.
43323 * libio/iovsscanf.c: Likewise.
43324 * libio/memstream.c: Likewise.
43325 * libio/obprintf.c: Likewise.
43326 * libio/oldfileops.c: Likewise.
43327 * libio/oldiofclose.c: Likewise.
43328 * libio/oldiofdopen.c: Likewise.
43329 * libio/oldiofopen.c: Likewise.
43330 * libio/oldiopopen.c: Likewise.
43331 * libio/oldstdfiles.c: Likewise.
43332 * libio/putc.c: Likewise.
43333 * libio/setbuf.c: Likewise.
43334 * libio/setlinebuf.c: Likewise.
43335 * libio/stdfiles.c: Likewise.
43336 * libio/strops.c: Likewise.
43337 * libio/vasprintf.c: Likewise.
43338 * libio/vscanf.c: Likewise.
43339 * libio/vsnprintf.c: Likewise.
43340 * libio/vswprintf.c: Likewise.
43341 * libio/wfiledoalloc.c: Likewise.
43342 * libio/wfileops.c: Likewise.
43343 * libio/wgenops.c: Likewise.
43344 * libio/wmemstream.c: Likewise.
43345 * libio/wstrops.c: Likewise.
43346 * libio/__fpurge.c: Likewise.
43347 * libio/__fsetlocking.c: Likewise.
43348 * assert/assert.c: Likewise.
43349 * debug/fgets_chk.c: Likewise.
43350 * debug/fgets_u_chk.c: Likewise.
43351 * debug/fread_chk.c: Likewise.
43352 * debug/fread_u_chk.c: Likewise.
43353 * debug/gets_chk.c: Likewise.
43354 * debug/obprintf_chk.c: Likewise.
43355 * debug/vasprintf_chk.c: Likewise.
43356 * debug/vdprintf_chk.c: Likewise.
43357 * debug/vsnprintf_chk.c: Likewise.
43358 * debug/vsprintf_chk.c: Likewise.
43359 * malloc/mtrace.c: Likewise.
43360 * misc/error.c: Likewise.
43361 * misc/syslog.c: Likewise.
43362 * stdio-common/asprintf.c: Likewise.
43363 * stdio-common/fxprintf.c: Likewise.
43364 * stdio-common/getw.c: Likewise.
43365 * stdio-common/isoc99_fscanf.c: Likewise.
43366 * stdio-common/isoc99_scanf.c: Likewise.
43367 * stdio-common/isoc99_vfscanf.c: Likewise.
43368 * stdio-common/isoc99_vscanf.c: Likewise.
43369 * stdio-common/isoc99_vsscanf.c: Likewise.
43370 * stdio-common/printf-prs.c: Likewise.
43371 * stdio-common/printf_fp.c: Likewise.
43372 * stdio-common/printf_fphex.c: Likewise.
43373 * stdio-common/printf_size.c: Likewise.
43374 * stdio-common/putw.c: Likewise.
43375 * stdio-common/scanf.c: Likewise.
43376 * stdio-common/sprintf.c: Likewise.
43377 * stdio-common/tmpfile.c: Likewise.
43378 * stdio-common/vfprintf.c: Likewise.
43379 * stdio-common/vfscanf.c: Likewise.
43380 * stdlib/strfmon_l.c: Likewise.
43381 * sunrpc/openchild.c: Likewise.
43382 * sunrpc/xdr_stdio.c: Likewise.
43383 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43384 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43386 2012-05-24 Roland McGrath <roland@hack.frob.com>
43388 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43390 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43391 in the third column, to generate for the shared library an IFUNC
43392 that uses _dl_vdso_vsym.
43393 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43394 * Makeconfig (object-suffixes-noshared): New variable.
43396 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43397 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43398 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43399 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43402 * include/sys/time.h (__gettimeofday): Remove macro.
43403 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43404 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43406 (__gettimeofday): Add libc_hidden_def.
43407 (gettimeofday): Add libc_hidden_weak.
43408 * sysdeps/mach/gettimeofday.c: Likewise.
43409 * sysdeps/posix/gettimeofday.c: Likewise.
43410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43411 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43413 (__gettimeofday_internal): Remove strong_alias.
43414 (__gettimeofday): Add libc_hidden_def.
43415 (gettimeofday): Add libc_hidden_weak.
43416 * sysdeps/unix/syscalls.list (gettimeofday):
43417 Remove __gettimeofday_internal alias.
43419 2012-05-24 Daniel Jacobowitz <drow@false.org>
43420 H.J. Lu <hongjiu.lu@intel.com>
43423 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43424 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43425 (largebin_index_32_big): New.
43426 (largebin_index): Use it for 16-byte alignment.
43427 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43428 correction with front_misalign.
43430 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43458 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43459 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43461 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43465 * math/libm-test.inc (exp_test): Add test from bug 14036.
43466 (pow_test): Add test from bug 10846.
43468 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43470 (special_function): Do not include flags in test name.
43471 (parse_args): Likewise.
43472 * sysdeps/i386/fpu/libm-test-ulps: Update.
43473 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43474 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43475 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43478 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43480 * math/libm-test.inc ("Philosophy"): Update comment about
43482 (UNDERFLOW_EXCEPTION): New macro.
43483 (UNDERFLOW_EXCEPTION_OK): Likewise.
43484 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43485 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43486 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43487 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43488 (INVALID_EXCEPTION_OK): Update value.
43489 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43490 (OVERFLOW_EXCEPTION_OK): Likewise.
43491 (IGNORE_ZERO_INF_SIGN): Likewise.
43492 (test_exceptions): Handle underflow exceptions.
43493 (acos_test): Update for underflow exception expectations.
43494 (cexp_test): Likewise.
43495 (clog_test): Likewise.
43496 (clog10_test): Likewise.
43497 (csqrt_test): Likewise.
43498 (ctan_test): Likewise.
43499 (ctanh_test): Likewise.
43500 (exp_test): Likewise.
43501 (exp10_test): Likewise.
43502 (exp2_test): Likewise.
43503 (expm1_test): Likewise.
43504 (fma_test): Likewise.
43505 (j0_test): Likewise.
43506 (jn_test): Likewise.
43507 (nexttoward_test): Likewise.
43508 (pow_test): Likewise.
43509 (scalbn_test): Likewise.
43510 (scalbln_test): Likewise.
43511 (tan_test): Likewise.
43512 (y1_test): Likewise.
43513 * sysdeps/i386/fpu/libm-test-ulps: Update.
43514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43516 2012-05-23 David S. Miller <davem@davemloft.net>
43518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43519 (__libc_sigaction): Remove unused local variables.
43521 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43523 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43525 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43527 mktime: avoid signed integer overflow
43528 * time/mktime.c (__mktime_internal): Do not mishandle the case
43529 where diff == INT_MIN.
43531 mktime: simplify computation of average
43532 * time/mktime.c (ranged_convert): Use new time_t_avg function
43533 instead of rolling our own (probably-slower) code.
43535 mktime: do not assume signed right shift propagates sign bit
43536 * time/mktime.c (isdst_differ): New static function.
43537 (__mktime_internal): No need to normalize tm_isdst now.
43538 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43541 mktime: merge another wrapv change from gnulib
43542 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43543 from some compilers.
43545 mktime: remove incorrect attempt at unusual arithmetics
43546 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43547 The code didn't really work on such machines anyway.
43548 (TYPE_MINIMUM): Assume two's complement.
43549 (twos_complement_arithmetic): Verify that long_int and time_t
43550 are two's complement (or unsigned, in the latter case).
43552 mktime: check signed shifts on long_int and time_t, too
43553 * time/mktime.c (SHR): Check that shifts work as desired
43554 on the types long_int and time_t too, as SHR is used on
43557 mktime: do not assume 'long' is wide enough
43558 * time/mktime.c (verify): Move decl up.
43559 (long_int): New type.
43560 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43561 to remove assumption in the code that 'long' is wide enough to
43562 store year values. This assumption is not true on x32 and on
43563 some non-glibc platforms.
43565 mktime: merge wrapv change from gnulib
43566 * time/mktime.c (WRAPV): New macro.
43567 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43568 (guess_time_tm, __mktime_internal): Do not assume that signed
43569 integer overflow wraps around; modern compilers generate code
43570 where this assumption is no longer valid.
43572 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43575 Replace "jmp L(pseudo_end)" with "ret".
43576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43579 2012-05-23 Andreas Jaeger <aj@suse.de>
43581 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43582 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43584 2012-05-23 Andreas Jaeger <aj@suse.de>
43585 Maximilian Attems <max@stro.at>
43587 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43590 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43592 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43593 code so that pseudo_end is just ret and the stack pointer is
43594 correct also for static library in error case.
43596 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43598 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43599 move to syscalls.list.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43605 * manual/install.texi (Running make install): Do not mention Linux
43606 kernel version for which pt_chown is not needed.
43607 (Linux): Do not mention problems with nscd with 2.0 kernels.
43608 * INSTALL: Regenerated.
43610 2012-05-23 Andreas Jaeger <aj@suse.de>
43612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43613 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43615 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43617 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43619 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43620 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43625 * sysdeps/unix/sysv/linux/bits/in.h
43626 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43628 2012-05-22 Roland McGrath <roland@hack.frob.com>
43630 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43631 (PREPARE_VERSION): Just use assert instead, it will be elided
43632 under [NDEBUG] anyway.
43634 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43636 * sysdeps/unix/sysv/linux/Makefile: Include
43637 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43638 (sysdep_routines): Remove sysctl.
43639 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43640 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43641 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43642 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43643 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43645 2012-05-22 Andreas Jaeger <aj@suse.de>
43647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43648 that pseudo_end is just ret and the stack pointer is correct also
43649 for static library in error case.
43651 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43654 * nss/nsswitch.c (defconfig_entries): New variable.
43655 (__nss_database_lookup): Don't leak defconfig entries.
43656 (nss_parse_service_list): Don't leak on error paths.
43657 (free_database_entries): New function.
43658 (free_defconfig): New function.
43659 (free_mem): Move common code to free_database_entries.
43661 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43665 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43667 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43668 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43671 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43672 (INTERNAL_SYSCALL_TYPES): Likewise.
43673 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43674 (LOAD_REGS_TYPES_[1-6]): Likewise.
43675 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43676 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43678 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43680 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43681 copysignl for GLIBC_2_0.
43682 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43683 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43685 logbl for GLIBC_2_0.
43686 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43687 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43689 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43691 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43692 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43694 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43697 * time/mktime.c: Update copyright years.
43699 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43701 mktime: merge comment-quoting-style change from gnulib
43702 * time/mktime.c: Quote 'like this' in comments.
43703 The GNU coding standards suggest that we no longer quote `like this',
43704 as "`" and "'" are typically rendered asymmetrically nowadays.
43705 The typical gnulib style is to quote 'like this' when quoting
43706 code, and "like this" when quoting English.
43708 * time/mktime.c (compile-command): Add "-I.".
43710 mktime: merge mktime-internal.h change from gnulib
43711 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43713 mktime: merge time_r change from gnulib
43714 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43716 mktime: merge DEBUG change from gnulib
43717 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43718 case system <time.h> has a #define.
43720 mktime: merge <sys/types.h> change from gnulib
43721 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43722 since <time.t> is now guaranteed to define time_t.
43724 mktime: merge HAVE_CONFIG_H change from gnulib
43725 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43727 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43732 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43734 (struct rusage): Use anonymous union to pad each field to
43737 2012-05-21 David S. Miller <davem@davemloft.net>
43739 * Makefules (o-iterator): Remove .s cases.
43740 (compile-command.s): Delete.
43741 (COMPILE.s): Delete.
43742 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43744 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43746 * configure.in (libc_cv_predef_stack_protector): Only consider
43747 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43748 * configure: Regenerated.
43750 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43753 New macro. Use R*LP on int and pointer.
43754 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43755 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43756 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43757 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43759 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43760 [__WORDSIZE_TIME64_COMPAT32] instead of
43761 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43762 (struct utmp): Likewise.
43763 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43764 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43766 (__WORDSIZE_TIME64_COMPAT32): This.
43767 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43768 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43769 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43770 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43771 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43772 (__WORDSIZE_TIME64_COMPAT32): New macro.
43774 2012-05-21 Andreas Jaeger <aj@suse.de>
43776 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43777 only if [SHARED]. Add prototype for __wcschr_ia32.
43779 2012-05-21 Roland McGrath <roland@hack.frob.com>
43781 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43782 of %rbp unmolested in the jmp_buf while mangling the low bits.
43783 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43784 unmolested high bits of %rbp while demangling the low bits.
43785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43787 2012-05-21 Andreas Jaeger <aj@suse.de>
43789 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43790 * sunrpc/svc_simple.c: Use it for registerrpc.
43791 * sunrpc/xcrypt.c: Use it for passwd2des.
43793 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43795 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43797 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43798 Don't define if [__SYSCALL_WORDSIZE != 32].
43799 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43802 2012-05-21 Bruno Haible <bruno@clisp.org>
43803 Andreas Jaeger <aj@suse.de>
43805 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43806 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43807 inptr and inend for must_buffer_ch.
43808 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43809 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43810 * stdio-common/Makefile (tests): Remove bug15.
43811 (bug15-ENV): Remove macro.
43812 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43815 2012-05-19 Andreas Jaeger <aj@suse.de>
43816 Roland McGrath <roland@hack.frob.com>
43818 * manual/contrib.texi: Completely rewritten. It contains now an
43819 alphabetical list of contributors and their contributions.
43821 2012-05-21 Richard Henderson <rth@twiddle.net>
43823 * misc/getauxval.c (__getauxval): Use unsigned long int.
43824 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43825 (getauxval): Use unsigned long int.
43827 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43829 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43831 2012-05-21 Roland McGrath <roland@hack.frob.com>
43833 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43834 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43835 __alignof__ (long double).
43837 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43841 2012-05-20 Richard Henderson <rth@twiddle.net>
43843 * misc/getauxval.c: New file.
43844 * misc/sys/auxv.h: New file.
43845 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43846 (routines): Add getauxval.
43847 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43848 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43849 * elf/dl-sysdep.c (_dl_auxv): Remove.
43850 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43851 * elf/dl-support.c (_dl_auxv): New variable.
43852 (_dl_aux_init): Initialize it.
43853 * manual/startup.texi (Auxiliary Vector): New node.
43854 * sysdeps/generic/bits/hwcap.h: New file.
43855 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43856 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43857 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43858 * sysdeps/sparc/sysdep.h: ... here. Include it.
43859 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43872 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43876 2012-05-19 David S. Miller <davem@davemloft.net>
43878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43880 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43883 * math/s_ccosh.c: Include <float.h>
43884 (__ccosh): Avoid internal overflow calculating sinh and cosh
43885 values before multiplying by sin and cos values.
43886 * math/s_ccoshf.c: Likewise.
43887 * math/s_ccoshl.c: Likewise.
43888 * math/s_csin.c: Likewise.
43889 * math/s_csinf.c: Likewise.
43890 * math/s_csinl.c: Likewise.
43891 * math/s_csinh.c: Likewise.
43892 * math/s_csinhf.c: Likewise.
43893 * math/s_csinhl.c: Likewise.
43894 * math/libm-test.inc (ccos_test): Add more tests.
43895 (ccosh_test): Likewise.
43896 (csin_test): Likewise.
43897 (csinh_test): Likewise.
43898 * sysdeps/i386/fpu/libm-test-ulps: Update.
43899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43901 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43903 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43904 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43906 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43908 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43910 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43911 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43912 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43913 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43914 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43915 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43916 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43917 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43918 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43919 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43920 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43921 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43922 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43923 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43924 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43925 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43926 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43927 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43928 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43929 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43930 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43931 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43932 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43933 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43934 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43935 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43936 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43937 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43938 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43939 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43940 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43942 2012-05-18 Andreas Jaeger <aj@suse.de>
43944 * csu/.gitignore: Delete.
43946 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43948 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43949 (timex): Use __syscall_slong_t.
43951 2012-05-18 Andreas Jaeger <aj@suse.de>
43952 Carlos O'Donell <carlos_odonell@mentor.com>
43954 * manual/install.texi (Configuring and compiling): Update
43955 description about files modified in the source directory.
43956 * INSTALL: Regenerated.
43958 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43960 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43961 value. Use "or" to set return value to -1.
43962 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43963 negate return value.
43965 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43967 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43968 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43969 failure if the compiler has Graphite support disabled.
43970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43972 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43973 (CFLAGS-memmove.c): Likewise.
43974 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43977 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43979 * sysdeps/x86_64/x32/_itoa.h: New file.
43981 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43982 getdents system call only if kernel and user dirents have the
43983 same d_ino and d_off.
43985 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43986 LLONG_MAX != LONG_MAX.
43987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43988 (_fitoa_word): Likewise.
43990 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43993 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43996 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43997 include <bits/wordsize.h>. Check __x86_64__ instead of
43999 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44000 if __x86_64__ is defined. Use anonymous union on fpstate.
44002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44005 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
44007 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44008 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44009 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44010 Refer to _rtld_local_ro instead of _rtld_global_ro.
44011 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44013 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44015 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44017 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44018 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44019 of _rtld_global, and rtld_progname instead of _dl_argv[0].
44021 * sysdeps/powerpc/powerpc32/dl-machine.c
44022 (__elf_machine_runtime_setup) [PROF]: Don't reference
44025 2012-05-18 Andreas Jaeger <aj@suse.de>
44027 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44028 function only available for GCCs before 3.4 since GCC 3.4
44029 introduced a builtin.
44031 (llrintf): Likewise.
44032 (llrint): Likewise.
44039 (nearbyint): Likewise.
44040 (nearbyintf): Likewise.
44044 (floorf): Likewise.
44046 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44048 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44049 on both fields and cast pointer to __syscall_ulong_t.
44051 * bits/types.h (__fsword_t): New type.
44052 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44053 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44055 (__FSWORD_T_TYPE): Likewise.
44056 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44057 (__FSWORD_T_TYPE): Likewise.
44058 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44059 (__FSWORD_T_TYPE): Likewise.
44060 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44061 (__FSWORD_T_TYPE): Likewise.
44062 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44063 __SWORD_TYPE with __fsword_t.
44064 (statfs64): Likewise.
44066 2012-05-17 David S. Miller <davem@davemloft.net>
44068 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44070 2012-05-17 Andreas Jaeger <aj@suse.de>
44072 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44075 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44077 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44079 2012-05-17 Andreas Jaeger <aj@suse.de>
44081 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44084 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44086 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44088 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
44090 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44091 * sysdeps/x86_64/tst-mallocalign1.c: New file.
44093 2012-05-17 Andreas Jaeger <aj@suse.de>
44094 Carlos O'Donell <carlos_odonell@mentor.com>
44097 * sysdeps/x86_64/multiarch/init-arch.h
44098 (bit_YMM_Usable): Rename to...
44099 (bit_AVX_Usable): ... this.
44100 (bit_FMA4_Usable): New macro.
44101 (bit_XMM_state): New macro.
44102 (bit_YMM_state): New macro.
44103 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44104 [__ASSEMBLER__] (index_AVX_Usable): ... this.
44105 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44106 (CPUID_OSXSAVE): New macro.
44107 (CPUID_AVX): New macro.
44108 (CPUID_FMA4): New macro.
44109 (index_YMM_Usable): Rename to...
44110 (index_AVX_Usable): ... this.
44111 (HAS_AVX): Use HAS_ARCH_FEATURE.
44112 (HAS_FMA4): Likewise.
44113 (HAS_YMM_USABLE): Remove.
44114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44115 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44117 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44118 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44119 * sysdeps/x86_64/multiarch/Makefile: Likewise.
44120 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44121 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44123 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
44125 * math/libm-test.c: Support platforms without multiple rounding modes.
44126 * math/bug-nextafter.c: Support platforms without FP exceptions.
44127 * math/bug-nexttoward.c: Likewise.
44128 * math/test-fenv.c: Likewise.
44129 * math/test-misc.c: Likewise.
44130 * stdlib/bug-getcontext.c: Likewise.
44132 2012-05-17 Andreas Jaeger <aj@suse.de>
44134 * manual/examples/search.c (critter_cmp): Change signature to
44136 * manual/string.texi (Collation Functions): Likewise.
44138 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44140 * bits/types.h: Fold copyright years.
44141 * bits/typesizes.h: Likewise.
44142 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44146 * time/time.h: Likewise.
44148 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
44151 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44152 in instead of returning them. Return void.
44153 (__libc_mallinfo): Accumulate over all arenas.
44154 (__malloc_stats): Adjust for change in int_mallinfo interface.
44156 2012-05-16 Roland McGrath <roland@hack.frob.com>
44159 * configure.in (NM): Add AC_CHECK_TOOL for it.
44160 (libc_extra_cflags): New substituted variable.
44161 Check for -fstack-protector being used implicitly.
44162 * configure: Regenerated.
44163 * config.make.in (config-extra-cflags): New variable,
44164 gets @libc_extra_cflags@.
44165 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44168 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44169 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44170 * configure: Regenerated.
44171 * config.make.in (CPPUNDEFS): New substituted variable.
44172 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44173 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44174 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44176 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44178 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44179 (mq_attr): Use __syscall_slong_t.
44181 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44183 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44184 Check __x86_64__ instead of __WORDSIZE.
44185 (_STAT_VER_LINUX): Likewise.
44186 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44187 __syscall_ulong_t and __syscall_slong_t.
44188 (stat64): Likewise.
44190 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44192 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44194 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44196 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44198 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44200 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44203 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44204 include <bits/wordsize.h>. Check __x86_64__ instead of
44206 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44208 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44210 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44211 include <bits/wordsize.h>. Check __x86_64__ instead of
44213 (user_regs_struct): Use "__extension__ unsigned long long"
44214 instead of "unsigned long" if __x86_64__ is defined.
44215 (user): Likewise. Pad after pointer field if __ILP32__ is
44218 2012-05-16 Joseph Myers <joseph@codesourcery.com>
44220 * configure.in (makeinfo): Require version 4.5 or later. Allow
44222 * configure: Regenerated.
44223 * manual/install.texi (texinfo): Increase version requirement to
44225 * INSTALL: Regenerated.
44227 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44229 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44231 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44233 * sysdeps/x86_64/x32/ffs.c: New file.
44235 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44237 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44238 defined. Use __syscall_ulong_t.
44239 (shminfo): Use __syscall_ulong_t.
44240 (shm_info): Likewise.
44242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44245 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44247 (msgqnum_t): Use __syscall_ulong_t.
44248 (msglen_t): Likewise.
44249 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44252 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44253 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44255 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44257 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44258 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44260 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44264 include <bits/wordsize.h>. Check __x86_64__ instead of
44267 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44268 "unsigned long long int" if __x86_64__ is defined.
44269 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44272 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44273 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44275 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44277 (GET_PC): Cast to uintptr_t first.
44278 (GET_FRAME): Likewise.
44279 (GET_STACK): Likewise.
44281 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44282 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44283 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44284 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44285 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44286 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44287 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44288 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44289 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44292 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44293 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44294 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44295 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44296 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44297 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44301 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44302 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44303 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44304 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44305 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44306 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44307 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44308 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44311 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44313 * Makerules (+depfiles): Also collect depfiles from .oS in
44315 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44316 .oS, $(libnldbl-routines)).
44318 * Makerules (native-compile-mkdep-flags): Define.
44319 * sunrpc/Makefile (extra-objs): Add $(addprefix
44320 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44321 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44322 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44323 calling $(make-target-directory).
44325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44327 * bits/types.h (__snseconds_t): Removed.
44328 * time/time.h (struct timespec): Replace __snseconds_t with
44330 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44331 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44334 (__SNSECONDS_T_TYPE): Likewise.
44335 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44336 (__SNSECONDS_T_TYPE): Likewise.
44337 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44338 (__SNSECONDS_T_TYPE): Likewise.
44340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44342 * sysdeps/mach/hurd/bits/typesizes.h
44343 (__SYSCALL_SLONG_TYPE): New macro.
44344 (__SYSCALL_ULONG_TYPE): Likewise.
44346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44348 * bits/types.h (__syscall_slong_t): New type.
44349 (__syscall_ulong_t): Likewise.
44351 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44352 (__SYSCALL_ULONG_TYPE): Likewise.
44353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44354 (__SYSCALL_SLONG_TYPE): Likewise.
44355 (__SYSCALL_ULONG_TYPE): Likewise.
44356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44357 (__SYSCALL_SLONG_TYPE): Likewise.
44358 (__SYSCALL_ULONG_TYPE): Likewise.
44359 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44360 (__SYSCALL_SLONG_TYPE): Likewise.
44361 (__SYSCALL_ULONG_TYPE): Likewise.
44363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44365 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44366 Add sigaltstack-offsets.sym.
44367 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44368 <sigaltstack-offsets.h>.
44369 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44370 longjmp_msg pointer.
44371 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44372 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44374 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44376 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44378 * elf/stackguard-macros.h: Remove file.
44379 * sysdeps/generic/stackguard-macros.h: New file.
44380 * sysdeps/i386/stackguard-macros.h: Likewise.
44381 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44382 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44383 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44384 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44385 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44386 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44387 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44388 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44389 <elf/stackguard-macros.h>.
44392 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44393 __aligned__ in attribute.
44394 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44395 (gregset_t): Likewise.
44397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44399 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44400 * sysdeps/x86_64/64/Implies-after: Here. New file.
44401 * sysdeps/x86_64/x32/Implies-after: New file.
44403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44405 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44406 and access return value for _dl_profile_fixup. Use R10_LP to
44409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44411 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44415 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44416 * sysdeps/x86_64/x32/sysdep.h: New file.
44418 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44420 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44421 * sysdeps/x86_64/setjmp.S: Likewise.
44423 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44426 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44427 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44429 remove unused global constant.
44431 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44433 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44434 include of <not-cancel.h>.
44436 2012-05-15 Roland McGrath <roland@hack.frob.com>
44438 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44440 2012-05-15 Jeff Law <law@redhat.com>
44441 Andreas Jaeger <aj@suse.de>
44444 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44446 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44447 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44448 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44449 code changing __hst_map_handle.map.
44451 2012-05-15 Roland McGrath <roland@hack.frob.com>
44453 * configure.in (sysnames): Look for Implies-before and Implies-after
44455 * configure: Regenerated.
44457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44459 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44460 8-byte data alignment with LP_SIZE alignment.
44462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44464 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44469 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44473 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44474 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44477 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44481 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44482 (stackinfo_sub_sp): Likewise.
44484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44486 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44491 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44494 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44499 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44501 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44503 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44505 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44506 into R11_LP and load __x86_64_shared_cache_size_half into
44509 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44511 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44514 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44523 powerpc32/power7/fpu/s_logb.c via #include.
44524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44525 powerpc32/power7/fpu/s_logbf.c via #include.
44526 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44527 powerpc32/power7/fpu/s_logbl.c via #include.
44529 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44531 * README.libm: Remove file.
44533 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44535 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44536 count for x32. Use R*_LP and omit operand-size suffix.
44538 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44540 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44541 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44542 * sysdeps/x86_64/x32/shlib-versions: New file.
44544 2012-05-14 Roland McGrath <roland@hack.frob.com>
44546 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44547 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44548 Use _dl_fatal_printf instead.
44550 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44552 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44553 set if not set by the user. Do not allow for being unset.
44554 * sysdeps/unix/sysv/linux/configure: Regenerated.
44556 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44558 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44559 the `q' suffix from lea and replace .quad with ASM_ADDR.
44561 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44564 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44566 (PTR_DEMANGLE): Likewise.
44568 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44570 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44572 (ASM_ADDR): Likewise.
44573 (RAX_LP): Likewise.
44574 (RBP_LP): Likewise.
44575 (RBX_LP): Likewise.
44576 (RCX_LP): Likewise.
44577 (RDI_LP): Likewise.
44578 (RSI_LP): Likewise.
44579 (RSP_LP): Likewise.
44582 (R10_LP): Likewise.
44583 (R10_LP): Likewise.
44584 (R11_LP): Likewise.
44585 (R12_LP): Likewise.
44586 (R13_LP): Likewise.
44587 (R14_LP): Likewise.
44588 (R15_LP): Likewise.
44590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44592 * sysdeps/x86_64/x32/dl-machine.h: New file.
44594 2012-05-14 Andreas Jaeger <aj@suse.de>
44596 * manual/Makefile (subdir): Remove export of subdir.
44597 (all): Remove target.
44598 (.PHONY): Remove all from list.
44599 (mkinstalldirs): Remove.
44600 (.PHONY): Remove installdirs from list.
44601 ($(inst_infodir)/libc.info): Use make-target-directory.
44602 (installdirs): Remove.
44603 (subdir_%): Remove.
44604 (glibc-targets): Remove.
44607 ($(objpfx)stubs ../po/manual.pot): Remove.
44608 ($(objpfx)stamp%): Remove.
44609 (make-target-directory): Remove.
44610 (subdir_install): Remove.
44611 (routines): Remove.
44618 * manual/.gitignore: Remove, it's not needed anymore.
44619 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44621 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44623 (texis): Renamed to $(objpfx)texis.
44624 (texis-path): New, contains path to generated files.
44625 (chapters.%): Use texis-path for complete path, add extra argument
44627 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44628 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44629 (summary,texi, stamp-summary): Use complete path of
44630 files. Generate files in build dir.
44631 (dir-add.texi): Build in build dir.
44632 (libm-err.texi,stamp-libm-err): Likewise.
44633 (version.texi, stamp-version): Likewise.
44634 (.%c.texi): Likewise.
44635 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44636 (mostlyclean): Remove target.
44637 (realclean): Remove target.
44638 (generated): Add new variable with contents from mostlyclean and
44639 realclean, remove entries duplicated in common-mostlyclean, add
44640 stamp-libm-err and stamp-version.
44641 (generated-dirs): Add libc directory.
44642 ($(inst_infodir)/libc.info): Install files from build dir.
44644 * manual/install.texi (Configuring and compiling): Adjust since
44645 the info files are not part of the tar ball anymore.
44647 2012-05-14 Andreas Jaeger <aj@suse.de>
44649 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44652 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44655 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44656 to 2.2.0 where earlier.
44657 * sysdeps/unix/sysv/linux/configure: Regenerated.
44658 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44659 Remove conditional code.
44660 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44661 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44662 Remove conditional code.
44663 [!__NR_lchown]: Likewise.
44664 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44665 [__NR_lchown]: Likewise.
44666 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44667 comment referencing __ASSUME_LCHOWN_SYSCALL.
44668 * sysdeps/unix/sysv/linux/i386/sigaction.c
44669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44671 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44672 Remove conditional code.
44673 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44674 (__protocol_available): Remove #if 0 code.
44675 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44677 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44678 * sysdeps/unix/sysv/linux/kernel-features.h
44679 (__ASSUME_GETCWD_SYSCALL): Don't define.
44680 (__ASSUME_REALTIME_SIGNALS): Likewise.
44681 (__ASSUME_PREAD_SYSCALL): Likewise.
44682 (__ASSUME_PWRITE_SYSCALL): Likewise.
44683 (__ASSUME_POLL_SYSCALL): Likewise.
44684 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44685 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44687 (__ASSUME_SIOCGIFNAME): Don't define.
44688 (__ASSUME_MSG_NOSIGNAL): Likewise.
44689 (__ASSUME_SENDFILE): Define unconditionally.
44690 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44691 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44693 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44694 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44695 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44696 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44697 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44698 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44699 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44701 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44704 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44705 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44707 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44708 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44710 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44713 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44714 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44716 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44719 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44722 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44724 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44725 Remove conditional code.
44726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44727 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44728 Remove conditional code.
44729 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44730 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44731 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44732 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44733 Remove conditional code.
44734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44735 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44736 Remove conditional code.
44737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44738 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44739 Remove conditional code.
44740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44741 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44742 Remove conditional code.
44743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44744 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44745 Remove conditional code.
44746 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44747 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44750 * sysdeps/unix/sysv/linux/sigaction.c
44751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44753 * sysdeps/unix/sysv/linux/sigpending.c
44754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44756 * sysdeps/unix/sysv/linux/sigprocmask.c
44757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44759 * sysdeps/unix/sysv/linux/sigsuspend.c
44760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44762 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44763 (__libc_missing_rt_sigs): Remove.
44764 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44765 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44766 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44767 Remove conditional code.
44768 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44769 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44771 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44772 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44773 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44774 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44776 2012-05-14 Andreas Jaeger <aj@suse.de>
44778 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44779 it's not used in glibc.
44780 (__coshm1): Likewise.
44781 (__acosh1p): Likewise.
44784 * manual/string.texi (Copying and Concatenation): Add missing
44785 variable in concat example.
44786 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44788 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44792 __builtin_clzl with __builtin_clzll.
44794 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44797 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44800 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44802 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44803 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44804 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44807 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44809 * NEWS: Update ia64 info.
44811 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44813 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44816 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44818 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44819 * sysdeps/unix/syscalls.list (dup3): Likewise.
44820 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44821 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44823 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44825 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44826 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44828 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44830 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44832 (TLS_IE): Use mov/add instead of movq/addq to load thread
44834 (TLS_GD_PREFIX): New.
44837 2012-05-11 David S. Miller <davem@davemloft.net>
44839 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44840 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44841 (_FPU_SETCW): Likewise.
44843 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44845 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44846 is 32-byte aligned.
44848 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44851 * iconvdata/gb18030.c: Update tables.
44852 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44853 characters specially.
44854 (BODY for TO_LOOP): Add encoding of missing ranges.
44856 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44859 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44860 * sysdeps/mach/hurd/dup3.c: Likewise.
44861 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44862 * sysdeps/powerpc/memmove.c:: Likewise.
44864 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44867 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44871 * elf/elf.h (R_X86_64_RELATIVE64): New.
44872 (R_X86_64_NUM): Updated.
44873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44874 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44875 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44876 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44877 tst-quad1pie tst-quad2pie
44878 (modules-names): Add tst-quadmod1 tst-quadmod2.
44879 ($(objpfx)tst-quad1): New dependency.
44880 ($(objpfx)tst-quad2): Likewise.
44881 ($(objpfx)tst-quad1pie): Likewise.
44882 ($(objpfx)tst-quad2pie): Likewise.
44883 * sysdeps/x86_64/tst-quad1.c: New file.
44884 * sysdeps/x86_64/tst-quad1pie.c: New file.
44885 * sysdeps/x86_64/tst-quad2.c: Likewise.
44886 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44887 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44888 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44889 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44890 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44892 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44894 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44895 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44896 * streams/stropts.h (t_scalar_t): Define type.
44898 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44899 (_PATH_PRESERVE): Set to "/var/lib".
44900 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44902 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44905 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44906 if __dir_mkfile succeeded.
44908 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44909 checking for _hurd_dtablesize. Unlock it right after having
44910 finished _hurd_dtable allocation.
44912 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44914 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44915 * sysdeps/mach/hurd/configure: Regenerated.
44916 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44917 special-casing to...
44918 * sysdeps/gnu/configure.in: ... this new file.
44919 * sysdeps/unix/sysv/linux/configure: Regenerated.
44920 * sysdeps/gnu/configure: New generated file.
44922 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44923 for Linux: use nsec instead of usec, as well as:
44924 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44925 members of type struct timespec.
44926 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44928 (struct stat64): Likewise.
44929 (_STATBUF_ST_NSEC): New macro.
44930 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44932 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44933 __strtoul_internal rather than strtoul.
44935 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44937 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44942 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44943 which preserves existing values.
44944 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44946 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44948 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44949 TIMEOUT values. Return EINVAL for NFDS values either negative or
44950 greater than FD_SETSIZE.
44952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44954 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44955 allocated, call __vm_protect to finish enabling the existing space, and
44956 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44957 allocate the remainder.
44959 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44961 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44962 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44964 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44966 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44967 sysdeps/mach/hurd/readlink.c.
44969 * posix/tst-sysconf.c (posix_options): Only use
44970 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44971 _POSIX_SYNCHRONIZED_IO when they are defined
44972 * sysdeps/mach/hurd/bits/posix_opt.h:
44973 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44974 (_XOPEN_REALTIME): Undefine macro.
44975 (_XOPEN_REALTIME_THREADS): Undefine macro.
44976 (_XOPEN_SHM): Undefine macro.
44977 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44979 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44981 (_POSIX_ASYNC_IO): Undefine macro.
44982 (_POSIX_PRIORITIZED_IO): Undefine macro.
44983 (_POSIX_SPIN_LOCKS): Define macro to -1.
44985 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44986 SA_NODEFER, SA_RESETHAND.
44987 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44988 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44993 * elf/Makefile (pldd-modules): Define unconditionally.
44995 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44997 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45001 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45002 Return ENOENT when name is empty.
45003 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45005 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45007 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45009 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45011 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45013 Fix mlock in all cases except non-readable pages.
45014 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45015 instead of VM_PROT_ALL as parameter to __vm_wire function.
45017 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45018 (__mkdir): When path is `/', just fail with EEXIST.
45019 * sysdeps/mach/hurd/mkdirat.c: Likewise.
45021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45023 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45024 <sys/uio.h> (for writev).
45025 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45026 and <sys/param.h> (for MIN).
45028 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
45030 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45031 REQUESTED_TIME. Properly set the remaining time and return EINTR
45034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45036 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45037 Depend on against $(link-rpcuserlibs).
45039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45041 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45042 (__libc_stack_end): Do not use attribute_relro.
45043 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45044 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45045 to libthread-provided value.
45046 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45052 * bits/libc-lock.h (__libc_once_get): New macro.
45053 * sysdeps/mach/bits/libc-lock.h: Likewise.
45054 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45055 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45056 instead of using implementation details.
45058 * libio/fileops.c: Unconditionally include <kernel-features.h>.
45059 * libio/freopen.c: Likewise.
45060 * libio/freopen64.c: Likewise.
45061 * misc/syslog.c: Likewise.
45062 * nscd/connections.c: Likewise.
45063 * nscd/netgroupcache.c: Likewise.
45064 * sysdeps/posix/getcwd.c: Likewise.
45066 2012-05-10 Roland McGrath <roland@hack.frob.com>
45068 * math/w_ilogbf.c: Add #include <limits.h>.
45070 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45072 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45073 path instead of returning without unlocking.
45075 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45076 immediate-write ioctls.
45077 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45081 * sysdeps/mach/hurd/i386/init-first.c (init): Use
45082 __builtin_frame_address instead of making assumptions about the
45083 location of the return address relative to DATA. Force early load of
45084 the return address.
45085 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45086 __builtin_frame_address.
45089 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45090 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
45091 implement dup3 and do some further code clean-ups.
45092 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45093 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45095 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45097 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45099 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45100 HURD_CRITICAL_END around holding _hurd_dtable_lock.
45101 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45102 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45103 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45106 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45107 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
45108 when handler == SIG_ERR, not when handler != SIG_ERR.
45110 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45112 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45113 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45116 accept4 for GNU Hurd.
45117 * include/sys/socket.h (__libc_accept4): New prototype.
45118 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
45119 to implement __libc_accept4.
45120 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45122 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45124 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45125 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45126 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45127 signal-defines.sym.
45129 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45131 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45133 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
45135 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45136 assertion on O_CLOEXEC flag.
45137 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45138 * hurd/intern-fd.c: Likewise.
45139 * hurd/port2fd.c: Likewise.
45141 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45144 * bits/in.h (IPV6_PKTINFO): Define new macro.
45145 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45147 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45152 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45153 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45154 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45155 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45156 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45157 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45158 * math/libm-test.inc (logb_test) : Additional logb tests.
45160 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45161 Andreas Jaeger <aj@suse.de>
45163 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45164 * configure: Regenerated.
45165 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45166 * config.make.in (link-obsolete-rpc): New substituted variable.
45167 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45168 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45169 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45170 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45171 so that libc.a contains the symbols.
45172 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45173 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45174 * sunrpc/auth_none.c: Likewise.
45175 * sunrpc/auth_unix.c: Likewise.
45176 * sunrpc/authdes_prot.c: Likewise.
45177 * sunrpc/authuxprot.c: Likewise.
45178 * sunrpc/clnt_gen.c: Likewise.
45179 * sunrpc/clnt_perr.c: Likewise.
45180 * sunrpc/clnt_raw.c: Likewise.
45181 * sunrpc/clnt_simp.c: Likewise.
45182 * sunrpc/clnt_tcp.c: Likewise.
45183 * sunrpc/clnt_udp.c: Likewise.
45184 * sunrpc/clnt_unix.c: Likewise.
45185 * sunrpc/des_crypt.c: Likewise.
45186 * sunrpc/des_soft.c: Likewise.
45187 * sunrpc/get_myaddr.c: Likewise.
45188 * sunrpc/key_call.c: Likewise.
45189 * sunrpc/key_prot.c: Likewise.
45190 * sunrpc/netname.c: Likewise.
45191 * sunrpc/pm_getmaps.c: Likewise.
45192 * sunrpc/pm_getport.c: Likewise.
45193 * sunrpc/pmap_clnt.c: Likewise.
45194 * sunrpc/pmap_prot.c: Likewise.
45195 * sunrpc/pmap_prot2.c: Likewise.
45196 * sunrpc/pmap_rmt.c: Likewise.
45197 * sunrpc/publickey.c: Likewise.
45198 * sunrpc/rpc_cmsg.c: Likewise.
45199 * sunrpc/rpc_common.c: Likewise.
45200 * sunrpc/rpc_dtable.c: Likewise.
45201 * sunrpc/rpc_prot.c: Likewise.
45202 * sunrpc/rpc_thread.c: Likewise.
45203 * sunrpc/rtime.c: Likewise.
45204 * sunrpc/svc.c: Likewise.
45205 * sunrpc/svc_auth.c: Likewise.
45206 * sunrpc/svc_raw.c: Likewise.
45207 * sunrpc/svc_run.c: Likewise.
45208 * sunrpc/svc_tcp.c: Likewise.
45209 * sunrpc/svc_udp.c: Likewise.
45210 * sunrpc/svc_unix.c: Likewise.
45211 * sunrpc/svcauth_des.c: Likewise.
45212 * sunrpc/xcrypt.c: Likewise.
45213 * sunrpc/xdr.c: Likewise.
45214 * sunrpc/xdr_array.c: Likewise.
45215 * sunrpc/xdr_float.c: Likewise.
45216 * sunrpc/xdr_intXX_t.c: Likewise.
45217 * sunrpc/xdr_mem.c: Likewise.
45218 * sunrpc/xdr_rec.c: Likewise.
45219 * sunrpc/xdr_ref.c: Likewise.
45220 * sunrpc/xdr_sizeof.c: Likewise.
45221 * sunrpc/xdr_stdio.c: Likewise.
45223 2012-05-10 Roland McGrath <roland@hack.frob.com>
45225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45226 change. Update copyright years.
45228 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45230 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45232 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45233 Joseph Myers <joseph@codesourcery.com>
45234 Paul Pluzhnikov <ppluzhnikov@google.com>
45237 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45239 [cross-compiling] (extra-libs): Likewise.
45240 [cross-compiling] (extra-libs-others): Likewise.
45241 [cross-compiling] (librpcsvc-routines): Likewise.
45242 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45243 [cross-compiling] (omit-deps): Likewise.
45244 (sunrpc-CPPFLAGS): New variable.
45245 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45246 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45247 (cross-rpcgen-objs): New variable.
45248 (extra-objs): Append $(cross-rpcgen-objs).
45249 ($(cross-rpcgen-objs)): New rule.
45250 ($(objpfx)cross-rpcgen): Likewise.
45251 (rpcgen-cmd): Define to use $(built-program-file). Expand
45253 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45254 ($(objpfx)x%.stmp): Likewise.
45255 * sunrpc/proto.h [IS_IN_build] (_): Define.
45256 [IS_IN_build] (_libc_intl_domainname): Likewise.
45258 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45261 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45262 and R_X86_64_TPOFF64.
45264 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45266 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45267 sysdeps/unix/sysv/syscalls.list.
45270 * sysdeps/unix/sysv/syscalls.list: Remove file.
45272 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45275 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45276 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45277 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45278 (__LC_IDENTIFICATION): Make these macros useful in #if
45279 expressions, as required by C99.
45281 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45283 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45284 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45287 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45289 * stdlib/longlong.h: Updated from GCC.
45291 2012-05-09 Andreas Jaeger <aj@suse.de>
45293 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45294 default is first entry.
45295 (run_mode): Set type.
45296 (main): Remove informal message about syslog.
45297 (options): Fix typo.
45300 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45303 (llrintf): Likewise.
45304 (llrint): Likewise.
45307 (nearbyint): Likewise.
45308 (nearbyintf): Likewise.
45310 2012-05-09 Andreas Jaeger <aj@suse.de>
45311 Pedro Alves <palves@redhat.com>
45313 * nscd/nscd.c (run_mode): Use enum.
45314 (main): Cleanup coding style issue.
45316 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45317 Andreas Jaeger <aj@suse.de>
45319 * nscd/nscd.c (go_background): Replaced with...
45320 (run_mode): ... this.
45321 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45322 (options): Add -F --foreground.
45323 (main): Implement it.
45324 (parse_opt): Parse it.
45326 2012-05-09 Andreas Jaeger <aj@suse.de>
45329 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45330 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45331 -Wconversion warning.
45332 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45335 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45337 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45339 (LC_ALL): Use macro-int-constant.
45340 (LC_COLLATE): Likewise.
45341 (LC_CTYPE): Likewise.
45342 (LC_MESSAGES): Likewise.
45343 (LC_MONETARY): Likewise.
45344 (LC_NUMERIC): Likewise.
45345 (LC_TIME): Likewise.
45346 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45347 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45349 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45351 [C99-based standards] (float_t): Expect type.
45352 [C99-based standards] (double_t): Expect type.
45353 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45355 [C99-based standards] (HUGE_VALL): Likewise.
45356 [C99-based standards] (INFINITY): Likewise.
45357 [C99-based standards] (NAN): Likewise.
45358 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45359 [C99-based standards] (FP_NAN): Likewise.
45360 [C99-based standards] (FP_NORMAL): Likewise.
45361 [C99-based standards] (FP_SUBNORMAL): Likewise.
45362 [C99-based standards] (FP_ZERO): Likewise.
45363 [C99-based standards] (FP_FAST_FMA): Use
45364 optional-macro-int-constant. Specify type. Require == 1.
45365 [C99-based standards] (FP_FAST_FMAF): Likewise.
45366 [C99-based standards] (FP_FAST_FMAL): Likewise.
45367 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45368 [C99-based standards] (FP_ILOGBNAN): Likewise.
45369 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45371 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45372 [C99-based standards] (math_errhandling): Specify type.
45373 [ISO99 || ISO11] (signgam): Do not allow.
45374 [non-C99-based standards] (copysignf): Do not allow.
45375 [non-C99-based standards] (exp2f): Likewise.
45376 [non-C99-based standards] (log2f): Likewise.
45377 [non-C99-based standards] (modff): Allow.
45378 [non-C99-based standards] (erff): Do not allow.
45379 [non-C99-based standards] (erfcf): Likewise.
45380 [non-C99-based standards] (gammaf): Likewise.
45381 [non-C99-based standards] (hypotf): Likewise.
45382 [non-C99-based standards] (j0f): Likewise.
45383 [non-C99-based standards] (j1f): Likewise.
45384 [non-C99-based standards] (jnf): Likewise.
45385 [non-C99-based standards] (lgammaf): Likewise.
45386 [non-C99-based standards] (tgammaf): Likewise.
45387 [non-C99-based standards] (y0f): Likewise.
45388 [non-C99-based standards] (y1f): Likewise.
45389 [non-C99-based standards] (ynf): Likewise.
45390 [non-C99-based standards] (isnanf): Likewise.
45391 [non-C99-based standards] (acoshf): Likewise.
45392 [non-C99-based standards] (asinhf): Likewise.
45393 [non-C99-based standards] (atanhf): Likewise.
45394 [non-C99-based standards] (cbrtf): Likewise.
45395 [non-C99-based standards] (expm1f): Likewise.
45396 [non-C99-based standards] (ilogbf): Likewise.
45397 [non-C99-based standards] (log1pf): Likewise.
45398 [non-C99-based standards] (logbf): Likewise.
45399 [non-C99-based standards] (nextafterf): Likewise.
45400 [non-C99-based standards] (remainderf): Likewise.
45401 [non-C99-based standards] (rintf): Likewise.
45402 [non-C99-based standards] (scalbf): Likewise.
45403 [non-C99-based standards] (copysignl): Likewise.
45404 [non-C99-based standards] (exp2l): Likewise.
45405 [non-C99-based standards] (log2l): Likewise.
45406 [non-C99-based standards] (modfl): Allow.
45407 [non-C99-based standards] (erfl): Do not allow.
45408 [non-C99-based standards] (erfcl): Likewise.
45409 [non-C99-based standards] (gammal): Likewise.
45410 [non-C99-based standards] (hypotl): Likewise.
45411 [non-C99-based standards] (j0l): Likewise.
45412 [non-C99-based standards] (j1l): Likewise.
45413 [non-C99-based standards] (jnl): Likewise.
45414 [non-C99-based standards] (lgammal): Likewise.
45415 [non-C99-based standards] (tgammal): Likewise.
45416 [non-C99-based standards] (y0l): Likewise.
45417 [non-C99-based standards] (y1l): Likewise.
45418 [non-C99-based standards] (ynl): Likewise.
45419 [non-C99-based standards] (isnanl): Likewise.
45420 [non-C99-based standards] (acoshl): Likewise.
45421 [non-C99-based standards] (asinhl): Likewise.
45422 [non-C99-based standards] (atanhl): Likewise.
45423 [non-C99-based standards] (cbrtl): Likewise.
45424 [non-C99-based standards] (expm1l): Likewise.
45425 [non-C99-based standards] (ilogbl): Likewise.
45426 [non-C99-based standards] (log1pl): Likewise.
45427 [non-C99-based standards] (logbl): Likewise.
45428 [non-C99-based standards] (nextafterl): Likewise.
45429 [non-C99-based standards] (remainderl): Likewise.
45430 [non-C99-based standards] (rintl): Likewise.
45431 [non-C99-based standards] (scalbl): Likewise.
45432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45433 [non-C99-based standards] (FP_*): Do not allow.
45434 [C99-based standards] (FP_*): Change to
45435 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45436 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45438 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45439 (SIG_ERR): Likewise.
45440 [X/Open-based standards] (SIG_HOLD): Likewise.
45441 (SIG_IGN): Likewise.
45442 (SIGABRT): Use macro-int-constant. Specify type. Require
45444 (SIGFPE): Likewise.
45445 (SIGILL): Likewise.
45446 (SIGINT): Likewise.
45447 (SIGSEGV): Likewise.
45448 (SIGTER): Likewise.
45449 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45450 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45451 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45452 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45453 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45454 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45455 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45456 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45457 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45458 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45459 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45460 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45461 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45462 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45463 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45464 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45465 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45466 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45467 [X/Open-based standards] (SIGTRAP): Likewise.
45468 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45469 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45470 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45471 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45472 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45475 2012-05-08 Ian Wienand <ianw@vmware.com>
45478 * time/tzset.c (__tzset_parse_tz): Update default rules for
45479 daylight time changes in the Energy Policy Act of 2005.
45481 2012-05-09 Andreas Jaeger <aj@suse.de>
45484 * elf/ldconfig.c (parse_conf): Change string to make clear that
45485 ldconfig only issued a warning if ld.so.conf does not exist.
45487 2012-05-08 David S. Miller <davem@davemloft.net>
45489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45490 movxtod instead of popping the value on the stack.
45492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45494 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45496 * config.h.in: Add HAVE_ARM_PCS_VFP.
45498 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45501 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45502 checking but the checks are disabled for any reason.
45504 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45506 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45507 and ELF64_R_TYPE with ELFW(R_TYPE).
45509 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45511 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45512 (ulimit): Likewise.
45514 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45515 (settimeofday): Likewise.
45517 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45519 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45520 a struct th_u2 inside the union, and move tu_block/tu_code into
45521 a new th_u3 union of tu_block/tu_code inside of that. Move
45522 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45523 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45524 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45525 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45526 (th_stuff): Change to th_u1.tu_stuff.
45528 (th_msg): Change to th_u1.th_u2.tu_data.
45530 2012-05-07 David S. Miller <davem@davemloft.net>
45532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45535 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45536 (SETUP_PIC_REG): Use it.
45537 (SETUP_PIC_REG_LEAF): Use it.
45539 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45543 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45545 (EXPL_FINITE): Likewise.
45546 (FLDLOG): Likewise.
45547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45548 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45550 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45552 (EXPL_FINITE): Likewise.
45553 (FLDLOG): Likewise.
45554 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45555 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45557 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45558 test of -max_value argument for long double.
45559 * sysdeps/i386/fpu/libm-test-ulps: Update.
45560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45562 2012-05-06 David S. Miller <davem@davemloft.net>
45564 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45565 quad soft-float symbols whose references which are compiler
45567 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45569 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45575 (EXPL_FINITE): Likewise.
45576 (FLDLOG): Likewise.
45579 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45580 Adjust comments for base varying.
45581 (__expl_finite): Change alias to EXPL_FINITE.
45582 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45584 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45585 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45586 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45587 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45588 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45590 (EXPL_FINITE): Likewise.
45591 (FLDLOG): Likewise.
45594 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45595 Adjust comments for base varying.
45596 (__expl_finite): Change alias to EXPL_FINITE.
45597 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45602 * math/libm-test.inc (check_float_internal): Correct ulp
45603 calculation for subnormal expected results.
45605 2012-05-06 Andreas Jaeger <aj@suse.de>
45607 * Makeconfig (+math-flags): New, set to -frounding-math.
45608 (+cflags): Add +math-flags so that all of glibc gets compiled with
45611 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45613 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45615 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45621 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45622 (__ieee754_expl): Allow for and saturate large arguments.
45623 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45624 (u_threshold): Likewise.
45625 (__exp): Call __ieee754_exp before checking for overflow and
45627 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45628 (u_threshold): Likewise.
45629 (__expf): Call __ieee754_expf before checking for overflow and
45631 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45632 (u_threshold): Likewise.
45633 (__expl): Call __ieee754_expl before checking for overflow and
45635 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45636 (__ieee754_expl): Allow for and saturate large arguments.
45637 * math/libm-test.inc (exp_test): Add another test. Do not allow
45638 missing overflow exception on overflow.
45639 (expm1_test): Do not allow missing overflow exception on overflow.
45641 * sysdeps/i386/fpu/e_expl.c: Move to ...
45642 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45643 rather than using inline asm.
45644 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45645 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45646 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45648 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45651 (signal): Likewise.
45655 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45657 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45658 sysdeps/unix/common/syscalls.list.
45659 (fchmod): Likewise.
45660 (fchown): Likewise.
45661 (ftruncate): Likewise.
45662 (getrusage): Likewise.
45663 (gettimeofday): Likewise.
45664 (setpgid): Likewise.
45665 (setregid): Likewise.
45666 (setreuid): Likewise.
45667 (sigaction): Likewise.
45668 (truncate): Likewise.
45669 (vhangup): Likewise.
45670 * sysdeps/unix/common/syscalls.list: Remove file.
45671 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45672 * sysdeps/unix/sysv/linux/Implies: Likewise.
45674 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45676 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45678 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45682 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45685 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45688 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45691 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45694 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45697 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45704 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45708 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45711 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45715 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45719 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45721 * sysdeps/unix/common/bits/dirent.h: Remove file.
45722 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45724 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45725 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45726 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45727 * sysdeps/unix/bsd/isatty.c: Likewise.
45728 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45729 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45730 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45732 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45735 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45736 long double comparison inaccuracies.
45737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45740 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45742 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45745 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45749 nonzero digits before rounding a hex value.
45750 * stdlib/tst-strtod.c (tests): Add another test.
45752 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45754 * sysdeps/s390/fpu/libm-test-ulps: Update.
45756 2012-05-03 Andreas Jaeger <aj@suse.de>
45758 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45759 does not get optimized out.
45760 (malloc_opt_barrier): New.
45762 2012-05-03 Andreas Jaeger <aj@suse.de>
45763 Roland McGrath <roland@hack.frob.com>
45765 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45766 intermediate file deletion.
45767 (generated): Add .symlist files.
45769 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45772 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45773 Redirect under this condition.
45774 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45775 [__USE_GNU] (__dprintf_chk): Not under this condition.
45776 [__USE_GNU] (__vdprintf_chk): Likewise.
45777 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45778 under this condition.
45779 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45780 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45781 [__USE_XOPEN2K8] (vdprintf): Likewise.
45782 [__USE_GNU] (__dprintf_chk): Not under this condition.
45783 [__USE_GNU] (__vdprintf_chk): Likewise.
45784 [__USE_GNU] (dprintf): Likewise.
45785 [__USE_GNU] (vdprintf): Likewise.
45787 2012-05-03 Roland McGrath <roland@hack.frob.com>
45789 * elf/Makefile (common-generated): Set this instead of generated for
45790 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45791 $(all-built-dso)-derived lists.
45793 2012-05-03 Andreas Jaeger <aj@suse.de>
45795 * sysdeps/i386/fpu/libm-test-ulps: Update.
45798 * FAQ.in: Likewise.
45799 * scripts/gen-FAQ.pl: Likewise.
45800 * manual/install.texi (Installation): Point to online location of
45802 * Makefile (files-for-dist): Remove FAQ.
45805 2012-05-02 Allan McRae <allan@archlinux.org>
45807 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45808 (LDFLAGS-reldepmod5.so): Likewise.
45809 (LDFLAGS-reldep6mod1.so): Likewise.
45810 (LDFLAGS-reldep6mod4.so): Likewise.
45811 (LDFLAGS-reldep8mod3.so): Likewise.
45812 (LDFLAGS-unload4mod1.so): Likewise.
45813 (LDFLAGS-unload4mod2.so): Likewise.
45814 (LDFLAGS-tst-initorder): Likewise.
45815 (LDFLAGS-tst-initordera2.so): Likewise.
45816 (LDFLAGS-tst-initordera3.so): Likewise.
45817 (LDFLAGS-tst-initordera4.so): Likewise.
45818 (LDFLAGS-tst-initorderb2.so): Likewise.
45819 (LDFLAGS-noload): Likewise.
45820 (LDFLAGS-next): Likewise.
45821 (LDFLAGS-order2mod1.so): Likewise.
45822 (LDFLAGS-order2mod2.so): Likewise.
45823 (LDFLAGS-tst-initorder2): Likewise.
45824 (LDFLAGS-tst-initorder2a.so): Likewise.
45825 (LDFLAGS-tst-initorder2b.so): Likewise.
45826 (LDFLAGS-tst-initorder2c.so): Likewise.
45827 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45829 2012-05-02 David S. Miller <davem@davemloft.net>
45831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45833 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45836 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45838 2012-05-02 Andreas Jaeger <aj@suse.de>
45840 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45841 since we manipulate rounding mode.
45842 (CPPFLAGS-test-idouble.c): Likewise.
45843 (CPPFLAGS-test-ifloat.c): Likewise.
45844 (CFLAGS-test-ldouble.c): Likewise.
45845 (CFLAGS-test-double.c): Likewise.
45846 (CFLAGS-test-float.c): Likewise.
45847 (CFLAGS-test-misc.c): Likewise.
45848 (CFLAGS-test-test-fenv.c): Likewise.
45850 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45854 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45855 comparisons to determine direction to adjust input.
45857 2012-05-01 Roland McGrath <roland@hack.frob.com>
45859 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45860 output to the target.
45862 * scripts/localplt.awk: New file.
45863 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45864 (check-localplt-CFLAGS): Variable removed.
45865 ($(all-built-dso:=.jmprel)): New static pattern rule.
45866 (generated): Add those targets.
45867 (localplt-built-dso): New variable.
45868 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45870 * elf/check-localplt.c: File removed.
45872 * scripts/check-execstack.awk: New file.
45873 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45874 (check-execstack-CFLAGS): Variable removed.
45875 ($(objpfx)check-execstack.h): Target removed.
45876 ($(objpfx)execstack-default): New target.
45877 (generated): Add that instead of check-execstack.h.
45878 ($(all-built-dso:=.phdr)): New static pattern rule.
45879 (generated): Add those targets.
45880 * elf/check-execstack.c: File removed.
45882 * scripts/check-textrel.awk: New file.
45883 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45884 (check-textrel-CFLAGS): Variable removed.
45885 (all-built-dso): Use := to define.o
45886 ($(all-built-dso:=.dyn)): New static pattern rule.
45887 (generated): Add those targets.
45888 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45889 * config.make.in (READELF): New substituted variable.
45890 * elf/check-textrel.c: File removed.
45892 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45894 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45896 * conform/data/ctype.h-data [C99-based standards] (isblank):
45898 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45899 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45901 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45902 Specify type. Require positive value.
45903 (EILSEQ): Likewise.
45904 (ERANGE): Likewise.
45905 [ISO || POSIX] (EILSEQ): Do not expect.
45906 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45907 Specify type. Require positive value.
45908 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45909 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45910 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45911 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45912 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45913 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45914 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45915 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45916 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45917 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45918 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45919 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45920 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45921 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45922 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45923 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45924 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45925 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45926 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45927 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45928 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45929 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45930 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45931 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45932 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45933 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45934 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45935 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45936 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45937 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45938 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45939 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45940 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45941 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45942 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45943 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45944 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45945 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45946 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45947 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45948 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45949 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45950 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45951 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45952 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45953 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45954 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45955 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45956 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45957 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45958 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45959 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45960 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45961 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45962 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45963 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45964 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45965 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45966 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45967 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45968 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45969 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45970 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45971 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45972 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45973 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45974 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45975 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45976 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45977 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45978 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45979 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45980 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45981 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45982 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45983 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45984 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45986 (FLT_ROUNDS): Expect as macro, not constant.
45987 (FLT_MANT_DIG): Use macro-int-constant.
45988 (DBL_MANT_DIG): Likewise.
45989 (LDBL_MANT_DIG): Likewise.
45990 (FLT_DIG): Likewise.
45991 (DBL_DIG): Likewise.
45992 (LDBL_DIG): Likewise.
45993 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45994 (DBL_MIN_EXP): Likewise.
45995 (LDBL_MIN_EXP): Likewise.
45996 (FLT_MAX_EXP): Use macro-int-constant.
45997 (DBL_MAX_EXP): Likewise.
45998 (LDBL_MAX_EXP): Likewise.
45999 (FLT_MAX_10_EXP): Likewise.
46000 (DBL_MAX_10_EXP): Likewise.
46001 (LDBL_MAX_10_EXP): Likewise.
46002 (FLT_MAX): Use macro-constant.
46003 (DBL_MAX): Likewise.
46004 (LDBL_MAX): Likewise.
46005 (FLT_EPSILON): Use macro-constant. Give upper bound.
46006 (DBL_EPSILON): Likewise.
46007 (LDBL_EPSILON): Likewise.
46008 (FLT_MIN): Likewise.
46009 (DBL_MIN): Likewise.
46010 (LDBL_MIN): Likewise.
46011 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46012 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46013 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46014 [ISO11] (FLT_HAS_SUBNORM): Likewise.
46015 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46016 [ISO11] (DBL_DECIMAL_DIG): Likewise.
46017 [ISO11] (FLT_DECIMAL_DIG): Likewise.
46018 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46019 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46020 [ISO11] (FLT_TRUE_MIN): Likewise.
46021 [ISO11] (LDBL_TRUE_MIN): Likewise.
46022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46023 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46024 (SCHAR_MIN): Use macro-int-constant. Specify type.
46025 (SCHAR_MAX): Likewise.
46026 (UCHAR_MAX): Likewise.
46027 (CHAR_MIN): Likewise.
46028 (CHAR_MAX): Likewise.
46029 (MB_LEN_MAX): Use macro-int-constant.
46030 (SHRT_MIN): Use macro-int-constant. Specify type.
46031 (SHRT_MAX): Likewise.
46032 (USHRT_MAX): Likewise.
46033 (INT_MAX): Likewise.
46034 (INT_MIN): Use macro-int-constant. Specify type. Make upper
46036 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
46038 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46040 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
46041 bound negative. Suffix upper bound with "L".
46042 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
46044 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46046 [C99-based standards] (LLONG_MAX): Likewise.
46047 [C99-based standards] (ULLONG_MAX): Likewise.
46048 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
46050 [ISO11] (max_align_t): Require type.
46051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46053 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46054 from $CFLAGS, without defining away __attribute__ calls.
46055 (checknamespace): Use $CFLAGS_namespace.
46057 * conform/conformtest.pl (@keywords): Only include C99 keywords
46058 for standards based on C99 or C11.
46060 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46062 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46065 * conform/conformtest.pl: Handle "macro-int-constant" and test for
46066 usability of symbols in #if.
46068 * conform/conformtest.pl: If macro or constant types start
46069 "promoted:", expect the symbol to be of the following type
46070 promoted by the integer promotions.
46072 * conform/conformtest.pl: Parse all "constant" and "macro" lines
46073 in one place. Also handle "macro-constant".
46075 * conform/conformtest.pl: Only accept expected macro values with
46076 "==". Parse all "macro" lines in one place.
46077 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46079 * conform/conformtest.pl: Handle braced types on "constant" lines
46080 instead of handling "typed-constant".
46081 * conform/data/signal.h-data: Use "constant" instead of
46084 * conform/conformtest.pl: Handle "optional-" at start of lines in
46085 one place rather than duplicating several cases. Handle each
46086 format of "macro" line with initial "optional-".
46088 * conform/conformtest.pl: Only accept expected constant or
46089 optional-constant values with "==". Parse all "constant" lines in
46090 one place. Parse all "optional-constant" lines in one place.
46091 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46092 * conform/data/fmtmsg.h-data: Likewise.
46093 * conform/data/netinet/in.h-data: Likewise.
46094 * conform/data/tar.h-data: Likewise.
46095 * conform/data/limits.h-data: Use "==" form on "constant" and
46096 "optional-constant" lines.
46098 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46099 Use -std=c99 for XOPEN2K.
46100 (@knownproblems): Remove.
46101 (newtoken): Don't check %isknown.
46103 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46104 Do not expect macro.
46105 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46106 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46107 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46108 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46109 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46110 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46111 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46112 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46113 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46114 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46115 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46116 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46117 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46118 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46119 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46120 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46121 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46122 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46123 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46124 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46125 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46126 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46127 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46128 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46129 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46130 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46131 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46132 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46133 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46134 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46135 [XPG3] (acosh): Likewise.
46136 [XPG3] (asinh): Likewise.
46137 [XPG3] (atanh): Likewise.
46138 [XPG3] (cbrt): Likewise.
46139 [XPG3] (expm1): Likewise.
46140 [XPG3] (ilogb): Likewise.
46141 [XPG3] (log1p): Likewise.
46142 [XPG3] (logb): Likewise.
46143 [XPG3] (nextafter): Likewise.
46144 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46145 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46146 [XPG3] (remainder): Likewise.
46147 [XPG3] (rint): Likewise.
46148 [XPG3 || XPG4 || UNIX98] (round): Likewise.
46149 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46150 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46151 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46152 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46153 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46154 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46155 [UNIX98 || XOPEN2K] (scalb): Expect.
46156 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46157 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46158 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46159 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46160 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46161 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46162 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46163 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46164 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46165 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46166 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46167 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46168 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46169 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46170 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46171 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46172 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46173 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46174 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46175 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46176 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46177 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46178 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46179 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46180 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46181 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46182 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46183 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46184 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46185 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46186 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46187 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46188 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46189 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46190 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46191 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46192 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46193 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46194 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46195 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46196 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46197 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46198 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46199 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46200 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46201 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46202 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46203 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46204 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46205 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46206 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46207 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46208 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46209 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46210 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46211 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46212 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46213 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46214 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46215 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46216 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46217 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46218 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46219 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46220 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46221 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46222 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46223 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46224 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46225 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46226 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46227 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46228 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46229 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46230 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46231 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46232 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46233 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46234 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46235 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46236 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46237 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46238 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46239 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46240 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46241 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46242 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46243 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46244 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46245 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46246 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46247 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46248 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46249 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46250 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46251 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46252 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46253 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46254 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46255 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46256 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46257 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46258 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46259 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46260 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46261 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46262 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46263 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46264 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46265 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46266 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46267 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46268 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46269 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46270 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46271 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46272 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46273 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46274 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46275 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46276 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46277 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46278 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46279 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46280 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46281 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46282 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46283 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46284 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46285 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46286 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46287 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46288 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46289 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46290 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46291 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46292 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46294 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46295 _XOPEN_SOURCE_EXTENDED for XPG4.
46297 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46299 * Makeconfig (localtime): Remove variable.
46300 (inst_localtime-file): Likewise.
46302 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46323 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46327 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46328 comparisons to determine direction to adjust input.
46329 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46330 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46333 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46340 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46342 * math/libm-test.inc (nexttoward_test): Add more tests.
46344 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46348 in version GLIBC_2.1, not GLIBC_2.0.
46349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46352 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46355 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46357 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46358 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46359 * math/libm-test.inc (acos_test): Add more tests.
46360 (asin_test): Likewise.
46361 * sysdeps/i386/fpu/libm-test-ulps: Update.
46362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46367 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46368 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46369 * math/libm-test.inc (acos_test_tonearest): New function.
46370 (acos_test_towardzero): Likewise.
46371 (acos_test_downward): Likewise.
46372 (acos_test_upward): Likewise.
46373 (asin_test_tonearest): Likewise.
46374 (asin_test_towardzero): Likewise.
46375 (asin_test_downward): Likewise.
46376 (asin_test_upward): Likewise.
46377 (main): Call the new functions.
46378 * sysdeps/i386/fpu/libm-test-ulps: Update.
46379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46383 * math/e_exp10.c: Include <float.h>.
46384 (__ieee754_exp10): Handle underflow here rather than multiplying
46385 large negative argument by M_LN10.
46386 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46388 * math/e_exp10l.c: Include <float.h>.
46389 (__ieee754_exp10l): Handle underflow here rather than multiplying
46390 large negative argument by M_LN10l.
46391 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46392 spurious overflow exception on underflow.
46394 2012-04-29 Marek Polacek <polacek@redhat.com>
46396 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46397 (__fortify_function): New macro.
46398 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46399 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46400 __extern_always_inline.
46401 * libio/bits/stdio2.h: Likewise.
46402 * libio/bits/stdio.h: Likewise.
46403 * string/string.h: Likewise.
46404 * string/bits/string3.h: Likewise.
46405 * include/stdio.h: Likewise.
46406 * stdlib/bits/stdlib.h: Likewise.
46407 * stdlib/stdlib.h: Likewise.
46408 * rt/bits/mqueue2.h: Likewise.
46409 * rt/mqueue.h: Likewise.
46410 * posix/bits/unistd.h: Likewise.
46411 * posix/unistd.h: Likewise.
46412 * io/bits/poll2.h: Likewise.
46413 * io/bits/fcntl2.h: Likewise.
46414 * io/fcntl.h: Likewise.
46415 * io/sys/poll.h: Likewise.
46416 * misc/bits/syslog.h: Likewise.
46417 * misc/bits/syslog-ldbl.h: Likewise.
46418 * misc/sys/syslog.h: Likewise.
46419 * socket/bits/socket2.h: Likewise.
46420 * socket/sys/socket.h: Likewise.
46421 * debug/tst-chk1.c: Likewise.
46422 * wcsmbs/bits/wchar2.h: Likewise.
46423 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46424 * wcsmbs/wchar.h: Likewise.
46426 2012-04-29 Andreas Jaeger <aj@suse.de>
46428 * Makerules (tests): Remove enable-check-abi protection.
46429 (check-abi-warn): Remove.
46430 (check-abi-%): Remove check-abi-warn usage.
46432 * configure.in: Remove check-abi configure option.
46433 * configure: Regenerated.
46434 * config.make.in (enable-check-abi): Remove.
46436 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46439 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46440 double functions to double *_finite functions.
46443 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46444 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46446 * stdio-common/Makefile (tests): Add tst-sprintf3.
46447 * stdio-common/tst-sprintf3.c: New file.
46449 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46450 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46452 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46454 * conform/conformtest.pl: Remove duplicate typed-constant
46457 2012-04-28 David S. Miller <davem@davemloft.net>
46459 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46460 (check-abi-%): Remove AWK script prerequisite and explicit
46462 (check-abi): Rewrite to just diff the symlist with the abilist.
46463 (config-tls, config-abi-config): Delete, no longer used.
46464 (update-abi-%): Remove AWK script and explicit abilist directory.
46465 (update-abi): Rewrite to simply compare and conditionally copy the
46466 symlist and the sysdep abilist file. Remove update-abi-config
46468 * abilist/ld.abilist: Remove.
46469 * abilist/libBrokenLocale.abilist: Remove.
46470 * abilist/libanl.abilist: Remove.
46471 * abilist/libcrypt.abilist: Remove.
46472 * abilist/libdl.abilist: Remove.
46473 * abilist/librt.abilist: Remove.
46474 * abilist/libthread_db.abilist: Remove.
46475 * abilist/libutil.abilist: Remove.
46476 * scripts/extract-abilist.awk: Remove.
46477 * scripts/merge-abilist.awk: Remove.
46478 * sysdeps/generic/libcidn.abilist: New file.
46479 * sysdeps/generic/libnss_compat.abilist: New file.
46480 * sysdeps/generic/libnss_db.abilist: New file.
46481 * sysdeps/generic/libnss_dns.abilist: New file.
46482 * sysdeps/generic/libnss_files.abilist: New file.
46483 * sysdeps/generic/libnss_hesiod.abilist: New file.
46484 * sysdeps/generic/libnss_nis.abilist: New file.
46485 * sysdeps/generic/libnss_nisplus.abilist: New file.
46486 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46487 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46488 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46491 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46492 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46493 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46494 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46495 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46496 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46497 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46498 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46500 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46501 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46502 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46503 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46505 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46506 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46507 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46509 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46510 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46512 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46513 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46514 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46516 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46619 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46620 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46621 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46624 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46625 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46626 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46627 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46628 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46629 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46630 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46631 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46632 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46684 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46686 * conform/conformtest.pl: Fix typo in handling typed-constant from
46689 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46691 * README: Cut down references to pre-2.6 Linux kernels and
46692 Linuxthreads. Update lists of configurations in libc and ports
46693 and sort alphabetically. Say "or newer" with Linux kernel version
46696 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46698 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46701 * math/libm-test.inc (logb_test_downward): New test to expose
46702 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46705 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46708 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46710 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46711 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46713 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46715 * sysdeps/unix/i386/brk.S: Remove file.
46716 * sysdeps/unix/i386/dl-brk.S: Likewise.
46717 * sysdeps/unix/i386/pipe.S: Likewise.
46718 * sysdeps/unix/i386/sigreturn.S: Likewise.
46719 * sysdeps/unix/i386/syscall.S: Likewise.
46720 * sysdeps/unix/i386/vfork.S: Likewise.
46721 * sysdeps/unix/i386/wait.S: Likewise.
46723 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46724 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46726 * configure.in (arm*-none*): Do not allow without
46727 --enable-hacker-mode.
46728 (netbsd*): Remove case setting base_os.
46729 (386bsd*): Likewise.
46730 (freebsd*): Likewise.
46733 (sunos*): Likewise.
46734 (ultrix*): Likewise.
46735 (newsos*): Likewise.
46736 (dynix*): Likewise.
46742 (minix*): Likewise.
46743 (irix4*): Likewise.
46744 (irix6*): Likewise.
46745 (solaris[2-9]*): Likewise.
46747 * configure: Regenerated.
46749 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46753 overflow or cancellation in calculating denominator.
46754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46756 down expression to avoid unexpected rounding in newer GCCs.
46757 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46759 2012-04-26 David S. Miller <davem@davemloft.net>
46761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46762 long-double compat symbols.
46763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46777 2012-04-25 David S. Miller <davem@davemloft.net>
46779 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46780 HWCAP_* values only after the memory barriers have been defined.
46781 (atomic_full_barrier): Define.
46782 (atomic_read_barrier): Define.
46783 (atomic_write_barrier): Define.
46785 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46787 * shlib-versions: Add libgcc_s version information.
46788 * sysdeps/generic/libgcc_s.h: Remove.
46789 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46791 * sysdeps/gnu/unwind-resume.c: Likewise.
46792 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46794 2012-04-25 David S. Miller <davem@davemloft.net>
46796 * sysdeps/unix/sparc/brk.S: Delete.
46797 * sysdeps/unix/sparc/dl-brk.S: Delete.
46798 * sysdeps/unix/sparc/pipe.S: Delete.
46799 * sysdeps/unix/sparc/sysdep.S: Delete.
46800 * sysdeps/unix/sparc/sysdep.h: Delete.
46801 * sysdeps/unix/sparc/vfork.S: Delete.
46802 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46803 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46805 (ret_ERRVAL, r0, r1, MOVE): Define.
46806 (JUMPTARGET): Remove.
46807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46808 sysdeps/unix/sparc/sysdep.h
46809 (ENTRY, END): Remove.
46810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46812 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46814 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46815 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46818 * timezone/README: Update upstream location and email address for
46820 * timezone/zdump.c: Update from tzcode 2012b.
46821 * timezone/zic.c: Likewise.
46823 * configure.in (libc_cv_as_needed): Remove test.
46824 * configure: Regenerated.
46825 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46826 conditional definition.
46827 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46828 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46829 * config.make.in (have-as-needed): Remove variable.
46831 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46832 Paul Pluzhnikov <ppluzhnikov@google.com>
46834 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46837 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46839 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46840 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46841 * sysdeps/sh/strlen.S: Likewise.
46843 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46845 * sysdeps/unix/fork.S: Remove file.
46846 * sysdeps/unix/i386/fork.S: Likewise.
46847 * sysdeps/unix/sparc/fork.S: Likewise.
46849 * sysdeps/unix/system.c: Remove file.
46850 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46852 * sysdeps/unix/getegid.S: Remove file.
46853 * sysdeps/unix/geteuid.S: Likewise.
46855 2012-04-24 Roland McGrath <roland@hack.frob.com>
46857 * scripts/check-localplt.awk: New file.
46858 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46860 * scripts/data/localplt-generic.data: Add a comment.
46862 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46863 NODE when __dir_mkfile failed.
46864 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46865 Reported by Ludovic Courtès <ludo@gnu.org>.
46867 2012-04-24 Andreas Jaeger <aj@suse.de>
46869 * Makerules (common-clean): Also remove gen-as-const-headers
46872 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46874 * Makerules (native-compile): Do not change working directory for
46875 build. Use $(OUTPUT_OPTION) in command.
46876 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46878 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46881 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46882 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46883 * math/libm-test.inc (floor_test): Add more tests.
46884 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46886 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46888 * sysdeps/unix/getdents.c: Remove file.
46889 * sysdeps/unix/sysv/getdents.c: Likewise.
46890 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46892 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46893 sysdeps/unix/mman/syscalls.list.
46895 (mprotect): Likewise.
46897 (munmap): Likewise.
46898 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46899 * sysdeps/unix/mman/syscalls.list: Remove.
46900 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46902 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46903 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46904 * configure: Regenerated.
46905 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46906 $(libgcc_s_suffix).
46907 * config.make.in (libgcc_s_suffix): Remove variable.
46909 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46911 * sysdeps/unix/sysv/gethostname.c: Move to ...
46912 * sysdeps/posix/gethostname.c: ... here.
46914 * sysdeps/unix/execve.S: Remove file.
46916 * sysdeps/unix/_exit.S: Remove file.
46918 2012-04-23 Andreas Jaeger <aj@suse.de>
46921 * manual/Makefile: Remove make dist support, there's no
46922 need for a stand-alone documentation tar ball.
46923 (TEXI2DVI): Define always, it's not in Makeconfig.
46926 (edition): Removed.
46927 (glibc-doc-$(edition).tar): Removed
46931 (ETAGS): Remove, it's in Makeconfig.
46932 (move-if-change): Remove, it's in Makeconfig.
46934 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46937 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46938 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46939 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46940 (strtod_l, strtof_l, strtold_l): Remove __wur.
46941 It is not necessarily an error to ignore strtol's return value.
46942 One can reliably look at the stored endptr to decide whether
46943 the number had valid syntax.
46945 2012-04-21 Andreas Jaeger <aj@suse.de>
46948 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46950 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46952 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46953 * sysdeps/unix/sysv/Versions: Remove file.
46955 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46960 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46964 version from __vm86.
46966 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46968 * sysdeps/unix/common/lxstat.c: Remove file.
46969 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46971 * sysdeps/unix/sysv/Makefile: Remove file.
46973 * sysdeps/unix/sysv/direct.h: Remove file.
46975 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46976 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46977 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46978 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46979 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46980 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46981 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46983 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46985 * sysdeps/unix/xmknod.c: Remove file.
46986 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46988 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46990 * sysdeps/unix/sysv/i386/time.S: Remove file.
46992 * sysdeps/unix/fxstat.c: Remove file.
46993 * sysdeps/unix/xstat.c: Likewise.
46994 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46996 * sysdeps/unix/sysv/sigaction.c: Remove file.
46998 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46999 (sysdep_headers): Remove variable.
47000 [termio.h not in sysdep_headers] (generated): Likewise.
47001 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47002 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47003 * sysdeps/unix/sysv/tcdrain.c: Likewise.
47004 * sysdeps/unix/sysv/tcflow.c: Likewise.
47005 * sysdeps/unix/sysv/tcflush.c: Likewise.
47006 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47007 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47008 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47009 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47010 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47012 * sysdeps/unix/siglist.c: Remove file.
47014 * sysdeps/unix/getppid.S: Remove file.
47016 * sysdeps/unix/mkdir.c: Remove file.
47017 * sysdeps/unix/rmdir.c: Likewise.
47019 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
47021 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47023 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47024 errlist-compat value.
47026 2012-04-18 David S. Miller <davem@davemloft.net>
47028 * sysdeps/generic/memcopy.h (reg_char): Delete.
47029 * debug/strcat_chk.c: Use char, not reg_char.
47030 * debug/strcpy_chk.c: Likewise.
47031 * debug/strncat_chk.c: Likewise.
47032 * debug/strncpy_chk.c: Likewise.
47033 * string/memchr.c: Likewise.
47034 * string/memrchr.c: Likewise.
47035 * string/rawmemchr.c: Likewise.
47036 * string/strcat.c: Likewise.
47037 * string/strchr.c: Likewise.
47038 * string/strchrnul.c: Likewise.
47039 * string/strcmp.c: Likewise.
47040 * string/strcpy.c: Likewise.
47041 * string/strncat.c: Likewise.
47042 * string/strncmp.c: Likewise.
47043 * string/strncpy.c: Likewise.
47045 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47047 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47048 __builtin_memcopy is called when src and dest ranges are known to not
47051 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47053 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47054 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47055 fwd_align_merge macro call.
47056 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47057 bwd_align_merge macro call.
47058 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47060 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
47062 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47063 bwd_align_merge macros.
47064 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47065 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47068 2012-04-18 David S. Miller <davem@davemloft.net>
47070 * sysdeps/sparc/sparc64/memcopy.h: Delete.
47072 2012-04-18 Andreas Jaeger <aj@suse.de>
47075 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47076 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47077 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47079 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47080 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47081 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47083 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47084 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47085 Adjust for changed ldbl-128 files.
47087 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47088 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47089 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47091 2012-04-17 David S. Miller <davem@davemloft.net>
47093 * sysdeps/sparc/sparc32/memcopy.h: Delete.
47095 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
47097 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47098 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47099 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47100 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47102 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47104 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47107 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47108 * math/libm-test.inc: Add ilogb errno and exception tests.
47109 * math/w_ilogb.c: New file: ilogb wrapper.
47110 * math/w_ilogbf.c: New file: ilogbf wrapper.
47111 * math/w_ilogbl.c: New file: ilogbl wrapper.
47112 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47113 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47114 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47115 exception being thrown with 0.0 as argument.
47116 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47117 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47118 exception being thrown with 0.0 as argument.
47119 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47120 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47121 exception being thrown with 0.0 as argument.
47122 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47123 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47124 exception being thrown with 0.0 as argument.
47125 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47126 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47128 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47129 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47130 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47131 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47132 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47133 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47135 2012-04-17 Petr Baudis <pasky@ucw.cz>
47137 * include/sys/uio.h: Change __vector to __iovec to avoid clash
47140 2012-04-16 Marek Polacek <polacek@redhat.com>
47142 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47144 2012-04-16 Marek Polacek <polacek@redhat.com>
47146 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47147 operands of fdivp instruction.
47149 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47151 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47152 * elf/tst-auditmod3b.c: Likewise.
47153 * elf/tst-auditmod4b.c: Likewise.
47154 * elf/tst-auditmod5b.c: Likewise.
47155 * elf/tst-auditmod6b.c: Likewise.
47156 * elf/tst-auditmod6c.c: Likewise.
47157 * elf/tst-auditmod7b.c: Likewise.
47158 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47159 * sysdeps/x86_64/preconfigure.in: Likewise.
47160 * sysdeps/x86_64/preconfigure: Regenerated.
47162 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47164 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47167 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
47169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47170 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47172 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47175 * locale/iso-639.def: Fix gl language name. Spotted by
47178 2012-04-12 Roland McGrath <roland@hack.frob.com>
47181 * libio/libio.h (__io_write_fn): Update comment.
47183 2012-04-12 Petr Baudis <pasky@ucw.cz>
47186 * stdio.texi (Hook Functions): The user provided writer function
47187 is not allowed to return -1.
47189 2012-04-11 David S. Miller <davem@davemloft.net>
47191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47193 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47195 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47196 Add a leading slash to rtkaio.
47198 2012-04-11 Jim Meyering <meyering@redhat.com>
47201 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47202 It is not necessarily an error to ignore fwrite's return
47203 value. One can reliably use ferror to test for errors after
47206 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47208 * bits/types.h (__snseconds_t): New type.
47209 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47211 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47213 (__SNSECONDS_T_TYPE): Likewise.
47214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47215 (__SNSECONDS_T_TYPE): Likewise.
47216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47217 (__SNSECONDS_T_TYPE): Likewise.
47219 2012-04-10 Andreas Jaeger <aj@suse.de>
47222 * manual/time.texi (Processor Time): Return type of times is
47223 elapsed real time since an arbitrary point in the past.
47224 (CPU Time): Move CLK_TCK from here...
47225 (Processor Time): ...to here. Correct description.
47226 * manual/conf.texi (Constants for Sysconf): Correct description of
47229 2012-04-10 David S. Miller <davem@davemloft.net>
47232 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47233 where the is a gap between DT_REL(A) and DT_JMPREL.
47235 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47237 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47238 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47239 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47241 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47243 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47244 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47245 (dl_main): Handle --inhibit-cache.
47246 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47248 * elf/dl-load.c (_dl_map_object): Use it.
47249 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47251 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47254 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47255 (__ieee754_powl): Saturate large exponents rather than testing for
47256 overflow of y*log2(x).
47257 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47258 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47262 * math/s_ctan.c: Include <float.h>.
47263 (__ctan): Avoid internal overflow or cancellation in calculating
47265 * math/s_ctanf.c: Likewise.
47266 * math/s_ctanl.c: Likewise.
47267 * math/s_ctanh.c: Likewise.
47268 * math/s_ctanhf.c: Likewise.
47269 * math/s_ctanhl.c: Likewise.
47270 * math/libm-test.inc (ctan_test): Add more tests.
47271 (ctanh_test): Likewise.
47272 * sysdeps/i386/fpu/libm-test-ulps: Update.
47273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47275 2012-04-09 Andreas Jaeger <aj@suse.de>
47278 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47279 is an optional BSD extension.
47282 * manual/stdio.texi (Opening Streams): Document additional fopen
47285 2012-04-09 Roland McGrath <roland@hack.frob.com>
47287 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47288 %eax without telling the compiler.
47290 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47293 * manual/install.texi: Use sourceware.org.
47295 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47298 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47299 (__ieee754_pow): Generate overflow and underflow using huge*huge
47300 and tiny*tiny rather than just returning constant infinity or zero
47301 for large exponents.
47302 * math/libm-test.inc (pow_test): Require overflow exceptions for
47303 applicable cases of large exponents.
47306 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47307 (__ieee754_pow): Use iterative multiplication algorithm only for
47308 integer exponents with absolute value below 1024. Check for odd
47309 integer exponents when using algorithm for real exponents.
47310 * math/libm-test.inc (pow_test): Add more tests.
47311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47313 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47316 * math/libm-test.inc (exp_test): Do not allow overflow exception
47319 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47322 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47323 instead of __kernel_standard_f.
47325 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47327 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47328 * sysdeps/x86_64/memset_chk.S: Likewise.
47330 2012-04-08 Andreas Jaeger <aj@suse.de>
47333 * manual/startup.texi (Environment Access): Describe return value
47334 for putenv and setenv.
47337 * manual/filesys.texi (Directory Entries): Add description for
47341 * manual/filesys.texi (Directory Entries): Clarify that it's file
47342 system not operating system in the description of DT_UNKNOWN.
47345 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47347 2012-04-08 Stephen Compall <s11@member.fsf.org>
47350 * manual/llio.texi (Opening and Closing Files): Add cross
47351 reference to explain mode argument.
47353 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47355 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47356 * sysdeps/x86_64/memset_chk.S: Likewise.
47358 2012-04-07 David S. Miller <davem@davemloft.net>
47360 * elf/elf.h (R_SPARC_WDISP10): Define.
47361 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47364 R_SPARC_SIZE64 and R_SPARC_H34.
47366 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47368 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47369 conditions and remove no longer applicable assertion.
47371 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47373 * bits/byteswap.h: Include <features.h>.
47374 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47375 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47377 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47379 * bits/byteswap.h (__bswap_16): Removed.
47380 Include <bits/byteswap-16.h> to get __bswap_16.
47381 * sysdeps/i386/bits/byteswap.h: Likewise.
47382 * sysdeps/s390/bits/byteswap.h: Likewise.
47383 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47384 * bits/byteswap-16.h: New file.
47385 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47386 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47387 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47388 * string/Makefile (headers): Add bits/byteswap-16.h.
47390 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47393 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47395 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47396 * nss/tst-nss-static.c: New.
47398 2012-04-06 Robert Millan <rmh@gnu.org>
47401 * manual/llio.texi (File Position Primitive): lseek
47402 refers to WHENCE when it really means OFFSET.
47404 2012-04-06 Andreas Jaeger <aj@suse.de>
47406 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47407 strncmp declarations.
47409 * abilist/libc.abilist: Add __poll and __ppoll.
47411 2012-04-05 David S. Miller <davem@davemloft.net>
47413 * scripts/check-local-headers.sh: Accept a host triplet in the
47414 path matched by the exclude regexp.
47416 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47418 * sysdeps/powerpc/powerpc32/dl-machine.h
47419 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47420 * sysdeps/s390/s390-32/dl-machine.h
47421 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47422 * sysdeps/sparc/sparc32/dl-machine.h
47423 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47424 * sysdeps/sparc/sparc64/dl-machine.h
47425 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47427 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47429 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47430 undefined symbol errors.
47432 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47435 2012-04-05 Michael Matz <matz@suse.de>
47438 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47440 2012-04-05 Andreas Jaeger <aj@suse.de>
47443 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47446 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47448 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47449 which ROUND is no valid rounding mode.
47451 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47453 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47455 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47457 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47459 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47460 an exception using FPU order intentionally.
47462 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47464 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47465 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47466 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47467 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47469 2012-04-05 Simon Josefsson <simon@josefsson.org>
47472 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47473 EINVAL when BUFLEN is too smal.
47475 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47478 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47479 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47481 2012-04-03 Andreas Jaeger <aj@suse.de>
47484 * manual/setjmp.texi (System V contexts): Fix sentence.
47487 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47488 New macro for this case.
47489 [!__GNUC__] (__bswap_64): New inline function for this case.
47490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47491 * bits/byteswap.h: Likewise.
47492 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47493 ull, guard with __GLIBC_HAVE_LONG_LONG.
47495 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47496 __GLIBC_HAVE_LONG_LONG.
47498 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47499 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47501 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47504 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47505 inptr and inend, rather than using last_ch.
47507 2012-04-02 David S. Miller <davem@davemloft.net>
47509 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47510 * stdio-common/printf-parse.h (read_int): Change return type to
47511 'int', return -1 on INT_MAX overflow.
47512 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47513 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47514 overflows INT_MAX. Check for overflow of in-format-string precision
47515 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47516 SIZE_MAX not INT_MAX for integer overflow test.
47517 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47518 skip the construct in the format string but do not record anything.
47519 * stdio-common/bug22.c: Adjust to test both width/prevision
47520 INT_MAX overflow as well as total length INT_MAX overflow. Check
47521 explicitly for proper errno values.
47523 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47525 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47527 * string/test-strcmp.c [! WIDE]: Likewise.
47528 * time/tst-mktime2.c: Likewise for INT_MAX.
47529 * string/test-string.h: #include <sys/param.h> for MIN.
47531 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47532 * sysdeps/i386/init-first.c (init): Likewise.
47533 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47534 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47535 * sysdeps/sh/init-first.c (init): Likewise.
47537 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47539 * po/ru.po: Update from translation team.
47540 * po/vi.po: Likewise.
47542 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47544 * resolv/nss_dns/dns-host.c: Merge copyright years.
47546 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47549 Optimize memcpy with prefetch if
47550 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47551 src, dst pointers have unequal 16 byte alignments.
47553 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47556 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47557 from a CNAME entry and return the minimum ttl for the query.
47558 (gaih_getanswer_slice): Likewise.
47560 2012-03-30 Jeff Law <law@redhat.com>
47562 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47564 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47565 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47567 * resolv/nss_dns/dns-host.c: Update copyright year.
47569 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47571 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47572 requests to save a system call. Fix check that all bytes are sent.
47574 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47575 comments for sendmmsg.
47577 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47580 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47581 with only 1 character between 0x0041 and 0x01b0.
47582 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47583 * wcsmbs/tst-mbsnrtowcs.c: New file.
47585 2012-03-29 David S. Miller <davem@davemloft.net>
47587 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47588 small copies by hand.
47590 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47593 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47594 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47597 2012-03-28 David S. Miller <davem@davemloft.net>
47599 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47600 that branches into memcpy.
47601 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47602 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47604 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47607 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47608 implementation too.
47609 * sysdeps/sparc/mempcpy.S: New file.
47611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47612 the IFUNC routine in the libc case.
47613 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47615 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47616 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47617 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47618 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47619 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47620 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47621 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47622 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47624 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47625 loop to 256 bytes instead of 64 bytes and fix test signedness.
47627 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47628 * sysdeps/sparc/sparc32/Makefile: rather than here...
47629 * sysdeps/sparc/sparc64/Makefile: and here.
47631 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47633 * malloc/mallocbug.c: Avoid warnings about unused variables.
47635 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47638 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47639 in the right place. Discard and retry query if response is
47640 larger than input buffer size.
47642 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47647 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47648 x for large integer exponent.
47649 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47650 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47651 sign of result as needed afterwards.
47652 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47653 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47654 result for underflowing pow the same as for overflow.
47655 (__kernel_standard_l): Handle powl overflow and underflow here
47656 rather than calling __kernel_standard.
47657 * math/libm-test.inc (pow_test): Add more tests.
47672 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47673 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47674 (__kernel_standard_l): New function.
47675 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47677 * math/w_acosl.c (__acosl): Likewise.
47678 * math/w_asinl.c (__asinl): Likewise.
47679 * math/w_atan2l.c (__atan2l): Likewise.
47680 * math/w_atanhl.c (__atanhl): Likewise.
47681 * math/w_coshl.c (__coshl): Likewise.
47682 * math/w_exp10l.c (__exp10l): Likewise.
47683 * math/w_exp2l.c (__exp2l): Likewise.
47684 * math/w_fmodl.c (__fmodl): Likewise.
47685 * math/w_hypotl.c (__hypotl): Likewise.
47686 * math/w_j0l.c (__j0l, __y0l): Likewise.
47687 * math/w_j1l.c (__j1l, __y1l): Likewise.
47688 * math/w_jnl.c (__jnl, __ynl): Likewise.
47689 * math/w_lgammal.c (__lgammal): Likewise.
47690 * math/w_log10l.c (__log10l): Likewise.
47691 * math/w_log2l.c (__log2l): Likewise.
47692 * math/w_logl.c (__logl): Likewise.
47693 * math/w_powl.c (__powl): Likewise.
47694 * math/w_remainderl.c (__remainderl): Likewise.
47695 * math/w_scalbl.c (sysv_scalbl): Likewise.
47696 * math/w_sinhl.c (__sinhl): Likewise.
47697 * math/w_sqrtl.c (__sqrtl): Likewise.
47698 * math/w_tgammal.c (__tgammal): Likewise.
47699 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47700 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47701 * math/libm-test.inc (acos_test): Add more tests.
47702 (acosh_test): Likewise.
47703 (asin_test): Likewise.
47704 (atanh_test): Likewise.
47705 (exp_test): Likewise.
47706 (exp10_test): Likewise.
47707 (exp2_test): Likewise.
47708 (expm1_test): Likewise.
47709 (lgamma_test): Likewise.
47710 (log_test): Likewise.
47711 (log10_test): Likewise.
47712 (log1p_test): Likewise.
47713 (log2_test): Likewise.
47714 (pow_test): Do not allow some spurious overflow exceptions.
47715 (sqrt_test): Add more tests.
47716 (tgamma_test): Likewise.
47717 (y0_test): Likewise.
47718 (y1_test): Likewise.
47719 (yn_test): Likewise.
47721 2012-03-27 Anton Blanchard <anton@samba.org>
47723 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47725 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47726 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47727 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47729 2012-03-27 David S. Miller <davem@davemloft.net>
47731 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47733 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47734 have-as-vis3 check.
47736 2012-03-27 Andreas Jaeger <aj@suse.de>
47738 * sysdeps/x86_64/elf/configure.in: Moved to ...
47739 * sysdeps/x86_64/configure.in: ... here.
47740 * sysdeps/x86_64/elf/start.S: Moved to ...
47741 * sysdeps/x86_64/start.S: ... here.
47742 * sysdeps/x86_64/elf/configure: Delete.
47744 * sysdeps/x86_64/configure.in: Merge contents from
47745 sysdeps/i386/configure.in (without i686 check).
47747 * sysdeps/i386/elf/Versions: Merge into ...
47748 * sysdeps/i386/Versions: ... this.
47749 * sysdeps/i386/elf/Versions: Delete file.
47750 * sysdeps/i386/elf/start.S: Moved to ...
47751 * sysdeps/i386/start.S: ...here.
47752 * sysdeps/i386/elf/configure.in: Merge into...
47753 * sysdeps/i386/configure.in: ...here.
47754 * sysdeps/i386/elf/configure.in: Delete file.
47755 * sysdeps/i386/elf/configure: Delete file.
47757 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47758 * debug/backtracesyms.c: ... here.
47759 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47760 * debug/backtracesymsfd.c: ... here.
47761 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47762 * sysdeps/generic/ifunc-sel.h: ... here.
47764 * sysdeps/unix/i386/start.c: Delete file.
47765 * sysdeps/unix/sparc/start.c: Delete file.
47766 * sysdeps/unix/start.c: Delete file.
47768 * sysdeps/sh/elf/configure.in: Moved to ...
47769 * sysdeps/sh/configure.in: ... here.
47770 * sysdeps/sh/elf/start.S: Moved to ...
47771 * sysdeps/sh/start.S: ... here.
47772 * sysdeps/sh/elf/configure: Delete file.
47774 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47775 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47776 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47777 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47778 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47779 * sysdeps/powerpc/powerpc64/start.S: here.
47780 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47781 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47782 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47783 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47784 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47786 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47787 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47788 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47789 * sysdeps/powerpc/powerpc32/start.S: ... here.
47790 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47791 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47792 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47794 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47795 * sysdeps/powerpc/ifunc-sel.h: ... here.
47796 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47797 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47799 * sysdeps/sparc/elf/configure.in: Moved to ...
47800 * sysdeps/sparc/configure.in: ... here.
47801 * sysdeps/sparc/elf/configure: Delete file.
47802 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47803 * sysdeps/sparc/sparc32/start.S: ... here.
47804 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47805 * sysdeps/sparc/sparc64/start.S: ... here.
47806 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47807 * sysdeps/sparc/sparc32/Makefile: ... this.
47808 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47809 * sysdeps/sparc/sparc64/Makefile: ... this.
47811 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47812 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47813 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47814 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47815 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47816 * sysdeps/s390/s390-32/setjmp.S: ... here.
47817 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47818 * sysdeps/s390/s390-32/configure.in: ... here.
47819 * sysdeps/s390/s390-32/elf/configure: Delete file.
47820 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47821 * sysdeps/s390/s390-32/start.S: ... here.
47823 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47824 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47825 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47826 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47827 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47828 * sysdeps/s390/s390-64/setjmp.S: ... here.
47829 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47830 * sysdeps/s390/s390-64/configure.in: ... here
47831 * sysdeps/s390/s390-64/elf/configure: Delete file.
47832 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47833 * sysdeps/s390/s390-64/start.S: ... here.
47834 * sysdeps/s390/s390-64/elf/configure: Delete.
47836 * configure.in: Remove support for elf directories in sysdeps.
47838 * configure: Regenerated.
47839 * sysdeps/i386/configure: Regenerated.
47840 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47841 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47842 * sysdeps/s390/s390-32/configure: Regenerated.
47843 * sysdeps/s390/s390-64/configure: Regenerated.
47844 * sysdeps/sh/configure: Regenerated.
47845 * sysdeps/sparc/configure: Regenerated.
47846 * sysdeps/x86_64/configure: Regenerated.
47848 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47852 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47853 denormal result into account.
47855 2012-03-25 Roland McGrath <roland@hack.frob.com>
47857 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47858 Reported by Allan McRae <allan@archlinux.org>.
47860 2012-03-23 Jeff Law <law@redhat.com>
47862 * nss/getnssent.c (__nss_getent): Fix typo.
47864 2012-03-23 David S. Miller <davem@davemloft.net>
47866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47868 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47870 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47871 to pad to uint64_t for each field.
47872 (dl_tls_index): Replace unsigned long with uint64_t.
47874 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47875 Paul Pluzhnikov <ppluzhnikov@google.com>
47878 * grp/Makefile (otherlibs): Don't set it.
47879 * inet/Makefile (otherlibs): Likewise.
47880 * login/Makefile (otherlibs): Likewise.
47881 * nscd/Makefile (otherlibs): Likewise.
47882 * posix/Makefile (otherlibs): Likewise.
47883 * pwd/Makefile (otherlibs): Likewise.
47884 * rt/Makefile (otherlibs): Likewise.
47885 * sunrpc/Makefile (otherlibs): Likewise.
47886 * nss/Makefile (otherlibs): Likewise.
47887 Add libnss_files to routines and static-only-routines.
47888 ($(objpfx)getent): Remove rule.
47889 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47890 static-only-routines.
47892 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47895 * math/s_cexp.c: Include <float.h>.
47896 (__cexp): Handle exp result overflowing not necessarily
47897 overflowing both real and imaginary parts of result.
47898 * math/s_cexpf.c: Likewise.
47899 * math/s_cexpl.c: Likewise.
47900 * math/libm-test.inc (cexp_test): Add more tests.
47901 * sysdeps/i386/fpu/libm-test-ulps: Update.
47902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47904 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47906 * include/link.h (ELFW): New macro.
47907 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47908 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47910 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47912 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47915 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47917 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47919 (struct La_x32_retval): Likewise.
47921 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47923 * sysdeps/x86_64/preconfigure.in: New file.
47924 * sysdeps/x86_64/preconfigure: New generated file.
47926 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47929 * math/e_exp2l.c: Include <float.h>.
47930 (__ieee754_exp2l): Handle overflow and underflow cases
47931 separately. Only pass fractional part of argument to
47933 * math/libm-test.inc (exp2_test): Add more tests.
47935 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47936 negating x to take absolute value.
47937 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47942 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47943 computing low part if x was negated.
47944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47946 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47948 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47949 la_x32_gnu_pltexit.
47950 (pltexit): Cast int_retval to ptrdiff_t.
47951 * elf/tst-auditmod3b.c: Likewise.
47952 * elf/tst-auditmod4b.c: Likewise.
47953 * elf/tst-auditmod5b.c: Likewise.
47954 * elf/tst-auditmod6b.c: Likewise.
47955 * elf/tst-auditmod6c.c: Likewise.
47956 * elf/tst-auditmod7b.c: Likewise.
47958 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47959 and x32_gnu_pltexit.
47961 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47962 __ELF_NATIVE_CLASS.
47963 (La_x32_regs): New macro.
47964 (La_x32_retval): Likewise.
47965 (la_x32_gnu_pltenter): New function prototype.
47966 (la_x32_gnu_pltexit): Likewise.
47968 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47970 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47975 * configure.in (libc_cv_cc_nofma): Check for option to disable
47976 generation of FMA instructions.
47977 * configure: Regenerate.
47978 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47979 * sysdeps/ieee754/dbl-64/Makefile: New file.
47980 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47981 Remove brandred-fma4.
47982 (CFLAGS-brandred-fma4.c): Remove.
47983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47984 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47989 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47992 LLONG_MAX != LONG_MAX.
47993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47994 (_fitoa_word): Likewise.
47995 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47996 LLONG_MAX != LONG_MAX.
47997 * stdio-common/_itowa.h: Include <_itoa.h>.
47998 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47999 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
48000 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
48001 only if not defined.
48002 (_ITOA_WORD_TYPE): Likewise.
48003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
48004 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48006 2012-03-21 David S. Miller <davem@davemloft.net>
48008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48010 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
48012 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48013 of x86_64 when setting libc_cv_slibdir, libdir and
48015 * sysdeps/unix/sysv/linux/configure: Regenerated.
48017 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48019 * manual/lang.texi (Old Varargs): Remove section.
48020 (How Variadic): Update menu.
48021 (va_start): Do not mention varargs.h.
48023 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48024 Joseph Myers <joseph@codesourcery.com>
48026 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48028 * configure: Regenerated.
48030 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
48032 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48033 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48036 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48039 * Makefile (files-for-dist): Remove NOTES.
48040 (NOTES): Remove rule.
48041 * README: Don't refer to NOTES.
48042 * manual/creature.texi: Don't include macros.texi.
48043 * manual/intro.texi (creature.texi): Remove comment referring to
48046 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48047 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48048 * configure: Regenerated.
48049 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48050 LIBC_TRY_CC_OPTION.
48051 (libc_cv_as_i686): Likewise.
48052 (libc_cv_cc_avx): Likewise.
48053 (libc_cv_cc_sse2avx): Likewise.
48054 (libc_cv_cc_fma4): Likewise.
48055 (libc_cv_cc_novzeroupper): Likewise.
48056 * sysdeps/i386/configure: Regenerated.
48059 * sysdeps/i386/fpu/s_cexp.S: Remove.
48060 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48062 * math/libm-test.inc (cexp_test): Add more tests.
48063 * sysdeps/i386/fpu/libm-test-ulps: Update.
48064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48066 2012-03-21 Allan McRae <allan@archlinux.org>
48068 * timezone/Makefile: Do not install iso3166.tab and zone.tab
48070 2012-03-21 Joseph Myers <joseph@codesourcery.com>
48073 * math/w_exp2.c: Do not include <float.h>.
48074 (o_threshold, u_threshold): Remove.
48075 (__exp2): Calculate result before checking finiteness and calling
48077 * math/w_exp2f.c: Likewise.
48078 * math/w_exp2l.c: Likewise.
48079 * math/libm-test.inc (exp2_test): Require overflow exception for
48083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48084 range of signed 64-bit integers before using fistpll. Remove
48085 checks for whether integers fit in mantissa bits.
48086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48087 the range of signed 32-bit integers before using fistpl. Remove
48088 checks for whether integers fit in mantissa bits.
48089 * sysdeps/i386/fpu/e_powl.S (p64): New object.
48090 (__ieee754_powl): Test for y outside the range of signed 64-bit
48091 integers before using fistpll. Reduce 64-bit values to 63-bit
48093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48094 divide-by-zero is raised for zero to large negative powers.
48095 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48096 (__ieee754_powl): Test for y outside the range of signed 64-bit
48097 integers before using fistpll. Reduce 64-bit values to 63-bit
48099 * math/libm-test.inc (pow_test): Add more tests.
48101 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48103 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48104 <stdio-common/_itoa.h>.
48105 * debug/segfault.c: Likewise.
48106 * elf/dl-cache.c: Likewise.
48107 * elf/dl-minimal.c: Likewise.
48108 * elf/dl-misc.c: Likewise.
48109 * elf/dl-sysdep.c: Likewise.
48110 * elf/dl-version.c: Likewise.
48111 * elf/rtld.c: Likewise.
48112 * hurd/hurdsock.c: Likewise.
48113 * hurd/lookup-retry.c: Likewise.
48114 * malloc/malloc.c: Likewise.
48115 * malloc/mtrace.c: Likewise.
48116 * nscd/nscd_getgr_r.c: Likewise.
48117 * nscd/nscd_getpw_r.c: Likewise.
48118 * nscd/nscd_getserv_r.c: Likewise.
48119 * posix/getopt_init.c: Likewise.
48120 * posix/wordexp.c: Likewise.
48121 * stdio-common/_itoa.c: Likewise.
48122 * stdio-common/printf_fphex.c: Likewise.
48123 * stdio-common/vfprintf.c: Likewise.
48124 * string/_strerror.c: Likewise.
48125 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48126 * sysdeps/i386/i686/hp-timing.h: Likewise.
48127 * sysdeps/mach/_strerror.c: Likewise.
48128 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48129 * sysdeps/mach/hurd/sethostid.c: Likewise.
48130 * sysdeps/mach/hurd/xmknodat.c: Likewise.
48131 * sysdeps/mach/xpg-strerror.c: Likewise.
48132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48134 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48135 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48136 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48137 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48138 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48139 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48140 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48141 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48142 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48143 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48144 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48145 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48146 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48147 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48148 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48149 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48152 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48154 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48156 * stdio-common/_itoa.h: Moved to ...
48157 * sysdeps/generic/_itoa.h: Here.
48159 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48161 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48162 instead of "_itoa.h" and "_itowa.h".
48163 * stdio-common/vfprintf.: Likewise.
48165 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48167 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48169 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48170 (__signbit): Likwise.
48171 (llrintf): Likwise.
48174 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48176 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48179 2012-03-20 Joseph Myers <joseph@codesourcery.com>
48181 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48182 OVERFLOW_EXCEPTION_OK.
48183 * math/libm-test.inc ("Philosophy"): Update comment about
48185 (OVERFLOW_EXCEPTION): Define.
48186 (OVERFLOW_EXCEPTION_OK): Likewise.
48187 (INVALID_EXCEPTION_OK): Renumber.
48188 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48189 (IGNORE_ZERO_INF_SIGN): Likewise.
48190 (test_exceptions): Handle FE_OVERFLOW.
48191 (exp10_test): Expect overflow exceptions.
48192 (exp2_test): Likewise.
48193 (expm1_test): Likewise.
48194 (nextafter_test): Likewise.
48195 (pow_test): Likewise.
48196 (scalbn_test): Likewise.
48197 (scalbln_test): Likewise.
48199 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48201 * sysdeps/x86_64/bits/atomic.h
48202 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48204 (atomic_exchange_acq): Likewise.
48205 (__arch_exchange_and_add_body): Likewise.
48206 (__arch_add_body): Likewise.
48207 (atomic_add_negative): Likewise.
48208 (atomic_add_zero): Likewise.
48210 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48212 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48213 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48215 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48217 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48218 Check __x86_64__ instead of __WORDSIZE.
48220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48222 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48224 2012-03-19 David S. Miller <davem@davemloft.net>
48226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48228 * sysdeps/sparc/fpu/fenv_private.h: New file.
48229 * sysdeps/sparc/fpu/math_private.h: Use it.
48230 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48232 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48233 (libc_feholdexcept_setroundl): Remove.
48234 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48236 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48237 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48241 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48242 int64_t instead of long int.
48243 (INSERT_WORDS64): Likwise.
48245 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48247 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48248 _Unwind_GetCFA return to _Unwind_Ptr first.
48250 2012-03-19 Joseph Myers <joseph@codesourcery.com>
48253 * math/s_clog.c: Include <float.h>.
48254 (__clog): Scale large or subnormal inputs.
48255 * math/s_clogf.c: Likewise.
48256 * math/s_clogl.c: Likewise.
48257 * math/s_clog10.c: Include <float.h>.
48258 (M_LOG10_2): Define.
48259 (__clog10): Scale large or subnormal inputs.
48260 * math/s_clog10f.c: Likewise.
48261 * math/s_clog10l.c: Likewise.
48262 * math/libm-test.inc (clog_test): Add more tests.
48263 (clog10_test): Likewise.
48264 * sysdeps/i386/fpu/libm-test-ulps: Update.
48265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48268 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48270 * math/libm-test.inc (atan2_test): Add another test.
48272 * Makerules (common-objdir-compile): Remove.
48273 * sysdeps/unix/Makefile (config-generated): Do not add
48274 $(unix-generated) to variable.
48275 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48276 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48278 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48280 [generic bits/local_lim.h] (before-compile): Do not append to
48282 [generic bits/local_lim.h] (common-generated): Likewise.
48283 [generic sys/param.h] (before-compile): Do not append to variable.
48284 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48285 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48286 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48287 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48289 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48290 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48291 [generic sys/param.h] ($(addprefix
48292 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48293 [generic sys/param.h] (common-generated): Do not append to
48295 [generic sys/param.h] (sysdep_headers): Likewise.
48296 [generic bits/errno.h] (before-compile): Do not append to
48298 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48300 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48301 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48302 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48303 [generic bits/errno.h] (common-generated): Do not append to
48305 [generic bits/ioctls.h] (before-compile): Do not append to
48307 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48309 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48310 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48311 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48313 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48314 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48315 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48316 [generic bits/ioctls.h] (common-generated): Do not append to
48318 [generic sys/syscall.h] (syscall.h): Remove variable.
48319 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48321 [generic sys/syscall.h] (before-compile): Do not append to
48323 [generic sys/syscall.h] (common-generated): Likewise.
48324 * sysdeps/unix/errnos-tmpl.c: Remove file.
48325 * sysdeps/unix/errnos.awk: Likewise.
48326 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48327 * sysdeps/unix/ioctls.awk: Likewise.
48328 * sysdeps/unix/mk-local_lim.c: Likewise.
48329 * sysdeps/unix/snarf-ioctls: Likewise.
48331 2012-03-19 Richard Henderson <rth@twiddle.net>
48333 * sysdeps/i386/fpu/fenv_private.h: New file.
48334 * sysdeps/i386/fpu/math_private.h: Use it.
48335 (math_opt_barrier, math_force_eval): Remove.
48336 (libc_feholdexcept_setround_53bit): Remove.
48337 (libc_feupdateenv_53bit): Remove.
48338 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48339 (math_opt_barrier, math_force_eval): Remove.
48340 (libc_feholdexcept): Remove.
48341 (libc_feholdexcept_setround): Remove.
48342 (libc_fetestexcept, libc_fesetenv): Remove.
48343 (libc_feupdateenv_test): Remove.
48344 (libc_feupdateenv, libc_feholdsetround): Remove.
48345 (libc_feresetround): Remove.
48347 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48348 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48350 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48351 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48352 (libc_feupdateenv_testl): New.
48353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48354 (libc_feupdateenv_testf): New.
48355 (libc_feupdateenv): Use libc_feupdateenv_test.
48356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48359 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48360 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48361 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48362 (libc_feresetround_noex): New.
48363 (libc_feresetround_noexf): New.
48364 (libc_feresetround_noexl): New.
48365 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48366 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48367 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48368 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48373 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48375 SET_RESTORE_ROUND_NOEX.
48376 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48377 SET_RESTORE_ROUND_NOEXF.
48378 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48379 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48380 (libc_feholdsetroundf): New.
48381 (libc_feresetround, libc_feresetroundf): New.
48383 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48384 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48385 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48387 * sysdeps/generic/math_private.h: Include <fenv.h>.
48388 (default_libc_feholdexcept): New.
48389 (default_libc_feholdexcept_setround): New.
48390 (default_libc_fesetenv, default_libc_feupdateenv): New.
48391 (libc_feholdexcept): Only define if undefined.
48392 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48393 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48394 (libc_feholdexcept_setroundl): Likewise.
48395 (libc_feholdexcept_setround_53bit): Likewise.
48396 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48397 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48398 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48399 (libc_feupdateenv_53bit): Likewise.
48400 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48401 (libc_feholdexcept): Convert from macro to inline function.
48402 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48403 (libc_fesetenv, libc_feupdateenv): Likewise.
48405 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48406 not previously defined.
48407 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48408 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48409 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48410 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48411 * sysdeps/ieee754/flt-32/math_private.h: New file.
48412 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48413 math_private.h below SET_FLOAT_WORD.
48414 (__isnan, __isinf_ns, __finite): Remove.
48415 (__isnanf, __isinf_nsf, __finitef): Remove.
48417 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48421 2012-03-17 David S. Miller <davem@davemloft.net>
48424 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48427 2012-03-16 David S. Miller <davem@davemloft.net>
48429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48433 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48435 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48436 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48437 sysdep_routines when subdir is sysvipc.
48438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48439 __getshmlba helper.
48441 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48443 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48445 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48448 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48451 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48452 (__lround): Renamed to ...
48453 (__llround): This. Replace long int with long long int.
48454 Define lround functions as aliases of llround functions.
48455 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48457 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48459 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48460 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48461 adresses to uintptr_t. Replace "long int" and "unsigned long
48462 int" with "greg_t" on va_arg.
48464 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48466 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48467 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48469 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48470 Move e_machine check before EI_CLASS check. Handle x32
48471 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48472 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48473 SKIP_EM_IA_64 and include
48474 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48476 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48477 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48478 (add_system_dir): New macro.
48480 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48481 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48483 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48494 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48496 * math/w_j0f.c (j0f): Likewise.
48498 * math/w_j0l.c (__j0l): Likewise.
48500 * math/w_j1.c (j1): Likewise.
48502 * math/w_j1f.c (j1f): Likewise.
48504 * math/w_j1l.c (__j1l): Likewise.
48506 * math/w_jn.c (jn): Likewise.
48508 * math/w_jnf.c (jnf): Likewise.
48510 * math/w_jnl.c (__jnl): Likewise.
48512 * math/libm-test.inc (j0_test): Add more tests.
48513 (j1_test): Likewise.
48514 (jn_test): Likewise. Add trailing semicolon to existing test.
48515 (y0_test): Likewise.
48516 (y1_test): Likewise.
48517 * sysdeps/i386/fpu/libm-test-ulps: Update.
48518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48522 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48523 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48524 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48525 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48526 (__tanl): Set errno for infinite argument.
48527 * sysdeps/i386/fpu/mptan.c: Remove.
48528 * sysdeps/i386/fpu/s_tan.S: Likewise.
48529 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48530 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48531 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48532 * math/libm-test.inc (tan_test): Add more tests and enable more
48533 tests for double and long double.
48534 * sysdeps/i386/fpu/libm-test-ulps: Update.
48535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48537 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48539 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48540 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48542 2012-03-16 Roland McGrath <roland@hack.frob.com>
48544 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48545 * configure.in: Use it for both main tree and add-ons.
48546 * configure: Regenerated.
48548 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48550 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48552 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48554 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48558 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48559 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48564 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48566 != 0 for prec == 2.
48567 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48568 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48569 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48570 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48571 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48572 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48573 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48574 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48575 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48576 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48577 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48578 * math/libm-test.inc (cos_test): Add more tests and enable more
48579 tests for long double.
48580 (sin_test): Likewise.
48581 (sincos_test): Likewise.
48582 * sysdeps/i386/fpu/libm-test-ulps: Update.
48583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48585 2012-03-16 David S. Miller <davem@davemloft.net>
48587 * sysdeps/sparc/fpu/math_private.h: New file.
48589 2012-03-15 David S. Miller <davem@davemloft.net>
48591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48601 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48605 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48606 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48608 * sysdeps/sparc/sparc-ifunc.h: New file.
48609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48635 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48636 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48637 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48638 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48644 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48645 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48646 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48648 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48654 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48656 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48660 2012-03-15 Andreas Jaeger <aj@suse.de>
48663 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48664 ieee754/flt-32 implementation for sin, cos and sincos.
48665 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48666 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48667 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48668 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48669 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48670 ieee754/flt-32 implementation for tan.
48672 * math/libm-test.inc (cos_test): Enable some large input tests for
48674 (sin_test): Likewise.
48675 (sincos_test): Likewise.
48676 (tan_test): Add tests for large input.
48678 * sysdeps/i386/fpu/libm-test-ulps: Update.
48680 2012-03-15 Andreas Jaeger <aj@suse.de>
48683 * math/libm-test.inc (cos_test): Add more test cases.
48684 (sin_test): Likewise.
48685 (sincos_test): Likewise.
48687 2012-03-15 Andreas Jaeger <aj@suse.de>
48690 * math/libm-test.inc (cos_test): Add a test case for large input
48692 (sin_test): Likewise.
48693 (sincos_test): Likewise.
48695 2012-03-15 Andreas Jaeger <aj@suse.de>
48696 Joseph Myers <joseph@codesourcery.com>
48699 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48700 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48701 * sysdeps/i386/fpu/branred.c: Likewise.
48702 * sysdeps/i386/fpu/dosincos.c: Likewise.
48703 * sysdeps/i386/fpu/mpa.c: Likewise.
48704 * sysdeps/i386/fpu/s_cos.S: Likewise.
48705 * sysdeps/i386/fpu/s_sin.S: Likewise.
48706 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48707 * sysdeps/i386/fpu/sincos32.c: Likewise.
48709 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48711 (libc_feupdateenv_53bit): Define.
48712 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48714 (libc_feupdateenv_53bit): Define.
48716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48717 53 bit (without extend i386 double precision).
48719 * math/libm-test.inc (sincos_test): Add tests for large input.
48723 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48725 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48729 2012-03-15 David S. Miller <davem@davemloft.net>
48731 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48732 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48733 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48734 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48758 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48759 fmin/fmax sysdep routines.
48760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48762 2012-03-14 David S. Miller <davem@davemloft.net>
48764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48768 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48769 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48787 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48789 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48792 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48836 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48841 * sysdeps/sparc/configure.in: New file.
48842 * sysdeps/sparc/configure: Generate.
48843 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48844 * configure: Regenerate.
48845 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48846 * config.make.in (have-as-vis3): New.
48847 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48848 available use -Av9d instead of -Av9a.
48849 * sysdeps/sparc/sparc64/Makefile: Likewise.
48850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48859 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48860 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48861 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48862 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48865 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48866 fzeros/fnegs to load 0x80000000 into a float register instead of
48868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48870 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48874 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48875 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48876 ($(inst_includedir)/bits/syscall.h): Remove rule.
48877 ($(objpfx)bits/syscall.d): Include instead of
48878 $(objpfx)syscall-list.d.
48879 (generated): Change syscall-list.h and syscall-list.d to
48880 bits/syscall.h and bits/syscall.d.
48882 2012-03-14 Roland McGrath <roland@hack.frob.com>
48885 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48887 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48890 * math/s_csqrt.c: Include <float.h>.
48891 (__csqrt): Scale large or subnormal inputs.
48892 * math/s_csqrtf.c: Likewise.
48893 * math/s_csqrtl.c: Likewise.
48894 * math/libm-test.inc (csqrt_test): Add more tests.
48895 * sysdeps/i386/fpu/libm-test-ulps: Update.
48896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48899 * math/libm-test.inc (hypot_test): Add more tests.
48901 2012-03-13 David S. Miller <davem@davemloft.net>
48904 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48905 double-precision for the calculation instead of scaling.
48907 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48909 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48910 manipulate bits before adding and subtracting TWO52[sx].
48911 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48914 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48916 2012-03-13 David S. Miller <davem@davemloft.net>
48918 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48919 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48920 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48921 rtld-global-offsets.h
48922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48924 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48927 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48929 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48930 'err' in the ifdef scope in which it is actually used.
48932 * nss/nss_db/db-init.c: Include string.h
48934 2012-03-12 David S. Miller <davem@davemloft.net>
48936 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48937 masking out of the most significant byte of random value used.
48938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48939 Fix coding style in previous change.
48941 * sysdeps/unix/sysv/linux/kernel-features.h
48942 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48943 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48945 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48948 2012-03-11 David S. Miller <davem@davemloft.net>
48950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48951 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48953 for 'resultvar' otherwise things get truncated on 64-bit.
48955 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48956 Fix masking out of the most significant byte of random value used.
48958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48960 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48964 2012-03-09 David S. Miller <davem@davemloft.net>
48966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48967 variables with appropriate CPP guards.
48968 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48969 from the frame pointer, not the stack pointer. Correct layout
48970 comments. Fix test on resulting framesize and the management of
48971 the outregs buffer for pltexit. Preserve floating point return
48972 values across _dl_call_pltexit call.
48973 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48974 framesize and the management of the outregs buffer for pltexit.
48975 Preserve floating point return values across _dl_call_pltexit
48977 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48978 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48979 (la_sparc64_gnu_pltexit): New functions.
48980 (print_exit): Fix format string for return register value.
48982 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48984 * sunrpc/Makefile (others): Add rpcgen.
48985 ($(objpfx)rpcgen): Remove special build rule and dependency on
48987 * sunrpc/rpcgen.c: New file.
48989 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48992 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48993 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48994 * sysdeps/i386/crti.S: Likewise.
48995 * sysdeps/i386/crtn.S: Likewise.
48996 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48997 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48998 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48999 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49000 * sysdeps/sh/crti.S: Likewise.
49001 * sysdeps/sh/crtn.S: Likewise.
49002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49005 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49007 * locale/programs/locfile-kw.gperf: Likewise.
49008 * locale/programs/charmap-kw.h: Regenerated.
49009 * locale/programs/locfile-kw.h: Likewise.
49012 * intl/plural.y: Replace FSF snail mail address with URL.
49013 * intl/plural.c: Regenerated.
49015 2012-03-09 Richard Henderson <rth@twiddle.net>
49017 * include/math_private.h: Remove file.
49018 * math/math_private.h: Move file ...
49019 * sysdeps/generic/math_private.h: ... here.
49021 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49022 * sysdeps/powerpc/fpu/math_private.h: Likewise.
49023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49025 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49026 and <math_private.h>.
49027 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49028 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49029 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49030 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49031 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49032 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49033 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49039 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49041 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49042 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49043 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49044 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49045 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49046 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49048 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49049 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49051 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49053 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49057 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49058 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49059 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49060 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49061 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49062 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49063 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49064 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49065 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49066 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49067 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49068 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49069 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49070 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49071 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49072 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49073 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49074 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49075 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49077 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49080 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49081 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49082 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49084 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49086 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49087 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49088 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49089 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49090 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49091 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49092 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49093 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49094 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49095 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49096 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49097 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49098 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49099 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49100 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49101 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49102 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49103 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49106 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49107 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49108 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49109 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49110 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49111 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49112 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49114 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49115 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49118 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49119 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49120 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49121 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49122 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49124 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49125 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49127 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49128 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49129 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49130 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49131 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49132 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49133 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49134 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49139 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49140 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49141 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49143 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49144 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49145 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49146 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49147 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49148 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49149 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49150 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49151 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49152 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49153 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49154 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49155 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49156 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49157 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49158 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49159 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49160 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49161 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49162 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49163 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49164 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49165 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49166 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49168 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49169 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49170 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49171 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49172 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49173 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49174 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49175 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49176 * sysdeps/ieee754/k_standard.c: Likewise.
49177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49184 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49186 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49187 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49189 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49190 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49191 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49193 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49199 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49201 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49202 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49203 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49204 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49208 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49210 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49211 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49212 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49213 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49215 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49216 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49217 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49218 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49219 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49220 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49223 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49225 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49228 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49229 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49230 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49233 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49234 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49235 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49236 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49237 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49238 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49239 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49241 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49242 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49246 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49248 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49249 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49250 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49251 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49252 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49253 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49254 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49255 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49258 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49259 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49260 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49262 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49263 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49268 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49273 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49276 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49277 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49281 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49282 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49283 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49284 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49285 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49286 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49287 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49288 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49290 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49291 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49292 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49293 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49294 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49295 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49296 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49298 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49299 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49300 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49301 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49302 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49303 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49304 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49305 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49306 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49307 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49308 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49309 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49310 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49313 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49314 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49316 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49317 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49318 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49319 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49320 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49321 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49322 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49323 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49324 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49325 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49326 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49328 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49331 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49332 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49333 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49336 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49337 * sysdeps/ieee754/s_lib_version.c: Likewise.
49338 * sysdeps/ieee754/s_matherr.c: Likewise.
49339 * sysdeps/ieee754/s_signgam.c: Likewise.
49340 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49341 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49342 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49343 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49344 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49345 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49346 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49347 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49348 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49349 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49350 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49351 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49352 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49353 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49354 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49356 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49357 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49358 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49362 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49364 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49365 * sunrpc/rpc_main.c: Likewise.
49366 * sunrpc/rpc_svcout.c: Likewise.
49368 2012-03-09 David S. Miller <davem@davemloft.net>
49370 * include/math_private.h: New file.
49372 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49374 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49375 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49376 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49377 from <bits/socket_type.h>.
49378 (enum __socket_type): Don't define here.
49379 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49381 bits/socket_type.h.
49384 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49385 checking __USE_GNU.
49387 * Makerules ($(inst_includedir)/%.h): New rule.
49388 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49389 (install-others): Remove variable setting.
49390 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49392 2012-03-08 Richard Henderson <rth@twiddle.net>
49394 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49395 from macro to inline function; merge with the
49396 !__LIBC_INTERNAL_MATH_INLINES version.
49397 (__ieee754_sqrtf): Likewise.
49399 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49400 to inline function.
49401 (__rintf, __floor, __floorf): Likewise.
49403 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49404 macro to inline function.
49405 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49408 not <math/math_private.h>.
49410 2012-03-08 David S. Miller <davem@davemloft.net>
49412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49414 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49416 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49418 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49420 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49421 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49423 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49425 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49426 be defined individually, they must be defined as a block. Define
49427 S for printing a string instead of hidint the different by using a
49428 macro for adding the 'l'.
49429 * stdio-common/tst-fphex-wide.c: Adjust.
49431 2012-03-07 Marek Polacek <polacek@redhat.com>
49433 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49435 2012-03-08 Marek Polacek <polacek@redhat.com>
49438 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49439 * stdio-common/tst-fphex.c: Define a few macros to make the
49440 test reusable. Use them.
49441 * stdio-common/tst-fphex-wide.c: New file.
49443 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49446 * manual/macros.texi (gnusystems): New macro.
49447 (nongnusystems): Likewise.
49448 (gnulinuxhurdsystems): Likewise.
49449 (gnuhurdsystems): Likewise..
49450 (gnulinuxsystems): Likewise.
49451 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49452 variants of the GNU system, not "GNU system".
49453 * manual/conf.texi: Likewise.
49454 * manual/errno.texi: Likewise. Update example of errno macro
49456 * manual/filesys.texi: Likewise.
49457 (getumask): Document as specific to GNU/Hurd.
49458 * manual/install.texi: Likewise. Reword some references to
49460 * manual/intro.texi: Likewise.
49461 * manual/io.texi: Likewise.
49462 (File Name Portability): Detail which constraints are inapplicable
49463 to all GNU systems and which are only inapplicable to GNU/Hurd.
49464 * manual/job.texi: Likewise.
49465 * manual/llio.texi: Likewise.
49466 (O_NOCTTY): Document as present on GNU/Linux.
49467 * manual/maint.texi: Likewise.
49468 * manual/memory.texi: Likewise.
49469 * manual/pattern.texi: Likewise.
49470 * manual/pipe.texi: Likewise.
49471 * manual/process.texi: Likewise.
49472 * manual/resource.texi: Likewise.
49473 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49475 * manual/setjmp.texi: Likewise.
49476 * manual/signal.texi: Likewise.
49477 * manual/startup.texi: Likewise.
49478 * manual/stdio.texi: Likewise.
49479 * manual/terminal.texi: Likewise.
49480 (ONLCR): Document as POSIX.
49481 (OXTABS): Document availability on GNU/Linux as XTABS.
49482 (ONOEOT): Document availability separately from other bits.
49483 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49484 * manual/time.texi: Likewise.
49485 * manual/users.texi: Likewise.
49486 * INSTALL: Regenerated.
49487 * sysdeps/gnu/errlist.c: Regenerated.
49489 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49490 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49491 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49493 * configure: Regenerated.
49495 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49497 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49498 default includes instead of AC_HEADER_CHECK.
49499 * sysdeps/i386/configure: Regenerated.
49502 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49503 * math/s_cacoshf.c (__cacoshf): Likewise.
49504 * math/s_cacoshl.c (__cacoshl): Likewise.
49505 * math/s_casinh.c (__casinh): Set signs of result from argument.
49506 * math/s_casinhf.c (__casinhf): Likewise.
49507 * math/s_casinhl.c (__casinhl): Likewise.
49508 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49509 (casinh_test): Add more tests.
49510 * sysdeps/i386/fpu/libm-test-ulps: Update.
49511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49513 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49515 * po/zh_TW.po: Update from translation team.
49517 * login/Makefile (distribute): Remove variable.
49518 * catgets/Makefile: Likewise.
49519 * mach/Makefile: Likewise.
49520 * malloc/Makefile: Likewise.
49521 * misc/Makefile: Likewise.
49522 * iconv/Makefile: Likewise.
49523 * nscd/Makefile: Likewise.
49524 * hurd/Makefile: Likewise.
49525 * manual/Makefile: Likewise.
49526 * locale/Makefile: Likewise.
49527 * intl/Makefile: Likewise.
49528 * conform/Makefile: Likewise.
49529 * nss/Makefile: Likewise.
49530 * time/Makefile: Likewise.
49531 * soft-fp/Makefile: Likewise.
49532 * dirent/Makefile: Likewise.
49533 * gmon/Makefile: Likewise.
49534 * po/Makefile: Likewise.
49535 * rt/Makefile: Likewise.
49536 * socket/Makefile: Likewise.
49537 * math/Makefile: Likewise.
49538 * signal/Makefile: Likewise.
49539 * debug/Makefile: Likewise.
49540 * elf/Makefile: Likewise.
49541 * timezone/Makefile: Likewise.
49542 * stdlib/Makefile: Likewise.
49543 * iconvdata/Makefile: Likewise.
49544 * sunrpc/Makefile: Likewise.
49545 * io/Makefile: Likewise.
49546 * argp/Makefile: Likewise.
49547 * inet/Makefile: Likewise.
49548 * hesiod/Makefile: Likewise.
49549 * grp/Makefile: Likewise.
49550 * csu/Makefile: Likewise.
49551 * wctype/Makefile: Likewise.
49552 * crypt/Makefile: Likewise.
49553 * libio/Makefile: Likewise.
49554 * string/Makefile: Likewise.
49555 * nis/Makefile: Likewise.
49556 * resolv/Makefile: Likewise.
49557 * stdio-common/Makefile: Likewise.
49558 * wcsmbs/Makefile: Likewise.
49559 * dlfcn/Makefile: Likewise.
49560 * posix/Makefile: Likewise.
49563 * timezone/Makefile: Don't install timezone files, just the programs
49566 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49568 * nss/databases.def: Add missing gshadow entry.
49570 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49572 2012-03-06 Marek Polacek <polacek@redhat.com>
49575 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49576 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49577 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49578 * stdio-common/tst-long-dbl-fphex.c: New file.
49580 2012-03-06 David S. Miller <davem@davemloft.net>
49582 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49583 (set_obp_int): New function.
49584 (get_obp_int): New function.
49585 (__get_clockfreq_via_dev_openprom): Likewise.
49586 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49587 Avoid unused variable warnings on 'val' and use builtin_expect.
49588 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49590 (INLINE_CLONE_SYSCALL): Likewise.
49592 2012-03-05 David S. Miller <davem@davemloft.net>
49594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49596 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49600 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49601 only for |x| >= 40.
49602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49604 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49607 Replace gettimeofday with __vdso_gettimeofday.
49609 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49610 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49611 __vdso_clock_gettime and __vdso_getcpu.
49613 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49614 time with __vdso_time.
49616 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49618 * manual/lang.texi (size_t): Note types to which size_t may be
49619 equivalent with the GNU C Library, but do not describe when
49620 differences between them are significant.
49622 2012-03-05 Andreas Jaeger <aj@suse.de>
49624 * sysdeps/i386/fpu/libm-test-ulps: Update.
49626 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49629 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49630 (__ieee754_pow): Save and restore rounding mode and use
49631 round-to-nearest for main computations.
49632 * math/libm-test.inc (pow_test_tonearest): New function.
49633 (pow_test_towardzero): Likewise.
49634 (pow_test_downward): Likewise.
49635 (pow_test_upward): Likewise.
49636 (main): Call the new functions.
49637 * sysdeps/i386/fpu/libm-test-ulps: Update.
49638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49641 * math/libm-test.inc (cosh_test_tonearest): New function.
49642 (cosh_test_towardzero): Likewise.
49643 (cosh_test_downward): Likewise.
49644 (cosh_test_upward): Likewise.
49645 (sinh_test_tonearest): Likewise.
49646 (sinh_test_towardzero): Likewise.
49647 (sinh_test_downward): Likewise.
49648 (sinh_test_upward): Likewise.
49649 (main): Call the new functions.
49650 * sysdeps/i386/fpu/libm-test-ulps: Update.
49651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49653 2012-03-05 Tom de Vries <tom@codesourcery.com>
49655 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49656 default stack guard is set in last bytes.
49657 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49659 2012-03-05 Kees Cook <keescook@chromium.org>
49661 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49664 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49665 possibly allocate from heap instead of stack.
49666 * stdio-common/bug-vfprintf-nargs.c: New file.
49667 * stdio-common/Makefile (tests): Add nargs overflow test.
49669 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49673 2012-03-03 Marek Polacek <polacek@redhat.com>
49675 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49676 * math/math_private.h: Likewise.
49677 * stdlib/tst-strtod.c: Likewise.
49678 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49679 * sysdeps/x86_64/bits/atomic.h: Likewise.
49681 2012-03-02 David S. Miller <davem@davemloft.net>
49683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49687 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49688 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49689 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49690 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49692 2012-03-02 Roland McGrath <roland@hack.frob.com>
49695 * manual/examples/README: New file, says the example source files
49696 can be used under GPL>=2.
49697 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49698 line containing just "*/".
49699 * manual/examples/add.c: Add copyright header (GPL>=2).
49700 * manual/examples/argp-ex1.c: Likewise.
49701 * manual/examples/argp-ex2.c: Likewise.
49702 * manual/examples/argp-ex3.c: Likewise.
49703 * manual/examples/argp-ex4.c: Likewise.
49704 * manual/examples/atexit.c: Likewise.
49705 * manual/examples/db.c: Likewise.
49706 * manual/examples/dir.c: Likewise.
49707 * manual/examples/dir2.c: Likewise.
49708 * manual/examples/execinfo.c: Likewise.
49709 * manual/examples/filecli.c: Likewise.
49710 * manual/examples/filesrv.c: Likewise.
49711 * manual/examples/fmtmsgexpl.c: Likewise.
49712 * manual/examples/genpass.c: Likewise.
49713 * manual/examples/inetcli.c: Likewise.
49714 * manual/examples/inetsrv.c: Likewise.
49715 * manual/examples/isockad.c: Likewise.
49716 * manual/examples/longopt.c: Likewise.
49717 * manual/examples/memopen.c: Likewise.
49718 * manual/examples/memstrm.c: Likewise.
49719 * manual/examples/mkfsock.c: Likewise.
49720 * manual/examples/mkisock.c: Likewise.
49721 * manual/examples/mygetpass.c: Likewise.
49722 * manual/examples/pipe.c: Likewise.
49723 * manual/examples/popen.c: Likewise.
49724 * manual/examples/rprintf.c: Likewise.
49725 * manual/examples/search.c: Likewise.
49726 * manual/examples/select.c: Likewise.
49727 * manual/examples/setjmp.c: Likewise.
49728 * manual/examples/sigh1.c: Likewise.
49729 * manual/examples/sigusr.c: Likewise.
49730 * manual/examples/stpcpy.c: Likewise.
49731 * manual/examples/strdupa.c: Likewise.
49732 * manual/examples/strftim.c: Likewise.
49733 * manual/examples/strncat.c: Likewise.
49734 * manual/examples/subopt.c: Likewise.
49735 * manual/examples/swapcontext.c: Likewise.
49736 * manual/examples/termios.c: Likewise.
49737 * manual/examples/testopt.c: Likewise.
49738 * manual/examples/testpass.c: Likewise.
49739 * manual/examples/timeval_subtract.c: Likewise.
49742 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49744 * manual/timeval_subtract.c.texi: ... here, new file.
49746 2012-03-02 David S. Miller <davem@davemloft.net>
49748 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49750 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49753 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49754 (__sin): Save and restore rounding mode and use round-to-nearest
49755 for all computations.
49756 (__cos): Save and restore rounding mode and use round-to-nearest
49757 for all computations.
49758 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49760 (tan): Save and restore rounding mode and use round-to-nearest for
49762 * math/libm-test.inc (cos_test_tonearest): New function.
49763 (cos_test_towardzero): Likewise.
49764 (cos_test_downward): Likewise.
49765 (cos_test_upward): Likewise.
49766 (sin_test_tonearest): Likewise.
49767 (sin_test_towardzero): Likewise.
49768 (sin_test_downward): Likewise.
49769 (sin_test_upward): Likewise.
49770 (tan_test_tonearest): Likewise.
49771 (tan_test_towardzero): Likewise.
49772 (tan_test_downward): Likewise.
49773 (tan_test_upward): Likewise.
49774 (main): Call the new functions.
49775 * sysdeps/i386/fpu/libm-test-ulps: Update.
49776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49779 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49780 small n, then large n, before computing and testing k+n.
49781 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49784 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49786 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49787 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49788 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49789 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49794 * math/libm-test.inc (scalbn_test): Add more tests.
49795 (scalbln_test): Likewise.
49797 * manual/filesys.texi (mode_t): Describe constraints on size and
49798 signedness, not exact equivalence to a particular type.
49800 (ino64_t): Likewise.
49802 (nlink_t): Likewise.
49803 (blkcnt_t): Likewise.
49804 (blkcnt64_t): Likewise.
49805 * manual/llio.texi (off_t): Likewise.
49808 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49809 (__ieee754_exp): Save and restore rounding mode and use
49810 round-to-nearest for all computations.
49811 * math/libm-test.inc (exp_test_tonearest): New function.
49812 (exp_test_towardzero): Likewise.
49813 (exp_test_downward): Likewise.
49814 (exp_test_upward): Likewise.
49815 (main): Call the new functions.
49816 * sysdeps/i386/fpu/libm-test-ulps: Update.
49817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49819 2012-03-01 Chris Demetriou <cgd@google.com>
49821 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49822 have predictable order.
49824 2012-03-01 David S. Miller <davem@davemloft.net>
49826 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49828 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49829 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49830 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49831 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49833 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49834 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49835 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49837 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49838 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49839 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49840 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49841 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49846 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49847 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49849 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49851 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49852 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49853 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49855 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49856 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49857 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49858 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49859 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49863 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49865 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49866 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49867 * sysdeps/sparc/elf/configure: Regenerated.
49869 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49871 * configure.in (AS, LD): Require binutils 2.20 or later.
49872 * configure: Regenerated.
49873 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49874 as required minimum version.
49875 * INSTALL: Regenerated.
49879 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49880 before squaring exponent.
49881 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49882 bottom long double and 27 bits of top long double before squaring
49884 * math/libm-test.inc (erfc_test): Add more tests.
49885 * sysdeps/i386/fpu/libm-test-ulps: Update.
49886 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49889 2012-03-01 Kai Tietz <ktietz@redhat.com>
49891 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49892 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49893 containing bit-fields.
49894 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49895 * soft-fp/single.h (_FP_UNION_S): Likewise.
49896 * soft-fp/double.h (_FP_UNION_D): Likewise.
49898 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49901 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49902 not include ../strcmp.S.
49903 [USE_AS_STRNCASECMP_L]: Likewise.
49904 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49905 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49906 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49907 (__strncasecmp_l_ia32): Define as alias to
49908 __strncasecmp_l_nonascii.
49911 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49912 * sysdeps/i386/fpu/libm-test-ulps: Update.
49913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49915 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49918 2012-02-29 Jeff Law <law@redhat.com>
49920 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49921 out of bounds read.
49923 2012-02-29 Marek Polacek <polacek@redhat.com>
49926 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49927 * elf/Makefile: Add rules to run tst-unused-dep.out.
49929 2012-02-28 David S. Miller <davem@davemloft.net>
49931 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49932 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49933 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49935 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49936 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49938 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49940 * math/libm-test.inc (llround_test): Move one test from
49941 lround_test. Use TEST_f_L in moved test.
49942 (lround_test): Move misplaced test to llround_test. Add testcase
49945 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49947 * sysdeps/x86_64/fpu/e_expf.S: New file.
49948 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49950 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49953 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49954 of remain_len that may cause incomplete multi-byte character and
49956 * posix/bug-regex33.c: New file.
49957 * posix/Makefile (tests): Add bug-regex33.
49959 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49961 * manual/macros.texi: New file.
49962 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49963 * manual/libc.texinfo: Include macros.texi.
49964 * manual/creatute.texi: Likewise.
49965 * manual/install.texi: Likewise.
49966 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49967 @glibcadj{} in references to the GNU C Library.
49968 * manual/charset.texi: Likewise.
49969 * manual/conf.texi: Likewise.
49970 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49971 when not using those macros.
49972 * manual/creature.texi: Likewise.
49973 * manual/crypt.texi: Likewise.
49974 * manual/errno.texi: Likewise.
49975 * manual/filesys.texi: Likewise.
49976 * manual/header.texi: Likewise.
49977 * manual/install.texi: Likewise.
49978 * manual/intro.texi: Likewise.
49979 * manual/io.texi: Likewise.
49980 * manual/job.texi: Likewise.
49981 * manual/lang.texi: Likewise.
49982 * manual/libc.texiinfo: Likewise.
49983 * manual/llio.texi: Likewise.
49984 * manual/locale.texi: Likewise.
49985 * manual/maint.texi: Likewise.
49986 * manual/math.texi: Likewise.
49987 * manual/memory.texi: Likewise.
49988 * manual/message.texi: Likewise.
49989 * manual/nss.texi: Likewise.
49990 * manual/pattern.texi: Likewise.
49991 * manual/process.texi: Likewise.
49992 * manual/resource.texi: Likewise.
49993 * manual/search.texi: Likewise.
49994 * manual/setjmp.texi: Likewise.
49995 * manual/signal.texi: Likewise.
49996 * manual/socket.texi: Likewise.
49997 * manual/startup.texi: Likewise.
49998 * manual/stdio.texi: Likewise.
49999 * manual/string.texi: Likewise.
50000 * manual/sysinfo.texi: Likewise.
50001 * manual/syslog.texi: Likewise.
50002 * manual/terminal.texi: Likewise.
50003 * manual/time.texi: Likewise.
50004 * manual/users.texi: Likewise.
50005 * INSTALL: Regenerated.
50006 * NOTES: Regenerated.
50007 * sysdeps/gnu/errlist.c: Regenerated.
50009 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
50011 * include/dirent.h: Include <dirstream.h> before
50014 2012-02-28 David S. Miller <davem@davemloft.net>
50016 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50017 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50018 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50019 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50021 2012-02-27 David S. Miller <davem@davemloft.net>
50023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50025 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50026 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50029 frame pointer instead of stack pointer relative arg slot.
50030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50031 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50032 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50034 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
50037 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50039 2012-02-27 David S. Miller <davem@davemloft.net>
50041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50047 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50050 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50052 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50053 later. Allow versions 5-9.
50054 * configure: Regenerated.
50055 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50056 required minimum version and 4.6 as recommended version. Do not
50057 mention bugs in GCC 2.7 and 2.8.
50058 * INSTALL: Regenerated.
50060 2012-02-27 David S. Miller <davem@davemloft.net>
50062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50066 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50067 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50068 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50069 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50072 manipulate bits before adding and subtracting TWO112[sx].
50073 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50075 2012-02-27 Roland McGrath <roland@hack.frob.com>
50078 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50079 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50080 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50081 being in POSIX, because they are in 1003.1-2008.
50083 * rt/tst-aio.c: Include <fcntl.h>.
50084 * rt/tst-aio7.c: Likewise.
50085 * rt/tst-aio64.c: Likewise.
50087 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50089 2012-02-27 Joseph Myers <joseph@codesourcery.com>
50091 * manual/install.texi (--with-headers): Describe headers as
50092 interface headers, not private headers.
50093 (Specific advice for GNU/Linux systems): Describe use of headers
50094 from "make headers_install", not private headers from older
50096 * INSTALL: Regenerated.
50097 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50099 * sysdeps/unix/sysv/linux/configure: Regenerated.
50101 * manual/llio.texi (fclean): Remove documentation.
50103 * manual/Makefile (libc-texi-generated): New variable. Include
50105 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50106 $(libc-texi-generated), not duplicated list of files.
50107 (version.texi, stamp-version): New rules.
50108 (realclean): Remove $(libc-texi-generated), not individual files
50109 from that list. Do not remove dir-add.texinfo.
50110 * manual/libc.texinfo: Comment out uses of edition numbers and
50111 references to printed manual. Remove last-updated dates.
50112 (EDITION): Comment out.
50114 (VERSION, UPDATED): Remove.
50115 (version.texi): Include.
50117 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
50119 * sysdeps/posix/spawni.c: Include <signal.h>.
50120 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50121 * sysdeps/pthread/aio_fsync.c: Likewise.
50123 2012-02-26 Ulrich Drepper <drepper@gmail.com>
50125 * conform/Makefile (tests): Run only when not cross-compiling and
50126 when fast-check is not defined.
50128 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50129 * conform/data/limits.h-data: Fixes for POSIX2008.
50130 * conform/run-conformtest.sh: Run all tests.
50131 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50133 * include/bits/dlfcn.h: Likewise.
50134 * include/langinfo.h: Likewise.
50135 * include/monetary.h: Likewise.
50136 * include/sys/poll.h: Likewise.
50138 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50140 * posix/spawn.h: Define __need_sigset_t.
50141 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50142 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50143 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
50144 to get sigevent_t only.
50145 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50146 only for __USE_GNU.
50147 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50148 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50149 process_vm_writev only for __USE_GNU.
50150 * termios/termios.h: Declare tcgetsid also for POSIX2008.
50152 * conform/Makefile: For now ignore errors from run-conformtest.
50153 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50154 POSIX to avoid namespace pollution. Don't prepend headers.
50155 * conform/data/aio.h-data: Fixes for POSIX testing.
50156 * conform/data/fcntl.h-data: Likewise.
50157 * conform/data/glob.h-data: Likewise.
50158 * conform/data/grp.h-data: Likewise.
50159 * conform/data/pthread.h-data: Likewise.
50160 * conform/data/pwd.h-data: Likewise.
50161 * conform/data/signal.h-data: Likewise.
50162 * conform/data/spawn.h-data: Likewise.
50163 * conform/data/stdio.h-data: Likewise.
50164 * conform/data/stdlib.h-data: Likewise.
50165 * conform/data/stropts.h-data: Likewise.
50166 * conform/data/sys/mman.h-data: Likewise.
50167 * conform/data/sys/stat.h-data: Likewise.
50168 * conform/data/sys/types.h-data: Likewise.
50169 * conform/data/sys/wait.h-data: Likewise.
50170 * conform/data/time.h-data: Likewise.
50171 * conform/data/unistd.h-data: Likewise.
50172 * conform/data/utime.h-data: Likewise.
50174 * io/sys/stat.h: fchmod was always in POSIX.
50175 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50176 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50177 * rt/aio.h: Define __need_timespec before including <time.h>.
50178 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50179 struct. Add forward declaration of pthread_attr_t and use it in
50181 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50182 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50183 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50184 always remove CLK_TCK definition.
50186 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50188 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50190 2012-02-25 Ulrich Drepper <drepper@gmail.com>
50192 * conform/run-conformtest.sh: New file.
50193 * conform/Makefile: Run run-conformtest for tests.
50194 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50197 * conform/data/uchar.h-data: New file.
50198 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50199 * conform/data/arpa/inet.h-data: Likewise.
50200 * conform/data/assert.h-data: Likewise.
50201 * conform/data/complex.h-data: Likewise.
50202 * conform/data/cpio.h-data: Likewise.
50203 * conform/data/ctype.h-data: Likewise.
50204 * conform/data/dirent.h-data: Likewise.
50205 * conform/data/dlfcn.h-data: Likewise.
50206 * conform/data/errno.h-data: Likewise.
50207 * conform/data/fcntl.h-data: Likewise.
50208 * conform/data/float.h-data: Likewise.
50209 * conform/data/fmtmsg.h-data: Likewise.
50210 * conform/data/fnmatch.h-data: Likewise.
50211 * conform/data/ftw.h-data: Likewise.
50212 * conform/data/glob.h-data: Likewise.
50213 * conform/data/grp.h-data: Likewise.
50214 * conform/data/iconv.h-data: Likewise.
50215 * conform/data/inttypes.h-data: Likewise.
50216 * conform/data/langinfo.h-data: Likewise.
50217 * conform/data/libgen.h-data: Likewise.
50218 * conform/data/limits.h-data: Likewise.
50219 * conform/data/locale.h-data: Likewise.
50220 * conform/data/math.h-data: Likewise.
50221 * conform/data/monetary.h-data: Likewise.
50222 * conform/data/mqueue.h-data: Likewise.
50223 * conform/data/ndbm.h-data: Likewise.
50224 * conform/data/net/if.h-data: Likewise.
50225 * conform/data/netdb.h-data: Likewise.
50226 * conform/data/netinet/in.h-data: Likewise.
50227 * conform/data/nl_types.h-data: Likewise.
50228 * conform/data/poll.h-data: Likewise.
50229 * conform/data/pthread.h-data: Likewise.
50230 * conform/data/pwd.h-data: Likewise.
50231 * conform/data/regex.h-data: Likewise.
50232 * conform/data/sched.h-data: Likewise.
50233 * conform/data/search.h-data: Likewise.
50234 * conform/data/semaphore.h-data: Likewise.
50235 * conform/data/setjmp.h-data: Likewise.
50236 * conform/data/signal.h-data: Likewise.
50237 * conform/data/spawn.h-data: Likewise.
50238 * conform/data/stdarg.h-data: Likewise.
50239 * conform/data/stdio.h-data: Likewise.
50240 * conform/data/stdlib.h-data: Likewise.
50241 * conform/data/string.h-data: Likewise.
50242 * conform/data/strings.h-data: Likewise.
50243 * conform/data/stropts.h-data: Likewise.
50244 * conform/data/sys/ipc.h-data: Likewise.
50245 * conform/data/sys/mman.h-data: Likewise.
50246 * conform/data/sys/msg.h-data: Likewise.
50247 * conform/data/sys/resource.h-data: Likewise.
50248 * conform/data/sys/select.h-data: Likewise.
50249 * conform/data/sys/sem.h-data: Likewise.
50250 * conform/data/sys/shm.h-data: Likewise.
50251 * conform/data/sys/socket.h-data: Likewise.
50252 * conform/data/sys/stat.h-data: Likewise.
50253 * conform/data/sys/statvfs.h-data: Likewise.
50254 * conform/data/sys/time.h-data: Likewise.
50255 * conform/data/sys/timeb.h-data: Likewise.
50256 * conform/data/sys/times.h-data: Likewise.
50257 * conform/data/sys/types.h-data: Likewise.
50258 * conform/data/sys/uio.h-data: Likewise.
50259 * conform/data/sys/un.h-data: Likewise.
50260 * conform/data/sys/utsname.h-data: Likewise.
50261 * conform/data/sys/wait.h-data: Likewise.
50262 * conform/data/syslog.h-data: Likewise.
50263 * conform/data/tar.h-data: Likewise.
50264 * conform/data/termios.h-data: Likewise.
50265 * conform/data/utime.h-data: Likewise.
50266 * conform/data/utmpx.h-data: Likewise.
50267 * conform/data/varargs.h-data: Likewise.
50268 * conform/data/wchar.h-data: Likewise.
50269 * conform/data/wctype.h-data: Likewise.
50270 * conform/data/wordexp.h-data: Likewise.
50272 * include/stropts.h: New file.
50273 * include/uchar.h: New file.
50274 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50275 * include/assert.h: Likewise.
50276 * include/ctype.h: Likewise.
50277 * include/dirent.h: Likewise.
50278 * include/dlfcn.h: Likewise.
50279 * include/fcntl.h: Likewise.
50280 * include/fnmatch.h: Likewise.
50281 * include/glob.h: Likewise.
50282 * include/grp.h: Likewise.
50283 * include/libio.h: Likewise.
50284 * include/locale.h: Likewise.
50285 * include/math.h: Likewise.
50286 * include/net/if.h: Likewise.
50287 * include/netdb.h: Likewise.
50288 * include/netinet/in.h: Likewise.
50289 * include/pthread.h: Likewise.
50290 * include/pwd.h: Likewise.
50291 * include/regex.h: Likewise.
50292 * include/sched.h: Likewise.
50293 * include/search.h: Likewise.
50294 * include/setjmp.h: Likewise.
50295 * include/signal.h: Likewise.
50296 * include/stdio.h: Likewise.
50297 * include/stdlib.h: Likewise.
50298 * include/string.h: Likewise.
50299 * include/sys/cdefs.h: Likewise.
50300 * include/sys/mman.h: Likewise.
50301 * include/sys/msg.h: Likewise.
50302 * include/sys/resource.h: Likewise.
50303 * include/sys/select.h: Likewise.
50304 * include/sys/socket.h: Likewise.
50305 * include/sys/stat.h: Likewise.
50306 * include/sys/statvfs.h: Likewise.
50307 * include/sys/time.h: Likewise.
50308 * include/sys/times.h: Likewise.
50309 * include/sys/uio.h: Likewise.
50310 * include/sys/utsname.h: Likewise.
50311 * include/sys/wait.h: Likewise.
50312 * include/termios.h: Likewise.
50313 * include/time.h: Likewise.
50314 * include/ulimit.h: Likewise.
50315 * include/unistd.h: Likewise.
50316 * include/utime.h: Likewise.
50317 * include/wchar.h: Likewise.
50318 * include/wctype.h: Likewise.
50319 * include/wordexp.h: Likewise.
50321 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50323 * time/time.h: TIME_UTC must be a macro.
50324 Make timespec_get available for ISO C11 only as well.
50326 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50328 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50329 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50331 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50333 * configure.in: Use -o not -a in test for unsupported multi-arch.
50335 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50337 * manual/texinfo.tex: Update to version 2012-01-19.16.
50339 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50341 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50343 2012-02-24 Roland McGrath <roland@hack.frob.com>
50346 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50347 * manual/fdl-1.3.texi: New file.
50348 * manual/fdl-1.1.texi: File removed.
50351 * manual/libc.texinfo (FDL_VERSION): New @set.
50352 Use it for mention of FDL in cover text.
50353 (Documentation License): Use it in @include file name.
50355 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50356 Roland McGrath <roland@hack.frob.com>
50359 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50360 (not LONG_LONG_MAX and LONG_LONG_MIN.
50361 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50362 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50364 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50366 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50370 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50371 manipulate bits before adding and subtracting TWO23[sx].
50372 * math/libm-test.inc (nearbyint_test): Add more tests.
50374 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50377 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50378 bits before adding and subtracting TWO23[sx].
50379 * math/libm-test.inc (rint_test): Add more tests.
50380 (rint_test_tonearest): Likewise.
50381 (rint_test_towardzero): Likewise.
50382 (rint_test_downward): Likewise.
50383 (rint_test_upward: Likewise.
50385 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50388 * include/stdc-predef.h: New file. Extracted from features.h.
50389 * include/features.h: Include stdc-predef.h.
50390 * Makefile (headers): Add stdc-predef.h.
50391 * CONFORMANCE (Compiler limitations): Update.
50393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50395 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50397 2012-02-21 David S. Miller <davem@davemloft.net>
50399 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50402 2012-02-20 David S. Miller <davem@davemloft.net>
50404 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50405 using a normal save/restore sequence, rather than allocating a
50406 dummy stack frame just to store a frame pointer and restore.
50407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50409 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50411 * manual/install.texi: Fix stray word in line-wrapped comment.
50413 2012-02-20 David S. Miller <davem@davemloft.net>
50415 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50416 both binutils and gcc support GOTDATA.
50418 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50419 "rd %pc" in the PIC register setup sequences.
50421 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50422 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50423 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50424 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50425 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50427 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50428 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50430 (SYSCALL_ERROR_HANDLER): Likewise.
50431 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50432 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50434 (SYSCALL_ERROR_HANDLER): Likewise.
50436 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50437 (HAVE_GCC_GOTDATA): New.
50438 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50439 relocation support in both binutils and gcc.
50440 * sysdeps/sparc/elf/configure: Regenerate.
50442 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50443 * sysdeps/sparc/sparc32/elf/configure: Delete.
50444 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50445 * sysdeps/sparc/sparc64/elf/configure: Delete.
50446 * sysdeps/sparc/elf/configure.in: New file.
50447 * sysdeps/sparc/elf/configure: Generate.
50449 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50450 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50451 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50452 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50453 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50455 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50457 * manual/install.texi: Do not mention specific glibc version
50459 * manual/libc.texinfo (VERSION, UPDATED): Update.
50460 (@copying): Use @copyright{} and range of years.
50462 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50465 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50466 [crti.S not in sysdirs] (generated): Do not append.
50467 [crti.S not in sysdirs] (omit-deps): Likewise.
50468 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50469 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50470 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50471 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50472 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50474 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50475 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50476 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50477 * csu/defs.awk: Remove file.
50478 * sysdeps/generic/initfini.c: Likewise.
50479 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50481 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50484 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50486 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50487 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50488 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50489 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50491 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50493 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50494 (__EPOLL_PACKED): Define to empty if not defined by
50496 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50500 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50502 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50503 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50504 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50505 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50507 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50513 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50515 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50516 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50517 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50520 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50525 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50527 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50528 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50530 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50532 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50535 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50537 * math/w_acos.c: Use non-signaling floating-point comparisons.
50538 * math/w_acosf.c: Likewise.
50539 * math/w_acosh.c: Likewise.
50540 * math/w_acoshf.c: Likewise.
50541 * math/w_acoshl.c: Likewise.
50542 * math/w_acosl.c: Likewise.
50543 * math/w_asin.c: Likewise.
50544 * math/w_asinf.c: Likewise.
50545 * math/w_asinl.c: Likewise.
50546 * math/w_atanh.c: Likewise.
50547 * math/w_atanhf.c: Likewise.
50548 * math/w_atanhl.c: Likewise.
50549 * math/w_exp2.c: Likewise.
50550 * math/w_exp2f.c: Likewise.
50551 * math/w_exp2l.c: Likewise.
50552 * math/w_j0.c: Likewise.
50553 * math/w_j0f.c: Likewise.
50554 * math/w_j0l.c: Likewise.
50555 * math/w_j1.c: Likewise.
50556 * math/w_j1f.c: Likewise.
50557 * math/w_j1l.c: Likewise.
50558 * math/w_jn.c: Likewise.
50559 * math/w_jnf.c: Likewise.
50560 * math/w_log.c: Likewise.
50561 * math/w_log10.c: Likewise.
50562 * math/w_log10f.c: Likewise.
50563 * math/w_log10l.c: Likewise.
50564 * math/w_log2.c: Likewise.
50565 * math/w_log2f.c: Likewise.
50566 * math/w_log2l.c: Likewise.
50567 * math/w_logf.c: Likewise.
50568 * math/w_logl.c: Likewise.
50569 * math/w_sqrt.c: Likewise.
50570 * math/w_sqrtf.c: Likewise.
50571 * math/w_sqrtl.c: Likewise.
50572 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50573 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50574 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50575 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50576 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50578 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50581 * manual/string.texi (strnlen): Use correct parameter name in
50582 equivalent expression.
50584 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50587 * manual/users.texi (seteuid): Consistently use neweuid for
50590 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50593 * manual/nss.texi (Services in the NSS configuration): Correct
50594 list of services in example configuration file.
50596 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50599 * manual/arith.texi: Remove statements about negative zero
50600 behaving identically to zero.
50602 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50605 * manual/install.texi: Do not document upgrading from libc5.
50607 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50610 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50612 2012-02-18 David S. Miller <davem@davemloft.net>
50614 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50615 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50616 %o7 across the call.
50617 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50620 SETUP_PIC_REG_LEAF.
50621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50622 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50623 * sysdeps/sparc/crtn.S: Likewise.
50625 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50627 * aout/Makefile: Remove.
50629 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50632 * manual/examples/argp-ex1.c (main): Format definition in GNU
50634 * manual/examples/argp-ex2.c (main): Likewise.
50635 * manual/examples/argp-ex3.c (main): Likewise.
50636 * manual/examples/argp-ex4.c (main): Likewise.
50637 * manual/examples/longopt.c (main): Use new-style prototype
50639 * manual/examples/strncat.c (main): Specify return type and use
50640 (void) for arguments.
50641 * manual/examples/subopt.c (main): Use char **argv argument.
50643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50646 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50649 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50652 * manual/string.texi (strchr): Change when strchrnul is
50655 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50658 * manual/locale.texi (setlocale): Document LOCPATH.
50660 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50663 * manual/process.texi (execle): Move @dots{} before last argument.
50665 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50668 * manual/charset.texi (Generic Charset Conversion): Fix typo
50669 (LC_TYPE -> LC_CTYPE).
50671 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50674 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50675 (scalbnf): Likewise.
50676 (scalbnl): Likewise.
50677 (scalbln): Likewise.
50678 (scalblnf): Likewise.
50679 (scalblnl): Likewise.
50680 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50681 (vwarnx): Likewise.
50684 * manual/filesys.texi (telldir): Use braces around return type.
50685 * manual/llio.texi (mmap): Add space after comma.
50686 (mmap64): Likewise.
50687 * manual/math.texi (jn): Use @var{} on parameter names.
50693 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50695 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50697 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50698 (sched_get_priority_max): Likewise.
50699 * manual/signal.texi (sigvec): Add space after comma.
50700 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50702 (if_indextoname): Likewise.
50703 (if_freenameindex): Likewise.
50704 (sendto): Use ',' instead of '.' in prototype.
50705 * manual/startup.texi (syscall): Use @dots{} instead of literal
50707 * manual/stdio.texi (__fpending): Separate initial words of
50708 paragraph from @deftypefun line.
50709 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50711 (vsyslog): Use @var{} on parameter names.
50712 * manual/terminal.texi (stty): Use @var{} on parameter names.
50713 * manual/users.texi (getutmp): Use @var{} on parameter names.
50714 (getutmpx): Likewise.
50716 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50719 * manual/stdio.texi (fopen): Fix typos in description of
50722 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50725 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50726 get clock_id definition.
50728 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50731 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50732 (madvise): Cast every argument to void on its own.
50734 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50737 * manual/startup.texi (Exit Status): Fix typo.
50739 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50742 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50743 * manual/examples/argp-ex2.c: Likewise.
50744 * manual/examples/argp-ex3.c: Likewise.
50746 2012-02-16 Richard Henderson <rth@redhat.com>
50748 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50749 * sysdeps/s390/s390-32/initfini.c: Remove.
50750 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50751 * sysdeps/s390/s390-64/initfini.c: Remove.
50753 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50755 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50756 compiler output for sysdeps/generic/initfini.c.
50757 * sysdeps/sh/elf/initfini.c: Remove file.
50759 2012-02-16 David S. Miller <davem@davemloft.net>
50762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50764 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50765 * sysdeps/sparc/crti.S: New file.
50766 * sysdeps/sparc/crtn.S: New file.
50767 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50768 * sysdeps/sparc/sparc64/Makefile: Likewise.
50770 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50773 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50775 2012-02-15 Roland McGrath <roland@hack.frob.com>
50778 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50780 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50781 (write, read, close): Likewise.
50782 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50784 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50786 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50787 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50788 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50789 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50791 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50795 2012-02-14 Marek Polacek <polacek@redhat.com>
50797 * sysdeps/x86_64/crti.S: New file.
50798 * sysdeps/x86_64/crtn.S: New file.
50799 * sysdeps/x86_64/elf/initfini.c: Remove file.
50801 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50803 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50804 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50805 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50806 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50808 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50812 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50814 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50815 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50816 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50817 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50819 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50823 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50825 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50826 __feraiseexcept instead of feraiseexcept.
50828 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50829 nanosleep invocations.
50830 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50831 strings, and add error checking for a nanosleep invocations.
50833 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50835 Replace FSF snail mail address with URLs, as per GNU coding standards.
50836 Most of the snail mail addresses were wrong anyway, and omitting
50837 them makes the source code easier to maintain. Almost all of the
50838 changes are to license notices and to locale LC_IDENTIFICATION
50839 addresses, except for this one:
50840 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50841 not its snail mail address.
50843 2012-02-09 Richard Henderson <rth@twiddle.net>
50845 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50846 of kernel-features.h.
50848 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50850 2012-02-08 Marek Polacek <polacek@redhat.com>
50852 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50853 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50854 * sysdeps/gnu/_G_config.h: Likewise.
50855 * sysdeps/generic/_G_config.h: Likewise.
50857 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50859 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50863 * sysdeps/powerpc/powerpc32/crti.S: New file.
50864 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50865 * sysdeps/powerpc/powerpc64/crti.S: New file.
50866 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50868 * Makeconfig (have-initfini): Don't set.
50869 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50870 * configure.in (nopic_initfini): Don't substitute.
50871 * config.h.in (HAVE_INITFINI): Don't #undef.
50872 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50873 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50875 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50877 Support crti.S and crtn.S provided directly by architectures.
50878 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50879 [crti.S in sysdirs] (omit-deps): Likewise.
50880 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50881 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50882 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50883 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50884 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50885 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50886 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50887 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50888 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50889 compiler output for sysdeps/generic/initfini.c.
50890 * sysdeps/i386/elf/Makefile: Remove file.
50891 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50893 2012-02-07 Marek Polacek <polacek@redhat.com>
50895 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50896 * sysdeps/gnu/_G_config.h: Likewise.
50897 * sysdeps/mach/hurd/_G_config.h: Likewise.
50899 2012-02-07 Marek Polacek <polacek@redhat.com>
50901 * math/Makefile (tests): Add tst-CMPLX2.
50902 * math/tst-CMPLX2.c: New file.
50904 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50908 * math/libm-test.inc (jn_test): Add missing L suffix.
50910 2012-02-06 Marek Polacek <polacek@redhat.com>
50912 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50913 * sysdeps/i386/fpu/e_powf.S: Likewise.
50914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50915 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50917 * sysdeps/i386/fpu/e_pow.S: Likewise.
50918 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50919 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50920 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50921 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50922 * sysdeps/i386/fpu/e_log2.S: Likewise.
50923 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50924 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50925 * sysdeps/i386/fpu/e_powl.S: Likewise.
50926 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50927 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50928 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50929 * sysdeps/i386/fpu/e_logl.S: Likewise.
50930 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50931 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50932 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50933 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50934 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50935 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50936 * sysdeps/i386/fpu/e_log.S: Likewise.
50937 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50938 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50939 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50940 * sysdeps/i386/fpu/e_logf.S: Likewise.
50941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50942 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50943 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50944 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50945 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50946 * sysdeps/i386/fpu/e_log10.S: Likewise.
50947 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50948 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50949 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50950 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50951 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50952 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50953 * sysdeps/i386/asm-syntax.h: Likewise.
50954 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50955 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50956 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50957 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50958 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50959 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50960 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50961 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50962 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50963 * sysdeps/powerpc/sysdep.h: Likewise.
50964 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50965 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50967 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50970 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50972 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50974 * sysdeps/i386/sysdep.h: Include <features.h>.
50975 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50978 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50980 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50982 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50985 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50987 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50988 (SETUP_PIC_REG): Use GET_PC_THUNK.
50989 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50992 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50994 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50995 for non-PIC compilation.
50996 (SETUP_PIC_REG): Add .p2align directive.
50997 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50998 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50999 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51000 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51002 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51003 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51004 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51005 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51006 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51007 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51008 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51009 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51010 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51011 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51014 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51015 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51016 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51017 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51019 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51023 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51025 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51026 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51027 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51029 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51030 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51031 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51032 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51033 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51035 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51036 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51037 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51039 2012-02-03 Joseph Myers <joseph@codesourcery.com>
51041 * math/tst-CMPLX.c: Include <stdio.h>.
51043 2012-01-31 Joseph Myers <joseph@codesourcery.com>
51045 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51047 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51048 * sysdeps/sparc/bits/mathdef.h: Likewise.
51050 2012-01-31 Marek Polacek <polacek@redhat.com>
51052 * libio/libio.h: Don't define _PARAMS.
51053 * locale/programs/config.h: Don't define PARAMS.
51054 * stdlib/strtol_l.c: Likewise.
51055 (__strtol_l): Remove PARAMS from the prototype.
51057 2012-01-31 Ulrich Drepper <drepper@gmail.com>
51059 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
51060 names. Just use the correct names. Remove unnecessary wrapper
51062 * malloc/arena.c: Likewise.
51063 * malloc/hooks.c: Likewise.
51065 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51066 ARENA_TEST says not to. Simplify test for creation of a new arena.
51067 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51069 2012-01-30 Ulrich Drepper <drepper@gmail.com>
51071 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51073 (update_get_addr): New function.
51074 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51075 GET_ADDR_MODULE parameter.
51077 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51079 * crypt/cert.c: Remove __STDC__ conditionals.
51080 * crypt/crypt-entry.c: Likewise.
51081 * crypt/crypt_util.c: Likewise.
51082 * libio/filedoalloc.c: Likewise.
51083 * libio/fileops.c: Likewise.
51084 * libio/genops.c: Likewise.
51085 * libio/iofclose.c: Likewise.
51086 * libio/iofdopen.c: Likewise.
51087 * libio/iofopen.c: Likewise.
51088 * libio/iofopen64.c: Likewise.
51089 * libio/iogetdelim.c: Likewise.
51090 * libio/iopopen.c: Likewise.
51091 * libio/obprintf.c: Likewise.
51092 * libio/oldfileops.c: Likewise.
51093 * libio/oldiofclose.c: Likewise.
51094 * libio/oldiofdopen.c: Likewise.
51095 * libio/oldiofopen.c: Likewise.
51096 * libio/oldiopopen.c: Likewise.
51097 * libio/wfiledoalloc.c: Likewise.
51098 * libio/wgenops.c: Likewise.
51099 * locale/programs/xmalloc.c: Likewise.
51100 * misc/syslog.c: Likewise.
51101 * stdio-common/xbug.c: Likewise.
51102 * string/memchr.c: Likewise.
51103 * string/memcmp.c: Likewise.
51104 * string/memrchr.c: Likewise.
51105 * string/rawmemchr.c: Likewise.
51106 * sysdeps/posix/getcwd.c: Likewise.
51107 * time/strftime_l.c: Likewise.
51109 2012-01-30 Joseph Myers <joseph@codesourcery.com>
51111 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51112 * config.make.in (config-cflags-sse2avx): Define.
51113 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51116 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
51118 * scripts/config.guess: Update from upstream config git repository.
51119 * scripts/config.sub: Likewise.
51121 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
51123 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51125 (R_TILEPRO_*, R_TILEGX_*): New macros.
51127 * scripts/firstversions.awk: Fix bug in version range handling.
51129 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51131 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51133 * include/sys/epoll.h: New file.
51134 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51137 2012-01-28 Ulrich Drepper <drepper@gmail.com>
51139 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51140 Avoid unnecessary __WORDSIZE == 64 test.
51141 (fmaxf): Use VEX format if possible.
51146 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51147 * math/math_private.h: Remove libc_fegetround* and
51149 * sysdeps/i386/configure.in: Check for -msse2avx.
51150 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51151 also if SSE2AVX is defined.
51152 Remove libc_fegetround* and libc_fesetround*.
51153 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51154 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51155 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51157 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51158 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51159 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51160 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51161 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51163 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51165 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51167 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51169 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51171 2012-01-27 Ulrich Drepper <drepper@gmail.com>
51174 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51176 * Makeconfig (libm): Define.
51177 * elf/Makefile: Add rules to build and run tst-relsort1.
51178 * elf/tst-relsort1.c: New file.
51179 * elf/tst-relsort1mod1.c: New file.
51180 * elf/tst-relsort1mod2.c: New file.
51182 2012-01-27 Joseph Myers <joseph@codesourcery.com>
51184 * math/s_ldexp.c: Remove __STDC__ conditionals.
51185 * math/s_ldexpf.c: Likewise.
51186 * math/s_ldexpl.c: Likewise.
51187 * math/s_nextafter.c: Likewise.
51188 * math/s_nexttowardf.c: Likewise.
51189 * math/s_significand.c: Likewise.
51190 * math/s_significandf.c: Likewise.
51191 * math/s_significandl.c: Likewise.
51192 * math/w_jnl.c: Likewise.
51193 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51194 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51195 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51196 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51197 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51199 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51200 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51202 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51203 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51204 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51205 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51206 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51208 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51212 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51213 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51214 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51219 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51220 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51221 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51222 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51223 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51224 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51225 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51226 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51227 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51228 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51229 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51231 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51232 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51233 * sysdeps/ieee754/k_standard.c: Likewise.
51234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51235 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51236 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51237 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51238 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51239 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51240 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51241 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51242 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51243 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51244 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51246 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51248 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51249 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51250 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51252 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51253 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51254 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51255 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51256 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51257 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51258 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51265 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51268 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51269 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51270 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51271 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51272 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51273 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51274 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51276 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51277 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51278 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51279 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51280 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51281 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51282 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51283 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51284 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51287 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51288 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51289 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51290 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51293 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51294 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51295 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51296 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51297 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51298 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51299 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51300 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51301 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51302 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51303 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51304 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51306 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51308 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51309 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51310 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51311 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51312 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51313 * sysdeps/ieee754/s_matherr.c: Likewise.
51314 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51315 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51319 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51321 * crypt/md5.h: Remove __STDC__ conditionals.
51322 * libio/libioP.h: Likewise.
51323 * locale/programs/config.h: Likewise.
51324 * sysdeps/generic/sysdep.h: Likewise.
51325 * sysdeps/i386/asm-syntax.h: Likewise.
51326 * sysdeps/s390/asm-syntax.h: Likewise.
51327 * sysdeps/unix/sysdep.h: Likewise.
51328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51331 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51333 * libio/libio.h: Remove __STDC__ conditionals.
51334 * malloc/obstack.h: Likewise.
51335 * math/complex.h: Likewise.
51336 * math/math.h: Likewise.
51337 * sysdeps/generic/_G_config.h: Likewise.
51338 * sysdeps/gnu/_G_config.h: Likewise.
51339 * sysdeps/mach/hurd/_G_config.h: Likewise.
51340 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51341 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51342 * sysdeps/sparc/bits/mathdef.h: Likewise.
51344 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51347 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51348 Clean up HAS_* macros.
51349 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51350 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51352 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51354 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51355 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51356 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51357 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51358 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51360 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51362 * elf/tst-unique3.cc (gets): Remove declaration.
51363 * elf/tst-unique3lib.cc (gets): Likewise.
51364 * elf/tst-unique3lib2.cc (gets): Likewise.
51365 * elf/tst-unique4.cc (gets): Likewise.
51367 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51369 * include/stdio.h: Add C++ protection. Add gets declarations and
51371 * debug/tst-chk1.c: Don't declare gets here.
51372 * stdio-common/tst-gets.c: Likewise.
51374 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51376 * posix/glob: Remove directory.
51378 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51380 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51382 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51384 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51385 of the non-standard EPFNOSUPPORT.
51387 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51389 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51390 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51391 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51393 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51395 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51397 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51399 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51401 * nscd/grpcache.c (cache_addgr): Likewise.
51402 * nscd/hstcache.c (cache_addhst): Likewise.
51403 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51404 * nscd/pwdcache.c (cache_addpw): Likewise.
51405 * nscd/servicescache.c (cache_addserv): Likewise.
51407 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51409 * malloc/malloc.c: Various cleanups.
51410 * malloc/hooks.c: Likewise.
51412 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51413 * stdlib/bug-fmtmsg1.c: New file.
51415 * stdlib/fmtmsg.c (init): Add missing unlock.
51416 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51418 2012-01-12 Marek Polacek <polacek@redhat.com>
51420 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51423 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51425 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51426 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51427 macro to ensure uniqueness of label name.
51428 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51429 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51431 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51433 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51435 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51436 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51440 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51442 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51444 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51445 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51446 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51448 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51450 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51451 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51452 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51455 * math/bits/math-finite.h: Add ldexp support.
51457 2012-01-10 Marek Polacek <polacek@redhat.com>
51459 * locale/programs/localedef.h (show_archive_content): Add noreturn
51462 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51464 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51466 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51468 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51470 * io/Makefile (headers): Add bits/poll2.h.
51472 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51475 typo #include statement.
51477 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51479 * include/sys/cdefs.h: Define __attribute_alloc_size.
51480 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51481 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51482 * elf/pldd.c: Likewise.
51483 * iconv/iconv_charmap.c: Likewise.
51484 * iconv/iconvconfig.c: Likewise.
51485 * iconv/strtab.c: Likewise.
51486 * locale/programs/locale.c: Likewise.
51487 * locale/programs/localedef.h: Likewise.
51488 * locale/programs/simple-hash.c: Likewise.
51489 * nscd/nscd.h: Likewise.
51490 * nss/makedb.c: Likewise.
51491 * sysdeps/generic/ldconfig.h: Likewise.
51492 * locale/programs/localedef.c: Remove xmalloc prototype.
51493 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51495 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51497 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51500 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51502 * math/Makefile (tests): Add tst-CMPLX.
51503 * math/tst-CMPLX.c: New file.
51505 * math/complex.h (CMPLXL): Fix typo.
51507 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51508 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51510 * debug/tst-chk1.c: Add poll and ppoll tests.
51511 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51512 * include/sys/poll.h: Add hidden proto for ppoll.
51513 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51514 * sysdeps/mach/hurd/ppoll.c: Likewise.
51515 * io/ppoll.c: Likewise.
51516 * debug/poll_chk.c: New file.
51517 * debug/ppoll_chk.c: New file.
51518 * include/bits/poll2.h: New file.
51519 * io/bits/poll2.h: New file.
51522 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51524 * configure.in: static is always set to yes. Remove.
51525 * config.make.in: Don't set build-static.
51526 * Makeconfig: Remove use of build-static.
51527 * dlfcn/Makefile: Likewise.
51528 * elf/Makefile: Likewise.
51529 * math/Makefile: Likewise.
51530 * misc/Makefile: Likewise.
51531 * nptl/Makefile: Likewise.
51532 * sysdeps/mach/hurd/Makefile: Likewise.
51534 * configure.in: PWD_P is not used anymore.
51535 * config.make.in: Remove PWD_P entry.
51537 * configure.in: Remove last remnants of RANLIB.
51538 No need to check for signed size_t anymore.
51539 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51541 Remove __builtin_expect test because we require at least gcc 3.4.
51542 * aclocal.m4: Likewise.
51544 * wcsmbs/mbrtoc16.c: Implement using towc function.
51545 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51546 * wcsmbs/wcsmbsload.c: Likewise.
51547 * iconv/gconv_simple.c: Likewise.
51548 * iconv/gconv_int.h: Likewise.
51549 * iconv/gconv_builtin.h: Likewise.
51550 * iconv/iconv_prog.c: Remove CHAR16 handling.
51552 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51554 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51556 * configure.in: Remove --with-elf and --enable-bounded options.
51557 Dont set base_machine for ia64. More non-ELF conditions removed.
51558 Remove testing and setting of leading underscore information.
51559 * config.make.in (build-bounded): Set to no.
51560 * config.h.in: Remove NO_UNDERSCORES entry.
51561 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51563 * csu/start.c: Remove !NO_UNDERSCORE code.
51564 * locale/localeinfo.h: Likewise.
51565 * sysdeps/generic/machine-gmon.h: Likewise.
51566 * sysdeps/generic/sysdep.h: Likewise.
51567 * sysdeps/i386/sysdep.h: Likewise.
51568 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51569 * sysdeps/mach/sysdep.h: Likewise.
51570 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51572 * sysdeps/sh/sysdep.h: Likewise.
51573 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51574 * sysdeps/unix/i386/sysdep.S: Likewise.
51575 * sysdeps/unix/sparc/start.c: Likewise.
51576 * sysdeps/unix/sparc/sysdep.S: Likewise.
51577 * sysdeps/unix/sparc/sysdep.h: Likewise.
51578 * sysdeps/unix/start.c: Likewise.
51579 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51580 * sysdeps/x86_64/sysdep.h: Likewise.
51582 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51585 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51587 * argp/argp-fmtstream.h: Use const instead __const.
51588 * argp/argp.h: Likewise.
51589 * assert/assert.h: Likewise.
51590 * bits/fenv.h: Likewise.
51591 * bits/sched.h: Likewise.
51592 * bits/sigset.h: Likewise.
51593 * bits/sigthread.h: Likewise.
51594 * catgets/nl_types.h: Likewise.
51595 * conform/data/pthread.h-data: Likewise.
51596 * crypt/crypt-private.h: Likewise.
51597 * crypt/crypt.h: Likewise.
51598 * crypt/crypt_util.c: Likewise.
51599 * ctype/ctype.h: Likewise.
51600 * debug/execinfo.h: Likewise.
51601 * debug/mbsnrtowcs_chk.c: Likewise.
51602 * debug/mbsrtowcs_chk.c: Likewise.
51603 * debug/wcsnrtombs_chk.c: Likewise.
51604 * debug/wcsrtombs_chk.c: Likewise.
51605 * debug/wcstombs_chk.c: Likewise.
51606 * dirent/dirent.h: Likewise.
51607 * dlfcn/dlfcn.h: Likewise.
51608 * elf/neededtest4.c: Likewise.
51609 * grp/grp.h: Likewise.
51610 * gshadow/gshadow.h: Likewise.
51611 * iconv/gconv.h: Likewise.
51612 * iconv/gconv_int.h: Likewise.
51613 * iconv/gconv_simple.c: Likewise.
51614 * iconv/iconv.h: Likewise.
51615 * iconv/loop.c: Likewise.
51616 * iconv/skeleton.c: Likewise.
51617 * include/aio.h: Likewise.
51618 * include/aliases.h: Likewise.
51619 * include/argz.h: Likewise.
51620 * include/arpa/inet.h: Likewise.
51621 * include/assert.h: Likewise.
51622 * include/dirent.h: Likewise.
51623 * include/dlfcn.h: Likewise.
51624 * include/execinfo.h: Likewise.
51625 * include/fcntl.h: Likewise.
51626 * include/fenv.h: Likewise.
51627 * include/glob.h: Likewise.
51628 * include/grp.h: Likewise.
51629 * include/libintl.h: Likewise.
51630 * include/mntent.h: Likewise.
51631 * include/netdb.h: Likewise.
51632 * include/pwd.h: Likewise.
51633 * include/rpc/netdb.h: Likewise.
51634 * include/sched.h: Likewise.
51635 * include/search.h: Likewise.
51636 * include/shadow.h: Likewise.
51637 * include/signal.h: Likewise.
51638 * include/stdio.h: Likewise.
51639 * include/stdlib.h: Likewise.
51640 * include/string.h: Likewise.
51641 * include/sys/socket.h: Likewise.
51642 * include/sys/stat.h: Likewise.
51643 * include/sys/statfs.h: Likewise.
51644 * include/sys/statvfs.h: Likewise.
51645 * include/sys/syslog.h: Likewise.
51646 * include/sys/time.h: Likewise.
51647 * include/sys/uio.h: Likewise.
51648 * include/time.h: Likewise.
51649 * include/unistd.h: Likewise.
51650 * include/utmp.h: Likewise.
51651 * include/wchar.h: Likewise.
51652 * include/wctype.h: Likewise.
51653 * inet/aliases.h: Likewise.
51654 * inet/arpa/inet.h: Likewise.
51655 * inet/netinet/ether.h: Likewise.
51656 * inet/netinet/in.h: Likewise.
51657 * intl/libintl.h: Likewise.
51658 * io/bits/fcntl2.h: Likewise.
51659 * io/fcntl.h: Likewise.
51660 * io/ftw.h: Likewise.
51661 * io/sys/poll.h: Likewise.
51662 * io/sys/stat.h: Likewise.
51663 * io/sys/statfs.h: Likewise.
51664 * io/sys/statvfs.h: Likewise.
51665 * io/utime.h: Likewise.
51666 * libio/bits/stdio.h: Likewise.
51667 * libio/bits/stdio2.h: Likewise.
51668 * libio/libio.h: Likewise.
51669 * libio/libioP.h: Likewise.
51670 * libio/stdio.h: Likewise.
51671 * locale/lc-ctype.c: Likewise.
51672 * locale/locale.h: Likewise.
51673 * login/utmp.h: Likewise.
51674 * malloc/arena.c: Likewise.
51675 * malloc/malloc.c: Likewise.
51676 * malloc/malloc.h: Likewise.
51677 * malloc/mcheck.c: Likewise.
51678 * malloc/mtrace.c: Likewise.
51679 * math/bits/mathcalls.h: Likewise.
51680 * math/fenv.h: Likewise.
51681 * math/math_private.h: Likewise.
51682 * misc/bits/error.h: Likewise.
51683 * misc/bits/syslog.h: Likewise.
51684 * misc/err.h: Likewise.
51685 * misc/error.h: Likewise.
51686 * misc/fstab.h: Likewise.
51687 * misc/mntent.h: Likewise.
51688 * misc/regexp.h: Likewise.
51689 * misc/search.h: Likewise.
51690 * misc/sgtty.h: Likewise.
51691 * misc/sys/mman.h: Likewise.
51692 * misc/sys/syslog.h: Likewise.
51693 * misc/sys/uio.h: Likewise.
51694 * misc/sys/xattr.h: Likewise.
51695 * misc/ttyent.h: Likewise.
51696 * nis/rpcsvc/ypclnt.h: Likewise.
51697 * nss/nss.h: Likewise.
51698 * posix/bits/unistd.h: Likewise.
51699 * posix/fnmatch.h: Likewise.
51700 * posix/glob.h: Likewise.
51701 * posix/sched.h: Likewise.
51702 * posix/spawn.h: Likewise.
51703 * posix/sys/wait.h: Likewise.
51704 * posix/unistd.h: Likewise.
51705 * posix/wordexp.h: Likewise.
51706 * pwd/pwd.h: Likewise.
51707 * resolv/netdb.h: Likewise.
51708 * resource/sys/resource.h: Likewise.
51709 * rt/aio.h: Likewise.
51710 * rt/bits/mqueue2.h: Likewise.
51711 * rt/mqueue.h: Likewise.
51712 * shadow/shadow.h: Likewise.
51713 * signal/signal.h: Likewise.
51714 * socket/send.c: Likewise.
51715 * socket/sendto.c: Likewise.
51716 * socket/sys/socket.h: Likewise.
51717 * stdio-common/printf.h: Likewise.
51718 * stdlib/bits/stdlib.h: Likewise.
51719 * stdlib/fmtmsg.h: Likewise.
51720 * stdlib/monetary.h: Likewise.
51721 * stdlib/stdlib.h: Likewise.
51722 * stdlib/ucontext.h: Likewise.
51723 * streams/stropts.h: Likewise.
51724 * string/argz.h: Likewise.
51725 * string/bits/string2.h: Likewise.
51726 * string/string.h: Likewise.
51727 * string/strings.h: Likewise.
51728 * sunrpc/rpc/auth.h: Likewise.
51729 * sunrpc/rpc/auth_des.h: Likewise.
51730 * sunrpc/rpc/clnt.h: Likewise.
51731 * sunrpc/rpc/netdb.h: Likewise.
51732 * sunrpc/rpc/pmap_clnt.h: Likewise.
51733 * sunrpc/rpc/xdr.h: Likewise.
51734 * sysdeps/generic/inttypes.h: Likewise.
51735 * sysdeps/generic/net/if.h: Likewise.
51736 * sysdeps/generic/sys/swap.h: Likewise.
51737 * sysdeps/gnu/net/if.h: Likewise.
51738 * sysdeps/gnu/utmpx.h: Likewise.
51739 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51740 * sysdeps/i386/i486/bits/string.h: Likewise.
51741 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51742 * sysdeps/s390/bits/string.h: Likewise.
51743 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51744 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51745 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51746 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51747 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51748 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51749 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51750 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51751 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51752 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51753 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51754 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51755 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51756 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51757 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51758 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51759 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51761 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51762 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51764 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51765 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51766 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51767 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51768 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51769 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51771 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51772 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51773 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51774 * sysvipc/sys/ipc.h: Likewise.
51775 * sysvipc/sys/msg.h: Likewise.
51776 * sysvipc/sys/sem.h: Likewise.
51777 * sysvipc/sys/shm.h: Likewise.
51778 * termios/termios.h: Likewise.
51779 * time/sys/time.h: Likewise.
51780 * time/time.h: Likewise.
51781 * wcsmbs/bits/wchar2.h: Likewise.
51782 * wcsmbs/uchar.h: Likewise.
51783 * wcsmbs/wchar.h: Likewise.
51784 * wctype/wctype.h: Likewise.
51787 * Makeconfig: Remove all but ELF support including AIX support.
51788 * Makerules: Likewise.
51789 * config.h.in: Likewise.
51790 * config.make.in: Likewise.
51791 * configure: Likewise.
51792 * configure.in: Likewise.
51793 * csu/Makefile: Likewise.
51794 * csu/version.c: Likewise.
51795 * debug/Makefile: Likewise.
51796 * dlfcn/Makefile: Likewise.
51797 * elf/Makefile: Likewise.
51798 * extra-lib.mk: Likewise.
51799 * iconv/Makefile: Likewise.
51800 * include/libc-symbols.h: Likewise.
51801 * include/shlib-compat.h: Likewise.
51802 * resolv/Makefile: Likewise.
51803 * resolv/res_libc.c: Likewise.
51804 * rt/Makefile: Likewise.
51805 * sysdeps/i386/asm-syntax.h: Likewise.
51806 * sysdeps/i386/sysdep.h: Likewise.
51807 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51808 * sysdeps/mach/sysdep.h: Likewise.
51809 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51810 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51811 * sysdeps/s390/asm-syntax.h: Likewise.
51812 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51813 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51814 * sysdeps/sh/sysdep.h: Likewise.
51815 * sysdeps/unix/sparc/sysdep.h: Likewise.
51816 * sysdeps/wordsize-32/divdi3.c: Likewise.
51817 * sysdeps/x86_64/sysdep.h: Likewise.
51819 * argp/Versions: Remove _argp_unlock_xxx.
51822 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51823 * abilist/libBrokenLocale.abilist: Likewise.
51824 * abilist/libanl.abilist: Likewise.
51825 * abilist/libc.abilist: Likewise.
51826 * abilist/libcrypt.abilist: Likewise.
51827 * abilist/libdl.abilist: Likewise.
51828 * abilist/libm.abilist: Likewise.
51829 * abilist/libnsl.abilist: Likewise.
51830 * abilist/libpthread.abilist: Likewise.
51831 * abilist/libresolv.abilist: Likewise.
51832 * abilist/librt.abilist: Likewise.
51833 * abilist/libthread_db.abilist: Likewise.
51834 * abilist/libutil.abilist: Likewise.
51835 * abilist/libnss_db.abilist: New file.
51837 * scripts/abilist.awk: Add support for indirect functions.
51839 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51841 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51843 * shlib-versions: Remove entries for ports architectures.
51845 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51847 * elf/stackguard-macros.h: Remove support for IA-64.
51848 * elf/tst-auditmod1.c: Likewise.
51849 * sysdeps/generic/ldsodefs.h: Likewise.
51851 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51852 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51856 * configure.in: Remove --enable-omitfp support.
51858 * config.make.in: Likewise.
51859 * Makeconfig: Likewise.
51860 * manual/install.texi: Likewise.
51862 In case anyone cares, the IA-64 architecture could move to ports.
51863 * sysdeps/ia64/*: Removed.
51864 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51865 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51868 * configure.in: Remove entries for unsupported architectures.
51871 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51872 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51874 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51875 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51876 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51877 fall back to using wcrtomb.
51878 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51879 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51881 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51882 * wcsmbs/tst-c16c32-1.c: New file.
51884 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51887 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51889 * elf/tst-unique3.cc: Add explicit declaration of gets.
51890 * elf/tst-unique3lib.cc: Likewise.
51891 * elf/tst-unique3lib2.cc: Likewise.
51892 * elf/tst-unique4.cc: Likewise.
51894 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51896 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51899 * assert/assert.h (static_assert): Don't define for C++.
51900 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51901 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51903 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51905 * iconv/loop.c (single loop): Fix assertion in storing of
51908 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51910 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51912 * posix/getconf.c: Update copyright year.
51913 * nss/getent.c: Likewise.
51914 * nss/makedb.c: Likewise.
51915 * iconv/iconvconfig.c: Likewise.
51916 * iconv/iconv_prog.c: Likewise.
51917 * elf/ldconfig.c: Likewise.
51918 * elf/pldd.c: Likewise.
51919 * elf/sotruss.ksh: Likewise.
51920 * catgets/gencat.c: Likewise.
51921 * csu/version.c: Likewise.
51922 * elf/ldd.bash.in: Likewise.
51923 * elf/sprof.c (print_version): Likewise.
51924 * locale/programs/locale.c: Likewise.
51925 * locale/programs/localedef.c: Likewise.
51926 * login/programs/pt_chown.c: Likewise.
51927 * nscd/nscd.c (print_version): Likewise.
51928 * debug/xtrace.sh: Likewise.
51929 * malloc/memusage.sh: Likewise.
51930 * malloc/mtrace.pl: Likewise.
51931 * debug/catchsegv.sh: Likewise.
51933 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51935 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51938 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51941 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51942 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51944 * iconv/gconv_int.h: Likewise.
51945 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51946 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51947 from libc for GLIBC_2.16.
51948 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51949 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51950 * wcsmbs/uchar.h: Really define mbstate_t.
51951 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51952 * wcsmbs/c16rtomb.c: New file.
51953 * wcsmbs/mbrtoc16.c: New file.
51954 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51955 for C/POSIX locale.
51956 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51957 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51959 * wcsmbs/wchar.h: Add missing __restrict.
51961 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51964 * time/Makefile (routines): Add timespec_get.
51965 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51966 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51967 timespec for ISO C11.
51968 * time/timespec_get.c: New file.
51969 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51970 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51973 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51974 * stdlib/stdlib.h: Declare aligned_alloc.
51975 * Versions.def: Add GLIBC_2.16 for libc.
51976 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51979 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51982 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51986 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51989 * assert/assert.h (static_assert): Define.
51991 * version.h: Update for 2.16 development version.
51994 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51997 * version.h (RELEASE): Bump for 2.15 release.
51998 * include/features.h (__GLIBC_MINOR__): Bump to 15.
52000 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52001 Patch by Marek Polacek <mpolacek@redhat.com>.
52003 * bits/byteswap.h: Protect long long constants with __extension__.
52004 * sysdeps/i386/bits/byteswap.h: Likewise.
52005 * sysdeps/ia64/bits/byteswap.h: Likewise.
52006 * sysdeps/s390/bits/byteswap.h: Likewise.
52007 * sysdeps/x86_64/bits/byteswap.h: Likewise.
52009 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52012 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52013 destination buffer.
52014 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52016 2011-12-23 Marek Polacek <polacek@redhat.com>
52018 * elf/dl-addr.c (determine_info): Add inline keyword.
52019 * elf/tst-auditmod4b.c (check_avx): Likewise.
52020 * elf/tst-auditmod6b.c (check_avx): Likewise.
52021 * elf/tst-auditmod6c.c (check_avx): Likewise.
52022 * elf/tst-auditmod7b.c (check_avx): Likewise.
52024 2011-12-23 Ulrich Drepper <drepper@gmail.com>
52026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52029 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52032 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52033 processing for last bytes.
52035 2011-08-06 Bruno Haible <bruno@clisp.org>
52038 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52039 U+0385, not to U+1FEE.
52042 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52043 entry for U+00A5 U+0301.
52045 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52048 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52049 buffer for the output is too small.
52051 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52055 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52056 SSE flags if possible.
52058 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52062 processing for last bytes.
52064 2011-12-22 Joseph Myers <joseph@codesourcery.com>
52066 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52067 (syscall-list-default-options, syscall-list-default-condition)
52068 (syscall-list-includes): Define.
52069 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52070 list of ABIs and options and #if conditions for each ABI. Do not
52071 handle common syscalls between ABIs specially.
52072 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52074 (syscall-list-variants, syscall-list-32bit-options)
52075 (syscall-list-32bit-condition, syscall-list-64bit-options)
52076 (syscall-list-64bit-condition): Define.
52077 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52078 (syscall-list-variants, syscall-list-32bit-options)
52079 (syscall-list-32bit-condition, syscall-list-64bit-options)
52080 (syscall-list-64bit-condition): Define.
52081 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52083 (syscall-list-variants, syscall-list-32bit-options)
52084 (syscall-list-32bit-condition, syscall-list-64bit-options)
52085 (syscall-list-64bit-condition): Define.
52086 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52088 (syscall-list-variants, syscall-list-32bit-options)
52089 (syscall-list-32bit-condition, syscall-list-64bit-options)
52090 (syscall-list-64bit-condition): Define.
52092 2011-12-22 Ulrich Drepper <drepper@gmail.com>
52094 * locale/iso-639.def: Add brx entry.
52097 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52098 Proposed by Mariusz_Cukr <marcukr@op.pl>.
52100 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52101 __feraiseexcept_renamed.
52103 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52106 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52107 EPOLLET with unsigned values.
52108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52109 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52111 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52112 to large cancellation.
52113 * math/s_cacoshf.c: Likewise.
52114 * math/s_cacoshl.c: Likewise.
52116 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
52120 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52121 * math/s_cacoshf.c: Likewise.
52122 * math/s_cacoshl.c: Likewise.
52124 2011-12-21 Ulrich Drepper <drepper@gmail.com>
52127 * iconv/gconv.h: Define __GCONV_SWAP.
52128 * iconvdata/unicode.c: The swap bit must be stored in __flags.
52129 * iconvdata/utf-16.c: Likewise.
52130 * iconvdata/utf-32.c: Likewise.
52132 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
52135 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52136 numerator after shifting it by one limb.
52138 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
52140 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52141 under [__USE_EXTERN_INLINES].
52143 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52146 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52148 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52150 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52151 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52153 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52155 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52156 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52157 for strncasecmp/strncasecmp_l compilation.
52158 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52159 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52161 2011-12-08 Marek Polacek <mpolacek@redhat.com>
52164 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52167 2011-12-17 Ulrich Drepper <drepper@gmail.com>
52170 * time/tzfile.c (__tzfile_read): Check values from file header.
52172 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52174 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52175 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52176 * powerpc/powerpc32/dl-start.S: Likewise.
52177 * powerpc/powerpc32/elf/start.S: Likewise.
52178 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52179 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52180 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52181 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52182 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52183 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52184 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52185 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52186 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52187 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52188 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52189 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52190 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52191 * powerpc/powerpc32/memset.S: Likewise.
52192 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52193 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52194 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52195 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52196 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52197 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52198 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52199 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52200 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52201 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52202 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52203 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52204 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52206 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52208 * math/libm-test.inc: Added more nearbyint tests.
52209 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52210 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52211 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52212 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52214 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52216 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52219 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52221 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52222 Add wcscpy-ssse3 wcscpy-c.
52223 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52224 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52225 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52226 * sysdeps/x86_64/wcschr.S: New file.
52227 * sysdeps/x86_64/wcsrchr.S: New file.
52228 * string/test-strcmp.c: Remove checking of wcscmp function for
52230 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52231 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52232 wcsrchr-sse2 wcsrchr-c.
52233 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52234 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52235 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52236 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52237 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52238 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52239 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52240 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52241 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52242 * wcsmbc/wcschr.c (WCSCHR): New macro.
52244 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52246 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52247 * wcsmbs/test-wcsrchr.c: New file.
52248 * string/test-strrchr.c: Add wcsrchr support.
52250 * wcsmbs/test-wcscpy.c: New file.
52251 * string/test-strcpy.c: Add wcscpy support.
52254 2011-12-10 Ulrich Drepper <drepper@gmail.com>
52256 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52259 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52262 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52264 2011-12-04 Ulrich Drepper <drepper@gmail.com>
52266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52267 Minor optimizations.
52269 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52270 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52271 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52273 2011-12-03 Ulrich Drepper <drepper@gmail.com>
52275 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52276 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52277 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52278 for gcc to avoid warnings.
52279 * inet/Makefile (tests): Add tst-checks.
52280 * inet/tst-checks.c: New file.
52282 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52285 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52288 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52289 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52291 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52293 2011-12-02 Ulrich Drepper <drepper@gmail.com>
52295 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52298 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52300 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52302 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52303 conditional on GCC version.
52304 (__arch_compare_and_exchange_val_8_acq)
52305 (__arch_compare_and_exchange_val_16_acq)
52306 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52307 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52308 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52310 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52312 * sysdeps/sh/backtrace.c: New file.
52314 2011-12-02 Andreas Schwab <schwab@redhat.com>
52316 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52319 2011-12-01 Andreas Schwab <schwab@redhat.com>
52321 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52322 falling back to utime.
52324 2011-11-30 Andreas Schwab <schwab@redhat.com>
52326 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52327 expectations for float.
52329 2011-11-29 Andreas Schwab <schwab@redhat.com>
52331 * locale/weight.h (findidx): Add parameter len.
52332 * locale/weightwc.h (findidx): Likewise.
52333 * posix/fnmatch_loop.c (FCT): Adjust caller.
52334 * posix/regcomp.c (build_equiv_class): Likewise.
52335 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52336 * posix/regexec.c (check_node_accept_bytes): Likewise.
52337 * string/strcoll_l.c (STRCOLL): Likewise.
52338 * string/strxfrm_l.c (STRXFRM): Likewise.
52340 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52342 * Makefile.in: Remove CVSOPT handling.
52343 * configure.in: Remove use of AC_REVISION.
52344 * iconvdata/Makefile (distribute): No need to filter out CVS.
52345 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52348 2011-11-16 Andreas Schwab <schwab@redhat.com>
52350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52351 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52352 [USE_AS_STRNCASECMP_L]: Likewise.
52353 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52354 NO_TLS_DIRECT_SEG_REFS.
52355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52356 Fix argument offsets for non-PIC.
52357 [USE_AS_STRNCASECMP_L]: Likewise.
52358 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52359 NO_TLS_DIRECT_SEG_REFS.
52361 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52363 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52365 * locale/loadlocale.c (_nl_load_locale): Likewise.
52367 2011-11-15 Andreas Schwab <schwab@redhat.com>
52369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52370 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52371 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52372 (SYSCALL_GETTIME): Set errno on error.
52374 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52375 count references to noai6ai_cached.
52377 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52379 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52381 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52382 FD_CLOEXEC for /proc/self/maps.
52384 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52385 FD_CLOEXEC for /proc/meminfo.
52387 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52390 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52391 FD_CLOEXEC for given file.
52393 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52395 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52396 FD_CLOEXEC for /etc/hosts.
52397 (_gethtent): Likewise.
52399 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52401 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52402 cancellation and set FD_CLOEXEC for /etc/netgroup.
52404 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52405 reading /etc/publickey.
52407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52408 allow cancellation when reading /etc/group.
52410 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52412 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52414 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52415 when using data file.
52417 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52419 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52420 (write_nis_obj): Use "c" and "e" in fopen.
52422 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52424 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52426 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52428 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52430 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52433 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52435 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52437 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52439 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52440 file parsing and set FD_CLOEXEC.
52442 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52444 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52446 2011-11-14 Andreas Schwab <schwab@redhat.com>
52448 * malloc/arena.c (arena_get2): Don't call reused_arena when
52449 _int_new_arena failed.
52451 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52453 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52454 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52459 to compile strcasecmp and strncasecmp.
52460 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52461 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52465 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52467 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52468 locale-defines.sym to gen-as-const-headers.
52469 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52470 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52472 to compile strcasecmp and strncasecmp.
52473 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52474 strcasecmp_l and strncasecmp_l.
52475 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52476 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52477 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52478 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52479 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52480 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52481 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52482 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52483 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52484 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52485 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52487 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52489 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52490 result of SYSDEP_GETTIME_CPU to retval.
52491 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52492 parameter list to macro. Remove trailing semicolon. Adjust users.
52494 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52497 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52499 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52501 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52502 from unused variable.
52504 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52506 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52509 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52512 * sunrpc/rpc_prot.c (rejected): Fix case value.
52514 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52515 unsigned long long int to avoid warnings in shift.
52517 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52519 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52522 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52523 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52524 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52526 * nis/nis_table.c (nis_list): Use variable of correct type for
52527 result of __follow_path call.
52529 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52531 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52532 of math functions ceil, trunc, floor, round, and sqrt, when
52533 avaliable on the platform.
52534 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52536 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52537 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52538 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52540 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52542 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52545 2011-11-11 Roland McGrath <roland@hack.frob.com>
52547 * include/unistd.h: Fix __readlink return type.
52548 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52550 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52552 * stdlib/ucontext.h: Undo last change for makecontext.
52554 2011-11-11 Andreas Schwab <schwab@redhat.com>
52556 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52558 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52559 * setjmp/setjmp.h: Mark functions as non-leaf.
52560 * setjmp/bits/setjmp2.h: Likewise.
52561 * stdlib/ucontext.h: Likewise.
52563 2011-11-10 Andreas Schwab <schwab@redhat.com>
52565 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52566 (reused_arena): Don't check arena limit.
52567 (arena_get2): Atomically check arena limit.
52569 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52571 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52572 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52577 2011-11-07 Andreas Schwab <schwab@redhat.com>
52579 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52580 handler when locking.
52582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52583 Fix size of allocated buffer.
52585 2011-11-04 Andreas Schwab <schwab@redhat.com>
52588 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52589 declarations for long double functions.
52590 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52592 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52594 2011-11-03 Andreas Schwab <schwab@redhat.com>
52596 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52599 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52602 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52604 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52606 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52608 * include/alloca.h (stackinfo_alloca_round): Define.
52609 (extend_alloca): Use it.
52610 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52611 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52614 * scripts/check-local-headers.sh: Ignore libaudit.h.
52616 * nscd/Makefile (extra-objs): Make recursively expanded.
52618 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52620 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52623 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52624 * posix/tst-rfc3484-2.c: Likewise.
52625 * posix/tst-rfc3484-3.c: Likewise.
52627 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52629 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52631 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52632 process_vm_writev from libc using GLIBC_2.15 version.
52634 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52636 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52638 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52641 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52644 * nss/getent.c (initgroups_keys): Show error message in case no group
52647 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52648 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52649 __bump_nl_timestamp.
52650 * nscd/connections (nscd_init): When host database is served open
52651 netlink socket and request notification about configuration changes.
52652 (main_loop_poll): Track netlink file descriptor and bump timestamp
52653 in case data becomes available.
52654 (main_loop_epoll): Likewise.
52655 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52656 (database_pers_head): Add extra_data fileds.
52657 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52658 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52659 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52662 in6ai data, call __free_in6ai.
52663 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52664 Add -DHAVE_NETLINK.
52665 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52666 interface information. Reuse previous data if netlink timestamp
52668 (__bump_nl_timestamp): New function.
52669 (__free_in6ai): New function.
52671 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52673 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52674 close_not_cancel_no_status here.
52675 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52677 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52680 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52683 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52684 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52685 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52687 2011-07-03 Andreas Jaeger <aj@suse.de>
52690 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52691 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52692 * math/libm-test.inc (sin_test): Add test case.
52694 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52697 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52698 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52700 * elf/chroot_canon.c (chroot_canon): Cleanups.
52702 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52705 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52706 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52708 * string/test-strchr.c: Make usable for strchrnul testing.
52709 * string/test-strchrnul.c: New file.
52710 * string/Makefile (strop-tests): Add strchrnul.
52712 * po/it.po: Update from translation team.
52713 * po/es.po: Likewise.
52715 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52718 the three constants needed as parameters. Drop the others.
52719 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52720 __m128i_strloadu_tolower.
52721 Create and initialize variable zero and use it in all the places
52722 where _mm_setzero_si128 was used.
52724 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52725 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52726 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52727 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52729 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52730 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52731 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52732 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52733 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52734 __mpranred, __mptan.
52735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52739 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52740 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52742 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52743 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52745 2011-10-28 Andreas Schwab <schwab@redhat.com>
52747 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52748 redefine if SHARED.
52749 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52752 wide char related routines to wcsmbs subdir.
52754 2011-10-27 Andreas Schwab <schwab@redhat.com>
52757 * misc/sys/cdefs.h (__THROWNL): Define.
52758 * posix/unistd.h: Use __THREADNL instead of __THREAD
52759 for memory synchronization functions.
52761 2011-10-26 Roland McGrath <roland@hack.frob.com>
52764 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52766 * manual/stdio.texi (Obstack Streams): Node removed.
52768 2011-10-26 Andreas Schwab <schwab@redhat.com>
52770 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52771 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52774 * math/math_private.h (math_force_eval): Allow non-addressable
52776 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52778 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52780 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52781 file is not needed.
52783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52784 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52790 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52792 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52793 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52794 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52795 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52797 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52798 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52799 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52800 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52801 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52802 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52803 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52805 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52806 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52807 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52808 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52809 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52810 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52812 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52813 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52815 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52816 place. Use VEX encoding when compiling for AVX.
52818 2011-10-25 Andreas Schwab <schwab@redhat.com>
52820 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52821 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52823 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52825 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52827 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52828 useless if() expression.
52829 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52830 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52831 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52834 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52835 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52837 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52840 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52841 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52842 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52843 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52847 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52849 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52851 2011-10-25 Andreas Schwab <schwab@redhat.com>
52853 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52855 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52857 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52859 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52860 .text section. Avoid duplicate constants.
52861 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52863 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52865 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52866 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52867 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52868 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52869 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52870 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52871 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52873 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52874 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52875 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52876 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52877 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52878 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52881 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52882 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52883 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52884 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52885 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52886 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52887 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52889 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52890 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52892 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52893 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52894 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52895 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52896 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52897 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52898 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52899 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52900 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52902 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52903 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52905 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52907 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52909 * sysdeps/x86_64/dla.h: Move to ...
52910 * sysdeps/x86_64/fpu/dla.h: ...here.
52911 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52912 situations. Use __builtin_fma only for gcc 4.6 and up.
52914 * config.make.in: Add have-mfma4 entry.
52915 * configure.in: Substitute libc_cv_cc_fma4.
52916 * math/Makefile (dbl-only-routines): Add sincostab.
52917 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52918 Use __sincostab not sincos.
52919 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52921 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52922 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52926 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52927 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52928 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52929 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52932 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52934 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52935 define aliases when function name is a macro.
52936 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52937 sysdeps/ieee754/dbl-64/sincos.tbl.
52938 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52939 fma4-enabled routines.
52940 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52941 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52942 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52943 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52944 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52945 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52949 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52950 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52951 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52952 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52953 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52954 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52955 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52956 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52957 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52958 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52959 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52960 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52961 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52962 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52963 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52965 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52966 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52967 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52968 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52969 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52971 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52975 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52977 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52979 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52982 2011-10-24 Andreas Schwab <schwab@redhat.com>
52984 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52988 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52990 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52992 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52994 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52995 Remove unused variable magic_bits.
52996 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52998 * string/strnlen.c: Define and use STRNLEN macro.
52999 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53000 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53002 * wcsmbs/wcslen.c: Define and use WCSLEN.
53003 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53004 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53005 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53006 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53007 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53008 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53009 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53011 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53014 strnlen-sse2-no-bsf.
53015 Rename strlen-no-bsf to strlen-sse2-no-bsf.
53016 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53017 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53018 Add strnlen support.
53019 (USE_AS_STRNLEN): New macro.
53020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53021 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53022 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53023 * sysdeps/x86_64/wcslen.S: New file.
53025 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
53027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53028 XMM-moves are used for copying on small sizes.
53030 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53032 * wcsmbs/Makefile (strop-tests): Add wcschr.
53033 * wcsmbs/test-wcschr.c: New file.
53034 * string/test-strchr.c: Update.
53035 Add wcschr support.
53038 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53040 * wcsmbs/Makefile (strop-tests): Add wcslen.
53041 * wcsmbs/test-wcslen.c: New file.
53042 * string/test-strlen.c: Update.
53043 Add wcslen support.
53046 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53048 * po/it.po: Update from translation team.
53050 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53052 * sysdeps/x86_64/wcscmp.S: Update.
53053 Fix wrong comparison semantics.
53054 wcscmp shall use signed comparison not unsigned.
53055 Don't use substraction to avoid overflow bug.
53056 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53057 * wcsmbc/wcscmp.c: Likewise.
53058 * string/test-strcmp.c: Likewise.
53059 Add new tests to check cases with negative values.
53061 2011-10-23 Ulrich Drepper <drepper@gmail.com>
53063 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53064 * sysdeps/x86_64/dla.h: ...here. New file.
53065 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53075 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
53077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53078 __ynl_finite aliases.
53080 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53084 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53086 [DLA_FMA] (EMULV): Use DLA_FMA.
53087 [DLA_FMA] (MUL12): Use EMULV.
53088 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53089 that are not needed.
53090 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53091 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53098 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
53100 * math/s_nan.c: Undef __nan.
53101 * math/s_nanf.c: Undef __nanf.
53102 * math/s_nanl.c: Undef __nanl.
53103 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53106 2011-10-22 Ulrich Drepper <drepper@gmail.com>
53108 * math/s_catan.c: Add branch predictions.
53109 * math/s_catanf.c: Likewise.
53110 * math/s_catanh.c: Likewise.
53111 * math/s_catanhf.c: Likewise.
53112 * math/s_catanhl.c: Likewise.
53113 * math/s_catanl.c: Likewise.
53114 * math/s_cexp.c: Likewise.
53115 * math/s_cexpf.c: Likewise.
53116 * math/s_cexpl.c: Likewise.
53117 * math/s_clog.c: Likewise.
53118 * math/s_clog10.c: Likewise.
53119 * math/s_clog10f.c: Likewise.
53120 * math/s_clog10l.c: Likewise.
53121 * math/s_clogf.c: Likewise.
53122 * math/s_clogl.c: Likewise.
53123 * math/s_csqrt.c: Likewise.
53124 * math/s_csqrtf.c: Likewise.
53125 * math/s_csqrtl.c: Likewise.
53126 * math/s_ctanf.c: Likewise.
53127 * math/s_ctanh.c: Likewise.
53128 * math/s_ctanhf.c: Likewise.
53129 * math/s_ctanhl.c: Likewise.
53130 * math/s_ctanl.c: Likewise.
53132 * math/math_private.h: Define __nan, __nanf, __nanl.
53133 * math/s_cacosh.c: Include <math_private.h>.
53134 * math/s_cacoshl.c: Likewise.
53135 * math/s_casinh.c: Likewise.
53136 * math/s_casinhf.c: Likewise.
53137 * math/s_casinhl.c: Likewise.
53138 * math/s_ccos.c: Rely entire on ccosh.
53139 * math/s_ccosf.c: Rely entire on ccoshf.
53140 * math/s_ccosl.c: Rely entirely on ccoshl.
53141 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
53142 Remove tests for FE_INVALID.
53143 * math/s_ccoshf.c: Likewise.
53144 * math/s_ccoshl.c: Likewise.
53145 * math/s_csin.c: Likewise.
53146 * math/s_csinf.c: Likewise.
53147 * math/s_csinh.c Likewise.
53148 * math/s_csinhf.c: Likewise.
53149 * math/s_csinhl.c: Likewise.
53150 * math/s_csinl.c: Likewise.
53151 * math/s_ctan.c: Likewise.
53152 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53153 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53156 2011-10-21 Ulrich Drepper <drepper@gmail.com>
53158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53159 compilation problems.
53161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53164 2011-10-20 Ulrich Drepper <drepper@gmail.com>
53166 * sysdeps/i386/configure.in: Test for -mfma4 option.
53167 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53168 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53169 COMMON_CPUID_INDEX_80000001.
53170 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53171 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53172 use it if FMA3 is not supported.
53173 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53175 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53176 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53178 2011-10-20 Andreas Schwab <schwab@redhat.com>
53181 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53182 it would create a cycle with a link time dependency.
53184 2011-10-19 Ulrich Drepper <drepper@gmail.com>
53186 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53188 * string/Makefile (strop-tests): Add rawmemchr.
53189 * string/test-rawmemchr.c: New file.
53191 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53192 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53193 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53194 when compiling str{,n}casecmp and when AVX is available. Hook up
53195 new optimized code in initializers.
53197 2011-10-19 Andreas Schwab <schwab@redhat.com>
53199 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53200 __feraiseexcept instead of feraiseexcept.
53202 2011-10-18 Ulrich Drepper <drepper@gmail.com>
53204 * math/math_private.h: Define defaults for libc_fetestexcept and
53206 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53207 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53208 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53209 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53210 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53211 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53212 libc_fetestexcept and libc_feupdateenv.
53214 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53215 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53216 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53217 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53218 libc_feholdexcept_setround.
53220 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53221 Add s_nearbyint-c and s_nearbyintf-c.
53222 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53223 nearbyintf inlines.
53224 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53225 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53226 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53227 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53229 * math/math_private.h: Define defaults for libc_fegetround,
53230 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53231 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53232 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53233 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53234 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53235 standard functions.
53236 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53237 Remove comments and hacks for old compiler versions.
53238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53239 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53240 libc_feholdexceptl.
53242 2011-10-18 Andreas Schwab <schwab@redhat.com>
53244 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53245 (__feraiseexcept_renamed): Add __NTH.
53246 (feraiseexcept): Add __NTH. Rename local variables to fix
53247 namespace violations.
53249 2011-10-17 Ulrich Drepper <drepper@gmail.com>
53251 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53253 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53255 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53256 recently added interfaces.
53257 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53259 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53260 about macro parameter expansion.
53262 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53263 __NO_MATH_INLINES is defined. Cleanups.
53265 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53266 and __floorf is target has SSE4.1.
53267 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53268 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53269 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53270 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53272 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53274 (floorf): Likewise.
53276 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53278 2011-10-17 Andreas Schwab <schwab@redhat.com>
53280 * misc/sys/cdefs.h: Fix last change.
53282 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53285 2011-10-16 Ulrich Drepper <drepper@gmail.com>
53287 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53289 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53291 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53292 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53293 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53295 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53296 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53297 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53298 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53299 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53300 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53301 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53302 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53303 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53304 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53305 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53306 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53307 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53308 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53309 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53310 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53312 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53313 ceil, ceilf, floor, floorf.
53315 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53316 Perform IRELATIVE relocations last.
53318 * elf/do-rel.h: Add another parameter nrelative, replacing the
53319 local variable with the same name. Change name of the function
53320 to end in Rel or Rela (uppercase).
53321 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53322 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53323 elf_dynamic_do_##reloc function.
53325 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53327 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53328 is sufficient, at least on modern CPUs.
53330 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53332 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53333 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53335 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53337 * math/bits/math-finite.h: Add entries for exp.
53338 * math/e_expl.c: Add __*_finite alias.
53339 * sysdeps/i386/fpu/e_exp.S: Likewise.
53340 * sysdeps/i386/fpu/e_expf.S: Likewise.
53341 * sysdeps/i386/fpu/e_expl.c: Likewise.
53342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53343 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53346 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53347 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53348 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53350 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53351 is sufficient, at least on modern CPUs.
53353 * ctype/ctype-info.c (__ctype_init): Define.
53354 * include/ctype.h (__ctype_init): Declare.
53355 (__ctype_b_loc): The variable is always initialized.
53356 (__ctype_toupper_loc): Likewise.
53357 (__ctype_tolower_loc): Likewise.
53358 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53359 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53361 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53363 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53365 * configure.in: Also look in $cxxmachine/include for C++ system
53368 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53370 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53371 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53372 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53373 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53374 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53375 (USE_AS_WMEMCMP): New macro.
53377 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53378 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53379 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53380 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53382 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53383 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53384 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53385 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53386 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53387 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53388 (USE_AS_WMEMCMP): New macro.
53389 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53390 * sysdeps/string/test-memcmp.c: Update.
53391 Fix simple_wmemcmp.
53393 * wcsmbs/wmemcmp.c: Update.
53394 (WMEMCMP): New macro.
53397 2011-10-12 Andreas Jaeger <aj@suse.de>
53400 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53402 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53404 * libio/iofwide.c (do_length): Avoid warning.
53406 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53408 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53410 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53412 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53413 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53414 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53415 * sysdeps/i386/i686/fpu/e_log.S: New file.
53416 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53417 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53419 * ctype/ctype.h: Add support for inlined isXXX functions when
53420 compiling C++ code.
53422 2011-10-14 Andreas Schwab <schwab@redhat.com>
53424 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53426 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53428 2011-10-13 Roland McGrath <roland@hack.frob.com>
53431 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53433 2011-10-13 Andreas Schwab <schwab@redhat.com>
53435 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53436 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53439 * sysdeps/x86_64/memrchr.S: Check for zero size.
53441 * string/stratcliff.c: Add memrchr tests.
53443 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53446 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53447 rawmemchr-sse2 rawmemchr-sse2-bsf.
53448 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53449 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53450 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53451 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53452 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53453 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53454 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53455 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53456 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53457 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53458 * string/memrchr.c (MEMRCHR): New macro.
53460 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53462 Add integration with gcc's -ffinite-math-only and optimize wrapper
53464 * Versions.def: Define GLIBC_2.15 version for libm.
53465 * math/Makefile (headers): Add bits/math-finite.h.
53466 * math/bits/math-finite.h: New file.
53467 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53468 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53469 * math/e_acoshl.c: Add __*_finite alias.
53470 * math/e_acosl.c: Likewise.
53471 * math/e_asinl.c: Likewise.
53472 * math/e_atan2l.c: Likewise.
53473 * math/e_atanhl.c: Likewise.
53474 * math/e_coshl.c: Likewise.
53475 * math/e_exp10.c: Likewise.
53476 * math/e_exp10f.c: Likewise.
53477 * math/e_exp10l.c: Likewise.
53478 * math/e_exp2l.c: Likewise.
53479 * math/e_fmodl.c: Likewise.
53480 * math/e_gammal_r.c: Likewise.
53481 * math/e_hypotl.c: Likewise.
53482 * math/e_j0l.c: Likewise.
53483 * math/e_j1l.c: Likewise.
53484 * math/e_jnl.c: Likewise.
53485 * math/e_lgammal_r.c: Likewise.
53486 * math/e_log10l.c: Likewise.
53487 * math/e_log2l.c: Likewise.
53488 * math/e_logl.c: Likewise.
53489 * math/e_powl.c: Likewise.
53490 * math/e_sinhl.c: Likewise.
53491 * math/e_sqrtl.c: Likewise.
53492 * math/e_scalb.c: Completely rewritten and optimized.
53493 * math/e_scalbf.c: Likewise.
53494 * math/e_scalbl.c: Likewise.
53495 * math/w_acos.c: Likewise.
53496 * math/w_acosf.c: Likewise.
53497 * math/w_acosl.c: Likewise.
53498 * math/w_acosh.c: Likewise.
53499 * math/w_acoshf.c: Likewise.
53500 * math/w_acoshl.c: Likewise.
53501 * math/w_asin.c: Likewise.
53502 * math/w_asinf.c: Likewise.
53503 * math/w_asinl.c: Likewise.
53504 * math/w_atan2.c: Likewise.
53505 * math/w_atan2f.c: Likewise.
53506 * math/w_atan2l.c: Likewise.
53507 * math/w_atanh.c: Likewise.
53508 * math/w_atanhf.c: Likewise.
53509 * math/w_atanhl.c: Likewise.
53510 * math/w_exp10.c: Likewise.
53511 * math/w_exp10f.c: Likewise.
53512 * math/w_exp10l.c: Likewise.
53513 * math/w_fmod.c: Likewise.
53514 * math/w_fmodf.c: Likewise.
53515 * math/w_fmodl.c: Likewise.
53516 * math/w_j0.c: Likewise.
53517 * math/w_j0f.c: Likewise.
53518 * math/w_j0l.c: Likewise.
53519 * math/w_j1.c: Likewise.
53520 * math/w_j1f.c: Likewise.
53521 * math/w_j1l.c: Likewise.
53522 * math/w_jn.c: Likewise.
53523 * math/w_jnf.c: Likewise.
53524 * math/w_log.c: Likewise.
53525 * math/w_logf.c: Likewise.
53526 * math/w_logl.c: Likewise.
53527 * math/w_log10.c: Likewise.
53528 * math/w_log10f.c: Likewise.
53529 * math/w_log10l.c: Likewise.
53530 * math/w_log2.c: Likewise.
53531 * math/w_log2f.c: Likewise.
53532 * math/w_log2l.c: Likewise.
53533 * math/w_pow.c: Likewise.
53534 * math/w_powf.c: Likewise.
53535 * math/w_powl.c: Likewise.
53536 * math/w_remainder.c: Likewise.
53537 * math/w_remainderf.c: Likewise.
53538 * math/w_remainderl.c: Likewise.
53539 * math/w_scalb.c: Likewise.
53540 * math/w_scalbf.c: Likewise.
53541 * math/w_scalbl.c: Likewise.
53542 * math/w_sqrt.c: Likewise.
53543 * math/w_sqrtf.c: Likewise.
53544 * math/w_sqrtl.c: Likewise.
53545 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53546 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53548 * math/math_private.h: Declare __kernel_standard_f.
53549 * math/w_cosh.c: Remove cruft and optimize a bit.
53550 * math/w_coshf.c: Likewise.
53551 * math/w_coshl.c: Likewise.
53552 * math/w_exp2.c: Likewise.
53553 * math/w_exp2f.c: Likewise.
53554 * math/w_exp2l.c: Likewise.
53555 * math/w_hypot.c: Likewise.
53556 * math/w_hypotf.c: Likewise.
53557 * math/w_hypotl.c: Likewise.
53558 * math/w_lgamma.c: Likewise.
53559 * math/w_lgamma_r.c: Likewise.
53560 * math/w_lgammaf.c: Likewise.
53561 * math/w_lgammaf_r.c: Likewise.
53562 * math/w_lgammal.c: Likewise.
53563 * math/w_lgammal_r.c: Likewise.
53564 * math/w_sinh.c: Likewise.
53565 * math/w_sinhf.c: Likewise.
53566 * math/w_sinhl.c: Likewise.
53567 * math/w_tgamma.c: Likewise.
53568 * math/w_tgammaf.c: Likewise.
53569 * math/w_tgammal.c: Likewise.
53570 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53571 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53572 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53573 Minor optimizations. Pretty printing. Remove cruft.
53574 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53575 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53576 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53578 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53579 * sysdeps/i386/fpu/e_asin.S: Likewise.
53580 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53581 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53582 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53583 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53585 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53587 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53588 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53589 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53590 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53591 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53592 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53593 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53594 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53595 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53596 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53597 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53598 * sysdeps/i386/fpu/e_log.S: Likewise.
53599 * sysdeps/i386/fpu/e_log10.S: Likewise.
53600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53601 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53602 * sysdeps/i386/fpu/e_log2.S: Likewise.
53603 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53604 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53605 * sysdeps/i386/fpu/e_logf.S: Likewise.
53606 * sysdeps/i386/fpu/e_logl.S: Likewise.
53607 * sysdeps/i386/fpu/e_pow.S: Likewise.
53608 * sysdeps/i386/fpu/e_powf.S: Likewise.
53609 * sysdeps/i386/fpu/e_powl.S: Likewise.
53610 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53611 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53612 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53613 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53616 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53617 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53618 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53619 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53622 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53623 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53624 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53625 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53626 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53627 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53628 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53629 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53630 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53631 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53636 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53637 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53639 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53640 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53641 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53642 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53643 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53644 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53645 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53646 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53647 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53657 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53658 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53659 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53660 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53661 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53662 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53663 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53664 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53665 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53666 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53667 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53678 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53679 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53680 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53684 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53685 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53686 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53689 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53690 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53693 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53702 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53703 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53704 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53705 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53706 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53707 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53708 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53709 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53710 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53711 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53712 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53713 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53714 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53715 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53716 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53717 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53718 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53719 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53720 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53721 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53722 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53724 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53727 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53729 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53730 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53731 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53732 (__isnanf): Likewise.
53733 (__isinf_ns): Likewise.
53734 (__isinf_nsf): Likewise.
53735 (__finite): Likewise.
53736 (__finitef): Likewise.
53737 (__ieee754_sqrt): Define as macro.
53738 (__ieee754_sqrtf): Define as macro.
53739 (__ieee754_sqrtl): Define as macro.
53740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53742 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53743 __FINITE_MATH_ONLY__ consistent.
53744 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53746 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53748 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53751 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53753 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53755 * po/ja.po: Update from translation team.
53757 2011-10-08 Roland McGrath <roland@hack.frob.com>
53759 * locale/programs/locarchive.c (prepare_address_space): New function.
53760 (create_archive, enlarge_archive, open_archive): Use it.
53762 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53763 inside [SHARED], where it is used.
53765 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53767 * nss/getent.c (netgroup_keys): Remove unused variable.
53768 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53770 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53772 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53773 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53775 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53776 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53777 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53778 * math/Makefile (libm-calls): Add s_isinf_ns.
53779 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53780 * math/multc3.c: Likewise.
53781 * math/s_casin.c: Likewise.
53782 * math/s_casinf.c: Likewise.
53783 * math/s_casinl.c: Likewise.
53784 * math/s_ccos.c: Likewise.
53785 * math/s_ccosf.c: Likewise.
53786 * math/s_ccosl.c: Likewise.
53787 * math/s_ctan.c: Likewise.
53788 * math/s_ctanf.c: Likewise.
53789 * math/s_ctanh.c: Likewise.
53790 * math/s_ctanhf.c: Likewise.
53791 * math/s_ctanhl.c: Likewise.
53792 * math/s_ctanl.c: Likewise.
53793 * math/w_fmod.c: Likewise.
53794 * math/w_fmodf.c: Likewise.
53795 * math/w_fmodl.c: Likewise.
53796 * math/w_remainder.c: Likewise.
53797 * math/w_remainderf.c: Likewise.
53798 * math/w_remainderl.c: Likewise.
53799 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53800 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53802 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53803 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53804 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53805 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53806 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53808 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53810 * stdio-common/printf_fphex.c: Likewise.
53811 * stdio-common/printf_size.c: Likewise.
53813 * math/e_exp10.c: Include math_private.h using <...> not "...".
53814 * math/e_exp10f.c: Likewise.
53815 * math/e_exp10l.c: Likewise.
53816 * math/e_exp2l.c: Likewise.
53817 * math/e_j0l.c: Likewise.
53818 * math/e_j1l.c: Likewise.
53819 * math/e_jnl.c: Likewise.
53820 * math/e_lgammal_r.c: Likewise.
53821 * math/e_rem_pio2l.c: Likewise.
53822 * math/e_scalb.c: Likewise.
53823 * math/e_scalbf.c: Likewise.
53824 * math/e_scalbl.c: Likewise.
53825 * math/k_cosl.c: Likewise.
53826 * math/k_sinl.c: Likewise.
53827 * math/k_tanl.c: Likewise.
53828 * math/s_cacoshf.c: Likewise.
53829 * math/s_catan.c: Likewise.
53830 * math/s_catanf.c: Likewise.
53831 * math/s_catanh.c: Likewise.
53832 * math/s_catanhf.c: Likewise.
53833 * math/s_catanhl.c: Likewise.
53834 * math/s_catanl.c: Likewise.
53835 * math/s_ccosh.c: Likewise.
53836 * math/s_ccoshf.c: Likewise.
53837 * math/s_ccoshl.c: Likewise.
53838 * math/s_cexp.c: Likewise.
53839 * math/s_cexpf.c: Likewise.
53840 * math/s_cexpl.c: Likewise.
53841 * math/s_clog.c: Likewise.
53842 * math/s_clog10.c: Likewise.
53843 * math/s_clog10f.c: Likewise.
53844 * math/s_clog10l.c: Likewise.
53845 * math/s_clogf.c: Likewise.
53846 * math/s_clogl.c: Likewise.
53847 * math/s_csin.c: Likewise.
53848 * math/s_csinf.c: Likewise.
53849 * math/s_csinh.c: Likewise.
53850 * math/s_csinhf.c: Likewise.
53851 * math/s_csinhl.c: Likewise.
53852 * math/s_csinl.c: Likewise.
53853 * math/s_csqrt.c: Likewise.
53854 * math/s_csqrtf.c: Likewise.
53855 * math/s_csqrtl.c: Likewise.
53856 * math/s_ctan.c: Likewise.
53857 * math/s_ctanf.c: Likewise.
53858 * math/s_ctanh.c: Likewise.
53859 * math/s_ctanhf.c: Likewise.
53860 * math/s_ctanhl.c: Likewise.
53861 * math/s_ctanl.c: Likewise.
53862 * math/s_ldexp.c: Likewise.
53863 * math/s_ldexpf.c: Likewise.
53864 * math/s_ldexpl.c: Likewise.
53865 * math/s_significand.c: Likewise.
53866 * math/s_significandf.c: Likewise.
53867 * math/s_significandl.c: Likewise.
53868 * math/w_acos.c: Likewise.
53869 * math/w_acosf.c: Likewise.
53870 * math/w_acosh.c: Likewise.
53871 * math/w_acoshf.c: Likewise.
53872 * math/w_acoshl.c: Likewise.
53873 * math/w_acosl.c: Likewise.
53874 * math/w_asin.c: Likewise.
53875 * math/w_asinf.c: Likewise.
53876 * math/w_asinl.c: Likewise.
53877 * math/w_atan2.c: Likewise.
53878 * math/w_atan2f.c: Likewise.
53879 * math/w_atan2l.c: Likewise.
53880 * math/w_atanh.c: Likewise.
53881 * math/w_atanhf.c: Likewise.
53882 * math/w_atanhl.c: Likewise.
53883 * math/w_cosh.c: Likewise.
53884 * math/w_coshf.c: Likewise.
53885 * math/w_coshl.c: Likewise.
53886 * math/w_dremf.c: Likewise.
53887 * math/w_exp10.c: Likewise.
53888 * math/w_exp10f.c: Likewise.
53889 * math/w_exp10l.c: Likewise.
53890 * math/w_exp2.c: Likewise.
53891 * math/w_exp2f.c: Likewise.
53892 * math/w_fmod.c: Likewise.
53893 * math/w_fmodf.c: Likewise.
53894 * math/w_fmodl.c: Likewise.
53895 * math/w_hypot.c: Likewise.
53896 * math/w_hypotf.c: Likewise.
53897 * math/w_hypotl.c: Likewise.
53898 * math/w_j0.c: Likewise.
53899 * math/w_j0f.c: Likewise.
53900 * math/w_j0l.c: Likewise.
53901 * math/w_j1.c: Likewise.
53902 * math/w_j1f.c: Likewise.
53903 * math/w_j1l.c: Likewise.
53904 * math/w_jn.c: Likewise.
53905 * math/w_jnf.c: Likewise.
53906 * math/w_jnl.c: Likewise.
53907 * math/w_lgamma.c: Likewise.
53908 * math/w_lgamma_r.c: Likewise.
53909 * math/w_lgammaf.c: Likewise.
53910 * math/w_lgammaf_r.c: Likewise.
53911 * math/w_lgammal.c: Likewise.
53912 * math/w_lgammal_r.c: Likewise.
53913 * math/w_log.c: Likewise.
53914 * math/w_log10.c: Likewise.
53915 * math/w_log10f.c: Likewise.
53916 * math/w_log10l.c: Likewise.
53917 * math/w_log2.c: Likewise.
53918 * math/w_log2f.c: Likewise.
53919 * math/w_log2l.c: Likewise.
53920 * math/w_logf.c: Likewise.
53921 * math/w_logl.c: Likewise.
53922 * math/w_pow.c: Likewise.
53923 * math/w_powf.c: Likewise.
53924 * math/w_powl.c: Likewise.
53925 * math/w_remainder.c: Likewise.
53926 * math/w_remainderf.c: Likewise.
53927 * math/w_remainderl.c: Likewise.
53928 * math/w_scalb.c: Likewise.
53929 * math/w_scalbf.c: Likewise.
53930 * math/w_scalbl.c: Likewise.
53931 * math/w_sinh.c: Likewise.
53932 * math/w_sinhf.c: Likewise.
53933 * math/w_sinhl.c: Likewise.
53934 * math/w_sqrt.c: Likewise.
53935 * math/w_sqrtf.c: Likewise.
53936 * math/w_sqrtl.c: Likewise.
53937 * math/w_tgamma.c: Likewise.
53938 * math/w_tgammaf.c: Likewise.
53939 * math/w_tgammal.c: Likewise.
53941 * po/ja.po: Update from translation team.
53943 2011-09-29 Andreas Jaeger <aj@suse.de>
53946 * sunrpc/netname.c (netname2host): Fix logic.
53950 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53952 * math/w_remainder.c (__remainder): Likewise.
53953 * math/w_remainderf.c (__remainderf): Likewise.
53954 * math/libm-test.inc (remainder_test): Add test cases.
53956 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53958 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53961 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53963 * string/test-memcmp.c: Avoid unncessary #defines.
53964 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53966 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53968 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53969 Use new sse2 version for core i3 - i7 as it's faster
53970 than sse42 version.
53971 (bit_Prefer_PMINUB_for_stringop): New.
53972 * sysdeps/x86_64/rawmemchr.S: Update.
53973 Replace with faster SSE2 version.
53974 * sysdeps/x86_64/memrchr.S: New file.
53975 * sysdeps/x86_64/memchr.S: Update.
53976 Replace with faster SSE2 version.
53978 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53980 * elf/dl-load.c (lose): Add cast to avoid warning.
53982 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53984 * po/ca.po: Update from translation team.
53986 * inet/getnetgrent_r.c: Hook up nscd.
53987 * nscd/Makefile (routines): Add nscd_netgroup.
53988 (nscd-modules): Add netgroupcache.
53989 (CFLAGS-netgroupcache.c): Define.
53990 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53991 (cache_search): Add const to second parameter.
53992 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53994 (dbs): Add netgrdb entry.
53995 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53996 (verify_persistent_db): Handle netgrdb.
53997 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53998 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54000 (netgroup_response_header): Define.
54001 (innetgroup_response_header): Define.
54002 (datahead): Add netgroup_response_header and innetgroup_response_header
54004 * nscd/nscd.conf: Add entries for netgroup cache.
54005 * nscd/nscd.h (dbtype): Add netgrdb.
54006 (_PATH_NSCD_NETGROUP_DB): Define.
54007 (netgroup_iov_disabled): Declare.
54008 (xmalloc, xcalloc, xrealloc): Move declarations here.
54009 (cache_search): Adjust prototype.
54010 Add netgroup-related prototypes.
54011 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54012 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54013 (__nscd_innetgr): Declare.
54014 * nscd/selinux.c (perms): Use access_vector_t as element type and
54015 add netgroup-related initializers.
54016 * nscd/netgroupcache.c: New file.
54017 * nscd/nscd_netgroup.c: New file.
54018 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54019 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54020 For four parameters use innetgr.
54021 * nss/nss_files/files-init.c: Add definition and callback for netgr.
54022 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54023 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54024 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54026 * nscd/connections.c (register_traced_file): Don't register file
54027 for disabled databases.
54029 2011-10-06 Ulrich Drepper <drepper@gmail.com>
54031 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54033 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54034 from tree and freeing node.
54036 2011-09-25 Jiri Olsa <jolsa@redhat.com>
54038 * nss/nsswitch.c (__nss_database_lookup): Handle
54039 nss_parse_service_list out of memory case.
54041 2011-09-15 Jiri Olsa <jolsa@redhat.com>
54043 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54044 out of memory case.
54046 2011-10-04 Andreas Schwab <schwab@redhat.com>
54048 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54049 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54051 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54052 elf_machine_rela, elf_machine_lazy_rel.
54053 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54054 (ELF_DYNAMIC_DO_REL): Likewise.
54055 (ELF_DYNAMIC_DO_RELA): Likewise.
54056 (ELF_DYNAMIC_RELOCATE): Likewise.
54057 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54058 to ELF_DYNAMIC_DO_REL.
54059 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54060 (dl_main): In trace mode always set __RTLD_NOIFUNC.
54061 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54063 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54064 skip_ifunc, don't call ifunc function if non-zero.
54065 (elf_machine_rela): Likewise.
54066 (elf_machine_lazy_rel): Likewise.
54067 (elf_machine_lazy_rela): Likewise.
54068 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54069 (elf_machine_lazy_rel): Likewise.
54070 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54072 (elf_machine_lazy_rel): Likewise.
54073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54075 (elf_machine_lazy_rel): Likewise.
54076 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54077 (elf_machine_lazy_rel): Likewise.
54078 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54079 (elf_machine_lazy_rel): Likewise.
54080 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54081 (elf_machine_lazy_rel): Likewise.
54082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54083 (elf_machine_lazy_rel): Likewise.
54084 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54085 (elf_machine_lazy_rel): Likewise.
54086 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54087 (elf_machine_lazy_rel): Likewise.
54089 2011-09-28 Ulrich Drepper <drepper@gmail.com>
54091 * nss/nss_files/files-init.c (_nss_files_init): Use static
54092 initialization for all the *_traced_file variables.
54094 2011-09-28 Andreas Schwab <schwab@redhat.com>
54096 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54098 2011-09-27 Roland McGrath <roland@hack.frob.com>
54101 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54103 2011-09-27 Andreas Schwab <schwab@redhat.com>
54105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54106 Reread the line before reparsing it.
54108 2011-09-26 Andreas Schwab <schwab@redhat.com>
54110 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54112 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
54113 Maxim Kuvyrkov <maxim@codesourcery.com>
54114 Joseph Myers <joseph@codesourcery.com>
54116 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54117 if needed for __stack_chk_guard.
54119 2011-09-19 Roland McGrath <roland@hack.frob.com>
54121 * sysdeps/posix/spawni.c (script_execute): Always define it.
54122 It will be optimized away if unused.
54123 (maybe_script_execute): New function.
54124 (__spawni): Call it.
54126 * Makerules: Don't include tls.make.
54127 (config-tls): Always set to thread.
54128 * tls.make.c: File removed.
54130 2011-09-19 Mike Frysinger <vapier@gentoo.org>
54132 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54133 * config.make.in (CPPFLAGS-config): New substituted variable.
54135 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54140 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54141 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54143 2011-09-15 Roland McGrath <roland@hack.frob.com>
54145 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54146 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54148 (CALL_FAIL): Likewise.
54149 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54150 (CALL_FAIL): Macro removed.
54151 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54153 2011-09-15 Ulrich Drepper <drepper@gmail.com>
54155 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54156 for __FINITE_MATH_ONLY__ == 1.
54158 2011-09-15 Andreas Schwab <schwab@redhat.com>
54160 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54161 __ieee754_sqrt instead of sqrt.
54162 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54163 __ieee754_sqrtf instead of sqrtf.
54164 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54165 __floorf instead of floorf.
54166 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54167 __floorf, __truncf instead of floorf, truncf.
54169 2011-09-14 Ulrich Drepper <drepper@gmail.com>
54171 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54173 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54174 __extern_always_inline.
54175 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54178 2011-09-14 Andreas Schwab <schwab@redhat.com>
54180 * elf/rtld.c (dl_main): Also relocate in dependency order when
54181 doing symbol dependency testing.
54183 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54186 Always define `refsym'.
54188 2011-09-13 Andreas Schwab <schwab@redhat.com>
54190 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54191 (__FD_ELT): Renamed from __FDELT.
54192 * misc/bits/select2.h (__FD_ELT): Likewise.
54193 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54194 __FD_MASK instead of __FDELT, __FDMASK.
54195 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54197 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54200 * elf/Makefile (gen-ldd): Fix pattern.
54202 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54203 (init_tls): Likewise.
54205 2011-09-12 Ulrich Drepper <drepper@gmail.com>
54207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54209 2011-09-12 Andreas Schwab <schwab@redhat.com>
54211 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54212 `struct cmsghdr *' instead of `void *'.
54213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54216 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54218 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54220 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54221 ldd_rewrite_script.
54223 2011-09-11 Ulrich Drepper <drepper@gmail.com>
54225 * configure.in: Remove --with-tls option.
54226 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54227 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54228 out in case it is missing.
54229 * sysdeps/ia64/elf/configure.in: Likewise.
54230 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54231 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54232 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54233 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54234 * sysdeps/sh/elf/configure.in: Likewise.
54235 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54236 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54237 * sysdeps/x86_64/elf/configure.in: Likewise.
54238 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54239 * sysdeps/mach/hurd/tls.h: Likewise.
54242 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54245 * configure.in: Fix use of AC_INIT.
54247 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54249 2011-09-10 Ulrich Drepper <drepper@gmail.com>
54251 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54253 * malloc/hooks.c: Likewise.
54256 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54257 variables statically.
54258 (narenas): Initialize.
54259 (list_lock): Initialize.
54260 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54261 initializtion of main_arena and list_lock. Small cleanups.
54262 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54263 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54264 Add initializers to main_arena and mp_.
54265 (malloc_state): Remove pagesize member. Change all users to use
54268 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54269 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54270 is always initialized.
54272 * malloc/malloc.c: Removed unused configurations and dead code.
54273 * malloc/arena.c: Likewise.
54274 * malloc/hooks.c: Likewise.
54275 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54277 * include/tls.h: Removed. USE___THREAD must always be defined.
54278 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54279 * elf/dl-libc.c: Likewise.
54280 * elf/dl-tsd.c: Likewise.
54281 * include/errno.h: Likewise.
54282 * include/netdb.h: Likewise.
54283 * include/resolv.h: Likewise.
54284 * inet/herrno-loc.c: Likewise.
54285 * inet/herrno.c: Likewise.
54286 * malloc/arena.c: Likewise.
54287 * malloc/hooks.c: Likewise.
54288 * malloc/malloc.c: Likewise.
54289 * resolv/res-state.c: Likewise.
54290 * resolv/res_libc.c: Likewise.
54291 * sysdeps/i386/dl-machine.h: Likewise.
54292 * sysdeps/ia64/dl-machine.h: Likewise.
54293 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54294 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54295 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54296 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54297 * sysdeps/sh/dl-machine.h: Likewise.
54298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54300 * sysdeps/unix/i386/sysdep.S: Likewise.
54301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54302 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54303 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54304 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54305 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54306 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54307 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54308 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54310 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54311 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54312 * sysdeps/x86_64/dl-machine.h: Likewise.
54313 * tls.make.c: Likewise.
54315 * configure.in: Remove --with-__thread option. Make tests for
54316 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54317 tls_model attribute fail if no support is available. Remove
54319 * Makeconfig: Adjust for dropped configure option. All features are
54321 * Makerules: Likewise.
54322 * Versions.def: Likewise.
54323 * argp/argp-fmtstream.c: Likewise.
54324 * argp/argp-fmtstream.h: Likewise.
54325 * argp/argp-help.c: Likewise.
54326 * assert/assert.c: Likewise.
54327 * config.h.in: Likewise.
54328 * config.make.in: Likewise.
54329 * configure: Likewise.
54330 * configure.in: Likewise.
54331 * csu/Versions: Likewise.
54332 * csu/init.c: Likewise.
54333 * elf/tst-audit2.c: Likewise.
54334 * elf/tst-tls10.c: Likewise.
54335 * elf/tst-tls10.h: Likewise.
54336 * elf/tst-tls11.c: Likewise.
54337 * elf/tst-tls12.c: Likewise.
54338 * elf/tst-tls14.c: Likewise.
54339 * elf/tst-tlsmod11.c: Likewise.
54340 * elf/tst-tlsmod12.c: Likewise.
54341 * elf/tst-tlsmod13.c: Likewise.
54342 * elf/tst-tlsmod13a.c: Likewise.
54343 * elf/tst-tlsmod14a.c: Likewise.
54344 * elf/tst-tlsmod15b.c: Likewise.
54345 * elf/tst-tlsmod16a.c: Likewise.
54346 * elf/tst-tlsmod16b.c: Likewise.
54347 * elf/tst-tlsmod7.c: Likewise.
54348 * elf/tst-tlsmod8.c: Likewise.
54349 * elf/tst-tlsmod9.c: Likewise.
54350 * gmon/gmon.c: Likewise.
54351 * grp/fgetgrent_r.c: Likewise.
54352 * grp/putgrent.c: Likewise.
54353 * hurd/fopenport.c: Likewise.
54354 * include/libc-symbols.h: Likewise.
54355 * include/tls.h: Likewise.
54356 * intl/gettextP.h: Likewise.
54357 * intl/loadinfo.h: Likewise.
54358 * locale/global-locale.c: Likewise.
54359 * locale/localeinfo.h: Likewise.
54360 * mach/devstream.c: Likewise.
54361 * malloc/arena.c: Likewise.
54362 * malloc/set-freeres.c: Likewise.
54363 * misc/err.c: Likewise.
54364 * misc/getttyent.c: Likewise.
54365 * misc/mntent_r.c: Likewise.
54366 * posix/getopt.c: Likewise.
54367 * posix/wordexp.c: Likewise.
54368 * pwd/fgetpwent_r.c: Likewise.
54369 * resolv/Versions: Likewise.
54370 * resolv/res_hconf.c: Likewise.
54371 * shadow/fgetspent_r.c: Likewise.
54372 * shadow/putspent.c: Likewise.
54373 * stdio-common/printf_fphex.c: Likewise.
54374 * stdio-common/tmpfile.c: Likewise.
54375 * stdlib/abort.c: Likewise.
54376 * stdlib/fmtmsg.c: Likewise.
54377 * sunrpc/auth_unix.c: Likewise.
54378 * sunrpc/clnt_perr.c: Likewise.
54379 * sunrpc/clnt_tcp.c: Likewise.
54380 * sunrpc/clnt_udp.c: Likewise.
54381 * sunrpc/clnt_unix.c: Likewise.
54382 * sunrpc/openchild.c: Likewise.
54383 * sunrpc/svc_simple.c: Likewise.
54384 * sunrpc/svc_tcp.c: Likewise.
54385 * sunrpc/svc_udp.c: Likewise.
54386 * sunrpc/svc_unix.c: Likewise.
54387 * sunrpc/xdr.c: Likewise.
54388 * sunrpc/xdr_array.c: Likewise.
54389 * sunrpc/xdr_rec.c: Likewise.
54390 * sunrpc/xdr_ref.c: Likewise.
54391 * sunrpc/xdr_stdio.c: Likewise.
54393 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54395 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54397 2011-07-03 Andreas Jaeger <aj@suse.de>
54399 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54400 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54401 regenerate with gen-libm-tests.pl.
54403 2010-05-12 Petr Baudis <pasky@suse.cz>
54406 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54407 around j0() zero points by switching to j1().
54408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54411 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54413 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54415 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54417 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54419 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54420 Patch in part by Pavel Roskin <proski@gnu.org>.
54423 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54425 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54426 Free memory block if necessary.
54429 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54430 be NULL. Don't lock in this case.
54432 2011-09-09 Roland McGrath <roland@hack.frob.com>
54434 * elf/elf.h (ELFOSABI_GNU): New macro.
54435 (ELFOSABI_LINUX): Define to that.
54437 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54439 * string/strncat.c (strncat): Undef the symbol in case it has been
54440 defined in bits/string.h.
54442 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54444 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54446 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54449 2011-08-17 Andreas Jaeger <aj@suse.de>
54451 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54453 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54454 Ian Lance Taylor <iant@google.com>
54456 * math/libm-test.inc (lround_test): New testcase.
54457 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54459 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54461 * Makefile: Remove support for automatic cvs check-ins.
54462 * Makerules: Likewise.
54463 * config.make.in: Likewise.
54464 * configure.in: Likewise.
54465 * intl/Makefile: Likewise.
54466 * locale/Makefile: Likewise.
54467 * po/Makefile: Likewise.
54468 * posix/Makefile: Likewise.
54469 * sysdeps/gnu/Makefile: Likewise.
54470 * sysdeps/mach/hurd/Makefile: Likewise.
54471 * sysdeps/sparc/sparc32/Makefile: Likewise.
54474 * posix/Makefile (bug-regex32-ENV): Define.
54475 Patch by John Stanley <jpsinthemix@verizon.net>.
54477 * misc/Makefile (headers): Add bits/select2.h.
54478 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54479 * misc/bits/select2.h: New file.
54480 * include/bits/select2.h: New file.
54481 * debug/Makefile (routines): Add fdelt_chk.
54482 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54483 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54485 * debug/fdelt_chk.c: New file.
54487 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54488 * wcsmbs/test-wmemcmp.c: Likewise.
54489 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54490 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54492 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54494 * string/Makefile (strop-tests): Add memcmp.
54495 * string/test-wmemcmp.c: New file.
54496 * string/test-memcmp.c: Add wmemcmp support.
54498 2011-09-08 Roland McGrath <roland@hack.frob.com>
54501 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54504 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54505 garbage value in a __mach_port_mod_refs call in the cases of the
54506 task-self and thread-self ports.
54508 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54510 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54512 2011-09-08 Andreas Schwab <schwab@redhat.com>
54514 * elf/dl-load.c (lose): Check for non-null L.
54516 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54518 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54520 * elf/dl-libc.c (dlerror_run): Pass back error code from
54524 * elf/dl-load.c (lose): Free l_origin if it is valid.
54526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54528 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54529 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54530 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54531 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54532 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54533 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54535 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54537 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54538 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54539 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54540 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54541 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54542 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54543 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54544 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54545 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54546 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54548 2011-08-15 Alan Modra <amodra@gmail.com>
54551 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54552 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54553 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54554 ppc_mcount to static-only-routines.
54555 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54557 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54558 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54560 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54562 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54563 for finite and infinity parameters.
54565 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54567 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54568 and add nop instructions for throughput optimization.
54569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54571 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54573 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54574 aligned copy for power7 with vector-scalar instructions.
54575 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54577 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54582 2011-09-07 Andreas Schwab <schwab@redhat.com>
54585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54588 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54590 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54591 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54592 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54593 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54596 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54598 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54599 Forgot to demangle the pointer.
54601 * sysdeps/i386/sysdep.h: Define atom_text_section.
54602 * sysdeps/x86_64/sysdep.h: Likewise.
54603 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54604 section with atom_text_section.
54605 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54606 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54608 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54609 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54611 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54612 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54613 already be defined. Change to take two parameters and don't assign
54614 result to variable. Adjust all users.
54615 Define INTERNAL_GETTIME if not already defined.
54616 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54619 HAVE_CLOCK_GETTIME_VSYSCALL.
54620 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54622 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54623 gettimeofday vsyscall, just use time.
54625 2011-09-06 Andreas Schwab <schwab@redhat.com>
54627 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54630 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54632 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54636 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54637 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54638 syscall if possible.
54640 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54642 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54643 e_ident. Don't pass to find_mapsXX.
54644 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54646 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54649 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54650 * sysdeps/x86_64/multiarch/strchr.S: Update.
54651 Check bit_slow_BSF bit.
54652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54653 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54654 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54656 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54659 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54661 (tryshell): Define.
54662 (__spawni): Change last parameter to be flag. Test
54663 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54664 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54665 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54666 * posix/spawni.c: Likewise.
54667 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54668 * posix/spawnp.c: Likewise. Change normal version to use
54669 SPAWN_XFLAGS_USE_PATH.
54670 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54671 SPAWN_XFLAGS_TRY_SHELL.
54674 * posix/glob.h: Remove gcc 1.x support.
54677 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54679 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54681 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54682 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54684 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54685 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54686 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54688 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54689 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54691 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54693 * sysdeps/x86_64/wcscmp.S: New file.
54695 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54696 wcscmp-c wcscmp-sse2
54697 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54698 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54699 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54700 * wcsmbs/wcscmp.c: Allow renaming.
54702 2011-09-05 David S. Miller <davem@davemloft.net>
54704 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54705 stack slot, rather than the struct return pointer slot.
54706 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54707 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54709 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54711 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54713 * po/ja.po: Update from translation team.
54716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54717 kernel in 64-bit binaries.
54719 2011-09-01 David S. Miller <davem@davemloft.net>
54721 * elf/elf.h (HWCAP_SPARC_*): Move to..
54722 * sysdeps/sparc/sysdep.h: this new file and add new values.
54723 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54724 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54725 _DL_HWCAP_COUNT to 24.
54726 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54728 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54729 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54730 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54732 instead of magic constants.
54733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54735 2011-08-31 David S. Miller <davem@davemloft.net>
54737 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54739 Reimplement to do errno handling inline.
54740 (SYSCALL_ERROR_HANDLER): New macro.
54741 (__SYSCALL_STRING): Do not do errno handling in asm.
54742 (__CLONE_SYSCALL_STRING): Delete.
54743 (__INTERNAL_SYSCALL_STRING): Delete.
54744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54745 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54746 (PSEUDO): Reimplement to do errno handling inline.
54747 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54748 (SYSCALL_ERROR_HANDLER): New macro.
54749 (__SYSCALL_STRING): Do not do errno handling in asm.
54750 (__CLONE_SYSCALL_STRING): Delete.
54751 (__INTERNAL_SYSCALL_STRING): Delete.
54752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54753 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54755 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54756 (inline_syscall*): Add 'err' argument.
54757 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54758 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54759 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54760 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54762 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54763 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54765 2011-08-30 Andreas Schwab <schwab@redhat.com>
54767 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54769 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54771 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54774 2011-08-24 David S. Miller <davem@davemloft.net>
54776 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54778 2011-08-24 Andreas Schwab <schwab@redhat.com>
54780 * elf/Makefile: Add rules to build and run unload8 test.
54781 * elf/unload8.c: New file.
54782 * elf/unload8mod1.c: New file.
54783 * elf/unload8mod1x.c: New file.
54784 * elf/unload8mod2.c: New file.
54785 * elf/unload8mod3.c: New file.
54787 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54790 2011-08-23 David S. Miller <davem@davemloft.net>
54792 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54793 subtract stack bias.
54794 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54795 %sp not %fp in calculations.
54796 (_JMPBUF_UNWINDS_ADJ): Likewise.
54798 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54799 (aio_suspend): Call it to force an exception region around the
54800 AIO_MISC_WAIT() invocation.
54802 2011-08-23 Andreas Schwab <schwab@redhat.com>
54804 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54807 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54809 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54811 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54812 and <dl-machine.h>.
54813 (Elf64_FuncDesc): Remove.
54815 2011-08-22 David S. Miller <davem@davemloft.net>
54817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54818 sigaltstack check, add missing cfi directives.
54819 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54820 missing cfi directives, and sigaltstack handling.
54822 2011-08-16 Andreas Schwab <schwab@redhat.com>
54825 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54826 object is seen twice.
54827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54829 * elf/Makefile (distribute): Add tst-initorder2.c.
54830 (tests): Add tst-initorder2.
54831 (modules-names): Add tst-initorder2a tst-initorder2b
54832 tst-initorder2c tst-initorder2d. Add rules to build them.
54833 ($(objpfx)tst-initorder2.out): New rule.
54834 * elf/tst-initorder2.c: New file.
54835 * elf/tst-initorder2.exp: New file.
54837 2011-08-22 Andreas Schwab <schwab@redhat.com>
54839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54841 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54842 dependencies back to end of function.
54844 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54845 $(elfobjdir)/ld.so.
54847 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54849 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54850 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54851 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54852 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54853 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54854 of __vdso_gettimeofday.
54855 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54856 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54858 (_libc_vdso_platform_setup): Remove initialization of
54859 __vdso_gettimeofday and __vdso_time.
54861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54863 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54864 and fgetc_unlocked.
54865 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54868 * elf/dl-open.c (add_to_global): Report additions to the global scope
54869 for LD_DEBUG=scopes.
54870 (dl_open_worker): Also print scope of newly loaded dependencies.
54871 (_dl_show_scope): Indicate if there is no scope.
54874 * stdio-common/Makefile (tests): Add bug24.
54875 * stdio-common/bug24.c: New file.
54877 2011-08-19 Andreas Jaeger <aj@suse.de>
54880 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54881 non-existant file when using close-on-exec mode.
54883 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54886 the very first instruction.
54888 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54889 the CFI state in the end.
54890 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54891 inclusion of dl-trampoline.h.
54892 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54894 2011-08-19 Andreas Schwab <schwab@redhat.com>
54896 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54897 expectations for long double.
54899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54900 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54902 2011-08-14 David S. Miller <davem@davemloft.net>
54904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54905 artificual limit depends upon the system page size.
54907 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54909 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54910 * resolv/Makefile: Define CFLAGS-libresolv.
54912 2011-08-17 Andreas Schwab <schwab@redhat.com>
54914 * nss/makedb.c (compute_tables): Make variables used in nested
54917 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54919 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54920 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54921 if buffer was too small.
54923 * elf/pldd.c (main): Attach to all threads in the process.
54924 Rewrite /proc handling to use *at functions.
54926 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54928 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54929 specifies first scope to show.
54930 (dl_open_worker): Update callers. Move printing scope of new
54931 object to before the relocation.
54932 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54933 * sysdeps/generic/ldsodefs.h: Update declaration.
54935 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54936 string for the scope number.
54938 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54940 * nscd/servicescache.c (cache_addserv): Make sure written is always
54943 2011-08-14 Roland McGrath <roland@hack.frob.com>
54945 * sysdeps/i386/i486/bits/atomic.h
54946 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54947 statement expression, so as to suppress "set but not used" warning.
54948 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54950 * string/strncat.c (STRNCAT): Use prototype definition.
54952 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54953 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54955 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54956 (localedef-modules): Add localedef.
54957 (locale-modules): Add locale.
54959 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54960 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54961 to avoid a warning.
54963 2011-08-14 David S. Miller <davem@davemloft.net>
54965 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54966 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54968 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54970 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54971 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54972 * elf/rtld.c (dl_main): Set l_name of vDSO.
54973 Call _dl_show_scope when DL_DEBUG_SCOPES.
54974 (process_dl_debug): Recognize scopes flag and also set it for all.
54975 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54976 Declare _dl_show_scope.
54978 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54979 (do_dlopen): Pass caller_dlopen to dl_open.
54980 (__libc_dlopen_mode): Initialize caller_dlopen.
54982 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54983 of libc. Make tolower call locale-independent. Optimize a bit by
54984 using isdigit instead of isalnum.
54985 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54987 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54989 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54990 was a dependency or dynamically loaded.
54992 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54994 * intl/l10nflist.c: Allow architecture-specific pop function.
54995 * sysdeps/x86_64/l10nflist.c: New file.
54997 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55000 2011-08-10 Andreas Schwab <schwab@redhat.com>
55002 * include/dirent.h: Add libc_hidden_proto for scandirat and
55003 scandirat64. Don't declare __scandirat64.
55004 * dirent/scandirat.c: Add libc_hidden_def.
55005 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55006 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55008 2011-08-10 David S. Miller <davem@davemloft.net>
55010 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55013 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55016 2011-08-09 Ulrich Drepper <drepper@gmail.com>
55018 * Versions.def [libc]: Add GLIBC_2.15.
55019 * dirent/Makefile (routines): Add scandirat and scandirat64.
55020 * dirent/Versions [libc]: Export scandirat and scandirat64 for
55022 * dirent/dirent.h: Declare scandirat and scandirat64.
55023 * dirent/scandirat.c: New file.
55024 * dirent/scandirat64.c: New file.
55025 * sysdeps/wordsize-64/scandirat.c: New file.
55026 * sysdeps/wordsize-64/scandirat64.c: New file.
55027 * dirent/opendir.c: Define opendirat.
55028 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
55030 * dirent/scandir64.c: Adjust for scandir.c change.
55031 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
55032 __scandirat64, and __scandir_cancel_handler.
55033 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
55034 additional parameter and use openat instead of open (outside of ld.so).
55035 Add new __opendir as wrapper around __opendirat.
55036 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55037 here without requiring old scandirat implementation.
55039 2011-08-08 Ulrich Drepper <drepper@gmail.com>
55041 * dirent/scandir.c (cancel_handler): Renamed to
55042 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
55043 defined. Adjust users.
55044 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55045 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55047 2011-08-04 Ulrich Drepper <drepper@gmail.com>
55049 * string/test-string.h (IMPL): Use __STRING to expand name and then
55052 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
55055 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55057 * string/Makefile: Update.
55058 (strop-tests): Append strncat.
55059 * string/test-wcscmp.c: New file.
55060 New comprehensive test for wcscmp.
55061 * string/test-strcmp.c: Update.
55062 (WIDE): New define.
55064 2011-07-22 Andreas Schwab <schwab@redhat.com>
55066 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55069 2011-07-26 Andreas Schwab <schwab@redhat.com>
55071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55072 encoding to ACE if AI_IDN.
55074 2011-08-01 Jakub Jelinek <jakub@redhat.com>
55076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55077 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55079 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55081 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55082 Fix overflow bug in strncat.
55083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55085 * string/test-strncat.c: Update.
55086 Add new tests for checking overflow bugs.
55088 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55091 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55092 * sysdeps/i386/i686/multiarch/strcat.S: New file.
55093 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55094 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55095 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55096 * sysdeps/i386/i686/multiarch/strncat.S: New file.
55097 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55098 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55100 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55101 (USE_AS_STRCAT): Define.
55102 Add strcat and strncat support.
55103 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55105 2011-07-25 Andreas Schwab <schwab@redhat.com>
55107 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55108 __n bigger than INT_MAX+1.
55109 (__strncmp_g): Likewise.
55111 2011-07-23 Ulrich Drepper <drepper@gmail.com>
55113 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55114 * libio/stido.h: Likewise.
55116 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55121 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55123 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55124 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55128 * scripts/test-installation.pl: Don't expect libnss_test1 to be
55131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55133 (_dl_x86_64_save_sse): Likewise.
55135 2011-07-22 Ulrich Drepper <drepper@gmail.com>
55137 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55139 (_dl_x86_64_save_sse): Likewise.
55141 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55143 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55145 2011-07-21 Andreas Schwab <schwab@redhat.com>
55147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55149 (_dl_x86_64_save_sse): Use correct AVX check.
55151 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55153 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55154 bug in strncpy/strncat.
55155 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55157 2011-07-21 Ulrich Drepper <drepper@gmail.com>
55159 * string/tester.c (test_strcat): Add tests for different alignments
55160 of source and destination.
55161 (test_strncat): Likewise.
55163 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55166 * posix/glob.c (glob): Check passed in values before using them in
55167 expressions to avoid some overflows.
55168 (glob_in_dir): Likewise.
55171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55172 check for AVX enablement so that we don't crash with old kernels and
55174 * elf/tst-audit4.c: Add same checks here.
55175 * elf/tst-audit6.c: Likewise.
55177 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55179 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55181 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55183 2011-07-20 Ulrich Drepper <drepper@gmail.com>
55185 * po/cs.po: Update from translation team.
55186 * po/bg.po: Likewise.
55188 2011-07-12 Marek Polacek <mpolacek@redhat.com>
55190 * misc/sys/cdefs.h: Add support for const attribute.
55191 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55192 to gnu_dev_{major,minor,makedev} functions.
55194 2011-07-20 Marek Polacek <mpolacek@redhat.com>
55196 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55198 2011-07-20 Andreas Schwab <schwab@redhat.com>
55200 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55203 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55206 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55207 register in order to avoid conflicts with the soft frame pointer
55208 being held in r11 when necessary.
55209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55210 (INTERNAL_VSYSCALL_NCS): Likewise.
55212 2011-07-14 Marek Polacek <mpolacek@redhat.com>
55214 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55215 * elf/dl-fini.c (_dl_fini): Adjust caller.
55216 * elf/dl-close.c (_dl_close_worker): Likewise.
55217 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55219 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55221 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55222 "aux_cache->nlibs < 0".
55224 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55225 in the reload-count case.
55227 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55230 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55231 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55233 * sysdeps/x86_64/multiarch/strcat.S: New file.
55234 * sysdeps/x86_64/multiarch/strncat.S: New file.
55235 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55236 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55237 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55238 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55240 (USE_AS_STRCAT): Define.
55241 Add strcat and strncat support.
55242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55243 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55244 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55245 * string/strncat.c: Update.
55246 (USE_AS_STRNCAT): Define.
55247 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55248 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55250 * sysdeps/x86_64/multiarch/init-arch.h
55251 (bit_Prefer_PMINUB_for_stringop): New.
55252 (index_Prefer_PMINUB_for_stringop): Likewise.
55253 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55254 bit_Prefer_PMINUB_for_stringop.
55256 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55258 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55260 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55261 of casting of buffer.
55262 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55263 buffer32 and buffer64.
55264 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55265 writes instead of casting of buffer.
55266 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55268 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55271 2011-07-19 Andreas Schwab <schwab@redhat.com>
55273 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55275 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55277 * nscd/nscd.c (termination_handler): Don't do anything for a database
55278 if it has not yet been initialized.
55280 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55284 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55286 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55288 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55290 * po/nl.po: Update from translation team.
55291 * po/sv.po: Likewise.
55293 2011-07-16 Roland McGrath <roland@hack.frob.com>
55295 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55296 now disallowed by GCC.
55298 * configure.in (use-default-link): Default to yes if a test -shared
55299 link meets our qualifications.
55300 * configure: Regenerated.
55302 * config.make.in (output-format): New variable.
55303 * configure.in: Check for ld --print-output-format support.
55304 * configure: Regenerated.
55305 * Makerules ($(common-objpfx)format.lds)
55306 [$(output-format) != unknown]: Just use $(output-format),
55307 instead of the linker-script munging.
55309 2011-07-14 Roland McGrath <roland@hack.frob.com>
55311 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55312 of $(common-objpfx)shlib.lds.
55313 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55315 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55316 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55318 * configure.in (-z relro check): Adjust test code to add a large
55319 writable data section after it.
55320 * configure: Regenerated.
55322 2011-07-11 Roland McGrath <roland@hack.frob.com>
55324 * configure.in (-z relro check): Fix test code to make the variable
55326 * configure: Regenerated.
55328 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55330 * nscd/nscd.h (struct traced_file): Define.
55331 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55332 elements. Add traced_files.
55333 (inotify_fd): Declare.
55334 (register_traced_file): Declare.
55335 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55336 (inotify_fd): Export.
55337 (resolv_conf_descr): Remove.
55338 (nscd_init): Move inotify descriptor creation to main.
55339 Don't register files for notification here.
55340 (register_traced_file): New function.
55341 (invalidate_cache): Don't use reset_res to determine whether to call
55342 res_init, go through the list of registered files.
55343 (main_loop_poll): The inotify descriptors are now stored in the
55344 structures for the traced files.
55345 (main_loop_epoll): Likewise
55346 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55347 to __nss_disable_nscd.
55348 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55349 for a database anymore. Check the records for all the registered
55351 * nss/Makefile (libnss_files-routines): Add files-init.
55352 (libnss_db-routines): Add db-init.
55353 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55354 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55355 * nss/nss_db/db-init.c: New file.
55356 * nss/nss_files/files-init.c: New file.
55357 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55358 __nss_lookup_function.
55359 (__nss_lookup_function): Call nss_load_library.
55360 (nss_load_all_libraries): New function.
55361 (__nss_disable_nscd): Take parameter with callback function for files
55362 to register. Set is_nscd. Load all the DSOs for the NSS modules
55363 used for the cached services.
55364 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55365 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55366 options for features to all the files in nscd.
55368 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55370 2011-07-10 Roland McGrath <roland@hack.frob.com>
55372 * csu/elf-init.c (__libc_csu_init): Comment typo.
55374 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55376 * po/pl.po: Update from translation team.
55377 * po/ja.po: Likewise.
55378 * po/ru.po: Likewise.
55379 * po/ko.po: Likewise.
55380 * po/fr.po: Likewise.
55382 2011-07-09 Roland McGrath <roland@hack.frob.com>
55384 * configure.in (.ctors/.dtors header and trailer check):
55385 Use an empirical test on a built program.
55386 * configure: Regenerated.
55388 * configure.in (-z relro check): Use an empirical test on a built DSO.
55389 Detect, but do not require, on ia64.
55390 * configure: Regenerated.
55392 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55393 Update tests that use readelf to use $READELF instead.
55394 * configure: Regenerated.
55396 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55398 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55399 if the result is not used.
55401 2011-07-05 Andreas Jaeger <aj@suse.de>
55404 * stdlib/tst-strtod.c: Add testcase.
55406 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55408 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55409 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55410 The latter has a higher limit. Take additional parameter to pass to
55412 (__pathconf): Pass file to __statfs_link_max.
55413 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55415 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55419 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55420 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55422 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55423 (__statfs_filesize_max): Likewise.
55424 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55426 2011-07-05 Andreas Jaeger <aj@suse.de>
55428 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55430 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55432 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55434 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55437 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55439 * Makefile (strop-tests): Add strncat.
55440 * string/test-strncat.c: New file.
55442 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55444 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55446 2011-06-21 Andreas Jaeger <aj@suse.de>
55448 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55449 Copy rule from iconvdata/Makefile.
55451 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55454 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55455 but no long options are defined, just return 'W'.
55457 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55460 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55462 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55464 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55466 (innetgr): Likewise.
55468 2011-07-05 Roland McGrath <roland@hack.frob.com>
55470 * config.make.in (install_root): Default to $(DESTDIR).
55472 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55474 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55476 2011-07-02 Roland McGrath <roland@hack.frob.com>
55478 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55480 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55481 containing directory rather than embedding absolute directory names.
55483 * scripts/check-local-headers.sh: Rewritten using awk.
55484 Match by word, not by line. Print error messages for matches.
55485 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55487 * Makerules [shlib-lds-flags empty]:
55488 ($(common-objpfx)libc_pic.opts): New target.
55489 ($(common-objpfx)libc_pic.os.clean): New target.
55490 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55492 * config.make.in (OBJCOPY): New variable.
55493 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55494 * configure: Regenerated.
55496 * config.make.in (use-default-link): New variable.
55497 * configure.in (use_default_link): Grok --with-default-link to set it.
55498 * configure: Regenerated.
55499 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55500 (shlib-lds, shlib-lds-flags): Define to empty.
55502 * Makerules (shlib-lds): New variable.
55503 (shlib-lds-flags): New variable.
55504 (build-shlib, build-moduile, build-module-asneeded): Use it.
55505 ($(common-objpfx)libc.so): Use $(shlib-lds).
55506 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55507 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55509 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55510 DT_FLAGS/DT_FLAGS_1 with zero flags.
55512 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55513 linker script munging.
55515 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55517 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55519 * crypt/sha512.c (sha512_process_block): Perform total addition using
55520 128-bit if possible.
55521 (__sha512_finish_ctx): Likewise.
55522 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55524 * crypt/sha256.c (SWAP64): Define.
55525 (sha256_process_block): Perform total addition using 64-bit if
55527 (__sha256_finish_ctx): Likewise.
55529 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55531 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55533 * nscd/hstcache.c (cache_addhst): Likewise.
55534 * nscd/grpcache.c (cache_addgr): Likewise.
55535 * nscd/aicache.c (addhstaiX): Likewise
55536 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55538 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55540 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55542 * nscd/hstcache.c (cache_addhst): Likewise.
55543 * nscd/grpcache.c (cache_addgr): Likewise.
55544 * nscd/aicache.c (addhstaiX): Likewise
55546 2011-07-01 Andreas Schwab <schwab@redhat.com>
55548 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55549 domain only when needed.
55551 2011-06-30 Andreas Schwab <schwab@redhat.com>
55553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55554 is always restored.
55556 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55558 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55559 are re-adding the entry.
55560 * nscd/servicescache.c (cache_addserv): Likewise.
55562 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55564 * sysdeps/generic/dl-irel.h: fix protection against multiple
55566 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55568 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55571 * malloc/memusage.sh: Fix quoting in message.
55572 * debug/xtrace.sh: Likewise.
55574 * configure.in: Remove support for --experimental-malloc option, make
55576 * config.make.in: Likewise.
55577 * malloc/Makefile: Likewise.
55579 2011-06-27 Andreas Schwab <schwab@redhat.com>
55581 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55582 two-byte characters.
55584 2011-06-27 Roland McGrath <roland@hack.frob.com>
55586 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55587 AC_CACHE_CHECK invocation.
55588 * configure: Regenerated.
55590 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55592 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55595 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55596 bit from old_res_options.
55598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55600 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55601 value type for setfct.
55603 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55606 __gettimeofday instead of gettimeofday.
55608 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55610 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55612 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55619 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55622 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55623 strcpy-sse2-unaligned strncpy-sse2-unaligned
55624 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55625 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55626 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55627 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55628 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55631 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55632 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55633 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55634 (STRCPY): Support SSE2 and SSSE3 versions.
55636 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55639 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55640 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55641 kernels which artificially limit size of requests.
55643 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55646 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55647 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55648 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55649 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55650 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55651 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55652 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55653 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55655 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55656 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55657 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55658 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55659 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55661 Enable unaligned load optimization for Intel Core i3, i5 and i7
55663 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55665 (index_Fast_Unaligned_Load): Define.
55666 (HAS_FAST_UNALIGNED_LOAD): Define.
55668 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55670 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55672 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55676 until it is clear that the information is realy needed.
55677 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55679 2011-06-22 Andreas Schwab <schwab@redhat.com>
55681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55683 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55686 /sys/devices/system/cpu/online if it is usable.
55688 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55689 reading the information from the /proc filesystem to once a second.
55691 2011-06-21 Andreas Jaeger <aj@suse.de>
55693 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55694 NULL after inclusion of kernel headers.
55696 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55698 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55699 calls to internal_setent.
55702 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55703 addresses using gethostbyname4_r ignore IPv4 addresses.
55705 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55706 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55708 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55710 2011-06-20 David S. Miller <davem@davemloft.net>
55712 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55714 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55716 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55717 (elf_irel): Use it.
55718 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55719 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55720 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55721 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55722 * sysdeps/x86_64/dl-irel.h: Likewise.
55724 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55725 * elf/dl-sym.c: Likewise.
55727 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55729 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55730 need to dereference resplen2.
55732 2011-06-14 Andreas Schwab <schwab@redhat.com>
55734 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55736 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55738 * Makeconfig: Define vardbdir and inst_vardbdir.
55739 * nss/Makefile: Add rules to install db-Makefile.
55741 * nss/nss_db/db-XXX.c: Cleanup.
55743 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55744 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55746 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55747 * nss/makedb.c: Implement -g option to specify that value strings
55748 are generated and should not be added to table iterated over for
55750 * nss/nss_db/db-initgroups.c: New file.
55752 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55755 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55756 (internal_getgrouplist): Adjust to name change.
55757 Update use_initgroups_entry if this is not the first call.
55758 * nss/databases.def: Add initgroups entry.
55760 * nss/makedb.c (compute_tables): Check result of multiple hash table
55761 sizes to minimize maximum chain length.
55763 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55765 * Versions.def: Add entry for libnss_db.
55766 * shlib-versions: Likewise.
55767 * nss/Makefile: Add rules to build libnss_db.
55768 * nss/Versions: Add libnss_db information. Organize libnss_files
55770 * nss/db-Makefile: Add gshadow support. Change rules for the new
55771 makedb progra. Some minor improvements to generate smaller files.
55772 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55774 * nss/makedb.c: ...here.
55775 Improve database format to be smaller and require less memory at
55777 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55779 * nss/nss_db/db-netgrp.c: Likewise.
55780 * nss/nss_db/db-open.c: Likewise.
55781 * nss/nss_files/flies-XXX.x: Adjust comments.
55782 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55783 * nss/nss_files/files-grp.c: Likewise.
55784 * nss/nss_files/files-hosts.c: Likewise.
55785 * nss/nss_files/files-network.c: Likewise.
55786 * nss/nss_files/files-proto.c: Likewise.
55787 * nss/nss_files/files-pwd.c: Likewise.
55788 * nss/nss_files/files-rpc.c: Likewise.
55789 * nss/nss_files/files-service.c: Likewise.
55790 * nss/nss_files/files-sgrp.c: Likewise.
55791 * nss/nss_files/files-spwd.c: Likewise.
55792 * nss/nss_db/db-alias.c: Removed.
55793 * nss/nss_db/dummy-db.h: Removed.
55795 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55797 * nss/makedb.c: Rewritten to not use database library.
55798 * nss/Makefile: Update to build new makedb program.
55800 2011-06-14 Andreas Jaeger <aj@suse.de>
55802 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55803 memset declaration.
55805 2011-06-10 Andreas Schwab <schwab@redhat.com>
55807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55810 2011-06-10 Roland McGrath <roland@hack.frob.com>
55812 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55813 * elf/Makefile ($(objpfx)ld.so): Likewise.
55815 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55816 Don't list ld.so twice in dependencies.
55818 * posix/bug-regex31.c: Include <stdlib.h>.
55820 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55822 * nis/nss_compat/compat-spwd.c
55823 (getspent_next_nss_netgr): Remove unused variable.
55824 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55826 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55827 nonmembers" output to use the right array.
55829 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55831 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55833 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55834 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55835 * catgets/gencat.c (read_input_file): Likewise.
55836 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55838 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55839 variable definition inside #if's controlling its use.
55841 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55843 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55845 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55847 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55850 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55852 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55853 * configure: Regenerated.
55855 * Makerules: Revert last change.
55856 * elf/Makefile: Likewise.
55858 2011-06-09 Roland McGrath <roland@hack.frob.com>
55860 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55861 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55862 (reloc-link): Likewise.
55864 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55866 * elf/Makefile: Add rules to build pldd.
55867 * elf/pldd.c: New file.
55868 * elf/pldd-xx.c: New file.
55870 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55872 * version.h: Update for 2.15 development version.
55874 2011-06-07 David S. Miller <davem@davemloft.net>
55876 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55879 elf_machine_lazy_rel): Likewise.
55880 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55881 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55882 elf_machine_lazy_rel): Likewise.
55883 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55884 dl_hwcap via passed in argument.
55885 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55888 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55890 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55892 2011-06-06 Roland McGrath <roland@hack.frob.com>
55895 * manual/fdl-1.1.texi: New file, verbatim from:
55896 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55897 * manual/lgpl-2.1.texi: New file, verbatim from:
55898 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55899 * manual/Makefile (licenses): New variable, list those new file names.
55901 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55903 * manual/fdl.texi: File removed.
55904 * manual/lesser.texi: File removed.
55905 * manual/libc.texinfo (Copying, Documentation License):
55906 Use new @include file names, put @appendix directive before @include.
55908 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55911 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55912 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55913 (mq_open): Add __NTH.
55915 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55918 Assume Intel Core i3/i5/i7 processor if AVX is available.
55920 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55925 2011-05-31 Andreas Schwab <schwab@redhat.com>
55927 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55928 memory. Use alloca_account. Fix memory leak when retrying.
55930 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55932 * version.h (RELEASE): Bump for 2.14 release.
55933 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55935 * config.make.in (RANLIB): Remove entry.
55937 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55939 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55940 (libc.pot): Work around missing support for .ksh extension in xgettext.
55943 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55944 if both request failed.
55945 (send_dg): In case of server errors clear resplen or *resplen2.
55948 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55949 when there are multiple maps.
55950 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55951 (_dl_fini): Remove test here.
55953 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55955 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55958 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55959 bit from old_res_options.
55960 (gaih_inet): Likewise.
55963 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55966 * resolv/res_init.c (res_setoptions): Make the code more compact.
55969 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55973 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55975 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55978 * malloc/malloc.h: Declare malloc hook variables as volatile.
55980 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55984 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55985 raise in the comment.
55986 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55988 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55990 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55993 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55994 grow the buffers more if it already has to be sufficient.
55995 (build_wcs_upper_buffer): Likewise.
55996 * posix/regexec.c (check_matching): Likewise.
55997 (clean_state_log_if_needed): Likewise.
55998 (extend_buffers): Don't enlarge buffers beyond size of the input
56000 Patches mostly by Emil Wojak <emil@wojak.eu>.
56001 * posix/bug-regex32.c: New file.
56002 * posix/Makefile (tests): Add bug-regex32.
56004 * locale/findlocale.c (_nl_find_locale): Return right away if
56005 _nl_explode_name failed.
56006 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56008 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56010 * debug/xtrace.sh: Unify messages.
56011 * malloc/memusage.sh: Likewise.
56014 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56015 time symbol from vDSO. Substitute with vsyscall if not available.
56016 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56019 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56020 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56021 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56022 Add sendmmsg and internal_sendmmsg.
56023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56024 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56025 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56027 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56028 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56029 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56031 2011-05-27 Ulrich Drepper <drepper@gmail.com>
56034 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56035 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
56037 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56041 * iconvdata/Makefile (tests): Add bug-iconv9.
56042 * iconvdata/bug-iconv9.c: New file.
56044 2011-05-27 Andreas Schwab <schwab@redhat.com>
56047 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56049 2011-05-25 Jakub Jelinek <jakub@redhat.com>
56051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56052 (struct user_regs_struct): Change intcs field back to cs.
56054 2011-05-25 Ulrich Drepper <drepper@gmail.com>
56056 * po/ja.po: Update from translation team.
56058 2011-05-23 Ulrich Drepper <drepper@gmail.com>
56061 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56062 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56064 2011-05-20 Andreas Schwab <schwab@redhat.com>
56066 * stdlib/longlong.h: Update from GCC.
56068 2011-05-23 Andreas Schwab <schwab@redhat.com>
56070 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56072 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56073 Add parameter name.
56074 (__sysconf): Pass it down.
56076 2011-05-22 Ulrich Drepper <drepper@gmail.com>
56079 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56081 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56082 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56083 add in in __libc_use_alloca calls. Adjust callers.
56084 (glob): Use malloc in some situations.
56086 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56087 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56090 2011-05-21 Ulrich Drepper <drepper@gmail.com>
56092 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56093 and CLOCK_BOOTTIME_ALARM.
56096 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56099 * string/_strerror.c (__strerror_r): Print negative errors as signed
56103 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56104 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56105 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56107 * configure.in: Fix typo in redirection and correct removal of test
56108 files in two cases.
56111 * locale/setlocale.c (new_composite_name): Fix test to check for
56112 identical name of all categories.
56115 * libio/filedoalloc.c (local_isatty): New function.
56116 (_IO_file_doallocate): Use local_isatty.
56117 * stdio-common/perror.c (perror): In case a new stream is used
56118 forward the stream error.
56119 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56122 2011-05-20 Ulrich Drepper <drepper@gmail.com>
56125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56127 * include/alloca.h (extend_alloca_account): Define.
56130 * posix/regex.h: Fix comments with documentation of user-accessible
56131 fields after compilation and describe correct free'ing of pattern
56132 after re_compile_pattern.
56133 Patch by Reuben Thomas <rrt@sc3d.org>.
56135 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
56137 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56138 and -mno-altivec to prevent the compiler from using Altivec and/or
56139 VSX instructions when the corresponding registers are not available.
56141 2011-05-19 Andreas Schwab <schwab@redhat.com>
56143 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56145 2011-05-19 Ulrich Drepper <drepper@gmail.com>
56147 * libio/freopen.c (freopen): Use __dup2, not dup2.
56148 * libio/freopen64.c (freopen64): Likewise.
56150 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
56153 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56154 * math/Makefile (tests): Add test-powl.
56155 (CFLAGS-test-powl.c): Define.
56156 * math/test-powl.c: New file.
56158 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56160 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56162 2011-05-17 Ulrich Drepper <drepper@gmail.com>
56165 * iconvdata/gb18030.c: Update to GB18020-2005.
56167 2011-05-16 Ulrich Drepper <drepper@gmail.com>
56169 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56170 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56171 Patch by Aharon Robbins <arnold@skeeve.com>.
56174 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56178 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56179 through underflows.
56182 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56183 point to strings before performing equality test for error_one_per_line
56187 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56191 (struct user_fpregs_struct): Avoid __uint*_t types.
56194 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56195 symbol info. Use it instead of calling _dl_addr locally.
56196 (lock_and_info): New function.
56197 (tr_freehook): Call lock_and_info and pass symbol info as additional
56198 parameter to tr_where.
56199 (tr_mallochook): Likewise.
56200 (tr_reallochook): Likewise.
56201 (tr_memalignhook): Likewise.
56203 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56204 used and couldn't be at all thread-safe.
56206 2011-05-15 Ulrich Drepper <drepper@gmail.com>
56208 * libio/freopen.c (freopen): Don't close old file descriptor
56209 before the new one is opened. Instead dup the new file descriptor
56210 to the old one after the new stream is created.
56211 * libio/freopen64.c (freopen64): Likewise.
56212 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56213 * libio/fileops.c (_IO_new_file_close_it): Handle new
56214 _IO_FLAGS2_NOCLOSE flag.
56215 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56216 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56217 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56218 _IO_FLAGS2_NOCLOSE flag.
56219 * include/unistd.h: Add hidden_proto for dup3.
56220 Define __have_dup3.
56221 * io/dup3.c: Define hidden symbol.
56222 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56225 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56226 when an incomplete long option is used.
56227 * posix/tst-getopt_long1.c: New file.
56228 * posix/Makefile (tests): Add tst-getopt_long1.
56231 * scripts/config.guess: Update from autoconf-2.68.
56232 * scripts/config.sub: Likewise.
56235 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56237 (has_cpuclock): ...this. New function.
56238 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56239 macro here based on has_cpuclock code.
56242 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56243 First byte (not low byte) is now always NUL.
56244 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56247 Use non-cancelable interfaces.
56250 * locale/iso-639.def: Add entry for Sorani.
56253 * include/stdlib.h: Move include protection to the right place.
56254 Define abort_msg_s. Declare __abort_msg with it.
56255 * stdlib/abort.c (__abort_msg): Adjust type.
56256 * assert/assert.c (__assert_fail_base): New function. Majority
56257 of code from __assert_fail. Allocate memory for __abort_msg with
56259 (__assert_fail): Now call __assert_fail_base.
56260 * assert/assert-perr.c: Remove bulk of implementation. Use
56261 __assert_fail_base.
56262 * include/assert.hL Declare __assert_fail_base.
56263 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56265 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56267 2011-05-14 Ulrich Drepper <drepper@gmail.com>
56271 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56272 until all modules are registered in the DTV.
56273 * elf/Makefile: Add rules to build and run tst-tls19.
56274 * elf/tst-tls19.c: New file.
56275 * elf/tst-tls19mod1.c: New file.
56276 * elf/tst-tls19mod2.c: New file.
56277 * elf/tst-tls19mod3.c: New file.
56278 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56281 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56285 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56286 two-byte sequence errors.
56287 * iconvdata/Makefile (tests): Add bug-iconv8.
56288 * iconvdata/bug-iconv8.c: New file.
56291 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56294 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56297 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56298 (dummy_getcfa): New function.
56299 (init): Get _Unwind_GetCFA address, use dummy if not found.
56300 (backtrace_helper): In recursion check, also check whether CFA changes.
56301 (__backtrace): Completely initialize arg.
56303 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56304 storing incomplete byte sequence in state object. Avoid testing for
56305 guaranteed too small input if we know there is enough data available.
56307 2011-05-11 Andreas Schwab <schwab@redhat.com>
56309 * Makeconfig (+link-pie): Indent.
56310 * Rules (binaries-pie): Define if $(have-fpie) and
56312 (binaries-shared): Also filter out $(binaries-pie).
56313 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56314 * nscd/Makefile (others-pie): Add nscd.
56315 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56316 ($(objpfx)nscd): Remove command override.
56317 * login/Makefile (others-pie): Add pt_chown.
56318 ($(objpfx)pt_chown): Remove command override.
56319 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56320 remove command overrides.
56322 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56324 * libio/tst_putwc.c: Fix error messages.
56327 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56328 currently writing and seek to current position when not.
56329 * libio/Makefile (tests): Add bug-fclose1.
56330 * libio/bug-fclose1.c: New file.
56332 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56335 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56336 don't set DF_1_NODELETE here.
56337 (do_lookup_x): When entering new entry test for copy relocation
56338 and if necessary set DF_1_NODELETE flag.
56339 * elf/tst-unique4.cc: New file.
56340 * elf/tst-unique4.h: New file.
56341 * elf/tst-unique4lib.cc: New file.
56342 * elf/Makefile: Add rules to build and run tst-unique4.
56343 Patch by Piotr Bury <pbury@goahead.com>.
56345 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56348 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56351 * misc/mntent_r.c (addmntent): Flush the stream after the output
56354 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56355 (is_trusted_path_normalize): Skip initial colon. Append slash
56356 to empty buffer. Duplicate is_trusted_path code but allow
56357 constructed patch to be prefix.
56358 (is_dst): Allow $ORIGIN followed by /.
56359 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56360 Correct testing of result of is_trusted_path_normalize
56361 (decompose_rpath): Fix warning.
56363 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56366 * grp/initgroups.c (internal_getgrouplist): When we found the service
56367 list through the initgroups entry in nsswitch.conf do not always
56368 continue on a successful lookup. Don't always use the
56369 __nss_group_database value if it is set.
56370 * nss/nsswitch.conf (initgroups): Change action for successful db
56371 lookup to continue for compatibility.
56373 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56376 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56378 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56380 * iconvdata/tst-tables.sh: Likewise.
56381 * iconvdata/cp770.c: New file.
56382 * iconvdata/cp771.c: New file.
56383 * iconvdata/cp772.c: New file.
56384 * iconvdata/cp773.c: New file.
56385 * iconvdata/cp774.c: New file.
56386 * iconvdata/testdata/CP770: New file.
56387 * iconvdata/testdata/CP770..UTF8: New file.
56388 * iconvdata/testdata/CP771: New file.
56389 * iconvdata/testdata/CP771..UTF8: New file.
56390 * iconvdata/testdata/CP772: New file.
56391 * iconvdata/testdata/CP772..UTF8: New file.
56392 * iconvdata/testdata/CP773: New file.
56393 * iconvdata/testdata/CP773..UTF8: New file.
56394 * iconvdata/testdata/CP774: New file.
56395 * iconvdata/testdata/CP774..UTF8: New file.
56397 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56399 * iconvdata/gen-8bit-gap.sh: Likewise.
56400 * iconvdata/gen-8bit.sh: Likewise.
56402 * locale/iso-639.def: Add ary entry.
56405 * locale/C-translit.h.in: Add U20A1 transliteration.
56408 * locale/iso-639.def: Add wae entry.
56409 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56412 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56416 * locale/C-translit.h.in: Add entry for U20B9.
56417 Patch by pravin.d.s@gmail.com.
56419 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56422 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56423 ENAMETOOLONG use generic getcwd.
56424 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56425 in rtld. Use *stat64.
56426 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56427 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56428 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56429 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56430 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56431 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56432 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56433 __fstatat64 macros.
56434 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56435 * dirent/rewinddir.c: Add libc_hidden_def.
56436 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56437 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56439 * include/dirent.h (__alloc_dir): Add flags parameter.
56440 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56441 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56443 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56444 from fdopendir if O_CLOEXEC is already set.
56446 2011-03-15 Alan Modra <amodra@gmail.com>
56448 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56449 l_tls_firstbyte_offset non-zero. Save padding offset in
56450 l_tls_firstbyte_offset for later use.
56451 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56452 freeing static tls block.
56454 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56456 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56457 where #ifdef was intended. The intent is to prevent ARG_MAX from
56458 being defined by the kernel headers.
56460 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56463 * resolv/resolv.h: Define RES_NOTLDQUERY.
56464 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56465 no-tld-query and set RES_NOTLDQUERY.
56466 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56467 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56468 modern BIND to search name as TLD unless forbidden.
56470 2011-05-07 Petr Baudis <pasky@suse.cz>
56471 Ulrich Drepper <drepper@gmail.com>
56474 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56475 (is_trusted_path): ...to here.
56476 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56477 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56478 using is_trusted_path_normalize() in setuid scripts.
56480 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56482 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56483 __BEGIN/__END_DECLS.
56485 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56488 NSS_STATUS_NOTFOUND if no record was found.
56490 2011-05-05 Andreas Schwab <schwab@redhat.com>
56492 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56493 (headers-not-in-tirpc): Remove rpc/netdb.h
56494 * resolv/netdb.h: Revert last change.
56496 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56498 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56499 circular dependency between libgcc.a and libc.a.
56501 2011-05-05 Andreas Schwab <schwab@redhat.com>
56503 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56504 * nis/Makefile: Don't install rpcsvc/*.
56505 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56506 instead of <rpc/types.h>.
56507 (MAXHOSTNAMELEN): Define.
56509 2011-05-03 Andreas Schwab <schwab@redhat.com>
56511 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56513 2011-04-28 Maciej Babinski <mbabinski@google.com>
56516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56517 gethostbyname4_r when IPv6 results are possible.
56519 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56522 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56523 _PC_PIPE_BUF handling.
56525 2011-04-30 Bruno Haible <bruno@clisp.org>
56528 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56529 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56531 * inet/getnameinfo.c (getnameinfo): Likewise.
56533 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56535 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56536 to groups setting in database lookup.
56537 * nss/nsswitch.conf: Add initgroups entry.
56539 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56542 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56544 Patch by Eric Blake <eblake@redhat.com>.
56546 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56548 * sunrpc/Makefile (need-export-routines): Add svc_run.
56549 (routines): Remove svc_run.
56550 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56551 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56552 * sunrpc/svc_run.c (svc_run): Likewise.
56553 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56555 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56558 problem in reallocation in last patch.
56560 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56562 * sunrpc/Makefile: Move inclusion of Rules.
56564 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56566 * nss/nss_files/files-initgroups.c: New file.
56567 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56568 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56569 _nss_files_initgroups_dyn.
56571 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56573 * elf/elf.h (R_ARM_IRELATIVE): Define.
56575 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56577 * po/ru.po: Update from translation team.
56579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56581 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56584 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56587 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56588 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56589 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56590 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56593 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56595 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56597 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56598 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56601 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56604 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56606 * stdlib/bug-getcontext.c: New file.
56607 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56609 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56611 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56612 instructions into .machine "z9-109".
56613 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56614 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56616 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56618 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56619 between environment variables and auxiliary vector.
56621 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56623 * Makefile: Add rules to build linkobj/libc.so.
56624 * include/libc-symbols.h: Define libc_hidden_nolink.
56625 * include/rpc/auth.h: Mark functions which are to be hidden.
56626 * include/rpc/auth_des.h: Likewise.
56627 * include/rpc/auth_unix.h: Likewise.
56628 * include/rpc/clnt.h: Likewise.
56629 * include/rpc/des_crypt.h: Likewise.
56630 * include/rpc/key_prot.h: Likewise.
56631 * include/rpc/pmap_clnt.h: Likewise.
56632 * include/rpc/pmap_prot.h: Likewise.
56633 * include/rpc/pmap_rmt.h: Likewise.
56634 * include/rpc/rpc_msg.h: Likewise.
56635 * include/rpc/svc.h: Likewise.
56636 * include/rpc/svc_auth.h: Likewise.
56637 * include/rpc/xdr.h: Likewise.
56638 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56639 * nss/Makefile: Likewise.
56640 * sunrpc/Makefile: Don't install headers. Build library with normal
56641 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56642 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56643 for the compat linking library. Remove use of INTDEF/INTUSE.
56644 * sunrpc/auth_none.c: Likewise.
56645 * sunrpc/auth_unix.c: Likewise.
56646 * sunrpc/authdes_prot.c: Likewise.
56647 * sunrpc/authuxprot.c: Likewise.
56648 * sunrpc/clnt_gen.c: Likewise.
56649 * sunrpc/clnt_perr.c: Likewise.
56650 * sunrpc/clnt_raw.c: Likewise.
56651 * sunrpc/clnt_simp.c: Likewise.
56652 * sunrpc/clnt_tcp.c: Likewise.
56653 * sunrpc/clnt_udp.c: Likewise.
56654 * sunrpc/clnt_unix.c: Likewise.
56655 * sunrpc/des_crypt.c: Likewise.
56656 * sunrpc/des_soft.c: Likewise.
56657 * sunrpc/get_myaddr.c: Likewise.
56658 * sunrpc/key_call.c: Likewise.
56659 * sunrpc/key_prot.c: Likewise.
56660 * sunrpc/netname.c: Likewise.
56661 * sunrpc/pm_getmaps.c: Likewise.
56662 * sunrpc/pm_getport.c: Likewise.
56663 * sunrpc/pmap_clnt.c: Likewise.
56664 * sunrpc/pmap_prot.c: Likewise.
56665 * sunrpc/pmap_prot2.c: Likewise.
56666 * sunrpc/pmap_rmt.c: Likewise.
56667 * sunrpc/publickey.c: Likewise.
56668 * sunrpc/rpc_cmsg.c: Likewise.
56669 * sunrpc/rpc_common.c: Likewise.
56670 * sunrpc/rpc_dtable.c: Likewise.
56671 * sunrpc/rpc_prot.c: Likewise.
56672 * sunrpc/rpc_thread.c: Likewise.
56673 * sunrpc/rtime.c: Likewise.
56674 * sunrpc/svc.c: Likewise.
56675 * sunrpc/svc_auth.c: Likewise.
56676 * sunrpc/svc_authux.c: Likewise.
56677 * sunrpc/svc_raw.c: Likewise.
56678 * sunrpc/svc_run.c: Likewise.
56679 * sunrpc/svc_simple.c: Likewise.
56680 * sunrpc/svc_tcp.c: Likewise.
56681 * sunrpc/svc_udp.c: Likewise.
56682 * sunrpc/svc_unix.c: Likewise.
56683 * sunrpc/svcauth_des.c: Likewise.
56684 * sunrpc/xcrypt.c: Likewise.
56685 * sunrpc/xdr.c: Likewise.
56686 * sunrpc/xdr_array.c: Likewise.
56687 * sunrpc/xdr_float.c: Likewise.
56688 * sunrpc/xdr_intXX_t.c: Likewise.
56689 * sunrpc/xdr_mem.c: Likewise.
56690 * sunrpc/xdr_rec.c: Likewise.
56691 * sunrpc/xdr_ref.c: Likewise.
56692 * sunrpc/xdr_sizeof.c: Likewise.
56693 * sunrpc/xdr_stdio.c: Likewise.
56695 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56698 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56699 * sysdeps/ia64/dl-tls.h: Likewise.
56700 * sysdeps/powerpc/dl-tls.h: Likewise.
56701 * sysdeps/s390/dl-tls.h: Likewise.
56702 * sysdeps/sh/dl-tls.h: Likewise.
56703 * sysdeps/sparc/dl-tls.h: Likewise.
56704 * sysdeps/x86_64/dl-tls.h: Likewise.
56705 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56707 2011-03-14 Andreas Schwab <schwab@redhat.com>
56709 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56710 rpath element also skip the following colon.
56711 (expand_dynamic_string_token): Add is_path parameter and pass
56712 down to DL_DST_REQUIRED and _dl_dst_substitute.
56713 (decompose_rpath): Call expand_dynamic_string_token with
56714 non-zero is_path. Ignore empty rpaths.
56715 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56718 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56723 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56726 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56727 Patch by Filipe David Manana <fdmanana@apache.org>.
56729 2011-04-07 Andreas Schwab <schwab@redhat.com>
56731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56732 Maintain aligned stack.
56733 (CHECK_RSP): Remove unused macro.
56735 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56737 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56738 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56740 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56742 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56744 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56746 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56749 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56750 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56751 * sysdeps/x86_64/memmove.c: New file.
56752 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56753 (memcpy): Renamed to ...
56754 (__new_memcpy): This.
56755 (memcpy): Provide GLIBC_2_14 memcpy.
56756 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56757 (memcpy): Provide GLIBC_2_2_5 memcpy.
56759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56762 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56764 2011-03-30 Andreas Schwab <schwab@redhat.com>
56766 * misc/syncfs.c: New file.
56767 * misc/Makefile (routines): Add syncfs.
56768 * posix/unistd.h: Declare syncfs.
56769 * sysdeps/unix/syscalls.list: Add syncfs.
56771 2011-04-01 Andreas Schwab <schwab@redhat.com>
56773 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56778 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56779 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56780 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56783 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56787 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56789 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56793 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56794 sync_file_range.c with -fexceptions.
56795 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56796 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56797 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56798 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56799 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56800 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56802 sync_file_range as cancellation point
56803 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56804 now a wrapper around __call_sync_file_range with cancellation handling.
56805 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56806 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56807 function name to __call_sync_file_range.
56808 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56809 Add call_sync_file_range.
56811 2011-04-01 Andreas Schwab <schwab@redhat.com>
56813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56816 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56818 * iconv/iconv.h: Fix typo in comment.
56819 * io/fcntl.h: Likewise.
56820 * libio/stdio.h: Likewise.
56821 * posix/spawn.h: Likewise.
56822 * posix/unistd.h: Likewise.
56823 * stdlib/stdlib.h: Likewise.
56824 * time/time.h: Likewise.
56825 * wcsmbs/wchar.h: Likewise.
56827 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56828 open_by_handle): Add.
56829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56830 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56831 Augment a few comments.
56832 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56834 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56835 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56837 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56840 * io/fcntl.h (AT_EMPTY_PATH): Define.
56842 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56844 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56845 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56846 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56848 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56849 * Versions.def: Add GLIBC_2.14.
56850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56853 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56859 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56862 * string/test-strncmp.c (do_page_test): New function.
56863 (check2): Likewise.
56864 (test_main): Call check2.
56865 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56867 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56870 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56871 Handle cache information in CPU leaf 4.
56872 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56874 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56877 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56878 character representation.
56879 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56881 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56883 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56884 END(__isnan) to END(__isnanf) to match function entry point/label
56885 EALIGN(__isnanf,...).
56887 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56889 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56891 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56894 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56895 copy from the symbol referenced in the relocation to initialize the
56897 Patch by Piotr Bury <pbury@goahead.com>.
56898 * elf/Makefile: Add rules to build and tst-unique3.
56899 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56900 * elf/tst-unique3.cc: New file.
56901 * elf/tst-unique3.h: New file.
56902 * elf/tst-unique3lib.cc: New file.
56903 * elf/tst-unique3lib2.cc: New file.
56905 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56907 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56909 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56910 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56913 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56915 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56916 to-be-loaded object along a path to loader is ld.so.
56918 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56919 Ulrich Drepper <drepper@gmail.com>
56921 * sysdeps/x86_64/memset.S: After aligning destination, code
56922 branches to different locations depending on the value of
56923 misalignment, when multiarch is enabled. Fix this.
56925 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56927 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56928 Set _x86_64_preferred_memory_instruction for AMD processsors.
56929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56930 Set bit_Prefer_SSE_for_memop for AMD processors.
56932 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56934 * libio/fmemopen.c (fmemopen): Optimize a bit.
56936 2011-03-03 Andreas Schwab <schwab@redhat.com>
56938 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56940 2011-03-03 Roland McGrath <roland@redhat.com>
56942 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56944 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56946 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56947 __bzero_ultra1 instead of __memset_ultra1.
56949 2011-02-23 Andreas Schwab <schwab@redhat.com>
56950 Ulrich Drepper <drepper@gmail.com>
56953 * include/link.h (struct link_map): Add l_orig_initfini.
56954 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56955 returning unsuccessfully.
56956 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56957 close of a file loaded at startup, restore the original l_initfini
56959 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56960 list, store the pointer.
56961 * elf/Makefile ($(objpfx)noload-mem): New rule.
56962 (noload-ENV): Define.
56963 (tests): Add $(objpfx)noload-mem.
56964 * elf/noload.c: Include <memcheck.h>.
56965 (main): Call mtrace. Close all opened handles.
56967 2011-02-17 Andreas Schwab <schwab@redhat.com>
56970 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56971 dependencies are missing.
56973 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56975 Fix __if_freereq crash: Unlike the generic version which uses free,
56977 * sysdeps/mach/hurd/ifreq.h: New file.
56979 2011-01-27 Petr Baudis <pasky@suse.cz>
56980 Ulrich Drepper <drepper@gmail.com>
56983 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56984 to extend_alloca().
56985 * stdio-common/bug23.c: New file.
56986 * stdio-common/Makefile (tests): Add bug23.
56988 2010-09-28 Andreas Schwab <schwab@redhat.com>
56989 Ulrich Drepper <drepper@gmail.com>
56992 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56993 before performing relro protection. At old place add assertion
56994 to make sure nothing changed.
56996 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56997 Glauber de Oliveira Costa <glommer@gmail.com>
56999 * elf/elf.h: Add new ARM TLS relocs.
57001 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
57003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57004 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57006 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
57008 * sysdeps/wordsize-64/tst-writev.c: New file.
57010 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
57012 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57013 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57014 insns in _dl_start to prevent a TOC reference before relocs are
57017 2011-02-15 Ulrich Drepper <drepper@gmail.com>
57020 * Makeconfig: Remove RANLIB definition.
57021 * Makerules: Don't use RANLIB.
57022 * aclocal.m4: Remove ranlib test.
57023 * configure.in: No need to check for ranlib.
57024 * elf/rtld-Rules: Don't use RANLIB.
57026 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
57028 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57030 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57031 inclusion protection macro.
57033 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57034 SIGRTMIN and SIGRTMAX and print information in that case only when
57035 SIGRTMIN is defined.
57037 2011-02-11 Jakub Jelinek <jakub@redhat.com>
57039 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57040 arginfo fn returning -1.
57042 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57043 and thousands string is zero terminated.
57045 2011-02-03 Andreas Schwab <schwab@redhat.com>
57047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57048 sysdeps/unix/sysv/linux/bits/socket.h.
57050 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
57052 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57053 (__CPU_COUNT): Remove old macros.
57054 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57055 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57056 (__CPU_ALLOC, __CPU_FREE): Add macros.
57057 (__sched_cpualloc, __sched_cpufree): Add declarations.
57059 2011-02-05 Ulrich Drepper <drepper@gmail.com>
57061 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57062 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57063 * nscd/aicache.c (addhstaiX): Return timeout of added value.
57064 (readdhstai): Return value of addhstaiX call.
57065 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57066 (addgrbyX): Return value returned by cache_addgr.
57067 (readdgrbyname): Return value returned by addgrbyX.
57068 (readdgrbygid): Likewise.
57069 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57070 (addpwbyX): Return value returned by cache_addpw.
57071 (readdpwbyname): Return value returned by addhstbyX.
57072 (readdpwbyuid): Likewise.
57073 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57074 (addservbyX): Return value returned by cache_addserv.
57075 (readdservbyname): Return value returned by addservbyX:
57076 (readdservbyport): Likewise.
57077 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57078 (addhstbyX): Return value returned by cache_addhst.
57079 (readdhstbyname): Return value returned by addhstbyX.
57080 (readdhstbyaddr): Likewise.
57081 (readdhstbynamev6): Likewise.
57082 (readdhstbyaddrv6): Likewise.
57083 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57084 (readdinitgroups): Return value returned by addinitgroupsX.
57085 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57086 (prune_cache): Keep track of timeout value of re-added entries.
57087 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57088 * nscd/nscd.h: Adjust prototypes of readd* functions.
57090 2011-02-04 Roland McGrath <roland@redhat.com>
57092 * nis/nis_server.c (nis_servstate): Use the right name for 0.
57093 (nis_stats): Likewise.
57094 * nis/nis_modify.c (nis_modify): Likewise.
57095 * nis/nis_remove.c (nis_remove): Likewise.
57096 * nis/nis_add.c (nis_add): Likewise.
57098 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57100 * posix/fnmatch_loop.c: Add some consts.
57102 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57104 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
57107 * config.make.in (config-cflags-novzeroupper): Define.
57108 * configure.in: Substitute libc_cv_cc_novzeroupper.
57109 * elf/Makefile (AVX-CFLAGS): Define.
57110 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57111 (CFLAGS-tst-auditmod4a.c): Likewise.
57112 (CFLAGS-tst-auditmod4b.c): Likewise.
57113 (CFLAGS-tst-auditmod6b.c): Likewise.
57114 (CFLAGS-tst-auditmod6c.c): Likewise.
57115 (CFLAGS-tst-auditmod7b.c): Likewise.
57116 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57118 2011-02-02 Ulrich Drepper <drepper@gmail.com>
57120 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57121 function to the callback.
57122 Patch partly by Jiri Olsa <jolsa@redhat.com>.
57124 2011-02-02 Andreas Schwab <schwab@redhat.com>
57126 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57129 2011-01-19 Ulrich Drepper <drepper@gmail.com>
57132 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57134 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57136 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57139 * elf/Makefile: Add rules to build and run new test.
57140 * elf/tst-initorder.c: New file.
57141 * elf/tst-initorder.exp: New file.
57142 * elf/tst-initordera1.c: New file.
57143 * elf/tst-initordera2.c: New file.
57144 * elf/tst-initordera3.c: New file.
57145 * elf/tst-initordera4.c: New file.
57146 * elf/tst-initorderb1.c: New file.
57147 * elf/tst-initorderb2.c: New file.
57148 * elf/tst-order-a1.c: New file.
57149 * elf/tst-order-a2.c: New file.
57150 * elf/tst-order-a3.c: New file.
57151 * elf/tst-order-a4.c: New file.
57152 * elf/tst-order-b1.c: New file.
57153 * elf/tst-order-b2.c: New file.
57154 * elf/tst-order-main.c: New file.
57155 New test case by George Gensure <werkt0@gmail.com>.
57157 2010-10-01 Andreas Schwab <schwab@redhat.com>
57159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57160 decoding ACE if AI_CANONIDN.
57162 2011-01-18 Ulrich Drepper <drepper@gmail.com>
57164 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57166 2011-01-17 Ulrich Drepper <drepper@gmail.com>
57168 * version.h (RELEASE): Bump for 2.13 release.
57169 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57171 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57173 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57175 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57177 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57178 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57182 * posix/getconf.c: Update copyright year.
57183 * catgets/gencat.c: Likewise.
57184 * csu/version.c: Likewise.
57185 * debug/catchsegv.sh: Likewise.
57186 * debug/xtrace.sh: Likewise.
57187 * elf/ldconfig.c: Likewise.
57188 * elf/ldd.bash.in: Likewise.
57189 * elf/sprof.c (print_version): Likewise.
57190 * iconv/iconv_prog.c: Likewise.
57191 * iconv/iconvconfig.c: Likewise.
57192 * locale/programs/locale.c: Likewise.
57193 * locale/programs/localedef.c: Likewise.
57194 * malloc/memusage.sh: Likewise.
57195 * malloc/mtrace.pl: Likewise.
57196 * nscd/nscd.c (print_version): Likewise.
57197 * nss/getent.c: Likewise.
57199 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57200 PF_CAIF, and PF_ALG.
57201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57203 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57205 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57206 (modules-names): Use them.
57207 (ifunc-test-modules, ifunc-pie-tests): Define.
57208 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57209 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57210 (test-extras): Likewise.
57211 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57212 $(compile-command.c).
57213 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57214 (all-built-dso): Define.
57215 (check-textrel.out, check-execstack.out): Depend on it.
57217 * configure.in: Don't override --enable-multi-arch.
57219 2011-01-15 Ulrich Drepper <drepper@gmail.com>
57222 * nscd/hstcache.c (tryagain): Define.
57223 (cache_addhst): Return tryagain not notfound for temporary errors.
57224 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57227 2011-01-14 Ulrich Drepper <drepper@gmail.com>
57230 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57231 to make the syscall.
57232 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57235 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57236 and fall back to matching as normal character if the string ends before
57237 the matching ']' is found. This is what POSIX requires.
57238 * posix/testfnm.c: Adjust test result.
57239 * posix/globtest.sh: Adjust test result. Add new test.
57240 * posix/tst-fnmatch.input: Likewise.
57241 * posix/tst-fnmatch2.c: Add new test.
57243 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57245 * elf/Makefile (check-execstack): Revert last change. Depend on
57247 (check-execstack.h): New target.
57248 (generated): Add check-execstack.h.
57249 * elf/check-execstack.c: Include "check-execstack.h".
57250 (main): Revert last change.
57251 (handle_file): Return zero if GNU_STACK is absent and
57252 DEFAULT_STACK_PERMS doesn't include PF_X.
57254 2011-01-13 Ulrich Drepper <drepper@gmail.com>
57256 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57257 in child fails because the descriptor is already closed.
57258 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57259 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57263 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57267 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57268 temporary buffer used to handle multi lookups locally.
57269 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57271 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57273 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57276 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57278 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57279 alignment for SSE2.
57281 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57284 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57285 characters. When rounding increased number of integer digits recompute
57287 * stdio-common/tst-grouping.c: New file.
57288 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57290 2011-01-09 Ulrich Drepper <drepper@gmail.com>
57292 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57293 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57295 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57297 * bits/select.h: Likewise.
57299 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57301 * po/ja.po: Update from translation team.
57303 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57306 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57307 implementation just like for lxstat, fxstatat, et al.
57309 2010-12-27 Jim Meyering <meyering@redhat.com>
57312 * posix/regexec.c (build_trtable): Return failure indication upon
57313 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57315 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57318 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57319 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57320 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57321 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57324 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57327 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57328 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57330 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57332 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57333 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57334 script has SORT_BY_INIT_PRIORITY.
57335 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57336 NO_CTORS_DTORS_SECTIONS is defined.
57337 * elf/soinit.c: Likewise.
57338 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57339 NO_CTORS_DTORS_SECTIONS is defined.
57340 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57341 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57342 * sysdeps/sh/init-first.c: Likewise.
57343 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57345 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57347 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57348 always use the slow path.
57350 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57352 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57353 similar rule which adds the sysdep directories to the header search in
57354 order to pick up the correct platform stackinfo.h.
57355 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57356 perform test if it is, otherwise return successfully without testing.
57357 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57358 DEFAULT_STACK_PERMS define in stackinfo.h.
57359 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57360 defined in stackinfo.h.
57361 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57362 DEFAULT_STACK_PERMS defined in stackinfo.h.
57363 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57364 * sysdeps/ia64/stackinfo.h: Likewise.
57365 * sysdeps/s390/stackinfo.h: Likewise.
57366 * sysdeps/sh/stackinfo.h: Likewise.
57367 * sysdeps/sparc/stackinfo.h: Likewise.
57368 * sysdeps/x86_64/stackinfo.h: Likewise.
57369 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57370 PF_X for powerpc64. Retain PF_X for powerpc32.
57372 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57374 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57376 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57377 GETDENTS_64BIT_ALIGNED.
57379 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57381 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57383 2010-12-10 Andreas Schwab <schwab@redhat.com>
57385 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57388 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57389 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57391 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57392 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57394 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57397 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57400 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57402 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57404 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57406 * po/it.po: Update from translation team.
57408 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57413 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57415 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57417 2010-11-24 Andreas Schwab <schwab@redhat.com>
57419 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57421 (gaih_getanswer_slice): Likewise.
57423 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57427 2010-05-31 Petr Baudis <pasky@suse.cz>
57430 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57431 silently even in the chroot mode.
57433 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57436 last patch a bit. Pretty printing
57438 2010-05-31 Petr Baudis <pasky@suse.cz>
57441 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57442 initialization of skip_initgroups_dyn.
57444 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57447 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57449 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57451 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57453 2010-11-11 Andreas Schwab <schwab@redhat.com>
57455 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57456 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57457 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57458 ($(objpfx)tst-fnmatch-mem): New rule.
57459 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57460 * posix/tst-fnmatch.c (main): Call mtrace.
57462 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57465 Support Intel processor model 6 and model 0x2c.
57467 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57469 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57472 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57475 * string/test-strncasecmp.c (check_result): New function.
57476 (do_one_test): Use it.
57477 (check1): New function.
57478 (test_main): Use it.
57479 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57480 Support strcasecmp and strncasecmp.
57482 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57485 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57488 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57490 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57494 * sysdeps/x86_64/multiarch/bzero.S: New file.
57495 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57496 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57497 * sysdeps/x86_64/multiarch/memset.S: New file.
57498 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57500 Set bit_Prefer_SSE_for_memop for Intel processors.
57501 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57503 (index_Prefer_SSE_for_memop): Define.
57504 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57506 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57508 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57511 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57515 (__x86_64_raw_data_cache_size_half): Likewise.
57516 (__x86_64_raw_shared_cache_size): Likewise.
57517 (__x86_64_raw_shared_cache_size_half): Likewise.
57519 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57520 (__x86_64_raw_data_cache_size_half): Likewise.
57521 (__x86_64_raw_shared_cache_size): Likewise.
57522 (__x86_64_raw_shared_cache_size_half): Likewise.
57523 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57524 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57525 and __x86_64_raw_shared_cache_size_half. Round
57526 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57527 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57528 to multiple of 256 bytes.
57530 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57533 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57534 of inacessible symlinks. Verify result of symlink before returning it.
57535 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57536 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57538 2010-10-28 Erich Ritz <erichritz@gmail.com>
57540 * math/math.h (isinf): Fix typo in comment.
57542 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57544 * po/da.po: Update from translation team.
57546 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57548 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57549 is added to the list.
57551 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57552 Ulrich Drepper <drepper@gmail.com>
57554 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57555 the global list here. Move code to...
57556 (_dl_add_to_namespace_list): ...here. New function.
57557 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57558 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57559 * elf/dl-load.c (lose): Don't remove the element from the list.
57560 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57561 (_dl_map_object): Likewise.
57563 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57566 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57567 into all bytes of SSE register.
57568 Patch by Richard Li <richardpku@gmail.com>.
57570 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57573 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57576 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57578 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57579 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57580 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57581 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57586 2010-10-22 Andreas Schwab <schwab@redhat.com>
57588 * include/dlfcn.h (__RTLD_SECURE): Define.
57589 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57590 mode & __RTLD_SECURE instead.
57591 (open_path): Rename preloaded parameter to secure.
57592 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57593 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57594 * elf/dl-deps.c (openaux): Likewise.
57595 * elf/rtld.c (struct map_args): Remove is_preloaded.
57596 (map_doit): Don't use it.
57597 (dl_main): Likewise.
57598 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57599 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57601 2010-09-09 Andreas Schwab <schwab@redhat.com>
57603 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57604 (sysd-rules-targets): Remove duplicates.
57605 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57606 rtld-%.$o dependency.
57608 2010-10-18 Andreas Schwab <schwab@redhat.com>
57610 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57611 _dl_map_object do it.
57613 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57615 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57616 fast fma builtins, define the macros in the C99 standard.
57617 (FP_FAST_FMAF): Likewise.
57618 (FP_FAST_FMAL): Likewise.
57619 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57621 * bits/mathdef.h: Update copyright year.
57622 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57624 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57626 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57627 builtins, define the macros in the C99 standard.
57628 (FP_FAST_FMAF): Likewise.
57629 (FP_FAST_FMAL): Likewise.
57630 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57632 (FP_FAST_FMAF): Likewise.
57634 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57637 * math/libm-test.inc (fma_test): Some new testcases.
57638 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57639 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57640 y and infinite z. Do multiplication by C already in long double.
57641 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57643 y and infinite z. Do bitwise or of inexact bit into u.d.
57644 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57645 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57646 * sysdeps/i386/fpu/s_fma.S: Removed.
57647 * sysdeps/i386/fpu/s_fmal.S: Removed.
57649 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57652 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57654 computation is not scheduled after fetestexcept. Fix value
57655 of minimum denormal long double.
57657 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57660 * math/libm-test.inc (fma_test): Add some more tests.
57661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57664 2010-10-15 Andreas Schwab <schwab@redhat.com>
57666 * scripts/data/localplt-s390-linux-gnu.data: New file.
57667 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57669 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57672 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57673 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57675 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57677 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57679 if one of x and y is very large and the other is subnormal.
57680 * sysdeps/s390/fpu/s_fmaf.c: New file.
57681 * sysdeps/s390/fpu/s_fma.c: New file.
57682 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57683 * sysdeps/powerpc/fpu/s_fma.S: New file.
57684 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57685 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57686 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57688 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57691 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57693 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57694 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57695 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57696 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57697 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57698 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57699 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57701 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57704 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57705 * posix/bug-regex31.input: Add test case.
57707 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57709 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57710 * posix/bug-regex31.input: New file.
57713 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57714 (parse_sub_exp): Fix last change, use postorder.
57716 * posix/bug-regex31.c: New file.
57717 * posix/Makefile: Add rules to build and run bug-regex31.
57719 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57722 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57725 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57726 to have entries in sys_siglist.
57729 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57732 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57735 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57736 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57737 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57738 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57739 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57740 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57741 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57742 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57743 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57744 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57745 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57746 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57747 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57748 * math/ftestexcept.c (fetestexcept): Likewise.
57749 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57750 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57751 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57752 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57753 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57754 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57757 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57760 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57763 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57765 * string/bug-strstr1.c: New file.
57766 * string/Makefile: Add rules to build and run bug-strstr1.
57768 2010-10-05 Eric Blake <eblake@redhat.com>
57771 * string/str-two-way.h (two_way_long_needle): Always clear memory
57772 when skipping input due to the shift table.
57774 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57777 * malloc/mcheck.c: Handle large requests.
57780 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57781 for strncmp and strncasecmp.
57782 * string/stratcliff.c: Add tests for strcmp and strncmp.
57783 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57785 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57787 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57790 2010-09-30 Andreas Jaeger <aj@suse.de>
57792 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57793 (CGROUP_SUPER_MAGIC): Define.
57794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57795 Handle btrfs and cgroup file systems.
57796 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57799 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57801 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57802 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57804 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57807 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57808 trying to locate the ELF header.
57810 2010-09-27 Andreas Schwab <schwab@redhat.com>
57813 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57814 Mask out sign-bit copies when constructing f_fsid.
57816 2010-09-24 Petr Baudis <pasky@suse.cz>
57818 * debug/stack_chk_fail_local.c: Add missing licence exception.
57819 * debug/warning-nop.c: Likewise.
57821 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57823 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57824 implementing getdents64 using getdents syscall, set d_type if
57825 __ASSUME_GETDENTS32_D_TYPE.
57827 2010-09-16 Andreas Schwab <schwab@redhat.com>
57829 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57830 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57832 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57835 * posix/unistd.h: Undo change of feature selection for ftruncate from
57838 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57840 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57843 2010-09-20 Andreas Schwab <schwab@redhat.com>
57845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57847 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57849 2010-09-14 Andreas Schwab <schwab@redhat.com>
57851 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57852 variables after CHECK_SP call.
57853 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57855 2010-09-13 Andreas Schwab <schwab@redhat.com>
57856 Ulrich Drepper <drepper@redhat.com>
57858 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57859 re-relocationg ld.so.
57860 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57861 _dl_init_paths call.
57862 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57865 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57867 * resolv/res_init.c (__res_vinit): Count the default server we added.
57869 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57870 Ulrich Drepper <drepper@redhat.com>
57873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57874 (____longjmp_chk): Use %ebx for saving value across system call.
57877 2010-09-06 Andreas Schwab <schwab@redhat.com>
57879 * manual/Makefile: Don't mix pattern rules with normal rules.
57881 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57883 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57885 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57886 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57887 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57888 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57889 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57892 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57895 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57896 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57898 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57900 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57901 * sysdeps/x86_64/addmul_1.S: Likewise.
57902 * sysdeps/x86_64/lshift.S: Likewise.
57903 * sysdeps/x86_64/mul_1.S: Likewise.
57904 * sysdeps/x86_64/rshift.S: Likewise.
57905 * sysdeps/x86_64/sub_n.S: Likewise.
57906 * sysdeps/x86_64/submul_1.S: Likewise.
57908 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57910 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57911 Define __sched_param instead of SCHED_* and sched_param when
57912 <bits/sched.h> is included with __need_schedparam defined.
57913 * bits/sched.h [__need_schedparam]
57914 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57915 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57916 (__defined_schedparam): Define to 1.
57917 (__sched_param): New structure, identical to sched_param.
57918 (__need_schedparam): Undefine.
57920 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57922 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57923 (epoll_create1): Declare.
57925 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57927 2010-08-31 Andreas Schwab <schwab@redhat.com>
57930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57931 shifting retval into place.
57933 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57935 * nis/rpcsvc/nis.h: Update copyright notice.
57936 * nis/rpcsvc/nis.x: Likewise.
57937 * nis/rpcsvc/nis_callback.h: Likewise.
57938 * nis/rpcsvc/nis_callback.x: Likewise.
57939 * nis/rpcsvc/nis_object.x: Likewise.
57940 * nis/rpcsvc/nis_tags.h: Likewise.
57941 * nis/rpcsvc/yp.h: Likewise.
57942 * nis/rpcsvc/yp.x: Likewise.
57943 * nis/rpcsvc/ypupd.h: Likewise.
57944 * nis/yp_xdr.c: Likewise.
57945 * nis/ypupdate_xdr.c: Likewise.
57947 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57948 mainly the body of pmap_getport. Add parameters to specify timeouts.
57949 (pmap_getport): Use __libc_rpc_getport.
57950 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57951 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57952 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57954 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57959 2010-08-27 Roland McGrath <roland@redhat.com>
57961 * sysdeps/i386/i686/multiarch/Makefile
57962 (CFLAGS-varshift.c): New variable.
57964 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57966 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57967 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57971 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57973 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57975 * sysdeps/x86_64/strlen.S: Unroll the loop.
57976 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57977 strlen-sse2 strlen-sse2-bsf.
57978 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57979 __strlen_no_bsf if bit_Slow_BSF is set.
57980 (__strlen_sse42): Removed.
57981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57982 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57984 2010-08-25 Roland McGrath <roland@redhat.com>
57986 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57987 * sysdeps/x86_64/multiarch/varshift.c: New file.
57988 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57989 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57990 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57991 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57993 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57996 strlen-sse2 strlen-sse2-bsf.
57997 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57998 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57999 (__strlen_sse2): Removed.
58000 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58003 bit_Slow_BSF for Atom.
58004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58005 (index_Slow_BSF): Define.
58006 (HAS_SLOW_BSF): Define.
58008 2010-08-25 Ulrich Drepper <drepper@redhat.com>
58011 * resolv/res_init.c (__res_vinit): When no server address at all
58012 is given default to loopback.
58014 2010-08-24 Roland McGrath <roland@redhat.com>
58016 * configure.in: Remove config-name.h generation.
58017 * configure: Regenerated.
58018 * config-name.in: File removed.
58019 * scripts/config-uname.sh: New file.
58020 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58021 ($(objdir)config-name.h): New target.
58023 * sunrpc/rpc_parse.h: Avoid nested comment.
58025 2010-08-24 Richard Henderson <rth@redhat.com>
58026 Ulrich Drepper <drepper@redhat.com>
58027 H.J. Lu <hongjiu.lu@intel.com>
58029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58031 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58032 Replace _mm_srli_si128 with __m128i_shift_right. Replace
58033 _mm_alignr_epi8 with _mm_loadu_si128.
58034 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58035 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58036 (__m128i_shift_right): Removed.
58037 * sysdeps/i386/i686/multiarch/varshift.h: New file.
58038 * sysdeps/i386/i686/multiarch/varshift.S: New file.
58039 * sysdeps/x86_64/multiarch/varshift.h: New file.
58040 * sysdeps/x86_64/multiarch/varshift.S: New file.
58042 2010-08-21 Mike Frysinger <vapier@gentoo.org>
58044 * configure.in: Move assembler checks to before sysdep dir checking.
58046 2010-08-20 Petr Baudis <pasky@suse.cz>
58048 * LICENSES: Sync the sunrpc license.
58050 2010-08-19 Ulrich Drepper <drepper@redhat.com>
58052 * sunrpc/auth_des.c: Update copyright notice once again.
58053 * sunrpc/auth_none.c: Likewise.
58054 * sunrpc/auth_unix.c: Likewise.
58055 * sunrpc/authdes_prot.c: Likewise.
58056 * sunrpc/authuxprot.c: Likewise.
58057 * sunrpc/bindrsvprt.c: Likewise.
58058 * sunrpc/clnt_gen.c: Likewise.
58059 * sunrpc/clnt_perr.c: Likewise.
58060 * sunrpc/clnt_raw.c: Likewise.
58061 * sunrpc/clnt_simp.c: Likewise.
58062 * sunrpc/clnt_tcp.c: Likewise.
58063 * sunrpc/clnt_udp.c: Likewise.
58064 * sunrpc/clnt_unix.c: Likewise.
58065 * sunrpc/des_crypt.c: Likewise.
58066 * sunrpc/des_soft.c: Likewise.
58067 * sunrpc/get_myaddr.c: Likewise.
58068 * sunrpc/getrpcport.c: Likewise.
58069 * sunrpc/key_call.c: Likewise.
58070 * sunrpc/key_prot.c: Likewise.
58071 * sunrpc/openchild.c: Likewise.
58072 * sunrpc/pm_getmaps.c: Likewise.
58073 * sunrpc/pm_getport.c: Likewise.
58074 * sunrpc/pmap_clnt.c: Likewise.
58075 * sunrpc/pmap_prot.c: Likewise.
58076 * sunrpc/pmap_prot2.c: Likewise.
58077 * sunrpc/pmap_rmt.c: Likewise.
58078 * sunrpc/rpc/auth.h: Likewise.
58079 * sunrpc/rpc/auth_unix.h: Likewise.
58080 * sunrpc/rpc/clnt.h: Likewise.
58081 * sunrpc/rpc/des_crypt.h: Likewise.
58082 * sunrpc/rpc/key_prot.h: Likewise.
58083 * sunrpc/rpc/netdb.h: Likewise.
58084 * sunrpc/rpc/pmap_clnt.h: Likewise.
58085 * sunrpc/rpc/pmap_prot.h: Likewise.
58086 * sunrpc/rpc/pmap_rmt.h: Likewise.
58087 * sunrpc/rpc/rpc.h: Likewise.
58088 * sunrpc/rpc/rpc_des.h: Likewise.
58089 * sunrpc/rpc/rpc_msg.h: Likewise.
58090 * sunrpc/rpc/svc.h: Likewise.
58091 * sunrpc/rpc/svc_auth.h: Likewise.
58092 * sunrpc/rpc/types.h: Likewise.
58093 * sunrpc/rpc/xdr.h: Likewise.
58094 * sunrpc/rpc_clntout.c: Likewise.
58095 * sunrpc/rpc_cmsg.c: Likewise.
58096 * sunrpc/rpc_common.c: Likewise.
58097 * sunrpc/rpc_cout.c: Likewise.
58098 * sunrpc/rpc_dtable.c: Likewise.
58099 * sunrpc/rpc_hout.c: Likewise.
58100 * sunrpc/rpc_main.c: Likewise.
58101 * sunrpc/rpc_parse.c: Likewise.
58102 * sunrpc/rpc_parse.h: Likewise.
58103 * sunrpc/rpc_prot.c: Likewise.
58104 * sunrpc/rpc_sample.c: Likewise.
58105 * sunrpc/rpc_scan.c: Likewise.
58106 * sunrpc/rpc_scan.h: Likewise.
58107 * sunrpc/rpc_svcout.c: Likewise.
58108 * sunrpc/rpc_tblout.c: Likewise.
58109 * sunrpc/rpc_util.c: Likewise.
58110 * sunrpc/rpc_util.h: Likewise.
58111 * sunrpc/rpcinfo.c: Likewise.
58112 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58113 * sunrpc/rpcsvc/key_prot.x: Likewise.
58114 * sunrpc/rpcsvc/klm_prot.x: Likewise.
58115 * sunrpc/rpcsvc/mount.x: Likewise.
58116 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58117 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58118 * sunrpc/rpcsvc/rex.x: Likewise.
58119 * sunrpc/rpcsvc/rstat.x: Likewise.
58120 * sunrpc/rpcsvc/rusers.x: Likewise.
58121 * sunrpc/rpcsvc/sm_inter.x: Likewise.
58122 * sunrpc/rpcsvc/spray.x: Likewise.
58123 * sunrpc/rpcsvc/yppasswd.x: Likewise.
58124 * sunrpc/rtime.c: Likewise.
58125 * sunrpc/svc.c: Likewise.
58126 * sunrpc/svc_auth.c: Likewise.
58127 * sunrpc/svc_authux.c: Likewise.
58128 * sunrpc/svc_raw.c: Likewise.
58129 * sunrpc/svc_run.c: Likewise.
58130 * sunrpc/svc_simple.c: Likewise.
58131 * sunrpc/svc_tcp.c: Likewise.
58132 * sunrpc/svc_udp.c: Likewise.
58133 * sunrpc/svc_unix.c: Likewise.
58134 * sunrpc/svcauth_des.c: Likewise.
58135 * sunrpc/xcrypt.c: Likewise.
58136 * sunrpc/xdr.c: Likewise.
58137 * sunrpc/xdr_array.c: Likewise.
58138 * sunrpc/xdr_float.c: Likewise.
58139 * sunrpc/xdr_mem.c: Likewise.
58140 * sunrpc/xdr_rec.c: Likewise.
58141 * sunrpc/xdr_ref.c: Likewise.
58142 * sunrpc/xdr_sizeof.c: Likewise.
58143 * sunrpc/xdr_stdio.c: Likewise.
58145 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58148 2010-08-19 Andreas Schwab <schwab@redhat.com>
58150 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58152 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
58154 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58156 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58157 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58158 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58159 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58160 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58161 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58162 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58163 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58164 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58165 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58166 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58167 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58169 2010-07-26 Anton Blanchard <anton@samba.org>
58171 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58172 * malloc/arena.c (heap_trim): Likewise.
58174 2010-08-16 Ulrich Drepper <drepper@redhat.com>
58176 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58179 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58181 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58183 * sysdeps/i386/elf/Makefile: New file.
58185 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58187 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58188 from fanotify_init.
58189 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58192 2010-08-15 Ulrich Drepper <drepper@redhat.com>
58194 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58196 * sysdeps/multiarch/strcmp.S: Likewise.
58198 2010-08-14 Ulrich Drepper <drepper@redhat.com>
58200 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58201 strncase_l-nonascii.
58202 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58203 Add strncase_l-ssse3.
58204 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58205 * sysdeps/x86_64/strcmp.S: Likewise.
58206 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58207 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58208 * sysdeps/x86_64/strncase.S: New file.
58209 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58210 * sysdeps/x86_64/strncase_l.S: New file.
58211 * string/Makefile (strop-tests): Add strncasecmp.
58212 * string/test-strncasecmp.c: New file.
58214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58217 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58218 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58220 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58222 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58224 2010-08-12 Ulrich Drepper <drepper@redhat.com>
58226 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58227 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58228 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58230 2010-05-01 Alan Modra <amodra@gmail.com>
58232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58233 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58234 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58235 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58236 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58237 tidying. Don't tail-call __sigjmp_save for static lib.
58238 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58240 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58241 (CALL_MCOUNT): Add eh info, and nop after bl.
58242 (TAIL_CALL_SYSCALL_ERROR): New macro.
58243 (PSEUDO_RET): Use it.
58244 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58245 Correct save location of integer regs and cr.
58246 (_dl_profile_resolve): Correct cr save location. Delete nops
58247 after bl when SHARED. Reduce cfi size a little by better
58248 placement of cfi directives.
58249 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58250 make a stack frame. Instead use parm save area as a temp.
58251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58252 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58254 Don't make a stack frame for parent, use parm save area.
58255 Increase child stack frame to 112 bytes. Don't save unused reg,
58256 and adjust reg usage. Set up cfi on error recovery and
58257 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58259 (__makecontext): Add dummy nop after jump to exit.
58260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58261 Use correct parm save area and cr save, reduce stack frame.
58262 Correct cfi for possible PSEUDO_RET frame setup.
58263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58264 Branch to local label emitted by PSEUDO_RET rather than
58267 2010-08-12 Andreas Schwab <schwab@redhat.com>
58270 * locale/programs/locale.c (print_assignment): New function.
58271 (show_locale_vars): Use it.
58273 2010-08-11 Ulrich Drepper <drepper@redhat.com>
58275 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58277 (struct statfs64): Likewise.
58278 (_STATFS_F_FLAGS): Define.
58279 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58280 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58281 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58282 (ST_VALID): Define locally.
58283 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58284 __statvfs_getflags, use the provided value.
58285 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58286 __ASSUME_STATFS_F_FLAGS.
58288 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58290 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58291 Add sys/fanotify.h.
58292 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58293 fanotify_mask for GLIBC_2.13.
58294 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58295 fanotify_init and fanotify_mark.
58296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58297 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58299 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58301 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58302 prlimit64 for GLIBC_2.13.
58303 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58305 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58309 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58310 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58313 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58316 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58317 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58319 * nss/Makefile: Add rules to build and run tst-nss-test1.
58320 * shlib-versions: Add entry for libnss_test1.
58321 * nss/nss_test1.c: New file.
58322 * nss/tst-nss-test1.c: New file.
58324 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58325 (__nss_configure_lookup): Set appropriate entry in
58326 __nss_configure_lookup to true.
58327 * nss/nsswitch.h: Define enum with indeces of databases in
58328 databases and __nss_database_custom arrays. Declare
58329 __nss_database_custom.
58330 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58331 to avoid using nscd when custom rules are installed.
58332 * nss/getXXbyYY_r.c: Likewise.
58333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58335 * nss/nss_files/files-parse.c: Whitespace fixes.
58337 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58340 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58341 * posix/fnmatch_loop.c: Likewise.
58343 2010-07-17 Andi Kleen <ak@linux.intel.com>
58345 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58346 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58347 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58348 * Versions.def [GLIBC_2.13]: Add.
58350 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58352 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58353 Also fail if tpwd after pwuid call is NULL.
58355 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58357 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58358 when converting to ms.
58360 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58362 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58363 EOPNOTSUPP errors with ENOTTY.
58364 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58365 EOPNOTSUPP errors with ENOTTY.
58367 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58369 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58370 Add strcasecmp_l-ssse3.
58371 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58373 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58374 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58375 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58377 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58379 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58381 * string/Makefile (strop-tests): Add strcasecmp.
58382 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58383 strcasecmp_l-nonascii.
58384 (gen-as-const-headers): Add locale-defines.sym.
58385 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58386 * sysdeps/x86_64/strcasecmp.S: New file.
58387 * sysdeps/x86_64/strcasecmp_l.S: New file.
58388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58389 * sysdeps/x86_64/locale-defines.sym: New file.
58390 * string/test-strcasecmp.c: New file.
58392 * string/test-strcasestr.c: Test both ends of the range of characters.
58393 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58395 2010-07-29 Roland McGrath <roland@redhat.com>
58398 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58400 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58402 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58405 2010-07-27 Andreas Schwab <schwab@redhat.com>
58407 * manual/memory.texi (Malloc Tunable Parameters): Document
58410 2010-07-26 Roland McGrath <roland@redhat.com>
58413 * configure.in (-fgnu89-inline check): Set and substitute
58414 gnu89_inline, not libc_cv_gnu89_inline.
58415 * configure: Regenerated.
58416 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58418 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58420 * string/test-strnlen.c: New file.
58421 * string/Makefile (strop-tests): Add strnlen.
58422 * string/tester.c (test_strnlen): Add a few more test cases.
58423 * string/tst-strlen.c: Better error reporting.
58425 * sysdeps/x86_64/strnlen.S: New file.
58427 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58429 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58430 lower-latency instructions.
58432 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58434 * string/test-strcasestr.c: New file.
58435 * string/test-strstr.c: New file.
58436 * string/Makefile (strop-tests): Add strstr and strcasestr.
58437 * string/str-two-way.h: Don't undefine MAX.
58438 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58440 2010-07-21 Andreas Schwab <schwab@redhat.com>
58442 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58443 strcasestr-nonascii.
58444 (CFLAGS-strcasestr-nonascii.c): Define.
58445 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58447 Remove unused attribute.
58449 2010-07-20 Roland McGrath <roland@redhat.com>
58451 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58452 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58453 ld.so.cache was broken. With it, there is no way to disable dsocaps
58454 like LD_HWCAP_MASK can disable hwcaps.
58456 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58458 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58460 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58462 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58463 call in strcasestr.
58464 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58465 __strcasestr_sse42_nonascii.
58466 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58467 strcasestr-nonascii.c.
58468 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58470 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58472 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58473 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58474 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58475 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58477 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58479 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58482 2010-07-06 Andreas Schwab <schwab@redhat.com>
58485 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58488 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58490 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58491 _PC_PIPE_BUF using F_GETPIPE_SZ.
58493 2010-07-05 Roland McGrath <roland@redhat.com>
58495 * manual/arith.texi (Rounding Functions): Fix rint description
58496 implicit in round description.
58498 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58500 * elf/Makefile: Fix linking for a few tests to make recent linker
58503 2010-06-30 Andreas Schwab <schwab@redhat.com>
58505 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58506 $(common-objpfx)libc_nonshared.a.
58508 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58510 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58511 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58512 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58513 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58514 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58515 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58516 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58517 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58532 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58533 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58534 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58535 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58536 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58537 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58538 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58539 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58540 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58541 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58542 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58543 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58559 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58561 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58562 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58563 * string/memmove.c (memmove): Renamed to ...
58564 (MEMMOVE): ...this. Default to memmove.
58565 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58566 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58569 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58570 mempcpy-ssse3-back memmove-ssse3-back.
58571 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58572 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58574 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58575 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58576 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58577 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58578 * sysdeps/x86_64/multiarch/memmove.c: New file.
58579 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58580 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58581 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58582 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58583 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58584 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58586 (index_Fast_Copy_Backward): Define.
58587 (HAS_ARCH_FEATURE): Define.
58588 (HAS_FAST_REP_STRING): Define.
58589 (HAS_FAST_COPY_BACKWARD): Define.
58591 2010-06-21 Andreas Schwab <schwab@redhat.com>
58593 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58594 Restore proper fallback handling.
58596 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58599 * posix/group_member.c (__group_member): Correct checking loop.
58601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58602 OOM in getpwuid_r correctly. Return error number when the caller
58603 should return, otherwise -1.
58604 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58605 call returning > 0 value.
58606 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58608 2010-06-07 Andreas Schwab <schwab@redhat.com>
58610 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58611 libc_nonshared.a from targets in modules-names.
58613 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58615 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58618 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58620 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58621 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58625 2010-06-02 Andreas Schwab <schwab@redhat.com>
58627 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58629 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58631 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58637 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58638 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58640 2010-06-14 Roland McGrath <roland@redhat.com>
58642 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58644 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58646 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58647 __REDIRECT followed by __THROW.
58648 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58649 * posix/getopt.h (getopt): Likewise.
58651 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58653 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58654 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58655 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58657 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58658 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58660 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58662 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58664 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58668 Properly check family and model.
58670 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58672 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58674 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58676 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58678 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58680 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58683 2010-05-19 Andreas Schwab <schwab@redhat.com>
58685 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58688 2010-05-21 Andreas Schwab <schwab@redhat.com>
58690 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58691 and internal_recvmmsg.
58692 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58693 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58694 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58695 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58697 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58698 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58699 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58701 2010-05-20 Andreas Schwab <schwab@redhat.com>
58703 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58705 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58707 POWER7 optimizations.
58708 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58709 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58711 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58713 * version.h: Update for 2.13 development version.
58715 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58717 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58718 exceptions. Return 0.
58720 2010-05-07 Roland McGrath <roland@redhat.com>
58722 * elf/ldconfig.c (main): Add a const.
58724 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58726 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58727 (args_options): Add no-idn option.
58728 (ahosts_keys_int): Add idn_flags to ai_flags.
58729 (parse_option): Handle 'i' option to clear idn_flags.
58731 * malloc/malloc.c (_int_free): Possible race in the most recently
58732 added check. Only act on the data if no current modification
58735 See ChangeLog.17 for earlier changes.