1 2015-05-06 Joseph Myers <joseph@codesourcery.com>
3 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4 csqrt, erfc, sin and sincos.
5 * math/auto-libm-test-out: Regenerated.
6 * sysdeps/i386/fpu/libm-test-ulps: Update.
7 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11 * sysdeps/aarch64/libm-test-ulps: Update.
13 2015-05-05 Joseph Myers <joseph@codesourcery.com>
15 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17 * math/auto-libm-test-out: Regenerated.
18 * sysdeps/i386/fpu/libm-test-ulps: Update.
19 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
24 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27 2015-05-05 Florian Weimer <fweimer@redhat.com>
29 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30 Assume __ASSUME_FALLOCATE is always true.
31 * sysdeps/unix/sysv/linux/posix_fallocate64.c
32 (__posix_fallocate64_l64): Likweise.
33 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34 (posix_fallocate): Likewise.
35 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36 (__posix_fallocate64_l64): Likewise.
37 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38 [!__ASSUME_FALLOCATE]: Add comment.
40 2015-05-05 Florian Weimer <fweimer@redhat.com>
42 * sysdeps/unix/sysv/linux/i386/Makefile
43 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
44 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
45 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
46 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
48 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
49 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
51 2015-05-02 Joseph Myers <joseph@codesourcery.com>
53 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
54 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
56 * math/auto-libm-test-out: Regenerated.
57 * sysdeps/i386/fpu/libm-test-ulps: Update.
58 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60 2015-05-01 Joseph Myers <joseph@codesourcery.com>
62 * math/auto-libm-test-in: Add more tests of tgamma.
63 * math/auto-libm-test-out: Regenerated.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67 * math/auto-libm-test-in: Add more tests of tanh.
68 * math/auto-libm-test-out: Regenerated.
69 * sysdeps/i386/fpu/libm-test-ulps: Update.
70 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72 * math/auto-libm-test-in: Add more tests of tan.
73 * math/auto-libm-test-out: Regenerated.
74 * sysdeps/i386/fpu/libm-test-ulps: Update.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
78 * math/auto-libm-test-out: Regenerated.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82 * math/auto-libm-test-in: Add another test of pow.
83 * math/auto-libm-test-out: Regenerated.
84 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
86 * math/auto-libm-test-in: Add more tests of lgamma.
87 * math/auto-libm-test-out: Regenerated.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
91 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
93 * math/auto-libm-test-out: Regenerated.
94 * sysdeps/i386/fpu/libm-test-ulps: Update.
95 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97 2015-05-01 Mark Wielaard <mjw@redhat.com>
99 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
100 Elf64_Chdr structs and ELFCOMPRESS constants.
102 2015-05-01 Joseph Myers <joseph@codesourcery.com>
104 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
106 * math/auto-libm-test-out: Regenerated.
107 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
110 * math/auto-libm-test-in: Add more tests of erf and erfc.
111 * math/auto-libm-test-out: Regenerated.
112 * sysdeps/i386/fpu/libm-test-ulps: Update.
113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
115 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
117 * config.h.in (HAVE_AARCH64_BE): Add.
119 2015-04-30 Joseph Myers <joseph@codesourcery.com>
121 * math/auto-libm-test-in: Add more tests of csqrt.
122 * math/auto-libm-test-out: Regenerated.
123 * sysdeps/i386/fpu/libm-test-ulps: Update.
124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126 * math/auto-libm-test-in: Add more tests of cosh and sinh.
127 * math/auto-libm-test-out: Regenerated.
128 * sysdeps/i386/fpu/libm-test-ulps: Update.
129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
133 2015-04-29 Roland McGrath <roland@hack.frob.com>
135 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
136 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
138 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
139 (euidaccess, eaccess): Define as weak aliases.
141 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
142 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
143 but __suseconds_t is often 'long int' so some sources assume that
144 type is being used (e.g. they use %ld to print tv_usec).
146 2015-04-29 Florian Weimer <fweimer@redhat.com>
149 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
151 * nss/tst-nss-getpwent.c: New file.
152 * nss/Makefile (tests): Add new test.
154 2015-04-28 Joseph Myers <joseph@codesourcery.com>
157 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
158 exponents less than 48 as cases where high part of mantissa needs
159 examining to determine whether argument is integral.
160 * math/libm-test.inc (round_test_data): Add more tests.
162 2015-04-28 Mark Wielaard <mjw@redhat.com>
164 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
166 2015-04-27 David S. Miller <davem@davemloft.net>
168 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
170 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
172 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
175 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
177 2015-04-27 Florian Weimer <fweimer@redhat.com>
180 * time/tzset.c (parse_tzname): Return error on memory allocation
182 * test-skeleton.c (struct temp_name_list): Change type of name
184 (add_temp_file): Create a copy of the file name.
185 (delete_temp_files): Deallocate memory.
186 (create_temp_file): Add comment.
188 2015-04-24 Florian Weimer <fweimer@redhat.com>
190 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
191 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
193 2015-04-24 Roland McGrath <roland@hack.frob.com>
195 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
196 * sysdeps/arm/configure: Regenerated.
198 2015-04-24 Florian Weimer <fweimer@redhat.com>
201 * time/tzfile.c (__tzfile_read): Check for large values of
202 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
203 * time/tzset.c (__tzstring_len): New function, based on the old
205 (__tzstring): Call __tzstring_len.
206 (parse_tzname): New helper function extracted from
207 __tzset_parse_tz. Call __tzstring_len, without making a copy of
209 (parse_offset): New helper function extracted from
210 __tzset_parse_tz. Replace switch with fallthrough with
211 initialization before sscanf.
212 (parse_rule): Likewise.
213 (__tzset_parse_tz): Rewrite using the new helper functions. Use
214 new-style function definition.
215 * timezone/Makefile (tests): Add tst-tzset.
216 (tst-tzset.out): Dependencies on time zone files.
217 (tst-tzset-ENV): Set TZDIR.
218 (testdata/XT%): Copy crafted time zone files.
219 * timezone/README: Mention crafted time zone files.
220 * timezone/testdata/XT1, timezone/testdata/XT2,
221 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
223 * timezone/tst-tzset.c: New test.
225 2015-04-24 Florian Weimer <fweimer@redhat.com>
227 * Makeconfig (+gccwarn): Remove -Winline.
229 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
231 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
233 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
235 * NEWS: Mention sysconf() cache information support for s390.
236 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
238 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
240 * math/k_casinh.c (__kernel_casinh): Use __copysign.
241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
242 (__nearbyint): Likewise.
243 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
244 (copysignl): Likewise.
246 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
249 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
250 based on padding. (CVE-2015-1781)
252 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
254 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
256 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
257 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
258 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
259 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
260 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
261 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
262 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
263 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
264 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
265 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
267 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
268 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
269 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
270 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
271 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
272 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
274 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
275 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
276 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
277 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
278 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
280 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
282 * stdlib/setenv.c (__add_to_environ):
283 Dump core quickly if setenv (..., NULL, ...) is called.
284 This time, do it the right way, and pacify GCC with a pragma.
286 2015-04-17 Roland McGrath <roland@hack.frob.com>
288 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
289 IMAP->l_prev cannot be null, and #if out the code for the contrary
290 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
291 believe that NS (&_dl_ns[NSID]) could point outside the array.
293 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
294 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
295 before using NSID as an index.
297 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
300 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
301 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
302 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
304 2015-04-17 Roland McGrath <roland@hack.frob.com>
306 Add preliminary port to Google Native Client on ARM.
307 * abi-tags (.*-.*-nacl.*): New entry.
308 * sysdeps/arm/nacl: New directory.
309 * sysdeps/nacl: New directory.
311 2015-04-16 David S. Miller <davem@davemloft.net>
313 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
316 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
318 * sysdeps/tile/configure.ac: New file.
319 * sysdeps/tile/configure: Regenerated.
321 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
323 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
324 conditionals for weak_alias and libc_hidden_weak.
325 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
326 libc_hidden_weak and weak_alias.
327 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
328 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
329 and weak_alias for static one.
331 2015-04-15 David S. Miller <davem@davemloft.net>
333 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
335 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
338 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
339 Use signed comparision instead of substraction to avoid
341 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
342 Take the sign of ret.
343 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
344 Do not expect precise return values. Only the sign matters.
345 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
346 * wcsmbs/test-wcsncmp.c: New File.
347 * string/test-strncmp.c: Add wcsncmp support.
349 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
352 * math/w_log1p.c: New file.
353 * math/w_log1pf.c: Likewise.
354 * math/w_log1pl.c: Likewise.
355 * math/Makefile (libm-calls): Add w_log1p.
356 * math/s_log1pl.c (log1pl): Remove weak_alias.
357 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
358 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
359 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
360 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
361 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
362 [NO_LONG_DOUBLE] (log1pl): Likewise.
363 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
364 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
365 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
366 (log1p): Remove long_double_symbol.
367 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
368 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
369 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
370 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
371 remove weak_alias for corresponding log1p function.
372 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
373 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
374 * sysdeps/ia64/fpu/w_log1p.c: New file.
375 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
376 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
377 * math/libm-test.inc (log1p_test_data): Add errno expectations.
379 2015-04-10 Joseph Myers <joseph@codesourcery.com>
382 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
383 decimal exponent by 1.
384 * stdlib/tst-strtod-round-data: Add more tests.
385 * stdlib/tst-strtod-round.c (tests): Regenerated.
387 2015-04-09 Joseph Myers <joseph@codesourcery.com>
389 * math/auto-libm-test-in: Add more tests of clog and clog10.
390 * math/auto-libm-test-out: Regenerated.
391 * sysdeps/i386/fpu/libm-test-ulps: Update.
392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
394 2015-04-09 Roland McGrath <roland@hack.frob.com>
396 * Makeconfig (module-cppflags): Exclude all .v.i files.
397 (skip-module-cppflags): Variable removed.
399 * configure.ac (libc_config_ok): Initialize before reading
400 preconfigure scripts, not after.
401 * configure: Regenerated.
403 * test-skeleton.c (TIMEOUT): Move #define to top level.
404 (main): Grok environment variable TEST_DIRECT. If set, print
405 test expectation details into that file and then behave as if
408 2015-04-09 Florian Weimer <fweimer@redhat.com>
410 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
413 2015-04-08 David S. Miller <davem@davemloft.net>
415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
417 2015-04-08 Joseph Myers <joseph@codesourcery.com>
419 * math/auto-libm-test-in: Add more tests of atanh.
420 * math/auto-libm-test-out: Regenerated.
421 * sysdeps/i386/fpu/libm-test-ulps: Update.
422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
424 * math/auto-libm-test-in: Add more tests of atan.
425 * math/auto-libm-test-out: Regenerated.
426 * sysdeps/i386/fpu/libm-test-ulps: Update.
427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
429 2015-04-08 Florian Weimer <fweimer@redhat.com>
431 * elf/pldd.c (main): Rewrite to use struct
432 scratch_buffer instead of extend_alloca.
433 * elf/pldd-xx.c (find_maps): Likewise.
434 * grp/initgroups.c: Include <scratch_buffer.h> instead of
436 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
437 scratch_buffer instead of extend_alloca.
438 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
439 grp/compat-initgroups.c.
440 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
441 Rewrite to use struct scratch_buffer instead of extend_alloca.
442 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
443 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
445 2015-04-08 Joseph Myers <joseph@codesourcery.com>
447 * math/auto-libm-test-in: Add more tests of cbrt.
448 * math/auto-libm-test-out: Regenerated.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
451 * math/auto-libm-test-in: Add more tests of cabs.
452 * math/auto-libm-test-out: Regenerated.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
459 (__ieee754_atan2): Set FE_TONEAREST mode for internal
461 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
463 * math/auto-libm-test-out: Regenerated.
464 * sysdeps/i386/fpu/libm-test-ulps: Update.
465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
468 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
469 (atan): Set FE_TONEAREST mode for internal computations.
470 * math/auto-libm-test-in: Add more tests of atan.
471 * math/auto-libm-test-out: Regenerated.
473 2015-04-07 James Cowgill <james410@cowgill.org.uk>
476 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
478 2015-04-07 Florian Weimer <fweimer@redhat.com>
480 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
482 2015-04-07 Florian Weimer <fweimer@redhat.com>
484 * include/scratch_buffer.h: New file.
485 * malloc/scratch_buffer_grow.c: Likewise.
486 * malloc/scratch_buffer_grow_preserve.c: Likewise.
487 * malloc/scratch_buffer_set_array_size.c: Likewise.
488 * malloc/tst-scratch_buffer.c: Likewise.
489 * malloc/Makefile (routines): Add scratch_buffer_grow.
490 (tests): Add test case.
491 * malloc/Versions (GLIBC_PRIVATE): Export
492 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
493 __libc_scratch_buffer_set_array_size.
495 2015-04-06 Richard Henderson <rth@redhat.com>
497 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
498 * sysdeps/alpha/fpu/libm-test-ulps: Update.
500 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
501 unsigned int before printing.
503 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
506 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
507 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
509 2015-04-02 Florian Weimer <fweimer@redhat.com>
511 * include/libc-internal.h (libc_max_align_t): Define.
513 2015-04-02 Andreas Schwab <schwab@suse.de>
516 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
518 2015-04-02 Mel Gorman <mgorman@suse.de>
521 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
522 as well as the main arena.
524 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
527 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
528 sharing L2 cache to 2 for Silvermont/Knights Landing.
530 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
533 * config.make.in (have-protected-data): New.
534 * configure.ac: Check linker support for protected data symbol.
535 * configure: Regenerated.
536 * elf/Makefile (modules-names): Add tst-protected1moda and
537 tst-protected1modb if $(have-protected-data) is yes.
538 (tests): Add tst-protected1a and tst-protected1b if
539 $(have-protected-data) is yes.
540 ($(objpfx)tst-protected1a): New.
541 ($(objpfx)tst-protected1b): Likewise.
542 (tst-protected1modb.so-no-z-defs): Likewise.
543 * elf/tst-protected1a.c: New file.
544 * elf/tst-protected1b.c: Likewise.
545 * elf/tst-protected1mod.h: Likewise.
546 * elf/tst-protected1moda.c: Likewise.
547 * elf/tst-protected1modb.c: Likewise.
549 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
552 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
553 indicates it is called from do_lookup_x on relocation against
554 protected data, skip the data definion in the executable from
556 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
557 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
558 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
559 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
560 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
562 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
563 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
564 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
565 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
566 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
567 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
569 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
571 * sysdeps/nptl/pthread.h: Remove duplicate definition of
572 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
574 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
576 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
578 * sysdeps/x86_64/nptl/tls.h: Ditto.
580 2015-03-27 Roland McGrath <roland@hack.frob.com>
582 * dlfcn/tststatic.c (main): Converted to ...
584 (TEST_FUNCTION): New macro.
585 Include test-skeleton.c.
587 2015-03-26 Alan Modra <amodra@gmail.com>
589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
590 Don't segfault if ifunc resolver returns a NULL. Do set plt to
591 zero for undefined weak.
592 (elf_machine_plt_conflict): Similarly.
594 2015-03-25 Joseph Myers <joseph@codesourcery.com>
596 * math/auto-libm-test-in: Add more tests of acosh, asinh and
598 * math/auto-libm-test-out: Regenerated.
599 * sysdeps/i386/fpu/libm-test-ulps: Update.
600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
602 * math/auto-libm-test-in: Add another test of asin.
603 * math/auto-libm-test-out: Regenerated.
604 * sysdeps/i386/fpu/libm-test-ulps: Update.
605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
609 (LLL_EBX_REG): Likewise.
610 (LLL_ENTER_KERNEL): Likewise.
612 * math/auto-libm-test-in: Add more tests of asin.
613 * math/auto-libm-test-out: Regenerated.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
618 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
619 libc_do_syscall_args): New structure.
620 (INTERNAL_SYSCALL_MAIN_0): New macro.
621 (INTERNAL_SYSCALL_MAIN_1): Likewise.
622 (INTERNAL_SYSCALL_MAIN_2): Likewise.
623 (INTERNAL_SYSCALL_MAIN_3): Likewise.
624 (INTERNAL_SYSCALL_MAIN_4): Likewise.
625 (INTERNAL_SYSCALL_MAIN_5): Likewise.
626 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
627 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
628 Replace conditional definitions by conditional definitions of ....
629 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
630 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
631 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
632 (libpthread-sysdep_routines): Add libc-do-syscall.
633 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
634 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
635 to __NR_futex not 240.
637 2015-03-25 Alan Modra <amodra@gmail.com>
639 * NEWS: Advertise TLS optimization.
640 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
641 (DT_PPC_NUM): Increment.
642 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
643 (CHECK_STATIC_TLS): Use here.
644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
647 * sysdeps/powerpc/dl-tls.c: New file.
648 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
649 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
650 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
651 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
656 2015-03-25 Alan Modra <amodra@gmail.com>
658 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
659 for overlapping .opd entries" to "support...".
660 * sysdeps/powerpc/powerpc64/configure: Regenerate
662 2015-03-25 Joseph Myers <joseph@codesourcery.com>
664 * math/auto-libm-test-in: Add more tests of acos.
665 * math/auto-libm-test-out: Regenerated.
666 * sysdeps/i386/fpu/libm-test-ulps: Update.
667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
669 * math/auto-libm-test-in: Add more tests of expm1.
670 * math/auto-libm-test-out: Regenerated.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
674 2015-03-24 Joseph Myers <joseph@codesourcery.com>
676 * math/auto-libm-test-in: Add more tests of cosh and sinh.
677 * math/auto-libm-test-out: Regenerated.
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
684 * math/auto-libm-test-in: Add more tests of log2.
685 * math/auto-libm-test-out: Regenerated.
686 * sysdeps/i386/fpu/libm-test-ulps: Update.
687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689 2015-03-23 Roland McGrath <roland@hack.frob.com>
691 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
692 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
693 _IO_IS_APPENDING bit in READ_WRITE instead.
695 2015-03-23 Florian Weimer <fweimer@redhat.com>
697 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
698 (__determine_cpumask_size): Replace extend_alloca with a
699 variable-length array. Do not treat res == 0 as an error.
701 2015-03-23 Florian Weimer <fweimer@redhat.com>
704 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
705 and integer overflow.
706 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
707 (main): Add integer overflow tests.
708 * manual/pattern.texi (Calling Wordexp): Document additional use
711 2015-03-23 Alan Modra <amodra@gmail.com>
713 * config.h.in: Remove HAVE_ASM_PPC_REL16.
714 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
715 and false branch of conditional.
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
719 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
723 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
724 unused declaration of _hurd_intr_rpc_msg_in_trap.
725 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
726 defined instead of whether it is non-zero.
727 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
728 input constraint instead of both input and output constraint. Use ecx
729 clobber instead of %ecx.
730 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
731 mutex_unlock): Use a statement expression instead of an expression list.
732 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
733 type to vm_size_t instead of vm_address_t.
734 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
735 defined instead of whether it is non-zero.
736 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
737 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
738 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
739 comparisons with mapaddr.
740 * nscd/nscd-client.h: Include <time.h>.
741 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
742 9th parameter to __vm_region instead of int.
743 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
744 * scripts/check-local-headers.sh (exclude): Add device/,
745 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
748 2015-03-19 Roland McGrath <roland@hack.frob.com>
750 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
751 to account for alignment padding.
752 * sysdeps/arm/memmove.S: Likewise.
754 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
756 * sysdeps/unix/sysv/linux/generic/README: New file.
758 2015-03-18 Joseph Myers <joseph@codesourcery.com>
761 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
762 (futex_abstimed_wait)
763 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
764 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
765 of lll_futex_timed_wait.
767 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
770 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
772 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
779 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
780 entries with Static TLS too. Skip entries past the end of the
781 allocated DTV, from Alan Modra.
782 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
783 Static TLS DTV entry set up from...
784 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
785 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
786 * nptl/allocatestack.c (init_one_static_tls): ... and here...
787 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
789 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
790 that the slot we find is associated with the given map before
791 using its generation count.
792 * nptl_db/db_info.c: Include ldsodefs.h.
793 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
794 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
795 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
796 (link_map::l_tls_offset): New struct field.
797 (dtv_t::counter): Likewise.
798 (rtld_global): New struct.
799 (_rtld_global): New rtld variable.
800 (dl_tls_dtv_slotinfo_list): New rtld global field.
801 (dtv_slotinfo_list): New struct.
802 (dtv_slotinfo): Likewise.
803 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
804 (td_lookup): Rename to...
805 (td_mod_lookup): ... this. Use new mod parameter instead of
807 * nptl_db/td_thr_tlsbase.c: Include link.h.
808 (dtv_slotinfo_list, dtv_slotinfo): New functions.
809 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
810 addresses even if the DTV is out of date or missing them.
811 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
812 index zero-length arrays.
813 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
814 (td_lookup): Make it a macro implemented in terms of...
815 (td_mod_lookup): ... this declaration.
816 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
817 (DB_MAIN_VARIABLE): Likewise.
819 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
822 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
824 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
826 * stdlib/setenv.c (__add_to_environ): Revert previous change.
828 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
831 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
832 (atomic_add, atomic_increment_and_test)
833 (atomic_decrement_and_test): Fix 64-bit arithmetic.
835 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
837 * stdlib/setenv.c (__add_to_environ):
838 Dump core quickly if setenv (..., NULL, ...) is called.
840 2015-03-13 Roland McGrath <roland@hack.frob.com>
842 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
843 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
844 all the necessary asm magic in one place.
845 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
848 2015-03-13 Carlos O'Donell <carlos@redhat.com>
851 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
852 traced file mtime. Use consistent log message.
853 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
854 (register_traced_file): Call install_watches. Always set mtime.
855 (invalidate_cache): Iterate over all trace files. Call install_watches.
856 (inotify_check_files): Don't inline. Handle watching parent
857 directories and configuration file movement in and out.
858 (handle_inotify_events): New function.
859 (main_loop_poll): Call handle_inotify_events.
860 (main_loop_epoll): Likewise.
861 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
862 (struct traced_file): Use array of inotify fds. Add parent directory,
864 (struct database_dyn): Remove unused file_mtime.
865 (init_traced_file): New inline function.
866 (define_traced_file): New macro.
867 * nss/nss_db/db-init.c: Use define_traced_file.
868 (_nss_db_init): Use init_traced_file.
869 * nss/nss_files/files-init.c: Use define_traced_file.
870 (_nss_files_init): Use init_traced_file.
872 2015-03-12 Joseph Myers <joseph@codesourcery.com>
874 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
875 [_LIBC]: Do not include <stdlib.h>.
876 [!_LIBC] (abort): Remove declaration.
877 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
878 _FP_STATIC_ASSERT instead of conditionally calling abort.
879 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
880 (_FP_EXTEND_CNAN): Likewise.
881 (FP_TRUNC): Likewise.
882 (__FP_CLZ): Likewise.
883 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
885 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
887 * manual/string.texi (XPG basename): Fix prototype.
889 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
892 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
893 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
894 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
895 (__setcontext): Likewise.
896 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
897 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
898 Call rt_sigprocmask syscall one time to set new signal mask
899 and retrieve the current signal mask instead of two calls.
900 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
901 (__swapcontext): Likewise.
902 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
903 * stdlib/tst-setcontext2.c: New file.
905 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
907 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
909 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
912 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
915 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
918 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
920 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
922 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
923 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
925 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
926 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
927 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
928 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
929 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
930 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
932 * nptl_db/td_symbol_list.c (td_lookup): Remove
933 HAVE_ASM_GLOBAL_DOT_NAME code.
934 * sysdeps/powerpc/powerpc64/configure.ac: Remove
935 HAVE_ASM_GLOBAL_DOT_NAME check.
936 * sysdeps/powerpc/powerpc64/configure: Regenerate.
937 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
938 (DOT_LABEL): Remove define.
939 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
940 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
941 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
942 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
943 (__TLS_GET_ADDR): Likewise.
944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
945 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
947 2015-03-11 Carlos O'Donell <carlos@redhat.com>
950 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
951 (_FPU_SETCW): Initialize cw from fpsr before storing.
952 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
953 (fesetexceptflag): Rewrite using fpu_control.h.
954 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
956 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
959 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
961 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
963 2015-03-11 Joseph Myers <joseph@codesourcery.com>
965 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
966 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
971 2015-03-10 Roland McGrath <roland@hack.frob.com>
973 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
975 * Makefile (summarize-tests): New canned sequence, factored out of
976 commands for targets tests and xtests. Display summary lines that
977 don't start with PASS: or XFAIL: rather than ones that do start with
978 ERROR: or FAIL:. Make the commands fail if any summary lines fail
979 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
980 do start with ERROR: or FAIL:.
981 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
982 (except for [$(build-shared) = yes]).
983 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
984 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
985 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
986 * nptl/Makefile: Revert 2015-03-04 changes.
987 [$(CXX) empty] (tests-unsupported): New variable.
988 * debug/Makefile: Likewise.
990 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
991 gnulib file. Replace __attribute with __attribute__ throughout.
993 2015-03-10 Carlos O'Donell <carlos@redhat.com>
995 * sysdeps/hppa/fpu/libm-test-ulps: Update.
997 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1000 * math/auto-libm-test-in: Add another test of pow.
1001 * math/auto-libm-test-out: Regenerated.
1003 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1005 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1006 $(config-cflags-nofma).
1008 2015-03-10 Joseph Myers <joseph@codesourcery.com>
1010 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1011 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1012 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1013 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1014 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1015 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1016 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1017 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1018 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1019 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1020 Add comment on closing #endif.
1022 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1024 * posix/wordexp.c (CHAR_IN_SET): New macro.
1025 (parse_param): Use it.
1027 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1029 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1031 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1034 * posix/wordexp.c (parse_param): Fix buffer overflow.
1035 * posix/wordexp-test.c (test_case): Add test case.
1037 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1040 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1041 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1043 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1046 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1047 (do_bz18043): Delete.
1049 (testit): Refactor to have words at the edge of unreadable page.
1051 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1054 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1055 Cleanup read-only streams as well.
1056 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1058 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1060 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1063 2015-03-07 Joseph Myers <joseph@codesourcery.com>
1065 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1067 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1068 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1069 * soft-fp/op-common.h (_FP_DECL): Likewise.
1071 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1073 * elf/ifuncdep2.c (global): Replace
1074 __attribute__((visibility("protected"))) with
1075 asm (".protected global").
1076 * elf/ifuncmod1.c (global): Likewise.
1077 * elf/ifuncmod5.c (global): Likewise.
1079 2015-03-06 Joseph Myers <joseph@codesourcery.com>
1081 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1082 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1084 2015-03-06 Roland McGrath <roland@hack.frob.com>
1086 * manual/install.texi (Configuring and compiling):
1087 Document test-wrapper-env-only.
1088 * INSTALL: Regenerated.
1090 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1093 * posix/wordexp.c (parse_param): Fix buffer overflow.
1094 * posix/wordexp-test.c (do_bz18043): Add test case.
1096 2015-03-06 Vincent Bernat <vincent@bernat.im>
1098 * time/tst-strptime2.c (do_test): Ensure failing tests are
1100 * time/tst-strptime3.c (do_test): Likewise.
1102 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1104 Fix aio_error thread-safety.
1105 * sysdeps/pthread/aio_error.c: New file
1106 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1109 2015-03-06 Florian Weimer <fweimer@redhat.com>
1111 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1112 (group_number, vfprintf): Use it.
1113 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1114 (JUMP, REF): Use it.
1115 (WORK_BUFFER_SIZE): New enum constant.
1116 (process_arg, vfprintf): Use it.
1118 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
1120 * manual/errno.texi (Error Messages): Complete example function
1121 by adding missing #define.
1122 (program_invocation_name): Add statement indicating GNU
1123 extension and reference which header file declares the variable.
1124 (program_invocation_short_name): Likewise.
1126 2015-03-06 Mike Frysinger <vapier@gentoo.org>
1128 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1131 2015-03-05 Roland McGrath <roland@hack.frob.com>
1133 * Makeconfig (test-wrapper-env-only): New variable.
1134 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1135 then use that with $(test-wrapper-env-only) rather than using
1136 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1138 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1141 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1142 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1143 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1144 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1145 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1146 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1147 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1148 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1150 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1151 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1159 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1164 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1165 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1167 2015-03-04 Roland McGrath <roland@hack.frob.com>
1169 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1170 (ETH_ALEN): New macro.
1171 (struct ether_addr): Use it for length of ether_addr_octet.
1173 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1174 (setdb): Don't call __nss_configure_lookup for "rpc".
1175 (do_test): Don't call test_rpc.
1176 (output_rpcent, test_rpc): Functions moved ...
1177 * sunrpc/test-rpcent.c: ... to this new file.
1178 * sunrpc/Makefile (tests): Add it.
1180 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1182 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1183 * nptl/tst-signal6.c: Likewise.
1184 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1185 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1187 * configure.ac (libc_cv_cxx_link_ok): New check.
1188 Reset CXX to empty if it fails to link.
1189 * configure: Regenerated.
1190 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1191 bug-atexit3-lib only if $(CXX) is nonempty.
1192 * nptl/Makefile (tests): Likewise for tst-cancel24.
1193 (tests, tests-static): Likewise for tst-cancel24-static.
1194 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1195 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1196 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1197 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1199 2015-03-04 Andreas Schwab <schwab@suse.de>
1202 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1203 for non-GCC compilers.
1204 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1207 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1210 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1211 integer before bitwise and assembly operations.
1212 (feclearexcept): Likewise.
1213 * math/test-fenvinline.c: New file.
1214 * math/Makefile: Add test-fenvinline test.
1216 2015-03-03 Alan Modra <amodra@gmail.com>
1219 * scripts/localplt.awk: Strip off symbol version.
1220 * NEWS: Mention bug fix.
1222 2015-03-02 Roland McGrath <roland@hack.frob.com>
1224 * sysdeps/pthread/timer_routines.c
1225 (timer_free_list, thread_free_list, thread_active_list): Make static.
1227 2015-03-02 Joseph Myers <joseph@codesourcery.com>
1230 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1231 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1233 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1234 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1236 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1237 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1240 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1243 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1244 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1246 2015-03-02 Andreas Schwab <schwab@suse.de>
1248 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1251 2015-03-02 Florian Weimer <fweimer@redhat.com>
1253 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1254 Return error status.
1256 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
1259 * locale/findlocale.c (_nl_find_locale): Introduce const
1260 version of loc_name and drop unsafe type casts.
1262 2015-02-27 Roland McGrath <roland@hack.frob.com>
1264 * dlfcn/tststatic2.c (main): Converted to ...
1265 (do_test): ... this.
1266 (TEST_FUNCTION): New macro.
1267 Include test-skeleton.c.
1269 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1272 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1273 (tests-pie): Add vismain.
1274 (CFLAGS-vismain.c): New.
1275 * elf/vismain.c: Add comments for PIE requirement.
1277 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1281 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1282 0x1p-56L as threshold for just returning the argument.
1283 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1284 0x1p-32L as threshold for just returning the argument.
1285 * math/auto-libm-test-in: Add more tests of atanh.
1286 * math/auto-libm-test-out: Regenerated.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1290 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1292 * string/bcopy.c (bcopy): Call memmove for performance.
1294 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
1296 * string/bzero.c (__bzero): Call memset for performance.
1298 2015-02-27 John David Anglin <dave.anglin@bell.net>
1301 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1304 2015-02-27 Joseph Myers <joseph@codesourcery.com>
1306 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1308 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1310 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1311 (__kernel_standard): Use CSTR macro when setting exc.name.
1312 * sysdeps/ieee754/Makefile [$(subdir) = math]
1313 (CFLAGS-k_standard.c): Remove variable.
1315 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1316 setting p and q from "else if" to "else".
1318 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1320 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1322 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1324 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1326 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1331 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1332 return pi/2 for arguments below 0x1p-113L.
1333 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1334 return pi/2 for arguments below 0x1p-106L.
1335 * math/auto-libm-test-in: Add more tests of acos.
1336 * math/auto-libm-test-out: Regenerated.
1339 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1341 (__ieee754_asin): Force underflow exception for results with small
1343 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1345 (__ieee754_asinf): Force underflow exception for results with
1346 small absolute value.
1347 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1348 (__ieee754_asin): Force underflow exception for results with small
1350 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1351 (__ieee754_asinf): Force underflow exception for results with
1352 small absolute value.
1353 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1354 (__ieee754_asinl): Force underflow exception for results with
1355 small absolute value.
1356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1357 (__ieee754_asinl): Force underflow exception for results with
1358 small absolute value.
1359 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1360 (__ieee754_asinl): Force underflow exception for results with
1361 small absolute value.
1362 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1364 * math/auto-libm-test-in: Do not mark underflow exceptions as
1365 possibly missing for bug 16351.
1366 * math/auto-libm-test-out: Regenerated.
1369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1370 of power of 2 down when low part has opposite sign.
1371 * math/libm-test.inc (logb_test_data): Add more tests.
1373 2015-02-26 Andreas Schwab <schwab@suse.de>
1376 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1377 over collating symbol inside a bracket expression. Minor cleanup.
1378 * posix/tst-fnmatch3.c (do_test): Add test case.
1380 2015-02-26 Joseph Myers <joseph@codesourcery.com>
1383 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1384 Adjust exponent of power of 2 down when low part has opposite
1386 * math/libm-test.inc (ilogb_test_data): Add more tests.
1388 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
1391 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1392 the previous change.
1395 * locale/findlocale.c (_nl_find_locale): Retry archive search
1396 after alias expansion.
1398 2015-02-25 Roland McGrath <roland@hack.frob.com>
1400 * iconv/tst-iconv3.c (main): Converted to ...
1401 (do_test): ... this.
1402 (TEST_FUNCTION): New macro.
1403 Include test-skeleton.c.
1405 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1406 (convert): Make function static.
1407 (test_unalign): Likewise. Add const to argument pointee types.
1408 (main): Replace with static function do_test.
1409 Print "Succeeded." only if RET is zero.
1410 (TEST_FUNCTION): New macro.
1411 Include test-skeleton.c.
1413 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1414 returns a null pointer.
1416 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1419 to __memcpy_ppc only for static builds.
1421 2015-02-25 Joseph Myers <joseph@codesourcery.com>
1424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1425 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1426 * math/auto-libm-test-in: Add more tests of asinh.
1427 * math/auto-libm-test-out: Regenerated.
1428 * sysdeps/i386/fpu/libm-test-ulps: Update.
1429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1431 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1434 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1435 and ip6_mtuinfo definitions here.
1436 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1437 in this define too. Update comment.
1439 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1441 * elf/sprof.c (load_shobj): Tweak error message to match others.
1443 2015-02-24 Kevin Easton <kevin@guarana.org>
1445 [BZ #16145] (partial fix)
1446 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1447 to reduce lock contention.
1449 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1451 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1452 (struct timex): Update time comment.
1453 (ADJ_SETOFFSET): Define.
1455 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1459 2**56 not 2**28 as threshold for log (2x) formula.
1460 * math/auto-libm-test-in: Add more tests of acosh.
1461 * math/auto-libm-test-out: Regenerated.
1462 * sysdeps/i386/fpu/libm-test-ulps: Update.
1463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1465 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1467 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1468 parenthesis around the buf assignment.
1469 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1471 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1474 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1475 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1476 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1477 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1478 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1479 * math/libm-test.inc (scalb_test_data): Add more tests.
1481 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1484 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1485 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1487 2015-02-24 Eric Rannaud <e@nanocritical.com>
1490 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1491 * io/bits/fcntl2.h (open): Use it.
1493 * io/open.c (__libc_open): Likewise.
1494 * io/open64.c (__libc_open64): Likewise.
1495 * io/open64_2.c (__open64_2): Likewise.
1496 * io/open_2.c (__open_2): Likewise.
1497 * io/openat.c (__openat): Likewise.
1498 * io/openat64.c (__openat64): Likewise.
1499 * io/openat64_2.c (__openat64_2): Likewise.
1500 * io/openat_2.c (__openat_2): Likewise.
1501 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1502 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1503 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1504 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1505 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1506 (__open_nocancel): Likewise.
1507 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1508 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1509 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1511 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1514 * resolv/gethnamaddr.c (getanswer): Skip logging if
1515 RES_USE_DNSSEC is set.
1516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1518 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1520 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1522 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1524 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1525 201304L, for Unicode 7.
1527 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1530 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1531 shared library. Add gmon-start.os otherwise.
1532 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1533 $(objpfx)gmon-start.os if builing shared library.
1534 ($(objpfx)g$(static-start-installed-name)): Likewise.
1536 2015-02-23 Andreas Schwab <schwab@suse.de>
1538 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1540 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1543 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1544 (enlarge_userbuf): Likewise.
1546 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1548 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1549 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1550 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1551 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1553 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1555 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1556 expression inside statement expression.
1558 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1560 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1561 <sysdeps/nptl/lowlevellock.h> and remove macros and
1562 functions that are now defined there.
1563 (SYS_futex): Remove.
1564 (lll_compare_and_swap): Remove.
1565 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1567 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1570 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1571 instead of scandirat.
1572 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1573 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1574 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1576 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1577 (__scandirat): Declare. Use libc_hidden_proto.
1578 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1580 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1582 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1585 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1587 (__ieee754_atan2): For results with small absolute value, force
1588 underflow exception and remove excess range and precision from
1590 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1592 (__ieee754_atan2f): For results with small absolute value, force
1593 underflow exception and remove excess range and precision from
1595 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1597 (__atan): For results with small absolute value, force underflow
1598 exception and remove excess range and precision from return value.
1599 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1601 (__atanf): For results with small absolute value, force underflow
1602 exception and remove excess range and precision from return value.
1603 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1605 (__ieee754_atan2): Force underflow exception for results with
1606 small absolute value.
1607 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1609 (atan): Force underflow exception for results with small absolute
1611 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1612 (__atanf): Force underflow exception for results with small
1614 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1616 (__atanl): Force underflow exception for results with small
1618 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1619 (__atanl): Force underflow exception for results with small
1621 * sysdeps/x86/fpu/bits/mathinline.h
1622 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1623 (__ieee754_atan2): Only define inline for long double.
1624 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1625 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1626 * math/auto-libm-test-in: Do not mark underflow exceptions as
1627 possibly missing for bug 15319. Add more tests of atan2.
1628 * math/auto-libm-test-out: Regenerated.
1629 * math/libm-test.inc (casin_test_data): Do not mark underflow
1630 exceptions as possibly missing for bug 15319.
1631 (casinh_test_data): Likewise.
1632 * sysdeps/i386/fpu/libm-test-ulps: Update.
1634 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1636 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1637 * sysdeps/mips/bits/endian.h: Fix comments.
1639 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1642 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1643 (hdestroy_r): Likewise.
1644 (hsearch_r): Likewise.
1645 (__hcreate_r): Declare and use libc_hidden_proto.
1646 (__hdestroy_r): Likewise.
1647 (__hsearch_r): Likewise.
1648 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1649 (hcreate): Call __hcreate_r instead of hcreate_r.
1650 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1651 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1652 as weak alias of __hcreate_r.
1653 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1655 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1657 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1659 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1660 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1661 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1662 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1664 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1666 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1667 arena_lock into a single arena_get.
1669 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1671 * dl-reloc.c: Inlucde libc-internal.h.
1672 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1673 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1674 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1675 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1676 (grow_heap): Likewise.
1677 * malloc/malloc.c: Include libc-internal.h.
1678 (do_check_malloc): Call powerof2.
1679 (sysmalloc): Use pagesize. Call ALIGN_UP.
1680 (systrim): Use pagesize.
1681 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1682 (__libc_valloc): Use pagesize.
1683 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1685 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1688 * include/sys/resource.h (__getrlimit64): Declare. Use
1690 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1691 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1692 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1694 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1696 [!getrlimit64] (getrlimit64): Define as weak alias of
1697 __getrlimit64. Use libc_hidden_weak.
1698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1699 using __getrlimit64 not __new_getrlimit64.
1700 (__GI_getrlimit64): Likewise.
1701 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1703 (__GI_getrlimit64): Likewise.
1704 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1706 (getrlimit): Add __getrlimit64 alias.
1707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1709 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1711 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1712 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1714 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1716 * libio/fileops.c: Add missing sys/mman.h
1717 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1719 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1721 * manual/math.texi (Errors in Math Functions): Clarify goals
1722 regarding inexact and underflow exceptions.
1724 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1726 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1727 * sysdeps/mips/memset.S: Ditto.
1729 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1731 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1733 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1735 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1736 (__v1longjmp): Remove versioned symbol.
1737 (__v1siglongjmp): Remove alias and versioned symbol.
1738 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1739 (__v2siglongjmp): Likewise.
1741 2015-02-16 Torvald Riegel <triegel@redhat.com>
1743 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1745 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1747 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1749 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1752 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1753 zero result does not depend on the sign resulting from
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1757 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1758 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1761 * math/libm-test.inc (remquo_test_data): Add more tests.
1763 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1765 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1766 Problem reported by J William Piggott.
1768 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1771 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1772 products 4 * y and 2 * y where those would overflow.
1773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1775 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1777 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1778 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1779 * math/libm-test.inc (remquo_test_data): Add more tests.
1781 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1783 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1784 [defined _COMPILING_NEWLIB].
1785 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1786 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1788 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1789 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1791 2015-02-16 Torvald Riegel <triegel@redhat.com>
1793 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1796 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1799 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1800 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1801 HOST_STACK_END_ADDR): Likewise.
1803 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1805 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1806 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1807 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1809 2015-02-13 Roland McGrath <roland@hack.frob.com>
1811 * sysdeps/generic/c++-types.data: New file.
1812 * sysdeps/generic/ld.abilist: New file.
1813 * sysdeps/generic/libBrokenLocale.abilist: New file.
1814 * sysdeps/generic/libanl.abilist: New file.
1815 * sysdeps/generic/libc.abilist: New file.
1816 * sysdeps/generic/libcrypt.abilist: New file.
1817 * sysdeps/generic/libdl.abilist: New file.
1818 * sysdeps/generic/libm.abilist: New file.
1819 * sysdeps/generic/libpthread.abilist: New file.
1820 * sysdeps/generic/libresolv.abilist: New file.
1821 * sysdeps/generic/librt.abilist: New file.
1823 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1826 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1827 Compute absolute value of x as modified by fmod, not original
1829 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1830 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1831 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1832 RUN_TEST_ffI_f1_mod8.
1833 (remquo_test_data): Add more tests.
1835 2015-02-13 Roland McGrath <roland@hack.frob.com>
1837 * sysdeps/init_array/pt-crti.S: New file.
1839 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1842 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1843 __builtin_fmaf instead of relying on contraction of a * b + c.
1845 2015-02-12 J William Piggott <elseifthen@gmx.com>
1848 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1851 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1854 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1855 __builtin_fma instead of relying on contraction of a * b + c.
1857 2015-02-12 Roland McGrath <roland@hack.frob.com>
1859 * Makeconfig (ASFLAGS): Add -Werror=undef.
1860 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1861 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1862 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1864 * Makeconfig (after-link): New variable.
1865 (+link-pie, +link-pie-tests): Use it.
1866 (+link-static, +link-static-tests): Likewise.
1867 (+link, +link-tests): Likewise.
1868 * Makerules (build-module, build-module-asneeded): Likewise.
1869 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1871 * elf/Makefile ($(objpfx)ld.so): Likewise.
1873 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1876 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1877 both struct timeval and struct timespec.
1879 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1882 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1884 (__ieee754_exp2l): Do not multiply small fractional parts by
1886 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1888 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1889 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1890 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1891 * math/auto-libm-test-in: Add more tests of exp2.
1892 * math/auto-libm-test-out: Regenerated.
1894 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1896 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1899 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1901 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1904 2015-02-12 Andreas Schwab <schwab@suse.de>
1907 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1908 Filter out elision flags from value returned in kind.
1909 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1910 * nptl/tst-pthread-mutexattr.c: New file.
1912 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1914 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1915 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1916 into gnu-gnu, and update comment to refer to abi-tags.
1918 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1921 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1922 (__sincos): Set errno to EDOM for infinite argument.
1923 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1924 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1925 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1926 (__sincosl): Set errno to EDOM for infinite argument.
1927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1928 (__sincosl): Set errno to EDOM for infinite argument.
1929 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1930 (__sincosl): Set errno to EDOM for infinite argument.
1931 * math/libm-test.inc (sincos_test_data): Test errno setting.
1933 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1935 * string/strxfrm_l.c: Remove #define STRCMP.
1936 * string/strcoll_l.c: Remove #define STRLEN.
1937 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1938 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1940 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1942 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1943 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1944 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1945 * sysdeps/mips/mips64/Makefile: ... here.
1946 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1947 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1948 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1949 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1950 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1951 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1952 * sysdeps/mips/mips64/n64/Implies: Likewise.
1954 2015-02-10 Roland McGrath <roland@hack.frob.com>
1956 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1957 <sys/time.h>, <string.h>, and <errno.h>.
1958 (dest_offset, dest_address, value, zero): Remove unused variables.
1959 (ldouble): Remove typedef.
1960 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1961 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1963 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1964 (check): Function removed.
1966 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1967 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1968 Don't call set_sigaction_FP and remove_sigaction_FP here.
1969 (ldouble_test): Just use 'long double' as macro argument, no need for
1970 the 'ldouble' typedef.
1971 (do_test): Set up SIGFPE handler at start, using plain signal rather
1972 than sigaction. Fix code style.
1974 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1977 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1980 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1982 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1983 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1985 * sysdeps/powerpc/configure.ac: Remove file.
1986 * sysdeps/powerpc/configure: Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1989 [sysdep_routines]: Remove wordcopy-power6 object.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1991 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1993 (__memmove_ppc32): Likewise.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1997 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1998 Remove preprocessor.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2001 [sysdep_routines]: Remove wide chars objects.
2002 [wcsmbs]: New rule for wide char objects.
2004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2005 Remove wordcopy-power6 obejct.
2006 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2007 Use local call for wordcopy and memcpy symbols.
2008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2009 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2010 implementation for loader.
2011 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2013 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2014 Remove wordcopy-power7 object.
2015 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2016 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2017 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2018 (_wordcopy_fwd_dest_aligned): Likewise.
2019 (_wordcopy_bwd_aligned): Likewise.
2020 (_wordcopy_bwd_dest_aligned): Likewise.
2022 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2023 Rewrite to call __memmove_ppc instead of include default
2026 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2027 Remove wide chars objects.
2028 [wcsmbs]: New rule for wide char objects.
2030 2015-02-09 Andreas Schwab <schwab@suse.de>
2033 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2034 in terms of __O_DIRECTORY.
2036 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2038 * time/getdate.c: Include <stdbool.h>.
2039 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2041 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2044 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2046 Add ersatz _Static_assert on older C hosts
2047 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2048 pre-C11 C platform that is not known to support _Static_assert.
2050 2015-02-07 Richard Braun <rbraun@sceen.net>
2052 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2054 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2056 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2058 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2059 priority against unexistent AIO_PRIO_DELTA_MAX.
2060 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2062 * misc/fchflags.c (fchflags): Likewise.
2063 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2064 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2065 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2066 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2067 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2069 [__USE_MISC] (chflags, fchflags): Declare functions.
2070 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2071 EINVAL when nfds is greater than FD_SETSIZE.
2072 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2073 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2075 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2076 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2077 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2079 * hurd/hurd/signal.h (_hurd_self_sigstate,
2080 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2081 Explicit casts from void *.
2082 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2083 * abi-tags: Rename gnu-gnu os into gnu.
2086 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2087 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2088 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2089 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2090 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2091 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2094 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2095 duplicates ADDR->sun_path with sockaddr LEN limitation.
2096 * sysdeps/mach/hurd/connect.c: Include <string.h>
2097 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2098 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2099 * sysdeps/mach/hurd/sendto.c: Likewise.
2100 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2101 implementing it by hand.
2103 2015-02-06 Roland McGrath <roland@hack.frob.com>
2105 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2106 Use sfi_breg on ldr.
2107 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2110 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2112 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2113 Test SIGSETXID only if it's defined.
2115 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2117 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2118 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2120 * nptl/tst-align2.c: Moved ...
2121 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2122 * nptl/Makefile (tests): Remove tst-align2.
2123 * sysdeps/unix/sysv/linux/Makefile
2124 [$(subdir) = nptl] (tests): Add tst-align-clone.
2125 * nptl/tst-getpid1.c: Moved ...
2126 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2127 * nptl/tst-getpid2.c: Moved ...
2128 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2129 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2130 * sysdeps/unix/sysv/linux/Makefile
2131 [$(subdir) = nptl] (tests): ... here.
2132 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2133 * sysdeps/unix/sysv/linux/Makefile
2134 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2136 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2137 Drop trailing \n from perror argument. Use return rather than exit.
2139 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2141 * nptl/tst-cancel21.c (do_test): Likewise.
2142 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2143 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2144 [!SA_SIGINFO]: Make it a stub test.
2146 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2147 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2149 * posix/tst-getlogin.c: Move to ...
2150 * login/tst-getlogin.c: ... here.
2151 * posix/Makefile (tests): Move tst-getlogin to ...
2152 * login/Makefile (tests): ... here.
2154 * libio/tst-atime.c (do_test): Move local variables SV and E
2155 inside [ST_NOATIME] conditional.
2157 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2159 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2161 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2162 (wait_code): New function replaces macro.
2163 Call nanosleep rather than syscall.
2165 * nptl/pt-system.c: Rewritten. Put everything under
2166 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2167 Use IFUNC to redirect when possible.
2169 * nptl/pt-longjmp.c: Rewritten. Put everything under
2170 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2171 Use IFUNC to redirect when possible.
2173 * nptl/pt-fork.c: Rewritten. Put everything under
2174 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2175 Use IFUNC to redirect when possible.
2176 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2178 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2179 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2180 unconditionally nowadays. This included the only reference to
2181 __vdso_clock_gettime that appears outside libc proper.
2182 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2183 Remove version set (containing only __vdso_clock_gettime).
2184 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2185 Add attribute_hidden.
2186 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2187 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2188 libc_hidden_data_def.
2189 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2190 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2192 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2193 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2194 setrpcent, and getrpcport to ...
2195 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2196 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2197 getrpcbynumber_r, and getrpcent_r to ...
2198 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2199 * inet/getrpcbyname.c: Moved ...
2200 * sunrpc/getrpcbyname.c: ... here.
2201 * inet/getrpcbyname_r.c: Moved ...
2202 * sunrpc/getrpcbyname_r.c: ... here.
2203 * inet/getrpcbynumber.c: Moved ...
2204 * sunrpc/getrpcbynumber.c: ... here.
2205 * inet/getrpcbynumber_r.c: Moved ...
2206 * sunrpc/getrpcbynumber_r.c: ... here.
2207 * inet/getrpcent.c: Moved ...
2208 * sunrpc/getrpcent.c: ... here.
2209 * inet/getrpcent_r.c: Moved ...
2210 * sunrpc/getrpcent_r.c: ... here.
2211 * inet/Makefile (routines): Move those to ...
2212 * sunrpc/Makefile (routines): ... here.
2213 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2214 the $(subdirs) list.
2215 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2216 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2217 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2218 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2220 * elf/Makefile (routines): Include $(all-dl-routines), not just
2222 (rtld-routines): Likewise. Use = rather than :=.
2223 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2224 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2225 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2226 * sysdeps/arm/Makefile: Likewise.
2227 * sysdeps/i386/Makefile: Likewise.
2228 * sysdeps/x86_64/Makefile: Likewise.
2229 * sysdeps/hppa/Makefile [$(subdir) = elf]
2230 (sysdep_routines, sysdep-rtld-routines): Don't add
2231 $(sysdep-dl-routines) to these.
2232 * sysdeps/ia64/Makefile: Likewise.
2233 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2234 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2235 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2236 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2237 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2238 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2240 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2241 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2242 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2243 these; sysdep-dl-routines alone is enough.
2245 2015-02-06 Joseph Myers <joseph@codesourcery.com>
2248 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2249 where multiplication results in zero and third argument is finite
2251 * math/auto-libm-test-in: Add more tests of fma.
2252 * math/auto-libm-test-out: Regenerated.
2254 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2255 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2256 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2257 (_FP_CMP_EQ): Likewise.
2258 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2260 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2261 extra argument CHECK_NAN. Redefine as wrapper around
2264 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2266 * version.h (RELEASE): Set to "stable".
2267 (VERSION): Set to "2.21"
2268 * include/features.h (__GLIBC_MINOR__): Set to 21.
2270 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2272 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2273 Paul Eggert <eggert@cs.ucla.edu>
2276 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2277 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2278 size in bytes. Store needed elements in wpmax. Use needed size
2279 in bytes for extend_alloca.
2281 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2283 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2284 binutls 2.25, and texinfo 5.2.
2285 * INSTALL: Regenerate.
2286 * sysdeps/nios2/configure: Regenerate.
2287 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2288 * manual/contrib.texi: Update.
2312 * po/pt_BR.po: Update.
2321 * po/zh_CN.po: Update.
2322 * po/zh_TW.po: Update.
2324 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2325 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2326 * sysdeps/hppa/dl-irel.h: Remove #warning.
2327 * sysdeps/hppa/entry.h: Provide prototype for
2328 __canonicalize_funcptr_for_compare and cast argument.
2329 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2330 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2331 * sysdeps/hppa/sotruss-lib.c: New file.
2332 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2333 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2334 (atomic_compare_and_exchange_bool_acq): Likewise.
2335 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2336 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2338 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2339 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2340 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2342 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2344 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2345 called function in non-PIC case.
2347 2015-01-31 David S. Miller <davem@davemloft.net>
2349 * sysdeps/sparc/sparc32/bits/atomic.h
2350 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2351 unlock not after it.
2352 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2353 volatile register usage warnings from the compiler.
2355 * sysdeps/sparc/nptl/sem_init.c: Delete.
2356 * sysdeps/sparc/nptl/sem_post.c: Delete.
2357 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2358 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2359 * sysdeps/sparc/sparc32/sem_init.c: New file.
2360 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2361 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2362 padding explicitly initialized.
2363 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2364 padding for in-semaphore spinlock.
2365 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2366 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2367 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2368 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2369 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2370 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2371 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2372 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2374 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2375 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2377 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2381 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2382 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2384 (index_AVX_Fast_Unaligned_Load): Likewise.
2385 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2386 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2387 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2388 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2389 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2390 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2391 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2392 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2393 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2395 2015-01-29 Andreas Schwab <schwab@suse.de>
2397 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2399 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2402 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2404 2015-01-28 Martin Sebor <msebor@redhat.com>
2406 * math/README.libm-test: Clarify. Add "How to read the test output."
2408 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2410 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2413 2015-01-28 Joseph Myers <joseph@codesourcery.com>
2415 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2416 (__HAVE_64B_ATOMICS): Define to 0.
2418 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2421 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2422 value to set as new flag.
2425 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2426 and use _ARCH_PPCSQ instead.
2427 (__ieee754_sqrt): Likewise.
2428 (__ieee754_sqrtf): Likewise.
2429 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2430 _ARCH_PPCSQ is defined.
2431 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2433 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2434 _ARCH_PPCSQ is defined.
2435 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2437 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2439 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2441 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2442 bug (GCC BZ #64739).
2444 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2446 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2447 Mark _retval as used.
2448 (lll_futex_wake_unlock): Likewise.
2449 (lll_futex_timed_wait_requeue_pi): Likewise.
2451 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2452 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2455 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2458 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2459 (__bswap_64): Mark as __always_inline.
2461 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2464 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2465 when none of the search directories exist.
2467 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2470 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2471 power8 in .machine directive.
2474 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2475 set dependency from opd value.
2477 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2480 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2483 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2486 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2488 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2490 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2491 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2492 Replace 1UL with (uint64_t) 1.
2493 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2496 2015-01-23 Roland McGrath <roland@hack.frob.com>
2498 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2499 (if_freenameindex): Likewise.
2501 * resource/getrlimit64.c: Add missing libc_hidden_def.
2503 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2505 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2507 (_FP_FMA): Likewise.
2508 (_FP_TO_INT_ROUND): Likewise.
2509 (_FP_FROM_INT): Likewise.
2511 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2515 Make code racy and cancel safe.
2517 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2519 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2520 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2523 * pwd/tst-getpw.c: Rewrite.
2526 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2527 (modules-names): Add moddummy1 and moddummy2.
2528 ($(objpfx)tst-rec-dlopen): Define.
2529 * dlfcn/moddummy1.c: New file.
2530 * dlfcn/moddummy2.c: New file.
2531 * dlfcn/tst-rec-dlopen.c: New file.
2532 * elf/dl-cache.c (_dl_load_cache_lookup):
2533 Return char*. Copy result with alloca/strcpy/strdup.
2534 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2535 returns char*. Free cached. If not saving realname
2537 * elf/dl-open.c (dl_open_worker): Do not assert that
2538 _r_debug->r_state is RT_CONSISTENT.
2539 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2542 2015-01-21 Torvald Riegel <triegel@redhat.com>
2543 Carlos O'Donell <carlos@redhat.com>
2546 * nptl/sem_waitcommon.c: New file.
2547 * nptl/sem_wait.c: Include sem_waitcommon.c.
2548 (__sem_wait_cleanup, do_futex_wait): Remove.
2549 (__new_sem_wait): Adapt.
2550 (__new_sem_trywait): New function.
2551 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2552 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2553 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2554 (sem_timedwait): Adapt.
2555 * nptl/sem_post.c (__new_sem_post): Adapt.
2556 (futex_wake): New function.
2557 (__old_sem_post): Add release MO fence.
2558 * nptl/sem_open.c (sem_open): Adapt.
2559 * nptl/sem_init.c (__new_sem_init): Adapt.
2560 (futex_private_if_supported): New function.
2561 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2562 (__old_sem_getvalue): Add using previous code.
2563 * sysdeps/nptl/internaltypes.h: Adapt.
2564 * nptl/tst-sem13.c (do_test): Adapt.
2565 * nptl/tst-sem11.c (main): Adapt.
2566 * nptl/sem_trywait.c: Remove.
2567 * nptl/DESIGN-sem.txt: Remove.
2568 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2569 (gen-as-const-headers): Remove structsem.sym.
2570 * nptl/structsem.sym: Remove.
2571 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2572 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2573 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2574 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2575 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2576 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2577 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2578 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2579 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2580 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2581 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2582 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2583 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2584 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2585 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2586 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2587 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2588 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2589 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2590 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2591 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2592 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2594 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2596 * INSTALL: Regenerated.
2598 * po/libc.pot: Regenerated.
2600 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2601 Sandra Loosemore <sandra@codesourcery.com>
2602 Andrew Jenner <andrew@codesourcery.com>
2603 Joseph Myers <joseph@codesourcery.com>
2604 Nathan Sidwell <nathan@codesourcery.com>
2606 * NEWS: Mention new Nios II port.
2607 * sysdeps/nios2/Implies: New file.
2608 * sysdeps/nios2/Makefile: New file.
2609 * sysdeps/nios2/Subdirs: New file.
2610 * sysdeps/nios2/Versions: New file.
2611 * sysdeps/nios2/__longjmp.S: New file.
2612 * sysdeps/nios2/abort-instr.h: New file.
2613 * sysdeps/nios2/backtrace.c: New file.
2614 * sysdeps/nios2/bits/endian.h: New file.
2615 * sysdeps/nios2/bits/fenv.h: New file.
2616 * sysdeps/nios2/bits/link.h: New file.
2617 * sysdeps/nios2/bits/setjmp.h: New file.
2618 * sysdeps/nios2/bsd-_setjmp.S: New file.
2619 * sysdeps/nios2/bsd-setjmp.S: New file.
2620 * sysdeps/nios2/configure: New generated file.
2621 * sysdeps/nios2/configure.ac: New file.
2622 * sysdeps/nios2/crti.S: New file.
2623 * sysdeps/nios2/crtn.S: New file.
2624 * sysdeps/nios2/dl-init.c: New file.
2625 * sysdeps/nios2/dl-machine.h: New file.
2626 * sysdeps/nios2/dl-sysdep.h: New file.
2627 * sysdeps/nios2/dl-tls.h: New file.
2628 * sysdeps/nios2/dl-trampoline.S: New file.
2629 * sysdeps/nios2/gccframe.h: New file.
2630 * sysdeps/nios2/gmp-mparam.h: New file.
2631 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2632 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2633 * sysdeps/nios2/ldsodefs.h: New file.
2634 * sysdeps/nios2/libc-tls.c: New file.
2635 * sysdeps/nios2/libm-test-ulps: New file.
2636 * sysdeps/nios2/machine-gmon.h: New file.
2637 * sysdeps/nios2/math-tests.h: New file.
2638 * sysdeps/nios2/math_private.h: New file.
2639 * sysdeps/nios2/memusage.h: New file.
2640 * sysdeps/nios2/nptl/Makefile: New file.
2641 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2642 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2643 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2644 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2645 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2646 * sysdeps/nios2/nptl/tls.h: New file.
2647 * sysdeps/nios2/preconfigure: New file.
2648 * sysdeps/nios2/s_fma.c: New file.
2649 * sysdeps/nios2/s_fmaf.c: New file.
2650 * sysdeps/nios2/setjmp.S: New file.
2651 * sysdeps/nios2/sfp-machine.h: New file.
2652 * sysdeps/nios2/sotruss-lib.c: New file.
2653 * sysdeps/nios2/stackguard-macros.h: New file.
2654 * sysdeps/nios2/stackinfo.h: New file.
2655 * sysdeps/nios2/start.S: New file.
2656 * sysdeps/nios2/sysdep.h: New file.
2657 * sysdeps/nios2/tls-macros.h: New file.
2658 * sysdeps/nios2/tst-audit.h: New file.
2659 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2660 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2661 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2662 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2663 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2664 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2665 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2666 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2667 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2668 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2669 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2670 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2671 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2672 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2673 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2674 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2675 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2676 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2677 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2678 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2679 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2680 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2681 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2682 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2683 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2684 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2685 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2686 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2687 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2688 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2689 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2690 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2691 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2692 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2693 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2694 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2696 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2697 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2698 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2699 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2700 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2701 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2702 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2704 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2707 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2708 (getutent): Use weak_alias in non SHARED case
2709 and default_symbol_version in SHARED case.
2710 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2711 (getutent_r, pututline): Likewise.
2712 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2713 (getutid): Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2715 (getutid_r): Likewise.
2716 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2717 (getutline): Likewise.
2718 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2719 (getutline_r): Likewise.
2720 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2721 (updwtmp): Likewise.
2723 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2726 * sysdeps/s390/s390-32/memcmp.S
2727 (memcmp_g5): Rename to __memcmp_g5.
2728 * sysdeps/s390/s390-32/memcpy.S
2729 (memcpy_g5): Rename to __memcpy_g5.
2730 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2731 (memcpy_mvcle) Rename to __memcpy_mvcle.
2732 * sysdeps/s390/s390-32/memset.S
2733 (memset_g5): Rename to __memset_g5.
2734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2735 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2736 and use prefixed functions.
2737 * sysdeps/s390/s390-32/multiarch/memcmp.S
2738 (memcmp_z196): Rename to __memcmp_z196.
2739 (memcmp_z10): Rename to __memcmp_z10.
2740 (memcmp): Set alias to __memcmp_g5.
2741 (bcmp): Set alias to __memcmp_g5.
2742 * sysdeps/s390/s390-32/multiarch/memcpy.S
2743 (memcpy_z196): Rename to __memcpy_z196.
2744 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2745 (memcpy_z10): Rename to __memcpy_z10.
2746 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2747 (memcpy): Set alias to __memcpy_g5.
2748 * sysdeps/s390/s390-32/multiarch/memset.S
2749 (memset_z196): Rename to __memset_z196.
2750 Jump to __memset_mvcle instead of memset_mvcle.
2751 (memset_z10): Rename to __memset_z10.
2752 Jump to __memset_mvcle instead of memset_mvcle.
2753 (memset_mvcle) Rename to __memset_mvcle.
2754 (memset): Set alias to __memset_g5.
2755 * sysdeps/s390/s390-64/memcmp.S
2756 (memcmp_z900): Rename to __memcmp_z900.
2757 * sysdeps/s390/s390-64/memcpy.S
2758 (memcpy_z900): Rename to __memcpy_z900.
2759 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2760 (memcpy_mvcle) Rename to __memcpy_mvcle.
2761 * sysdeps/s390/s390-64/memset.S
2762 (memset_z900): Rename to __memset_z900.
2763 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2764 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2765 and use prefixed functions.
2766 * sysdeps/s390/s390-64/multiarch/memcmp.S
2767 (memcmp_z196): Rename to __memcmp_z196.
2768 (memcmp_z10): Rename to __memcmp_z10.
2769 (memcmp): Set alias to __memcmp_z900.
2770 (bcmp): Set alias to __memcmp_z900.
2771 * sysdeps/s390/s390-64/multiarch/memcpy.S
2772 (memcpy_z196): Rename to __memcpy_z196.
2773 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2774 (memcpy_z10): Rename to __memcpy_z10.
2775 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2776 (memcpy): Set alias to __memcpy_z900.
2777 * sysdeps/s390/s390-64/multiarch/memset.S
2778 (memset_z196): Rename to __memset_z196.
2779 Jump to __memset_mvcle instead of memset_mvcle.
2780 (memset_z10): Rename to __memset_z10.
2781 Jump to __memset_mvcle instead of memset_mvcle.
2782 (memset_mvcle) Rename to __memset_mvcle.
2783 (memset): Set alias to __memset_z900.
2785 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2788 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2789 __fesetenv instead of fesetenv.
2791 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2793 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2796 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2798 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2801 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2802 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2803 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2804 strncmp-power8 object.
2805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2806 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2807 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2810 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2811 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2813 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2814 trailing byte check.
2816 2015-01-13 David S. Miller <davem@davemloft.net>
2818 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2820 2015-01-13 Roland McGrath <roland@hack.frob.com>
2822 * login/logout.c (logout): Use memset rather than bzero.
2823 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2824 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2825 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2826 (_gethtbyaddr): Likewise.
2827 * locale/programs/simple-hash.c (bcopy): Macro removed.
2829 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2832 Add strcmp-power8 object.
2833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2834 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2835 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2836 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2837 __strcmp_power8 implementation.
2838 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2841 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2842 Add strncpy-power8 and stpncpy-power8 objects.
2843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2844 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2846 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2847 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2848 __stpncpy_power8 implementation.
2849 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2850 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2851 __strncpy_power8 implementation.
2852 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2853 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2856 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2857 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2858 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2860 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2861 strncat-power8 object.
2862 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2863 __strcat_power8 implementation.
2864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2865 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2866 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2867 optimized strcat for power8.
2869 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2870 strcpy-power8 and stpcpy-power8 objects.
2871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2872 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2874 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2875 multiarch stpcpy implementation for POWER8.
2876 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2877 multiarch strcpy implementation for POWER8.
2878 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2879 __strcpy_power8 function.
2880 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2882 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2886 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2889 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2890 weights and rules. Use do_xfrm_cached if data fits in cache,
2891 do_xfrm otherwise. Moved former main loop to...
2892 * (do_xfrm_cached): New function.
2893 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2894 find_idx, find_position and stack_push.
2895 * (find_idx): New function.
2896 * (find_position): Likewise.
2897 * localedata/sort-test.sh: Added test run for do_xfrm.
2898 * localedata/xfrm-test.c (main): Added command line option
2899 -nocache to run the test with strings that are too large for
2902 2015-01-13 Torvald Riegel <triegel@redhat.com>
2904 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2905 variable to lll_futex_wake call, not the value itself.
2907 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2911 twom64. Adjust value to 0x1p-64L.
2912 (__scalblnl): Only return standard underflowing result for K <=
2913 -64 not K <= -63; adjust exponent for underflowing result by 64
2915 * math/libm-test.inc (scalbn_test_data): Add more tests.
2916 (scalbln_test_data): Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2921 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2923 * math/libm-test.inc (scalbn_test_data): Add more tests.
2924 (scalbln_test_data): Likewise.
2926 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927 Stefani Seibold <stefani@seibold.net>
2929 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2930 (sysdep_routines): Add dl-vdso here, ...
2931 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2932 (sysdep_routines): ... not here.
2933 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2934 fallback when vDSO is not presented.
2935 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2936 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2937 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2938 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2939 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2940 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2941 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2942 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2943 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2945 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2946 fallback configurable symbol when vDSO is not available.
2947 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2948 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2949 be able to redefine fallback symbol when vDSO is not available.
2950 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2951 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2953 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2955 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2956 (TLS_INIT_TP): Add tm_capable initialization.
2957 (TLS_DEFINE_INIT_TP): Likewise.
2958 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2960 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2961 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2963 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2964 transactoion is lock elision is built and TCB tm_capable is set.
2965 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2967 (INTERNAL_SYSCALL_NCS): Likewise.
2968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2969 (INTERNAL_SYSCALL_NCS): Likewise.
2970 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2972 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2974 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2975 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2976 and remove it for 32 bits case.
2977 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2980 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2981 Disable lock elision with rdlocks if elision is not available.
2983 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2984 (sysdep_routines): Add lock elision objects.
2985 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2986 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2987 [pthread_mutex_t] (__elision): Add field.
2988 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2989 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2990 elision definitions for powerpc.
2991 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2992 implementation of lock elision for powerpc.
2993 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2994 implementation of timed lock elision for powerpc.
2995 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2996 implementation of trylock with lock elision for powerpc.
2997 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2998 implementaion of unlock for lock elision for powerpc.
2999 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3000 automatic enable lock elision for mutexes.
3001 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3002 transaction execution definitions for powerpc.
3003 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3005 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3006 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3007 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3008 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3011 2015-01-09 Roland McGrath <roland@hack.frob.com>
3013 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3014 for #include of <shm-directory.h>.
3016 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3018 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3019 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3021 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3024 * NEWS: Mention bug fix.
3025 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3026 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3027 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3029 2015-01-09 Torvald Riegel <triegel@redhat.com>
3031 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3033 2015-01-09 Torvald Riegel <triegel@redhat.com>
3035 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3037 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3039 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3040 pointer and cast to uintptr_t.
3042 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3044 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3046 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3048 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3050 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3053 2015-01-08 Roland McGrath <roland@hack.frob.com>
3055 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3056 <nptl/pthreadP.h> instead.
3057 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3059 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3061 [__SIGRTMIN] (init): Function removed.
3062 [__SIGRTMIN] (initialized): Variable removed.
3063 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3064 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3065 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3066 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3067 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3068 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3069 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3070 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3071 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3072 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3073 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3074 * sysdeps/nptl/allocrtsig.c: New file.
3075 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3076 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3077 * sysdeps/generic/testrtsig.h: File removed.
3079 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3080 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3082 * nptl/nptl-init.c (pthread_functions): Conditionalize
3083 .ptr__nptl_setxid initialization on [SIGSETXID].
3085 * sysdeps/nptl/sys/procfs.h: New file.
3086 * nptl_db/Makefile (headers): Add it.
3087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3089 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3090 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3091 * nptl/pthread_attr_setaffinity.c: Include it.
3092 * nptl/pthread_setattr_default_np.c: Likewise.
3093 * nptl/check-cpuset.h: New file.
3095 2015-01-08 Richard Henderson <rth@redhat.com>
3097 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3098 (CFLAGS-tst-execstack-prog.c): Likewise.
3099 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3101 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3102 Sandra Loosemore <sandra@codesourcery.com>
3103 Andrew Jenner <andrew@codesourcery.com>
3104 Joseph Myers <joseph@codesourcery.com>
3105 Nathan Sidwell <nathan@codesourcery.com>
3107 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3108 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3109 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3110 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3111 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3112 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3113 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3114 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3115 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3116 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3117 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3118 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3119 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3120 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3121 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3122 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3123 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3125 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3128 timespec struct member in syscall macro.
3129 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3130 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3131 first timeval struct member in syscall macro.
3132 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3134 2015-01-07 Joseph Myers <joseph@codesourcery.com>
3137 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3138 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3139 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3140 __feupdateenv and define as weak alias of __feupdateenv. Use
3142 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3144 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3145 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3146 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3147 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3149 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3150 __feupdateenv and define as weak alias of __feupdateenv. Use
3152 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3154 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3155 __feupdateenv and define as weak alias of __feupdateenv. Use
3157 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3159 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3160 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3161 (__feupdateenv): Likewise.
3162 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3163 __feupdateenv and define as weak alias of __feupdateenv. Use
3165 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3166 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3168 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3170 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3172 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3173 __feupdateenv instead of feupdateenv.
3174 (default_libc_feupdateenv_test): Likewise.
3175 (libc_feresetround_ctx): Likewise.
3177 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3182 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3184 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3185 COLL_SYM in a couple of places to avoid uninitialized variable
3186 wanings on tilegx gcc 4.8.2.
3188 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3190 * sysdeps/aarch64/strcpy.S: New file.
3191 * sysdeps/aarch64/stpcpy.S: New file.
3194 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
3196 * sysdeps/aarch64/strrchr.S: New file.
3199 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
3202 * stdlib/setenv.c: Fix memory leak when setting large,
3205 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3208 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3209 and tabs from buffer before parsing fstab entry.
3210 * misc/tst-mntent.c (main): Add test for mount entry with
3211 trailing spaces and tabs.
3213 2015-01-06 Joseph Myers <joseph@codesourcery.com>
3216 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3217 * math/fesetround.c (fesetround): Rename to __fesetround and
3218 define as weak alias of __fesetround. Use libm_hidden_weak.
3219 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3220 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3221 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3222 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3223 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3224 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3225 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3226 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3227 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3228 __fesetround_inline.
3229 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3230 __fesetround_inline instead of __fesetround.
3231 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3232 __fesetround and define as weak alias of __fesetround. Use
3233 libm_hidden_weak. Call __fesetround_inline instead of
3235 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3236 __fesetround and define as weak alias of __fesetround. Use
3238 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3240 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3242 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3243 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3244 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3245 __fesetround and define as weak alias of __fesetround. Use
3247 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3248 __fesetround instead of fesetround.
3249 (default_libc_feholdexcept_setround): Likewise.
3250 (libc_feholdsetround_ctx): Likewise.
3251 (libc_feholdsetround_noex_ctx): Likewise.
3254 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3255 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3256 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3257 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3258 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3259 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3260 define as weak alias of __fesetenv. Use libm_hidden_weak.
3261 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3262 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3263 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3264 define as weak alias of __fesetenv. Use libm_hidden_weak.
3265 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3266 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3267 define as weak alias of __fesetenv. Use libm_hidden_weak.
3268 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3270 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3271 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3273 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3274 define as weak alias of __fesetenv. Use libm_hidden_weak.
3275 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3276 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3277 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3278 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3279 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3280 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3281 __fesetenv instead of fesetenv.
3282 (libc_feresetround_noex_ctx): Likewise.
3283 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3284 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3285 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3287 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3288 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3289 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3290 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3291 (__feupdateenv): Likewise.
3292 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3293 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3294 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3295 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3297 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3300 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3301 addresses have been freed.
3303 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3305 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3308 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
3310 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3311 Clean up check_pf allocation pattern. addresses
3313 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3315 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3316 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3317 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3318 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3319 * nptl/pthread_join.c (pthread_join): Likewise.
3320 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3321 * sysdeps/posix/waitid.c (__waitid): Likewise.
3322 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3323 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3324 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3325 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3328 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3329 (__libc_pread64): Likewise.
3330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3331 (__libc_pwrite): Likewise.
3332 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3333 (__libc_pwrite64): Likewsie.
3334 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3335 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3336 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3337 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3338 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3339 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3340 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3344 (__libc_pread64): Likewise.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3348 (__libc_pwrite64): Likewise.
3349 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3350 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3351 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3352 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3353 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3354 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3355 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3356 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3357 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3358 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3359 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3360 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3361 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3362 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3363 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3367 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3369 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3370 (CFLAGS-test-double.c): Likewise.
3371 (CFLAGS-test-ldouble.c): Likewise.
3372 (CPPFLAGS-test-ifloat.c): Likewise.
3373 (CPPFLAGS-test-idouble.c): Likewise.
3374 (CPPFLAGS-test-ildoubl.c): Likewise.
3375 (CFLAGS-test-test-fenv.c): Remove variable.
3376 (CFLAGS-test-misc.c): Likewise.
3378 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3381 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3382 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3383 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3384 CLOCKS_PER_SEC == 1000000.
3385 * time/clocktest.c (main): Replace %ld with %jd and cast to
3388 2015-01-05 Roland McGrath <roland@hack.frob.com>
3390 * sysdeps/generic/unwind-resume.h: New file.
3391 * sysdeps/gnu/unwind-resume.c: Include it.
3392 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3393 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3395 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3396 global rather than static.
3397 (_Unwind_Resume): Update user.
3398 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3399 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3400 rather than static. Add __attribute__ ((cold)).
3401 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3402 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3403 * sysdeps/arm/arm-unwind-resume.S: New file.
3404 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3405 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3406 * sysdeps/arm/Makefile [$(subdir) = csu]
3407 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3408 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3409 Add rt-arm-unwind-resume.
3411 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3412 Add pt-arm-unwind-resume.
3413 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3414 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3416 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3419 * include/fenv.h (__feholdexcept): Declare. Use
3421 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3422 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3423 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3424 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3425 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3426 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3427 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3428 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3429 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3430 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3431 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3432 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3433 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3434 (feholdexcept): Likewise.
3435 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3436 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3437 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3438 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3439 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3440 __feholdexcept instead of feholdexcept.
3441 (default_libc_feholdexcept_setround): Likewise.
3443 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3445 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3446 to avoid using stl/str to align destination.
3448 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3450 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3452 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3455 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3456 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3457 Define as weak alias not strong alias.
3459 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3461 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3462 bltzal with addiupc.
3463 (RTLD_START): Ditto.
3465 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3467 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3468 for __vdso_* functions in declarations.
3469 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3471 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3472 INTERNAL_VSYSCALL): Use struct return types to check for error.
3474 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3475 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3476 function with cast from llround().
3477 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3478 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3481 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3485 Define as weak alias not strong alias.
3488 * ctype/ctype-c99.c: New file. isblank implementation moved from
3490 * ctype/ctype-extn.c: ... here.
3491 (__isblank_l): Move to ...
3492 * ctype/ctype-c99_l.c: ... here. New file.
3493 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3494 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3496 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3497 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3498 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3499 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3500 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3503 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3504 (posix_fadvise64): Define as weak alias not strong alias.
3505 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3506 (posix_fallocate64): Likewise.
3507 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3509 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3510 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3511 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3512 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3513 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3515 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3518 * NEWS: Mention bug fix.
3519 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3520 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3521 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3522 (HOST_STACK_END_ADDR): Likewise.
3524 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3527 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3528 * math/fegetround.c (fegetround): Rename to __fegetround and
3529 define as weak alias of __fegetround. Use libm_hidden_weak.
3530 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3531 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3532 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3533 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3534 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3535 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3536 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3537 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3538 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3539 Undefine after rather than before function definition; use
3540 parentheses around function name in definition.
3541 (__fegetround): Also undefine macro after function definition.
3542 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3543 __fegetround and define as weak alias of __fegetround. Use
3544 libm_hidden_weak. Do not undefine as macro.
3545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3547 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3548 __fegetround and define as weak alias of __fegetround. Use
3550 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3551 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3552 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3553 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3554 __fegetround and define as weak alias of __fegetround. Use
3556 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3557 __fegetround instead of fegetround.
3560 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3561 Condition macro definition on [__USE_MISC].
3564 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3565 (struct sigaction): Change type of sa_flags field to int.
3568 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3569 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3572 * nptl/version.c (banner): Use single year in copyright notice.
3574 * NEWS: Update copyright dates.
3575 * catgets/gencat.c (print_version): Likewise.
3576 * csu/version.c (banner): Likewise.
3577 * debug/catchsegv.sh: Likewise.
3578 * debug/pcprofiledump.c (print_version): Likewise.
3579 * debug/xtrace.sh (do_version): Likewise.
3580 * elf/ldconfig.c (print_version): Likewise.
3581 * elf/ldd.bash.in: Likewise.
3582 * elf/pldd.c (print_version): Likewise.
3583 * elf/sotruss.sh: Likewise.
3584 * elf/sprof.c (print_version): Likewise.
3585 * iconv/iconv_prog.c (print_version): Likewise.
3586 * iconv/iconvconfig.c (print_version): Likewise.
3587 * locale/programs/locale.c (print_version): Likewise.
3588 * locale/programs/localedef.c (print_version): Likewise.
3589 * login/programs/pt_chown.c (print_version): Likewise.
3590 * malloc/memusage.sh (do_version): Likewise.
3591 * malloc/memusagestat.c (print_version): Likewise.
3592 * malloc/mtrace.pl: Likewise.
3593 * manual/libc.texinfo: Likewise.
3594 * nptl/version.c (banner): Likewise.
3595 * nscd/nscd.c (print_version): Likewise.
3596 * nss/getent.c (print_version): Likewise.
3597 * nss/makedb.c (print_version): Likewise.
3598 * posix/getconf.c (main): Likewise.
3599 * scripts/test-installation.pl: Likewise.
3600 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3602 2015-01-02 Will Newton <will.newton@linaro.org>
3604 * sysdeps/arm/armv7/configure: Removed.
3605 * sysdeps/arm/armv7/configure.ac: Likewise.
3607 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3609 * All files with FSF copyright notices: Update copyright dates
3610 using scripts/update-copyrights.
3611 * intl/plural.c: Regenerated.
3612 * locale/programs/charmap-kw.h: Likewise.
3613 * locale/programs/locfile-kw.h: Likewise.
3615 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3617 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3619 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3622 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3623 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3624 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3625 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3626 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3627 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3628 define as weak alias of __fegetenv. Use libm_hidden_weak.
3629 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3630 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3631 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3632 define as weak alias of __fegetenv. Use libm_hidden_weak.
3633 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3634 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3635 define as weak alias of __fegetenv. Use libm_hidden_weak.
3636 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3638 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3641 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3642 define as weak alias of __fegetenv. Use libm_hidden_weak.
3643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3644 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3645 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3646 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3647 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3648 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3649 __fegetenv instead of fegetenv.
3650 (libc_feholdsetround_noex_ctx): Likewise.
3652 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3654 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3655 (Elf_MIPS_ABIFlags_v0): New structure.
3656 (EF_MIPS_FP64): Define.
3657 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3658 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3659 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3660 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3661 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3662 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3663 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3664 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3665 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3666 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3667 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3668 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3669 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3670 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3671 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3672 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3673 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3674 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3675 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3676 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3677 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3678 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3680 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3682 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3683 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3684 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3685 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3686 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3687 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3688 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3689 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3690 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3691 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3692 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3693 record the current FP ABI extension.
3694 (mips-mode-switch): Define to show if kernel headers support mode
3696 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3697 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3698 supported SYSV ABI version to 3.
3699 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3702 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3703 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3707 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3709 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3711 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3712 __fegetround and redefine to call __fegetround. Remove condition
3713 on [!__NO_MATH_INLINES].
3714 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3716 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3717 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3719 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3720 instead of <fenv_libc.h>.
3721 (__llrintl): Call fegetround instead of __fegetround.
3722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3723 instead of <fenv_libc.h>.
3724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3725 (__lrintl): Call fegetround instead of __fegetround.
3726 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3727 instead of <fenv_libc.h>.
3728 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3729 (__rintl): Call fegetround instead of __fegetround.
3731 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3733 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3736 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3739 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3740 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3741 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3743 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3745 * sysdeps/i386/tls-macros.h: Include <features.h>.
3746 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3750 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3751 define for GCC >= 5.0.
3753 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3755 * math/test-fenv.c (test_single_exception, set_single_exc,
3756 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3757 feexcp_mask_test, feenable_test, fe_single_test): Add
3758 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3759 case where they are not used.
3760 * math/libm-test.inc: Likewise.
3761 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3762 unused in the absence of FP rounding/exception support.
3763 * stdio-common/tst-printf-round.c: Likewise.
3764 * stdlib/tst-strtod-round.c: Likewise.
3765 * stdlib/tst-strtod-underflow.c: Likewise.
3767 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3770 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3771 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3772 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3773 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3775 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3776 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3777 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3779 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3780 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3782 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3784 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3785 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3786 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3788 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3790 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3791 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3792 (__feraiseexcept): Likewise.
3793 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3794 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3796 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3797 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3799 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3800 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3801 Use libm_hidden_def.
3802 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3804 (feraiseexcept): Define as weak not strong alias. Use
3806 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3807 New inline function. Factored out of ...
3808 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3809 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3810 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3812 * math/w_acos.c (__acos): Likewise.
3813 * math/w_asin.c (__asin): Likewise.
3814 * math/w_ilogb.c (__ilogb): Likewise.
3815 * math/w_j0.c (y0): Likewise.
3816 * math/w_j1.c (y1): Likewise.
3817 * math/w_jn.c (yn): Likewise.
3818 * math/w_log.c (__log): Likewise.
3819 * math/w_log10.c (__log10): Likewise.
3820 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3821 * sysdeps/aarch64/fpu/math_private.h
3822 (libc_feupdateenv_test_aarch64): Likewise.
3823 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3824 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3825 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3826 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3827 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3828 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3829 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3830 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3831 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3832 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3834 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3837 * io/test-utime.c (main): Replace %ld with %jd and cast to
3839 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3840 * nptl/tst-mutex5.c: Include <stdint.h>.
3841 (do_test): Replace %ld with %jd and cast to intmax_t.
3842 * posix/tst-regex.c (run_test): Likewise.
3843 (run_test_backwards): Likewise.
3844 * rt/tst-clock.c: Include <stdint.h>.
3845 (clock_test): Replace %ld with %jd and cast to intmax_t.
3846 * rt/tst-cpuclock1.c: Include <stdint.h>.
3847 (do_test): Replace %lu with %ju and cast to uintmax_t.
3848 * rt/tst-cpuclock2.c: Include <stdint.h>.
3849 (do_test): Replace %lu with %ju and cast to uintmax_t.
3850 * rt/tst-mqueue1.c: Include <stdint.h>.
3851 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3852 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3854 * rt/tst-mqueue4.c (do_test): Likewise.
3855 * rt/tst-timer4.c: Include <stdint.h>.
3856 (check_ts): Replace %ld with %jd and cast to intmax_t.
3857 (do_test): Likewise.
3858 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3859 and cast to intmax_t.
3860 * sysdeps/pthread/tst-timer.c (main): Likewise.
3861 * time/clocktest.c (main): Likewise.
3862 * time/tst-posixtz.c (do_test): Likewise.
3863 * timezone/tst-timezone.c (main): Likewise.
3865 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3866 H.J. Lu <hongjiu.lu@intel.com>
3868 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3869 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3873 version if bit_Fast_Unaligned_Load is set.
3874 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3875 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3877 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3879 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3881 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3882 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3883 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3885 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3886 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3887 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3888 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3890 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3892 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3893 instead of #if to avoid a Wundef warning.
3894 * stdlib/tst-limits.c (do_test): Likewise.
3896 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3897 parallel other exception macros.
3898 (fegetenv): Convert from macro to extern inline so that it applies
3899 retroactively to inline functions already seen by the compiler.
3900 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3902 * posix/Makefile (before-compile): Use $(objpfx) for
3903 posix-conf-vars-def.h.
3905 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3907 * posix/getconf.c (main): Use size_t for type of I.
3908 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3911 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3912 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3913 * posix/posix-envs.def: Likewise.
3914 * sysdeps/posix/sysconf.c: Likewise.
3915 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3916 (specs): Remove array.
3917 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3920 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3921 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3922 (__sysconf): Use CONF_IS_* macros.
3924 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3925 ($(objpfx)posix-conf-vars-def.h): New target.
3926 * posix/posix-conf-vars.list: New file.
3927 * posix/posix-conf-vars.h: New file.
3928 * posix/confstr.c: Include posix-conf-vars.h.
3929 (confstr): Use CONF_IS_* macros.
3930 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3932 * scripts/gen-posix-conf-vars.awk: New file.
3934 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3936 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3937 fegetround): Add no-op macros to avoid linknamespace issues.
3939 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3940 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3942 * sysdeps/unix/sysv/linux/tile/sysdep.h
3943 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3944 assembly-specific section to avoid a redefinition warning.
3946 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3947 long before casting to pointer to avoid a cast warning.
3949 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3951 * sysdeps/tile/tilegx/Implies: New file.
3953 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3955 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3957 2014-12-23 Florian Weimer <fweimer@redhat.com>
3959 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3961 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3963 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3965 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3966 <kernel-features.h>.
3967 (__utimes) [__NR_utimes]: Make code unconditional.
3968 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3969 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3970 (__ASSUME_UTIMES): Do not undefine.
3971 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3972 (__ASSUME_UTIMES): Likewise.
3973 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3974 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3975 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3976 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3978 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3980 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3982 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3985 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3986 alias to weak alias for j0l, y0l.
3987 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3988 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3991 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3994 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3996 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3997 to zero if not already defined.
3999 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4002 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4003 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4004 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4005 (char *) casts added.
4006 * sysdeps/ieee754/k_standardf.c: New file.
4007 * sysdeps/ieee754/k_standardl.c: Likewise.
4008 * math/Makefile (libm-support): Remove k_standard.
4009 (libm-calls): Add k_standard.
4011 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4013 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4014 Optimize to avoid an unnecessary FPCR read.
4016 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4018 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4019 Optimize to reduce FPCR/FPSR accesses.
4021 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4023 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4024 Call libc_fetestexcept_aarch64.
4026 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4028 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4029 Call libc_fesetround_aarch64.
4031 2014-12-22 Joseph Myers <joseph@codesourcery.com>
4034 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4035 (__bind): Do not define as weak alias.
4036 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4038 (__getsockname): Do not define as weak alias.
4040 2014-12-22 Will Newton <will.newton@linaro.org>
4042 * manual/install.texi: Document that we require bison 2.7
4044 * INSTALL: Regenerate.
4045 * configure.ac: Use AC_CHECK_PROG_VER instead of
4046 AC_PATH_PROG when checking for bison and check for
4047 version 2.7 or above.
4048 * configure: Regenerate.
4050 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4053 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4054 * sysdeps/tile/ffsll.c (ffsll): To here.
4056 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4058 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4060 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4062 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4064 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4065 hidden ___tls_get_addr.
4066 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4067 hidden __tls_get_addr.
4068 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4069 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4072 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4074 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4077 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4079 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4080 from "call _dl_init@PLT".
4081 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4083 2014-12-21 Anders Kaseorg <andersk@mit.edu>
4085 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4088 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4090 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4092 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4095 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4098 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4100 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4102 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4103 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4104 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4105 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4106 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4108 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
4110 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4111 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4112 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4113 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4114 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4116 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4118 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
4120 * string/strncat.c (STRNCAT): Simplify implementation.
4122 2014-12-19 David S. Miller <davem@davemloft.net>
4124 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4125 access the quad as both a long double and as a series of 4 words.
4127 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4128 link_map->l_info array access.
4130 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4132 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4134 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4135 * math/atest-exp2.c (TIMEOUT): Likewise.
4136 * math/atest-sincos.c (TIMEOUT): Likewise.
4138 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4140 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4141 -Wno-error with -fno-builtin-lround.
4143 2014-12-19 Torvald Riegel <triegel@redhat.com>
4145 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4146 Contains futex constants and functions moved over from ...
4147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4148 <lowlevellock-futex.h>.
4149 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4150 (lll_timedwait_tid): Add comments and parentheses around macro
4153 2014-12-19 Torvald Riegel <triegel@redhat.com>
4155 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4156 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4157 (__lll_private_flag): Remove.
4158 (lll_futex_wait): Likewise.
4159 (lll_futex_timed_wait): Likewise.
4160 (lll_futex_wake): Likewise.
4161 (lll_futex_requeue): Likewise.
4162 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4163 (__lll_timedwait_tid): Spell out argument names.
4164 (lll_timedwait_tid): Add comments and parentheses around macro
4166 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4167 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4169 2014-12-19 Torvald Riegel <triegel@redhat.com>
4171 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4172 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4173 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4174 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4175 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4176 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4177 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4178 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4179 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4180 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4181 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4182 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4183 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4184 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4185 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4187 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4188 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4189 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4191 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4193 * sysdeps/x86_64/x32/Makefile: New file.
4195 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4197 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4198 1L with (mp_limb_t) 1.
4200 2014-12-17 Roland McGrath <roland@hack.frob.com>
4202 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4203 * nptl/libc_pthread_init.c: ... here.
4204 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4205 * nptl/register-atfork.c: ... here.
4207 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4208 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4209 Use assert_perror to check its return value.
4210 (__gai_create_helper_thread): Likewise.
4212 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4214 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4216 2014-12-17 Joseph Myers <joseph@codesourcery.com>
4219 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4221 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4223 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4225 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4227 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4228 (profil_counter): Likewise.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4230 (profil_counter): Likewise.
4231 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4233 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4235 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4236 (profil_counter): Likewise.
4237 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4239 [!__profil_counter] (profil_counter): Define as weak alias of
4241 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4242 (profil_counter): Rename to __profil_counter.
4243 [!__profil_counter] (profil_counter): Define as weak alias of
4245 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4246 (profil_counter): Rename to __profil_counter.
4247 [!__profil_counter] (profil_counter): Define as weak alias of
4249 * sysdeps/posix/profil.c: Update comment referring to
4251 (__profil): Use __profil_counter instead of profil_counter.
4252 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4253 __profil_counter. Use __profil_counter_ushort and
4254 __profil_counter_uint in definitions.
4255 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4256 instead of profil_counter_uint and profil_counter_ushort.
4259 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4260 define as weak alias of __inet_makeaddr.
4261 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4262 as weak alias of __inet_addr.
4263 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4264 as weak alias of __inet_pton. Use libc_hidden_weak.
4265 * include/arpa/inet.h (__inet_pton): Declare. Use
4267 (inet_makeaddr): Don't use libc_hidden_proto.
4268 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4269 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4270 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4271 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4273 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4274 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4276 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
4278 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4280 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4282 * stdio-common/bug-vfprintf-nargs.c (do_test):
4283 Cast value to intptr_t to avoid format warning
4284 for usage with PRIdPTR printing macro.
4286 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4288 * libio/tst-widetext.c (do_test):
4289 Use format type %td instead of %Zd for ptrdiff_t
4290 in order to avoid format warning.
4292 2014-12-17 Andreas Schwab <schwab@suse.de>
4294 * nscd/mem.c (gc): Add size_t cast to match printf format.
4296 2014-12-16 Roland McGrath <roland@hack.frob.com>
4298 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4299 (init): Apply PTR_MANGLE to pointers before storing them.
4300 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4303 2014-12-16 Joseph Myers <joseph@codesourcery.com>
4306 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4307 define as weak alias of __memrchr.
4308 (__memrchr): Do not define as strong alias of memrchr.
4309 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4311 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4312 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4313 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4316 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4317 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4318 (if_indextoname): Rename to __if_indextoname and define as weak
4319 alias of __if_indextoname. Use libc_hidden_weak.
4320 (if_freenameindex): Rename to __if_freenameindex and define as
4321 weak alias of __if_freenameindex.
4322 (if_nameindex): Rename to __if_nameindex and define as weak alias
4324 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4325 __if_nametoindex and define as weak alias of __if_nametoindex.
4326 Use libc_hidden_weak.
4327 (if_freenameindex): Rename to __if_freenameindex and define as
4328 weak alias of __if_freenameindex.
4329 (if_nameindex): Rename to __if_nameindex and define as weak alias
4331 (if_indextoname): Rename to __if_indextoname and define as weak
4332 alias of __if_indextoname. Use libc_hidden_weak.
4333 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4334 __if_nametoindex and define as weak alias of __if_nametoindex.
4335 Use libc_hidden_weak.
4336 (if_freenameindex): Rename to __if_freenameindex and define as
4337 weak alias of __if_freenameindex. Use libc_hidden_weak.
4338 (if_nameindex_netlink): Use __if_freenameindex instead of
4340 (if_nameindex): Rename to __if_nameindex and define as weak alias
4341 of __if_nameindex. Use libc_hidden_weak.
4342 (if_indextoname): Rename to __if_indextoname and define as weak
4343 alias of __if_indextoname. Use libc_hidden_weak.
4344 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4346 [!_ISOMAC] (__if_freenameindex): Likewise.
4347 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4349 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4351 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4352 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4353 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4354 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4355 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4356 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4357 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4359 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4361 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4362 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4364 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4366 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4367 subscript above bounds'
4369 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4372 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
4374 * libio/tst-fopenloc.c: Use test-skeleton.c.
4376 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4377 (entry): Rename to ITEM.
4378 (do_test, comp): Adjust.
4380 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4382 2014-12-16 Torvald Riegel <triegel@redhat.com>
4384 * string/tester.c: Include <libc-internal.h>.
4385 (test_memset): Ignore -Wmemset-transposed-args.
4387 2014-12-16 Torvald Riegel <triegel@redhat.com>
4389 * misc/tst-mntent2.c (do_test): Fix warning.
4391 2014-12-16 Torvald Riegel <triegel@redhat.com>
4393 * elf/tst-unique4lib.cc(a): Mark as used.
4395 2014-12-16 Florian Weimer <fweimer@redhat.com>
4398 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4401 2014-12-16 Allan McRae <allan@archlinux.org>
4403 * stdio-common/Makefile (tests): Re-add bug26.
4405 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
4408 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4411 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4413 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4414 (__lll_lock_wait): Likewise.
4415 (__lll_timedlock_wait): Likewise.
4416 (__lll_timedwait_tid): Likewise.
4417 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4418 (__lll_robust_timedlock_wait): Likewise.
4419 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4420 (lll_cond_trylock): Likewise.
4421 (__lll_lock): Likewise.
4422 (__lll_robust_lock): Likewise.
4423 (__lll_cond_lock): Likewise.
4424 (lll_robust_cond_lock): Likewise.
4425 (__lll_timedlock): Likewise.
4426 (__lll_robust_timedlock): Likewise.
4427 (__lll_unlock): Likewise.
4428 (__lll_robust_unlock): Likewise.
4429 (lll_wait_tid): Likewise.
4430 (lll_timedwait_tid): Likewise.
4432 2014-12-15 Torvald Riegel <triegel@redhat.com>
4434 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4436 2014-12-15 Torvald Riegel <triegel@redhat.com>
4438 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4440 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4442 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4443 * stdio-common/tst-sprintf.c: Likewise.
4445 2014-12-15 Torvald Riegel <triegel@redhat.com>
4447 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4449 2014-12-15 Jeff Law <law@redhat.com>
4452 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4453 on the heap. (CVE-2012-3406)
4454 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4455 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4456 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4458 2014-12-15 Will Newton <will.newton@linaro.org>
4460 * manual/install.texi: Bump required version of texinfo
4462 * INSTALL: Regenerated.
4463 * configure.ac: Check for makeinfo version 4.7 and above.
4464 * configure: Regenerated.
4466 2014-12-12 Roland McGrath <roland@hack.frob.com>
4468 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4469 PREFIX, string constant to insert between directory and name.
4470 * sysdeps/posix/shm_open.c: Update caller.
4471 * sysdeps/posix/shm_unlink.c: Likewise.
4472 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4473 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4474 (SEM_SHM_PREFIX): New macro.
4475 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4476 [$(have-thread-library) = no].
4477 * nptl/Makefile (libpthread-routines): Add shm-directory.
4478 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4479 * sysdeps/nptl/shm-directory.h: New file.
4480 * sysdeps/posix/shm-directory.c
4481 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4482 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4483 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4485 (__where_is_shmfs): Function removed.
4486 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4488 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4490 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4492 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4493 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4494 unconditional for use inside libpthread.
4495 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4497 2014-12-12 Roland McGrath <roland@hack.frob.com>
4499 * nptl/pthread_getaffinity.c: New file.
4500 * nptl/pthread_setaffinity.c: New file.
4501 * nptl/pthread_getname.c: New file.
4502 * nptl/pthread_setname.c: New file.
4504 * nptl/pthread_create.c (START_THREAD_DEFN)
4505 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4507 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510 * resolv/res_send.c (send_vc): Disable warning resplen may
4511 be used uninitialized.
4513 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4516 (ATTR_NULL): New define checks ATTR against NULL.
4517 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4518 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4520 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4524 (mem2mem_check): Revert my previous change.
4525 (malloc_check_get_size): Revert my previous change.
4526 (mem2chunk_check): Revert my previous change.
4528 2014-12-11 Roland McGrath <roland@hack.frob.com>
4530 * sysdeps/posix/shm-directory.c: New file.
4531 * sysdeps/posix/shm-directory.h: New file.
4532 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4533 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4534 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4535 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4536 Transmute EPERM to EACCES.
4537 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4539 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4540 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4542 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4544 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4545 pointer and cast to uintptr_t.
4546 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4548 Add cast to avoid warning.
4549 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4551 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4553 * nptl/semaphore.h: Move to ...
4554 * sysdeps/pthread/semaphore.h: ... here.
4555 * Makefile (installed-headers): Change nptl/semaphore.h to
4556 sysdeps/pthread/semaphore.h.
4558 2014-12-11 Roland McGrath <roland@hack.frob.com>
4560 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4561 generated error format strings.
4563 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4564 -Wformat-extra-args warnings for scanf formats.
4565 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4566 test of zero-length format (duh).
4567 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4568 corner-case scanf format test.
4569 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4570 generated fprintf format string.
4571 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4572 corner-case sprintf format tests.
4573 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4574 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4575 -Wformat-extra-args warnings throughout.
4576 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4577 (CFLAGS-scanf4.c): Likewise.
4578 (CFLAGS-scanf7.c): Likewise.
4579 (CFLAGS-tst-sprintf.c): Likewise.
4580 (CFLAGS-tst-printf.c): Likewise.
4581 (CFLAGS-tst-printfsz.c): Likewise.
4583 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4585 * include/cpio.h: New file.
4586 * include/fmtmsg.h: Likewise.
4588 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4589 corresponding format argument to size_t.
4590 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4592 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4593 corresponding format argument to size_t.
4594 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4596 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4597 corresponding format argument to size_t.
4598 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4599 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4600 (CFLAGS-tst-mbswcs2.c): Likewise.
4601 (CFLAGS-tst-mbswcs3.c): Likewise.
4602 (CFLAGS-tst-mbswcs4.c): Likewise.
4603 (CFLAGS-tst-mbswcs5.c): Likewise.
4604 (CFLAGS-tst-trans.c): Likewise
4606 2014-12-11 Roland McGrath <roland@hack.frob.com>
4608 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4609 rather than assuming they won't contain any '%'s.
4611 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4613 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4614 inhibit_loop_to_libcall to avoid recursive calls.
4615 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4616 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4618 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4620 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4623 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4625 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4626 integer value instead of boolean.
4628 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4630 * malloc/malloc.c: Fix powerof2 check.
4632 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4634 * locale/programs/locfile.h (maybe_swap_uint32):
4635 Remove inline and add unused attribute.
4637 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4639 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4640 Truncating assembler expression to a .long expression.
4642 2014-12-11 Andreas Schwab <schwab@suse.de>
4644 * elf/rtld.c (struct map_args): Constify str member.
4645 (do_preload): Constify fname argument.
4647 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4650 constants definition.
4652 2014-12-11 Andreas Schwab <schwab@suse.de>
4655 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4656 FORCE_ELISION instead of DO_ELISION.
4657 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4659 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4662 * iconvdata/gconv-modules: Remove duplicate entry.
4664 2014-12-11 Will Newton <will.newton@linaro.org>
4666 Merge gettext 0.19.3 into intl/.
4668 This involves a number of cosmetic changes to comments
4669 and ANSI function definitions and prototypes throughout
4670 all the files. The gettext copyright header is used but
4671 with the date ranges taken from the glibc copy.
4673 * NEWS: Add gettext merge to 2.21.
4674 * intl/bindtextdom.c: Switch to gettext copyright.
4675 Use ANSI definitions and prototypes.
4676 Use gl_* locking primitives rather than __libc_* ones.
4677 Use __builtin_expect rather than __glibc_likely/unlikely.
4678 * intl/dcgettext.c: Switch to gettext copyright.
4679 Use ANSI definitions and prototypes.
4680 * intl/dcigettext.c: Switch to gettext copyright.
4681 Use ANSI definitions and prototypes.
4682 (INTDIV0_RAISES_SIGFPE): New define.
4683 Use gl_* locking primitives rather than __libc_* ones.
4684 Include eval-plural.h instead of plural-eval.c.
4685 Use __builtin_expect rather than __glibc_likely/unlikely.
4686 * intl/dcngettext.c: Switch to gettext copyright.
4687 Use ANSI definitions and prototypes.
4688 * intl/dgettext.c: Likewise.
4689 * intl/dngettext.c: Likewise.
4690 * intl/plural-eval.c: Renamed to...
4691 * intl/eval-plural.h: ...this.
4692 * intl/explodename.c: Switch to gettext copyright.
4693 Use ANSI definitions and prototypes.
4694 (_nl_explode_name): Use strchr instead of __rawmemchr.
4695 * intl/finddomain.c: Switch to gettext copyright.
4696 Use ANSI definitions and prototypes.
4697 Use gl_* locking primitives rather than __libc_* ones.
4698 (_nl_find_domain): Use malloc rather than alloca for
4699 allocation of temporary locale name.
4700 * intl/gettext.c: Switch to gettext copyright.
4701 Use ANSI definitions and prototypes.
4702 * intl/gettextP.h: Switch to gettext copyright.
4703 Use ANSI definitions and prototypes.
4704 Use gl_* locking primitives rather than __libc_* ones.
4705 * intl/gmo.h: Switch to gettext copyright.
4706 (struct sysdep_string): Move struct segment_pair outside of
4708 * intl/hash-string.c: Use ANSI definitions and prototypes.
4709 * intl/hash-string.h: Switch to gettext copyright.
4710 Use ANSI definitions and prototypes.
4711 * intl/l10nflist.c: Switch to gettext copyright.
4712 Use ANSI definitions and prototypes.
4713 (_nl_normalize_codeset): Avoid integer overflow.
4714 * intl/loadinfo.h: Switch to gettext copyright.
4715 Use ANSI definitions and prototypes.
4716 (LIBINTL_DLL_EXPORTED): New define.
4717 (PATH_SEPARATOR): New define.
4718 * intl/loadmsgcat.c: Switch to gettext copyright.
4719 * intl/localealias.c: Switch to gettext copyright.
4720 Use ANSI definitions and prototypes.
4721 (_nl_expand_alias): Use PATH_SEPARATOR.
4722 * intl/ngettext.c: Switch to gettext copyright.
4723 Use ANSI definitions and prototypes.
4724 * intl/plural-exp.c: Likewise.
4725 * intl/plural-exp.h: Switch to gettext copyright.
4726 Use ANSI definitions and prototypes.
4727 (struct expression): Move definition of enum operator outside
4728 of struct definition.
4729 * intl/plural.c: Regenerate.
4730 * intl/plural.y: Switch to gettext copyright.
4731 Use ANSI definitions and prototypes.
4733 * intl/textdomain.c: Switch to gettext copyright.
4734 Use ANSI definitions and prototypes.
4735 Use gl_* locking primitives rather than __libc_* ones.
4737 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4739 * debug/warning-nop.c: Add used atrribute.
4741 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4743 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4745 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4746 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4747 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4749 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4750 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4754 Undefine after defining function. Define as weak alias of
4755 __wcschr. Use libc_hidden_weak.
4756 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4757 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4758 (libc_hidden_def): Also define __GI___wcschr alias.
4759 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4760 __wcschr and define as weak alias of __wcschr.
4761 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4763 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4764 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4765 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4766 libc_hidden_weak. Do not use libc_hidden_def.
4767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4768 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4769 __GI___wcschr alias.
4770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4771 [IS_IN (libc)] (wcschr): Define as macro expanding to
4773 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4774 [IS_IN (libc)] (__wcschr_power6): Likewise.
4775 [IS_IN (libc)] (__wcschr_power7): Likewise.
4776 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4778 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4780 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4782 __wcschr and define as weak alias of __wcschr. Use
4783 libc_hidden_builtin_def.
4784 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4785 as weak alias of __wcschr. Use libc_hidden_weak.
4786 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4788 * time/era.c (_nl_init_era_entries): Likewise.
4789 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4791 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4792 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4794 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4796 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4797 format for long int variable.
4799 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4802 * manual/search.texi: (Array Sort Function): Remove claim how to make
4805 2014-12-10 Andreas Schwab <schwab@suse.de>
4808 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4809 user-controlled locks.
4811 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4813 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4816 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4818 * configure.ac (--disable-werror): New configure option.
4819 (enable_werror): New AC_SUBST.
4820 * configure: Regenerated.
4821 * config.make.in (enable-werror): New variable.
4822 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4824 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4825 * manual/install.texi (Configuring and compiling): Document
4827 * INSTALL: Regenerated.
4828 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4829 (CFLAGS-tst-chk2.c): Likewise.
4830 (CFLAGS-tst-chk3.c): Likewise.
4831 (CFLAGS-tst-chk4.cc): Likewise.
4832 (CFLAGS-tst-chk5.cc): Likewise.
4833 (CFLAGS-tst-chk6.cc): Likewise.
4834 (CFLAGS-tst-lfschk1.c): Likewise.
4835 (CFLAGS-tst-lfschk2.c): Likewise.
4836 (CFLAGS-tst-lfschk3.c): Likewise.
4837 (CFLAGS-tst-lfschk4.cc): Likewise.
4838 (CFLAGS-tst-lfschk5.cc): Likewise.
4839 (CFLAGS-tst-lfschk6.cc): Likewise.
4841 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4842 (main): Disable -Wdeprecated-declarations around calls to
4843 register_printf_function.
4845 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4846 (do_test): Disable -Wdiv-by-zero around some calls to
4847 fwrite_unlocked and fread_unlocked.
4849 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4850 (DIAG_POP_NEEDS_COMMENT): Likewise.
4851 (_DIAG_STR1): Likewise.
4852 (_DIAG_STR): Likewise.
4853 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4854 * stdio-common/bug21.c: Include <libc-internal.h>.
4855 (do_test): Disable -Wformat around call to sscanf.
4856 * stdio-common/scanf14.c: Include <libc-internal.h>.
4857 (main): Disable -Wformat around some calls to scanf functions.
4859 2014-12-09 Torvald Riegel <triegel@redhat.com>
4861 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4863 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4866 stack variable alignment.
4868 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4871 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4872 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4873 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4874 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4875 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4876 __getrlimit instead of getrlimit.
4877 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4878 __gettimeofday instead of gettimeofday.
4879 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4881 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4883 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4884 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4886 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4887 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4889 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4892 for wide-character tests.
4894 2014-12-04 Roland McGrath <roland@hack.frob.com>
4896 * io/openat64.c: #include <libc-internal.h>
4897 (__openat64): Prototypify. Use ignore_value on MODE.
4898 * io/openat.c: Likewise.
4899 * misc/reboot.c: #include <libc-internal.h>
4900 (reboot): Prototypify. Use ignore_value on HOWTO.
4901 * misc/ptrace.c: #include <libc-internal.h>
4902 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4904 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4906 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4907 XPG4, UNIX98 and XOPEN2K.
4908 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4910 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4912 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4914 * libio/fileops.c: Use ISO C style for function definitions.
4915 * libio/iofopen.c: Likewise.
4916 * libio/wfileops.c: Likewise.
4919 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4921 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4922 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4923 (fgets_func): Function pointer to fgets and fgetws.
4924 (do_ftell_test): Add test to verify ftell value after read
4926 (do_test): Set fgets_func.
4928 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4929 O_TRUNC flag for w and w+ modes.
4930 (do_rewind_test): Likewise.
4931 (do_ftell_test): Likewise.
4932 (do_write_test): Likewise.
4935 * libio/fileops.c (do_ftell): Seek only when there are
4937 * libio/wfileops.c (do_ftell_wide): Likewise.
4938 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4940 (do_one_test): Call it.
4942 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4944 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4945 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4946 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4948 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4949 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4950 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4952 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4954 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4956 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4959 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4960 as weak alias of __getifaddrs. Use libc_hidden_weak.
4961 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4962 __freeifaddrs. Use libc_hidden_weak.
4963 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4964 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4965 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4966 __freeifaddrs. Use libc_hidden_weak.
4967 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4968 __getifaddrs and define as weak alias of __getifaddrs. Use
4970 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4971 __freeifaddrs. Use libc_hidden_weak.
4972 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4974 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4975 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4977 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4980 * sysdeps/mips/start.S (__start): Use indirect jump to call
4983 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4985 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4987 * nptl/tst-mutex1.c: Include <stdbool.h>.
4988 [!ATTR] (ATTR_NULL): New macro.
4989 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4990 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4991 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4993 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4997 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4998 Change conditional to [__USE_MISC].
5001 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5003 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5005 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5007 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5009 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5010 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5011 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5012 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5013 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5014 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5015 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5016 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5017 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5019 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5021 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5023 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5024 Remove strpbrk objects.
5025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5026 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5027 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5028 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5029 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5030 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5032 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5033 Remove strcspn objects.
5034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5035 (__libc_ifunc_impl_list): Remove strcspn implementation.
5036 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5037 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5038 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5039 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5041 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5042 Remove strspn objetcs.
5043 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5044 (__libc_ifunc_impl_list): Remove strspn implementation.
5045 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5046 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5047 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5048 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5050 2014-12-01 James Lemke <jwlemke@codesourcery.com>
5054 (mem2mem_check): Add a terminator to the chain of checking blocks.
5055 (malloc_check_get_size): Use it here.
5056 (mem2chunk_check): Ditto.
5058 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5060 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5061 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5063 2014-11-29 Carlos O'Donell <carlos@redhat.com>
5065 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5067 * nptl/nptl-init.c: Include libc-internal.h.
5068 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5070 * elf/ldconfig.c (search_dir): Expand comment.
5072 2014-11-29 Joseph Myers <joseph@codesourcery.com>
5074 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5076 (linknamespace-symlist-stdlibs-tests): Likewise.
5077 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5078 instead of $(objpfx)symlist-stdlibs.
5079 (linknamespace-libs-isoc): New variable.
5080 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5081 (linknamespace-libs-ISO): New variable.
5082 (linknamespace-libs-ISO99): Likewise.
5083 (linknamespace-libs-ISO11): Likewise.
5084 (linknamespace-libs-XPG3): Likewise.
5085 (linknamespace-libs-XPG4): Likewise.
5086 (linknamespace-libs-POSIX): Likewise.
5087 (linknamespace-libs-UNIX98): Likewise.
5088 (linknamespace-libs-XOPEN2K): Likewise.
5089 (linknamespace-libs-POSIX2008): Likewise.
5090 (linknamespace-libs-XOPEN2K8): Likewise.
5091 ($(objpfx)symlist-stdlibs): Replace by
5092 $(linknamespace-symlist-stdlibs-tests). Use
5093 $(linknamespace-libs-$*) as set of libraries.
5094 ($(linknamespace-header-tests)): Update dependencies. Use
5095 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5096 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5097 * conform/linknamespace.pl: Remove comment about considering
5098 definitions of symbols from irrelevant libraries.
5100 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5103 * elf/dl-tls.c: Include <atomic.h>.
5104 (oom): Remove #ifdef SHARED/#endif.
5105 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5106 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5107 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5109 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5110 * nptl/Makefile (tests): Add tst-stack4.
5111 (modules-names): Add tst-stack4mod.
5112 ($(objpfx)tst-stack4): New.
5113 (tst-stack4mod.sos): Likewise.
5114 ($(objpfx)tst-stack4.out): Likewise.
5115 ($(tst-stack4mod.sos)): Likewise.
5117 * nptl/tst-stack4.c: New file.
5118 * nptl/tst-stack4mod.c: Likewise.
5120 2014-11-27 J. Brown <jb999@gmx.de>
5122 * sysdeps/x86/bits/string.h: Add recent CPUs.
5124 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5126 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5129 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5132 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5135 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5137 * nscd/connections.c: Include libc-internal.h because of macro
5140 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5142 * string/bits/string3.h (__warn_memset_zero_len): Don't
5143 declare for gcc newer than 5.0.
5144 (memset): Don't test for zero-length __LEN for gcc newer than
5147 2014-11-27 Joseph Myers <joseph@codesourcery.com>
5149 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5150 size_t for %zu format.
5152 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5153 difference, not %ju.
5155 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5157 * include/libc-internal.h (ignore_value): New macro.
5158 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5161 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5164 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5165 pthread_cleanup_push to void *.
5167 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5172 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5173 instead of 1L << 52.
5175 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5176 * libio/bug-rewind2.c (do_test): Likewise.
5178 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5179 * debug/test-strcpy_chk-ifunc.c: Likewise.
5180 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5181 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5182 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5183 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5184 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5185 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5186 * Rules [$(multi-arch) = no] (tests): Do not filter out
5188 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5189 * debug/Makefile (tests-ifunc): Remove variable.
5190 (tests): Do not add $(tests-ifunc).
5191 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5192 (tests): Do not add $(tests-ifunc).
5193 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5194 [TEST_IFUNC]: Remove conditionals.
5195 * string/test-string.h (TEST_IFUNC): Remove macro.
5196 [TEST_IFUNC]: Remove conditionals.
5198 * string/test-strchr.c [!WIDE] (L): New macro.
5199 [WIDE] (L): Likewise.
5200 (check1): Use CHAR instead of char. Use L on string and character
5203 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5205 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5207 * sysdeps/powerpc/bits/atomic.h
5208 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5209 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5210 (atomic_exchange_and_add_acq): Likewise.
5211 (atomic_exchange_and_add_rel): Likewise.
5212 * sysdeps/powerpc/powerpc32/bits/atomic.h
5213 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5214 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5215 * sysdeps/powerpc/powerpc64/bits/atomic.h
5216 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5217 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5219 2014-11-26 Torvald Riegel <triegel@redhat.com>
5221 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5222 Change synchronization of __sched_fifo_min_prio and
5223 __sched_fifo_max_prio.
5224 * nptl/pthread_mutexattr_getprioceiling.c
5225 (pthread_mutexattr_getprioceiling): Likewise.
5226 * nptl/pthread_mutexattr_setprioceiling.c
5227 (pthread_mutexattr_setprioceiling): Likewise.
5228 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5229 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5232 2014-11-26 Joseph Myers <joseph@codesourcery.com>
5234 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5237 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5239 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5240 third argument const.
5242 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5244 fnmatch: work around GCC compiler warning bug with uninit var
5245 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5246 This works around a bug with x86-64 GCC 4.9.2 and earlier
5247 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5248 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5249 used uninitialized in this function [-Wmaybe-uninitialized]".
5251 2014-11-25 Joseph Myers <joseph@codesourcery.com>
5253 * posix/bug-regex31.c (main): Return RES not 0.
5255 2014-11-25 Anton Blanchard <anton@samba.org>
5257 * sysdeps/powerpc/bits/atomic.h
5258 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5260 2014-11-24 Sterling Augustine <saugustine@google.com>
5262 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5264 2014-11-24 Ryan Cumming <etaoins@gmail.com>
5267 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5269 2014-11-24 Joseph Myers <joseph@codesourcery.com>
5272 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5273 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5275 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5276 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5278 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5280 * string/strncpy.c (strncpy): Improve performance by using memset.
5282 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5284 * string/strcpy.c (strcpy):
5285 Improve performance by using strlen and memcpy.
5287 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
5289 * string/strcoll_l.c (get_next_seq): __always_inline.
5290 * string/strcoll_l.c (do_compare): __always_inline.
5292 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5294 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5296 * include/mqueue.h: Likewise.
5297 * include/stdlib.h: Likewise.
5299 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5300 (get_null_defines): Adjust.
5301 * sunrpc/Makefile: Adjust comment.
5302 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5303 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5304 (CFLAGS-interp.c): Likewise.
5305 (CFLAGS-ldconfig.c): Likewise.
5306 (CPPFLAGS-.os): Likewise.
5307 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5308 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5309 * extra-modules.mk (extra-modules.mk): Likewise.
5310 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5311 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5312 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5313 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5314 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5315 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5316 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5317 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5318 * iconvdata/Makefile (CPPFLAGS): Likewise.
5319 (cpp-srcs-left): Add libof for all iconvdata routines.
5320 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5321 * include/assert.h: Likewise.
5322 * include/ctype.h: Likewise.
5323 * include/errno.h: Likewise.
5324 * include/libc-symbols.h: Likewise.
5325 * include/math.h: Likewise.
5326 * include/netdb.h: Likewise.
5327 * include/resolv.h: Likewise.
5328 * include/stdio.h: Likewise.
5329 * include/stdlib.h: Likewise.
5330 * include/string.h: Likewise.
5331 * include/sys/stat.h: Likewise.
5332 * include/wctype.h: Likewise.
5333 * intl/l10nflist.c: Likewise.
5334 * libidn/idn-stub.c: Likewise.
5335 * libio/libioP.h: Likewise.
5336 * nptl/libc_multiple_threads.c: Likewise.
5337 * nptl/pthreadP.h: Likewise.
5338 * posix/regex_internal.h: Likewise.
5339 * resolv/res_hconf.c: Likewise.
5340 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5341 * sysdeps/arm/memmove.S: Likewise.
5342 * sysdeps/arm/sysdep.h: Likewise.
5343 * sysdeps/generic/_itoa.h: Likewise.
5344 * sysdeps/generic/symbol-hacks.h: Likewise.
5345 * sysdeps/gnu/errlist.awk: Likewise.
5346 * sysdeps/gnu/errlist.c: Likewise.
5347 * sysdeps/i386/i586/memcpy.S: Likewise.
5348 * sysdeps/i386/i586/memset.S: Likewise.
5349 * sysdeps/i386/i686/memcpy.S: Likewise.
5350 * sysdeps/i386/i686/memmove.S: Likewise.
5351 * sysdeps/i386/i686/mempcpy.S: Likewise.
5352 * sysdeps/i386/i686/memset.S: Likewise.
5353 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5354 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5358 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5359 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5363 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5366 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5367 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5368 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5369 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5370 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5371 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5372 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5373 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5374 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5375 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5376 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5377 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5378 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5379 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5380 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5387 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5391 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5394 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5396 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5399 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5400 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5401 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5402 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5403 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5404 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5405 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5406 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5407 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5408 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5409 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5410 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5411 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5412 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5414 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5415 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5416 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5417 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5418 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5419 * sysdeps/posix/closedir.c: Likewise.
5420 * sysdeps/posix/opendir.c: Likewise.
5421 * sysdeps/posix/readdir.c: Likewise.
5422 * sysdeps/posix/rewinddir.c: Likewise.
5423 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5425 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5432 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5434 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5435 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5436 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5437 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5439 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5440 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5444 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5445 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5446 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5447 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5448 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5449 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5451 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5452 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5454 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5456 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5458 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5459 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5460 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5461 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5462 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5463 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5464 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5465 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5466 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5467 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5468 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5469 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5470 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5471 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5472 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5473 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5474 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5475 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5477 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5478 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5480 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5481 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5482 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5483 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5484 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5485 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5487 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5488 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5489 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5490 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5491 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5492 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5493 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5494 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5496 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5497 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5499 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5500 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5501 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5502 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5503 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5504 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5506 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5507 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5509 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5510 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5511 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5512 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5513 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5514 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5515 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5521 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5522 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5523 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5524 * sysdeps/unix/alpha/sysdep.S: Likewise.
5525 * sysdeps/unix/alpha/sysdep.h: Likewise.
5526 * sysdeps/unix/make-syscalls.sh: Likewise.
5527 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5529 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5530 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5531 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5532 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5533 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5534 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5535 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5536 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5537 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5538 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5539 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5540 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5541 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5542 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5543 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5544 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5545 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5546 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5547 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5548 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5549 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5550 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5551 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5552 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5553 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5556 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5557 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5558 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5559 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5560 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5562 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5564 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5565 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5566 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5568 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5570 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5574 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5577 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5578 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5579 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5580 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5581 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5583 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5585 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5586 * sysdeps/x86_64/memcpy.S: Likewise.
5587 * sysdeps/x86_64/memmove.c: Likewise.
5588 * sysdeps/x86_64/memset.S: Likewise.
5589 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5590 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5591 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5592 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5593 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5594 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5596 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5597 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5598 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5599 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5600 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5601 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5602 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5603 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5604 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5605 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5606 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5608 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5609 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5610 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5612 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5613 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5614 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5615 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5616 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5617 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5618 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5619 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5620 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5621 * sysdeps/x86_64/strcmp.S: Likewise.
5623 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5625 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5626 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5627 * elf/rtld-Rules: Likewise.
5628 * elf/setup-vdso.h: Likewise.
5629 * include/assert.h: Likewise.
5630 * include/bits/stdlib-float.h: Likewise.
5631 * include/errno.h: Likewise.
5632 * include/sys/stat.h: Likewise.
5633 * include/unistd.h: Likewise.
5634 * sysdeps/aarch64/setjmp.S: Likewise.
5635 * sysdeps/alpha/setjmp.S: Likewise.
5636 * sysdeps/arm/__longjmp.S: Likewise.
5637 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5638 * sysdeps/arm/setjmp.S: Likewise.
5639 * sysdeps/arm/sysdep.h: Likewise.
5640 * sysdeps/generic/_itoa.h: Likewise.
5641 * sysdeps/generic/dl-sysdep.h: Likewise.
5642 * sysdeps/generic/ldsodefs.h: Likewise.
5643 * sysdeps/i386/dl-tls.h: Likewise.
5644 * sysdeps/i386/setjmp.S: Likewise.
5645 * sysdeps/m68k/setjmp.c: Likewise.
5646 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5647 * sysdeps/mach/hurd/opendir.c: Likewise.
5648 * sysdeps/posix/getcwd.c: Likewise.
5649 * sysdeps/posix/opendir.c: Likewise.
5650 * sysdeps/posix/profil.c: Likewise.
5651 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5652 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5653 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5654 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5655 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5656 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5657 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5658 * sysdeps/s390/dl-tls.h: Likewise.
5659 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5660 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5661 * sysdeps/sh/sh3/setjmp.S: Likewise.
5662 * sysdeps/sh/sh4/setjmp.S: Likewise.
5663 * sysdeps/unix/alpha/sysdep.h: Likewise.
5664 * sysdeps/unix/arm/sysdep.S: Likewise.
5665 * sysdeps/unix/i386/sysdep.S: Likewise.
5666 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5667 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5668 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5669 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5670 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5671 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5672 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5673 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5674 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5675 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5676 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5677 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5678 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5681 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5684 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5685 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5686 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5689 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5690 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5691 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5693 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5694 * sysdeps/x86_64/setjmp.S: Likewise.
5696 * include/math.h: Use IS_IN instead of IS_IN_libm.
5697 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5698 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5705 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5706 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5707 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5708 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5709 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5710 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5711 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5712 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5713 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5714 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5715 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5716 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5717 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5718 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5719 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5720 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5721 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5722 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5723 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5724 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5725 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5726 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5727 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5728 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5729 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5740 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5741 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5742 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5743 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5744 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5745 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5751 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5752 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5753 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5754 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5756 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5757 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5758 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5759 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5760 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5761 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5762 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5763 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5766 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5768 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5769 * nptl/pthreadP.h: Likewise.
5770 * nptl_db/structs.def: Likewise.
5771 * sysdeps/arm/sysdep.h: Likewise.
5772 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5773 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5774 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5775 * sysdeps/unix/alpha/sysdep.h: Likewise.
5776 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5777 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5778 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5779 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5780 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5781 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5782 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5783 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5784 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5785 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5786 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5787 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5788 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5789 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5794 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5797 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5798 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5799 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5800 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5801 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5803 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5804 * nptl/pthreadP.h: Likewise.
5805 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5807 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5808 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5809 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5810 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5811 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5812 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5813 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5814 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5815 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5816 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5823 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5826 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5827 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5828 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5830 * dlfcn/dladdr.c: Use IS_IN.
5831 * dlfcn/dladdr1.c: Likewise.
5832 * dlfcn/dlclose.c: Likewise.
5833 * dlfcn/dlerror.c: Likewise.
5834 * dlfcn/dlinfo.c: Likewise.
5835 * dlfcn/dlmopen.c: Likewise.
5836 * dlfcn/dlopen.c: Likewise.
5837 * dlfcn/dlsym.c: Likewise.
5838 * dlfcn/dlvsym.c: Likewise.
5840 * include/ifaddrs.h: Use IS_IN.
5841 * inet/check_pf.c: Likewise.
5842 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5843 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5845 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5847 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5848 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5850 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5851 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5854 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5856 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5857 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5858 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5859 * include/libc-symbols.h (IS_IN_LIB): New macro.
5860 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5861 * include/netdb.h: Likewise.
5862 * include/stap-probe.h: Remove all uses of IN_LIB.
5864 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5865 instead of IN_MODULE.
5866 * include/libc-symbols.h (IN_MODULE): Define using
5868 (PASTE_NAME, PASTE_NAME1): New macros.
5869 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5871 (STAP_PROBE_ASM): Likewise.
5873 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5875 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5876 __mach_init in dlopened libc.
5878 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5880 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5881 * sysdeps/arm/preconfigure: Regenerate.
5883 2014-11-21 Roland McGrath <roland@hack.frob.com>
5885 * nptl/pthread_create.c (__pthread_create_2_1): Set
5886 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5887 when copying values from IATTR into PD.
5889 2014-11-21 Will Newton <will.newton@linaro.org>
5890 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5892 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5893 Refactor inline-asm. Also add comment.
5895 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5896 ElfW macro instead of hardcoded Elf64 types.
5897 (la_aarch64_gnu_pltenter): Likewise.
5898 * sysdeps/aarch64/dl-machine.h
5899 (elf_machine_runtime_setup): Use ElfW(Addr).
5901 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5902 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5903 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5904 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5905 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5906 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5907 (R_AARCH64_TLS_DTPMOD): This.
5908 (R_AARCH64_TLS_DTPREL64): Rename to ...
5909 (R_AARCH64_TLS_DTPREL): This.
5910 (R_AARCH64_TLS_TPREL64): Rename to ...
5911 (R_AARCH64_TLS_TPREL): This.
5912 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5913 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5914 R_AARCH64_TLS_TPREL64.
5915 (elf_machine_rela): Likewise.
5917 2014-11-21 Torvald Riegel <triegel@redhat.com>
5919 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5920 by setting it to 0. 64b atomics are not supported currently.
5922 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5925 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5926 search domain names.
5928 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5932 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5934 * posix/tst-getaddrinfo5.c: New.
5935 * posix/Makefile (tests): Add it.
5937 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5941 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5942 after parsing line but before break_if_match.
5943 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5944 if there is a protocol mismatch.
5946 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5948 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5949 because the potential race is on the user-supplied stream.
5951 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5953 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5954 string literal if not passed a buffer.
5955 * manual/job.texi (ctermid): Update reasoning, note deviation
5956 from posix, suggest mtasurace when not passed a buffer, for
5957 future non-preliminary safety notes.
5959 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5961 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5962 of not passing it a buffer.
5963 Reported by Peng Haitao.
5965 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5967 * manual/Makefile ($(objpfx)stamp-summary): Require
5968 check-safety.sh to pass.
5969 * manual/check-safety.sh: Wish for verification that every
5970 @deftypefn and @deftypefun is followed by a @safety remark.
5972 2014-11-20 Roland McGrath <roland@hack.frob.com>
5974 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5976 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5977 PTHREAD_CANCEL_ASYNCHRONOUS.
5978 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5981 * nptl/default-sched.h: New file.
5982 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5983 * nptl/pthread_create.c: Include it.
5984 (__pthread_create_2_1): Use collect_default_sched instead of making
5985 Linux syscalls here directly.
5987 2014-11-20 Torvald Riegel <triegel@redhat.com>
5989 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5990 __pthread_once): Use C11 atomics.
5992 2014-11-20 Torvald Riegel <triegel@redhat.com>
5994 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5996 2014-11-20 Torvald Riegel <triegel@redhat.com>
5998 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5999 atomic_thread_fence_acquire, atomic_thread_fence_release,
6000 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6001 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6002 atomic_compare_exchange_weak_relaxed,
6003 atomic_compare_exchange_weak_acquire,
6004 atomic_compare_exchange_weak_release,
6005 atomic_exchange_acquire, atomic_exchange_release,
6006 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6007 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6008 atomic_fetch_and_acquire,
6009 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6011 2014-11-20 Torvald Riegel <triegel@redhat.com>
6013 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6014 USE_ATOMIC_COMPILER_BUILTINS): Define.
6015 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6017 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6019 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6021 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6023 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6025 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6027 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6028 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6029 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6030 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6031 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6033 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6035 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6036 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6037 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6038 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6039 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6040 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6041 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6042 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6043 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6045 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6047 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6049 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6050 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6053 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6056 2014-11-19 Roland McGrath <roland@hack.frob.com>
6058 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6059 the sched_priority value here. It was already checked when the user
6060 called pthread_attr_setschedparam.
6062 * nptl/tst-bad-schedattr.c: New file.
6063 * nptl/Makefile (tests): Add it.
6065 2014-11-19 Carlos O'Donell <carlos@redhat.com>
6066 Florian Weimer <fweimer@redhat.com>
6067 Joseph Myers <joseph@codesourcery.com>
6068 Adam Conrad <adconrad@0c3.net>
6069 Andreas Schwab <schwab@suse.de>
6070 Brooks <bmoses@google.com>
6073 * wordexp-test.c (__dso_handle): Add prototype.
6074 (__register_atfork): Likewise.
6075 (__app_register_atfork): New function.
6076 (registered_forks): New global.
6077 (register_fork): New function.
6078 (test_case): Add 3 new tests for WRDE_CMDSUB.
6079 (main): Call __app_register_atfork.
6080 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6081 fork count is non-zero fail the test.
6082 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6084 (parse_dollars): Remove check for WRDE_NOCMD.
6085 (parse_dquote): Likewise.
6087 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * Makeconfig (built-modules): List non-library modules to be
6091 (module-cppflags): Include libc-modules.h for
6092 everything except shlib-versions.v.i.
6094 (before-compile): Add libc-modules.h.
6095 ($(common-objpfx)libc-modules.h,
6096 $(common-objpfx)libc-modules.stmp): New targets.
6097 (common-generated): Add libc-modules.h and libc-modules.stmp.
6098 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6099 * include/libc-symbols.h: Don't include libc-modules.h.
6100 * include/libc-modules.h: Remove file.
6101 * scripts/gen-libc-modules.awk: New script to generate
6103 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6104 Depend on libc-modules.stmp.
6106 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6108 * Makeconfig (in-module): Get value of libof set for the
6110 (CPPFLAGS): Use $(in-module).
6111 * Makerules: Don't suffix routine names for nonlib.
6112 * include/libc-modules.h: New file.
6113 * include/libc-symbols.h: Include libc-modules.h
6114 (IS_IN): New macro to replace IS_IN_* macros.
6115 * elf/Makefile: Set libof-* for each routine.
6116 * elf/rtld-Rules: Likewise.
6117 * extra-modules.mk: Likewise.
6118 * iconv/Makefile: Likewise.
6119 * iconvdata/Makefile: Likewise.
6120 * locale/Makefile: Likewise.
6121 * malloc/Makefile: Likewise.
6122 * nss/Makefile: Likewise.
6123 * sysdeps/gnu/Makefile: Likewise.
6124 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6125 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6126 * sysdeps/s390/s390-64/Makefile: Likewise.
6127 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6128 CPPFLAGS for nscd instead of nonlib.
6130 2014-11-18 Roland McGrath <roland@hack.frob.com>
6132 * nptl/createthread.c: New file.
6134 * nptl/createthread.c: Moved ...
6135 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6137 * nptl/createthread.c: Add proper top-line comment.
6138 (do_clone): Folded into ...
6139 (create_thread): ... here. Take new arguments STOPPED_START and
6140 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6141 increment __nptl_threads, do event-reporting logic, do
6142 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6143 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6144 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6145 just send SIGCANCEL.
6146 * nptl/pthread_create.c: Forward-declare create_thread before
6147 including createthread.c.
6148 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6149 declaration, and new macro START_THREAD_SELF to replace argument.
6150 Remove return statement.
6151 (report_thread_creation): New function.
6152 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6153 synchronization logic, and __nptl_nthreads increment here, around
6154 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6155 PD->parent_cancelhandling here, before create_thread. When
6156 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6157 __deallocate_stack, and ENOMEM translation here.
6159 2014-11-18 Joseph Myers <joseph@codesourcery.com>
6162 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6163 (mptwo): Rename to __mptwo.
6164 (__inv): Use __mptwo instead of mptwo.
6165 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6166 (mptwo): Rename to __mptwo.
6167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6168 of mpone and __mptwo instead of mptwo.
6169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6172 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6173 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6174 of mpone and __mptwo instead of mptwo.
6175 (__mpranred): Use __mpone instead of mpone.
6176 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6178 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6179 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6180 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6181 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6182 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6183 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6184 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6185 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6186 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6187 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6188 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6189 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6190 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6191 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6192 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6193 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6194 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6195 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6196 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6198 2014-11-18 Tom de Vries <tom@codesoucery.com>
6200 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6201 replace BSD Handler xref with BSD Signal Handling.
6203 2014-11-17 Richard Henderson <rth@redhat.com>
6205 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6206 (_FP_PACK_RAW_2): Remove.
6207 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6208 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6209 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6210 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6211 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6212 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6213 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6214 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6215 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6216 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6217 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6218 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6219 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6220 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6221 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6222 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6224 2014-11-14 Roland McGrath <roland@hack.frob.com>
6226 * signal/signal.h [__USE_MISC]
6227 (struct sigvec): Remove type.
6228 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6229 (sigvec): Remove declaration.
6230 * sysdeps/posix/sigvec.c: Moved ...
6231 * signal/sigvec.c: ... here, replacing old file.
6232 (struct sigvec): New type, copied from old signal.h definition.
6233 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6234 (__sigvec): Convert definition to prototype.
6235 (sigvec): Replace weak_alias with compat_symbol.
6236 * signal/Versions (libc: GLIBC_2.21): New version set.
6237 * include/signal.h: Remove __sigvec declaration.
6238 * sysdeps/unix/bsd/sigvec.c: Remove file.
6239 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6240 * manual/signal.texi (BSD Handler): Remove subsection.
6241 Move siginterrupt up to ...
6242 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6243 (Blocking in BSD): Fold subsection into its parent.
6244 * NEWS: Mention sigvec removal.
6246 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6248 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6249 (DLA_FMS): Make definition conditional only on [__FMA4__].
6250 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6253 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6254 Make definition conditional only on [PROF].
6255 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6257 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6258 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6260 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6262 * include/signal.h (__sigpause): Move declaration above call to
6264 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6266 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6267 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6269 2014-11-14 David S. Miller <davem@davemloft.net>
6271 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6272 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6274 2014-11-14 Joseph Myers <joseph@codesourcery.com>
6276 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6277 * configure: Regenerated.
6278 * manual/install.texi (Tools for Compilation): Document a
6279 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6280 compiler verified to work.
6281 * INSTALL: Regenerated.
6283 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6284 redeclare with asm name.
6285 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6286 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6287 including <string.h>.
6288 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6289 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6290 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6291 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6292 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6293 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6294 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6296 2014-11-13 Joseph Myers <joseph@codesourcery.com>
6298 * stdlib/strtol.c (__strtol): Use prototype definition.
6301 * stdlib/strtol.c (SYM__): New macro.
6303 (__strtol): Likewise.
6304 (strtol): Rename to __strtol and define as weak alias of
6305 __strtol. Use libc_hidden_weak.
6307 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6309 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6310 Use numbered labels in inline assembly.
6312 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6314 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6315 Add setjmp LIBC_PROBE.
6316 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6319 Add longjmp, longjmp_target LIBC_PROBE.
6320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6323 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6325 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6326 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6327 to get rid of unused variable warning.
6329 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6331 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6332 Check for unwind_backtrace == NULL only in SHARED case.
6333 (__backchain_backtrace): Compile only in SHARED case.
6334 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6336 (__backchain_backtrace): Declare as static.
6338 2014-11-12 Roland McGrath <roland@hack.frob.com>
6340 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6341 (__libc_multiple_threads_ptr): Variable moved ...
6342 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6344 2014-11-12 Joseph Myers <joseph@codesourcery.com>
6346 * conform/GlibcConform.pm: New file.
6347 * conform/conformtest.pl: Use GlibcConform module.
6348 * conform/linknamespace.pl: New file.
6349 * conform/list-header-symbols.pl: Likewise.
6350 * conform/Makefile (linknamespace-symlists-base): New variable.
6351 (linknamespace-symlists-tests): Likewise.
6352 (linknamespace-header-base): Likewise.
6353 (linknamespace-header-tests): Likewise.
6354 (tests-special): Add new tests.
6355 ($(linknamespace-symlists-tests)): New rule.
6356 (linknamespace-libs): New variable.
6357 ($(objpfx)symlist-stdlibs): New rule.
6358 ($(linknamespace-header-tests)): Likewise.
6359 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6360 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6361 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6362 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6363 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6364 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6365 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6366 (test-xfail-ISO/math.h/linknamespace): Likewise.
6367 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6368 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6369 (test-xfail-ISO/time.h/linknamespace): Likewise.
6370 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6371 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6372 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6373 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6374 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6375 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6376 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6377 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6378 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6379 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6380 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6381 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6382 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6383 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6384 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6385 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6386 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6387 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6388 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6389 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6390 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6391 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6392 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6393 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6394 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6395 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6396 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6397 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6398 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6399 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6400 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6401 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6402 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6403 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6404 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6405 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6406 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6407 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6408 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6409 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6410 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6411 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6412 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6413 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6414 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6415 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6416 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6417 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6418 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6419 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6420 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6421 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6422 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6423 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6424 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6425 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6426 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6427 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6428 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6429 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6430 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6431 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6432 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6433 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6434 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6435 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6436 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6437 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6438 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6439 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6440 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6441 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6442 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6443 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6444 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6445 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6446 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6447 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6448 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6449 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6450 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6451 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6452 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6453 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6454 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6455 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6456 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6457 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6458 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6459 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6460 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6461 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6462 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6463 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6464 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6465 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6466 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6467 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6468 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6469 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6470 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6471 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6472 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6473 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6474 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6475 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6476 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6477 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6478 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6479 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6480 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6481 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6482 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6483 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6484 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6485 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6486 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6487 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6488 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6489 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6490 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6491 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6492 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6493 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6494 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6495 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6496 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6497 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6499 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6500 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6501 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6502 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6503 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6504 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6505 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6506 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6507 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6508 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6509 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6510 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6511 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6512 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6513 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6514 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6515 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6516 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6517 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6518 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6519 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6522 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6526 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6527 (memmem): Rename to __memmem and define as weak alias of
6528 __memmem. Use libc_hidden_weak.
6529 (__memmem): Use libc_hidden_def.
6530 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6531 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6535 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6536 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6537 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6538 and define as weak alias of __fgets_unlocked. Use
6540 (__fgets_unlocked): Use libc_hidden_def.
6541 * include/stdio.h (__fgets_unlocked): Declare. Use
6543 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6544 __fgets_unlocked instead of fgets_unlocked.
6545 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6546 (GET_NPROCS_CONF_PARSER): Likewise.
6547 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6548 (GET_NPROCS_CONF_PARSER): Likewise.
6551 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6552 weak alias of __wmemset. Use libc_hidden_weak.
6553 (__wmemset): Use libc_hidden_def.
6554 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6555 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6559 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6560 with asm name __mempcpy.
6561 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6564 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6565 and define as weak alias of __rawmemchr.
6566 (__rawmemchr): Do not define as strong alias of rawmemchr.
6569 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6571 (qsort): Call __qsort_r instead of qsort_r.
6572 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6573 (__qsort_r): Declare. Call libc_hidden_proto.
6574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6576 * nscd/gai.c (__qsort_r): Define to qsort_r.
6577 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6578 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6579 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6582 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6583 define as weak alias of __malloc_info.
6586 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6587 as weak alias of __rewinddir. Don't use libc_hidden_def.
6588 (__rewinddir): Use libc_hidden_def.
6589 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6590 as weak alias of __rewinddir. Don't use libc_hidden_def.
6591 (__rewinddir): Use libc_hidden_def.
6592 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6593 weak alias of __rewinddir. Don't use libc_hidden_def.
6594 (__rewinddir): Use libc_hidden_def.
6595 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6596 (__rewinddir): Use libc_hidden_proto.
6597 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6599 (__getcwd): Use __rewinddir instead of rewinddir.
6602 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6603 alias of __fileno. Use libc_hidden_weak.
6604 (__fileno): Use libc_hidden_def.
6605 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6606 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6608 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6610 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6611 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6613 (fread_unlocked): Don't use libc_hidden_ver.
6614 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6615 and define as weak alias of __fread_unlocked. Don't use
6617 (__fread_unlocked): Use libc_hidden_def.
6618 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6619 (ftello): Don't use libc_hidden_proto.
6620 (__ftello): Declare. Use libc_hidden_proto.
6621 (fread_unlocked): Don't use libc_hidden_proto.
6622 (__fread_unlocked): Declare. Use libc_hidden_proto.
6623 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6624 and __ftello instead of fileno, fread_unlocked and ftello.
6626 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6628 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6630 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6632 (_dl_start_user): Likewise.
6633 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6635 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6636 Siddhesh Poyarekar <siddhesh@redhat.com>
6638 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6639 Move argv and envp down instead of moving argc up.
6640 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6642 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6645 * test-skeleton.c (main): Return successful if one of
6646 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6647 * string/tst-strcoll-overflow.c: Define expected status.
6649 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6652 * locale/iso-639.def: Define Bhili and Tulu language codes.
6654 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6656 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6658 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6661 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6663 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6665 * configure.ac: Updated check of minimal required version to
6667 * manual/install.texi (Tools for Compilation): Updated version
6669 * configure: Regenerated.
6670 * INSTALL: Likewise.
6672 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6674 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6677 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6679 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6680 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6681 (__waitpid): Don't define as alias. Use libc_hidden_def not
6683 (waitpid): Define as alias of __waitpid.
6684 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6686 (__waitpid): Don't define as alias. Use libc_hidden_def not
6688 (waitpid): Define as alias of __waitpid.
6689 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6690 __libc_waitpid alias.
6691 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6692 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6694 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6695 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6696 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6698 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6700 (__waitpid): Don't define as alias. Use libc_hidden_def not
6702 (waitpid): Define as alias of __waitpid.
6704 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6706 * manual/llio.texi: Add comment that write safety has been
6709 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6710 (localplt-build-dso): Add elf/ld.so.
6711 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6712 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6715 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6720 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6721 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6722 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6723 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6724 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6725 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6726 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6727 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6728 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6729 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6730 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6732 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6735 * include/libc-symbols.h (INTUSE): Remove macro.
6737 (INTVARDEF): Likewise.
6738 (_INTVARDEF): Likewise.
6739 (INTDEF2): Likewise.
6740 (INTVARDEF2): Likewise.
6741 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6742 rtld_hidden_def instead of INTVARDEF.
6743 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6744 (_dl_starting_up_internal): Remove declaration.
6745 (_dl_starting_up): Use rtld_hidden_proto.
6746 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6748 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6749 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6751 * elf/dl-writev.h (_dl_writev): Likewise.
6752 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6753 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6754 _dl_starting_up_internal.
6756 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6758 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6761 2014-11-05 Will Newton <will.newton@linaro.org>
6763 * benchtests/Makefile: (bench-malloc): Add malloc thread
6764 scalability benchmark.
6765 * benchtests/bench-malloc-threads.c: New file.
6767 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6769 * sysdeps/aarch64/strchrnul.S: New file.
6771 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6773 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6777 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6779 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6786 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6788 * catgets/test-gencat.c: Use test-skeleton.c.
6789 * catgets/tst-catgets.c: Likewise.
6790 * csu/tst-empty.c: Likewise.
6791 * elf/tst-audit2.c: Likewise.
6792 * elf/tst-global1.c: Likewise.
6793 * elf/tst-pathopt.c: Likewise.
6794 * elf/tst-piemod1.c: Likewise.
6795 * elf/tst-tls10.c: Likewise.
6796 * elf/tst-tls11.c: Likewise.
6797 * elf/tst-tls12.c: Likewise.
6798 * gnulib/tst-gcc.c: Likewise.
6799 * iconvdata/tst-e2big.c: Likewise.
6800 * iconvdata/tst-loading.c: Likewise.
6801 * iconv/tst-iconv1.c: Likewise.
6802 * iconv/tst-iconv2.c: Likewise.
6803 * inet/test-inet6_opt.c: Likewise.
6804 * inet/tst-gethnm.c: Likewise.
6805 * inet/tst-network.c: Likewise.
6806 * inet/tst-ntoa.c: Likewise.
6807 * intl/tst-codeset.c: Likewise.
6808 * intl/tst-gettext2.c: Likewise.
6809 * intl/tst-gettext3.c: Likewise.
6810 * intl/tst-ngettext.c: Likewise.
6811 * intl/tst-translit.c: Likewise.
6812 * io/test-stat.c: Likewise.
6813 * libio/test-fmemopen.c: Likewise.
6814 * libio/tst-freopen.c: Likewise.
6815 * libio/tst-sscanf.c: Likewise.
6816 * libio/tst-ungetwc1.c: Likewise.
6817 * libio/tst-ungetwc2.c: Likewise.
6818 * libio/tst-widetext.c: Likewise.
6819 * localedata/tst-ctype.c: Likewise.
6820 * localedata/tst-digits.c: Likewise.
6821 * localedata/tst-leaks.c: Likewise.
6822 * localedata/tst-mbswcs1.c: Likewise.
6823 * localedata/tst-mbswcs2.c: Likewise.
6824 * localedata/tst-mbswcs3.c: Likewise.
6825 * localedata/tst-mbswcs4.c: Likewise.
6826 * localedata/tst-mbswcs5.c: Likewise.
6827 * localedata/tst-setlocale.c: Likewise.
6828 * localedata/tst-trans.c: Likewise.
6829 * localedata/tst-wctype.c: Likewise.
6830 * localedata/tst-xlocale1.c: Likewise.
6831 * login/tst-grantpt.c: Likewise.
6832 * malloc/tst-calloc.c: Likewise.
6833 * malloc/tst-malloc.c: Likewise.
6834 * malloc/tst-mallocstate.c: Likewise.
6835 * malloc/tst-mcheck.c: Likewise.
6836 * malloc/tst-mtrace.c: Likewise.
6837 * malloc/tst-obstack.c: Likewise.
6838 * math/atest-exp2.c: Likewise.
6839 * math/atest-exp.c: Likewise.
6840 * math/atest-sincos.c: Likewise.
6841 * math/test-matherr.c: Likewise.
6842 * math/test-misc.c: Likewise.
6843 * math/test-powl.c: Likewise.
6844 * math/tst-definitions.c: Likewise.
6845 * misc/tst-dirname.c: Likewise.
6846 * misc/tst-efgcvt.c: Likewise.
6847 * misc/tst-fdset.c: Likewise.
6848 * misc/tst-hsearch.c: Likewise.
6849 * misc/tst-mntent2.c: Likewise.
6850 * nptl/tst-sem7.c: Likewise.
6851 * nptl/tst-sem8.c: Likewise.
6852 * nptl/tst-sem9.c: Likewise.
6853 * nss/test-netdb.c: Likewise.
6854 * posix/tst-fnmatch.c: Likewise.
6855 * posix/tst-getlogin.c: Likewise.
6856 * posix/tst-gnuglob.c: Likewise.
6857 * posix/tst-mmap.c: Likewise.
6858 * pwd/tst-getpw.c: Likewise.
6859 * resolv/tst-inet_ntop.c: Likewise.
6860 * rt/tst-timer.c: Likewise.
6861 * stdio-common/test-fseek.c: Likewise.
6862 * stdio-common/test-popen.c: Likewise.
6863 * stdio-common/test-vfprintf.c: Likewise.
6864 * stdio-common/tst-cookie.c: Likewise.
6865 * stdio-common/tst-fileno.c: Likewise.
6866 * stdio-common/tst-gets.c: Likewise.
6867 * stdio-common/tst-obprintf.c: Likewise.
6868 * stdio-common/tst-perror.c: Likewise.
6869 * stdio-common/tst-sprintf2.c: Likewise.
6870 * stdio-common/tst-sprintf3.c: Likewise.
6871 * stdio-common/tst-sprintf.c: Likewise.
6872 * stdio-common/tst-swprintf.c: Likewise.
6873 * stdio-common/tst-tmpnam.c: Likewise.
6874 * stdio-common/tst-unbputc.c: Likewise.
6875 * stdio-common/tst-wc-printf.c: Likewise.
6876 * stdlib/tst-environ.c: Likewise.
6877 * stdlib/tst-fmtmsg.c: Likewise.
6878 * stdlib/tst-limits.c: Likewise.
6879 * stdlib/tst-rand48-2.c: Likewise.
6880 * stdlib/tst-rand48.c: Likewise.
6881 * stdlib/tst-random2.c: Likewise.
6882 * stdlib/tst-random.c: Likewise.
6883 * stdlib/tst-strtol.c: Likewise.
6884 * stdlib/tst-strtoll.c: Likewise.
6885 * stdlib/tst-tls-atexit.c: Likewise.
6886 * stdlib/tst-xpg-basename.c: Likewise.
6887 * string/test-ffs.c: Likewise.
6888 * string/tst-bswap.c: Likewise.
6889 * string/tst-inlcall.c: Likewise.
6890 * string/tst-strtok.c: Likewise.
6891 * string/tst-strxfrm.c: Likewise.
6892 * sysdeps/x86_64/tst-audit10.c: Likewise.
6893 * sysdeps/x86_64/tst-audit3.c: Likewise.
6894 * sysdeps/x86_64/tst-audit4.c: Likewise.
6895 * sysdeps/x86_64/tst-audit5.c: Likewise.
6896 * time/tst-ftime_l.c: Likewise.
6897 * time/tst-getdate.c: Likewise.
6898 * time/tst-mktime3.c: Likewise.
6899 * time/tst-mktime.c: Likewise.
6900 * time/tst-posixtz.c: Likewise.
6901 * time/tst-strptime2.c: Likewise.
6902 * time/tst-strptime3.c: Likewise.
6903 * wcsmbs/tst-btowc.c: Likewise.
6904 * wcsmbs/tst-mbrtowc.c: Likewise.
6905 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6906 * wcsmbs/tst-wchar-h.c: Likewise.
6907 * wcsmbs/tst-wcpncpy.c: Likewise.
6908 * wcsmbs/tst-wcrtomb.c: Likewise.
6909 * wcsmbs/tst-wcsnlen.c: Likewise.
6910 * wcsmbs/tst-wcstof.c: Likewise.
6912 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6915 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6917 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6919 (_dl_mcount): Use rtld_hidden_proto.
6920 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6922 * elf/rtld.c (_rtld_global_ro): Likewise.
6925 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6926 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6927 of _dl_init_internal.
6928 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6929 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6930 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6931 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6932 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6933 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6934 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6935 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6936 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6937 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6938 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6939 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6940 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6941 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6942 * sysdeps/tile/dl-start.S (_start): Likewise.
6943 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6944 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6947 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6948 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6949 (rtld_progname): Make macro definition unconditional.
6950 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6952 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6953 (dl_main): Likewise.
6954 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6955 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6956 instead of _dl_argv_internal.
6957 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6958 __GI__dl_argv instead of INTUSE(_dl_argv).
6959 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6960 __GI__dl_argv instead of _dl_argv_internal.
6962 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6963 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6965 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6966 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6968 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6969 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6971 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6972 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6974 2014-11-04 Andreas Schwab <schwab@suse.de>
6976 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6978 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6981 mtvsrd instruction in binary form.
6983 2014-11-03 Andreas Schwab <schwab@suse.de>
6986 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6987 for less than MB_LEN_MAX use a local buffer of that size.
6988 * libio/tst-fputws.c: New file.
6989 * libio/Makefile (tests): Add tst-fputws.
6991 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6993 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6994 the size of the fpu_fr.fpu_dregs[] array.
6996 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6998 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6999 (__nanosleep): Do not define as alias.
7000 (nanosleep): Define as alias of __nanosleep.
7001 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7002 __libc_nanosleep name.
7004 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7006 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7007 install.texi in comment.
7009 2014-10-31 Torvald Riegel <triegel@redhat.com>
7011 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7012 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7013 ... add here and use lwsync or sync ...
7014 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7015 ... and add here using lwsync.
7017 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7019 * elf/dl-machine-reject-phdr.h: New file.
7020 * elf/dl-load.c: #include that.
7021 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7022 if that returned true.
7024 2014-10-31 Roland McGrath <roland@hack.frob.com>
7027 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7028 gen-as-const-headers chunk. Add a big scare comment after the last
7029 safe place to touch before-compile.
7031 2014-10-31 Joseph Myers <joseph@codesourcery.com>
7033 * manual/install.texi (Tools for Compilation): Update autoconf
7034 version requirements.
7035 * INSTALL: Regenerated.
7037 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7038 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7039 (__libc_pselect): Likewise.
7042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7047 2014-10-31 Torvald Riegel <triegel@redhat.com>
7049 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7050 correct barrier instruction.
7051 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7053 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7056 2014-10-30 Roland McGrath <roland@hack.frob.com>
7058 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7059 after defining inlines. Instead, just use parens to defeat macro
7060 expansion of __isctype in its declaration.
7062 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7064 * include/sys/uio.h (__libc_readv): Remove declaration.
7065 (__libc_writev): Likewise.
7066 * misc/readv.c (__libc_readv): Rename to __readv.
7067 (__readv): Do not define as alias.
7068 (readv): Define as alias of __readv.
7069 * misc/writev.c (__libc_writev): Rename to __writev.
7070 (__writev): Do not define as alias.
7071 (writev): Define as alias of __writev.
7072 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7073 (__readv): Do not define as alias.
7074 (readv): Define unconditionally as alias of __readv.
7075 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7076 (__writev): Do not define as alias.
7077 (writev): Define unconditionally as alias of __writev.
7078 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7080 (writev): Do not define __libc_writev name.
7082 2014-10-30 Roland McGrath <roland@hack.frob.com>
7084 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7085 (convert_charseq): New function, broken out of ...
7086 (use_from_charmap): ... here. Call it.
7087 (use_to_charmap): Use convert_charseq and free instead of duplicating
7088 its code with a variable-length stack struct.
7090 2014-10-30 Joseph Myers <joseph@codesourcery.com>
7092 * include/fcntl.h (__libc_creat): Remove declaration.
7093 * io/creat.c (__libc_creat): Rename to creat.
7094 (creat): Do not define as alias.
7095 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7096 of creat instead of __libc_creat.
7097 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7099 (creat): Do not define as alias.
7100 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7102 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7104 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7107 2014-10-29 Carlos O'Donell <carlos@redhat.com>
7109 * manual/llio.texi: Add comments discussing why write() may be
7110 considered MT-unsafe on Linux.
7112 2014-10-28 Carlos O'Donell <carlos@redhat.com>
7114 * dl-load.c (local_strdup): Remove.
7115 (expand_dynamic_string_token): Use __strdup.
7116 (decompose_rpath): Likewise.
7117 (_dl_map_object): Likewise.
7119 2014-10-28 Joseph Myers <joseph@codesourcery.com>
7122 * sysdeps/generic/unwind-dw2-fde.c
7123 (__register_frame_info_bases_internal): Do not declare.
7124 (__register_frame_info_table_bases_internal): Likewise.
7125 (__deregister_frame_info_bases_internal): Likewise.
7126 (__register_frame_info_bases): Declare and use hidden_proto before
7127 definition. Use hidden_def instead of INTDEF.
7128 (__register_frame_info_table_bases): Likewise.
7129 (__deregister_frame_info_bases): Likewise.
7130 (__register_frame_info): Do not use INTUSE.
7131 (__register_frame): Likewise.
7132 (__register_frame_info_table): Likewise.
7133 (__register_frame_table): Likewise.
7134 (__deregister_frame_info): Likewise.
7135 (__deregister_frame): Likewise.
7137 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7139 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7140 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7142 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7144 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7147 2014-10-27 Joseph Myers <joseph@codesourcery.com>
7150 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7151 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7152 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7153 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7154 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7155 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7156 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7157 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7158 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7159 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7160 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7161 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7162 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7164 (setfsuid): Likewise.
7165 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7166 (setfsuid): Likewise.
7167 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7168 (setfsuid): Likewise.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7171 (setfsuid): Likewise.
7172 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7173 (setfsuid): Likewise.
7174 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7176 (setfsuid): Likewise.
7178 2014-10-27 Andreas Schwab <schwab@suse.de>
7181 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7182 check for Slow_SSE4_2 feature bit.
7183 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7184 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7185 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7186 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7188 2014-10-24 Roland McGrath <roland@hack.frob.com>
7190 * configure.ac: Validate compiler version with a empirical test of
7191 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7193 * configure: Regenerated.
7195 * inet/htons.c (htons): Prototypify.
7196 * inet/htonl.c (htonl): Likewise.
7198 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7200 * string/strncat.c (strncat): Improve performance by using strlen.
7202 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7204 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7206 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7208 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7209 Call libc_fetestexcept_aarch64.
7211 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7213 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7214 Call libc_feholdexcept_aarch64.
7216 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7218 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7219 Call get_rounding_mode.
7221 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7223 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7226 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7228 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7231 2014-10-24 Joseph Myers <joseph@codesourcery.com>
7234 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7235 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7236 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7237 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7238 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7239 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7240 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7241 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7242 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7243 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7245 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7246 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7247 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7248 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7249 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7250 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7251 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7252 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7253 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7254 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7255 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7256 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7260 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7261 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7262 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7263 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7264 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7265 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7266 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7267 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7268 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7270 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7271 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7272 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7274 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7276 (geteuid): Likewise.
7279 (getresgid): Likewise.
7280 (getresuid): Likewise.
7281 (getgroups): Likewise.
7282 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7283 (geteuid): Likewise.
7286 (getresgid): Likewise.
7287 (getresuid): Likewise.
7288 (getgroups): Likewise.
7289 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7290 (geteuid): Likewise.
7293 (getresgid): Likewise.
7294 (getresuid): Likewise.
7295 (getgroups): Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7298 (geteuid): Likewise.
7301 (getresgid): Likewise.
7302 (getresuid): Likewise.
7303 (getgroups): Likewise.
7304 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7305 (geteuid): Likewise.
7308 (getresgid): Likewise.
7309 (getresuid): Likewise.
7310 (getgroups): Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7313 (geteuid): Likewise.
7316 (getgroups): Likewise.
7319 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7320 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7321 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7322 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7323 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7324 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7325 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7326 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7327 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7328 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7330 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7331 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7333 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7336 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7340 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7343 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7348 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7350 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7353 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7355 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7358 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7360 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7361 Remove unused include.
7363 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7365 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7366 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7367 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7368 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7370 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7371 Helge Deller <deller@gmx.de>
7374 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7375 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7376 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7378 2014-10-23 Joseph Myers <joseph@codesourcery.com>
7381 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7382 Remove macro definition.
7383 (__ashrdi3_v_glibc20): Likewise.
7384 (__lshrdi3_v_glibc20): Likewise.
7385 (__cmpdi2_v_glibc20): Likewise.
7386 (__ucmpdi2_v_glibc20): Likewise.
7387 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7388 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7389 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7390 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7391 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7392 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7394 2014-10-22 Roland McGrath <roland@hack.frob.com>
7396 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7397 old GNU extension [0] syntax.
7398 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7399 alloca rather than an array member with variable length.
7400 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7401 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7402 (parse_opt): ... here. Likewise use alloca there.
7403 Validate the -i argument before checking for rootness.
7404 (send_shutdown): New function, broken out of ...
7405 (parse_opt): ... here.
7407 2014-10-22 Roland McGrath <roland@hack.frob.com>
7409 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7410 macro to get at the _rt_local_ro field.
7411 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7412 ([PIC] case) or _dl_hwcap ([!PIC] case).
7413 * sysdeps/arm/setjmp.S: Likewise.
7415 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7416 * sysdeps/arm/configure.ac: New check to define it.
7417 * sysdeps/arm/configure: Regenerated.
7418 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7419 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7420 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7421 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7422 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7423 Use move/movt pair instead of a load.
7424 (LDST_GLOBAL): Macro removed.
7425 (LDR_GLOBAL): New macro replaces it.
7426 (LDR_HIDDEN): New macro.
7427 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7428 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7430 * setjmp/tst-setjmp-static.c: New file.
7431 * setjmp/Makefile (tests): Add it.
7432 (tests-static): New variable.
7434 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7437 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7439 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7442 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7444 2014-10-21 Roland McGrath <roland@hack.frob.com>
7446 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7448 2014-10-20 Roland McGrath <roland@hack.frob.com>
7450 * io/fts.c (dirent_not_directory): New function.
7451 (fts_build): Call it.
7453 2014-10-20 Roland McGrath <roland@hack.frob.com>
7455 * nptl/version.c (__nptl_main): Use normal __write rather than
7457 (banner): Update copyright years.
7459 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7461 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7462 * nptl/pthread_cond_timedwait.c: Likewise.
7463 * nptl/pthread_mutex_timedlock.c: Likewise.
7464 * nptl/sem_timedwait.c: Likewise.
7466 * sysdeps/nptl/bits/libc-lock.h
7467 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7468 (__libc_lock_init_recursive): Return void, not 0.
7469 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7470 (__libc_rwlock_init): Likewise.
7471 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7473 2014-10-20 Torvald Riegel <triegel@redhat.com>
7476 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7477 (__pthread_once_slow): ... here.
7478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7479 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7481 2014-10-20 Torvald Riegel <triegel@redhat.com>
7484 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7485 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7486 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7487 * nptl/pthread_once.c (__pthread_once): Likewise.
7490 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7493 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7495 (writev): Use __libc_writev as strong name.
7496 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7497 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7499 2014-10-17 Roland McGrath <roland@hack.frob.com>
7501 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7503 * sysdeps/i386/nptl/tls.h
7504 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7505 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7507 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7508 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7509 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7510 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7511 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7512 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7514 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7515 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7517 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7519 (__pthread_mutex_init): ... here. Call it.
7520 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7521 Conditionalize PI cases on [__NR_futex].
7522 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7523 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7524 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7526 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7527 conditional on [SIGSETXID].
7528 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7529 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7530 is defined. Likewise for SIGSETXID.
7531 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7532 Conditionalize definitions on [SIGSETXID].
7533 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7534 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7535 unblocking on [SIGCANCEL].
7537 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7538 [__NR_set_robust_list].
7540 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7543 (do_compare): Likewise.
7545 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7548 * string/strcoll_l.c: Don't include stdio.h.
7549 (coll_seq): Remove members idxarr and rulearr.
7550 (get_next_seq_cached): Remove function.
7551 (get_next_seq): Likewise.
7552 (get_next_seq_nocache): Rename to get_next_seq.
7553 (do_compare): Remove function.
7554 (do_compare_nocache): Rename to do_compare.
7555 (STRCOLL): Remove weight and rules cache.
7557 2014-10-16 Roland McGrath <roland@hack.frob.com>
7559 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7560 * sysdeps/arm/sfp-machine.h: ... to here.
7561 * sysdeps/arm/Implies: Remove arm/soft-fp.
7563 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7565 * conform/data/sys/utsname.h-data (*_t): Allow.
7566 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7567 [POSIX] (WEXITED): Do not expect constant.
7568 [POSIX] (WSTOPPED): Likewise.
7569 [POSIX] (WNOHANG): Likewise.
7570 [POSIX] (WNOWAIT): Likewise.
7571 [POSIX] (siginfo_t): Do not expect type or elements.
7572 [POSIX] (pid_t): Do not expect type.
7573 [POSIX] (signal.h): Do not allow header.
7574 [POSIX] (sys/resource.h): Likewise.
7575 [POSIX] (si_*): Do not allow pattern.
7576 [POSIX] (W*): Likewise.
7577 [POSIX] (P_*): Likewise.
7578 [POSIX] (BUS_*): Likewise.
7579 [POSIX] (CLD_*): Likewise.
7580 [POSIX] (FPE_*): Likewise.
7581 [POSIX] (ILL_*): Likewise.
7582 [POSIX] (POLL_*): Likewise.
7583 [POSIX] (SEGV_*): Likewise.
7584 [POSIX] (SI_*): Likewise.
7585 [POSIX] (TRAP_*): Likewise.
7586 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7589 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7592 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7593 infinite loop when __recvmsg returns 0.
7595 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7597 * CANCEL-FCT-WAIVE: Remove file.
7598 * CANCEL-FILE-WAIVE: Likewise.
7601 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7602 instead of INTVARDEF.
7603 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7604 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7605 rtld_hidden_data_def instead of INTVARDEF.
7606 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7607 * elf/dl-deps.c (expand_dst): Likewise.
7608 * elf/dl-load.c (_dl_dst_count): Likewise.
7609 (_dl_dst_substitute): Likewise.
7610 (decompose_rpath): Likewise.
7611 (_dl_init_paths): Likewise.
7612 (open_path): Likewise.
7613 (_dl_map_object): Likewise.
7614 * elf/rtld.c (dl_main): Likewise.
7615 (process_dl_audit): Likewise.
7616 (process_envvars): Likewise.
7617 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7619 (__libc_enable_secure): Use rtld_hidden_proto.
7621 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7624 (add_path): New function broken out of _dl_rtld_di_serinfo.
7625 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7627 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7629 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7630 parentheses around macro arguments.
7631 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7632 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7633 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7634 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7636 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7637 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7639 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7640 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7641 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7642 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7643 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7644 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7645 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7646 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7647 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7648 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7649 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7650 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7651 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7654 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7655 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7657 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7658 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7659 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7660 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7661 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7662 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7663 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7664 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7665 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7666 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7669 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7673 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7675 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7676 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7677 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7678 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7679 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7680 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7689 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7691 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7692 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7693 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7694 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7695 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7696 (_FP_FRAC_SRS_1): Likewise.
7697 (_FP_FRAC_CLZ_1): Likewise.
7698 (_FP_MUL_MEAT_1_imm): Likewise.
7699 (_FP_MUL_MEAT_1_wide): Likewise.
7700 (_FP_MUL_MEAT_1_hard): Likewise.
7701 (_FP_SQRT_MEAT_1): Likewise.
7702 (_FP_FRAC_ASSEMBLE_1): Likewise.
7703 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7704 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7705 (__FP_CLZ_2): Likewise.
7706 (_FP_MUL_MEAT_2_wide): Likewise.
7707 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7708 (_FP_MUL_MEAT_2_gmp): Likewise.
7709 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7710 (_FP_SQRT_MEAT_2): Likewise.
7711 (_FP_FRAC_ASSEMBLE_2): Likewise.
7712 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7713 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7714 (_FP_FRAC_CLZ_4): Likewise.
7715 (_FP_MUL_MEAT_4_wide): Likewise.
7716 (_FP_MUL_MEAT_4_gmp): Likewise.
7717 (_FP_SQRT_MEAT_4): Likewise.
7718 (_FP_FRAC_ASSEMBLE_4): Likewise.
7719 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7720 * soft-fp/op-common.h (_FP_CMP): Likewise.
7721 (_FP_CMP_EQ): Likewise.
7722 (_FP_CMP_UNORD): Likewise.
7723 (_FP_TO_INT): Likewise.
7724 (_FP_FROM_INT): Likewise.
7725 [!__FP_CLZ] (__FP_CLZ): Likewise.
7726 (_FP_DIV_HELP_imm): Likewise.
7727 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7730 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7731 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7732 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7733 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7734 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7735 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7736 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7737 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7738 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7740 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7741 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7742 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7743 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7744 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7745 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7748 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7749 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7750 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7751 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7752 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7753 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7754 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7755 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7756 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7757 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7758 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7759 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7760 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7761 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7762 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7763 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7764 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7765 (FP_UNPACK_RAW_SP): Likewise.
7766 (FP_PACK_RAW_S): Likewise.
7767 (FP_PACK_RAW_SP): Likewise.
7768 (FP_UNPACK_S): Likewise.
7769 (FP_UNPACK_SP): Likewise.
7770 (FP_UNPACK_SEMIRAW_S): Likewise.
7771 (FP_UNPACK_SEMIRAW_SP): Likewise.
7772 (FP_PACK_S): Likewise.
7773 (FP_PACK_SP): Likewise.
7774 (FP_PACK_SEMIRAW_S): Likewise.
7775 (FP_PACK_SEMIRAW_SP): Likewise.
7776 (_FP_SQRT_MEAT_S): Likewise.
7777 (FP_CMP_S): Likewise.
7778 (FP_CMP_EQ_S): Likewise.
7779 (FP_CMP_UNORD_S): Likewise.
7780 (FP_TO_INT_S): Likewise.
7781 (FP_FROM_INT_S): Likewise.
7783 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7785 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7786 (FP_EX_INVALID_IMZ): Likewise.
7787 (FP_EX_INVALID_IMZ_FMA): Likewise.
7788 (FP_EX_INVALID_ISI): Likewise.
7789 (FP_EX_INVALID_ZDZ): Likewise.
7790 (FP_EX_INVALID_IDI): Likewise.
7791 (FP_EX_INVALID_SQRT): Likewise.
7792 (FP_EX_INVALID_CVI): Likewise.
7793 (FP_EX_INVALID_VC): Likewise.
7794 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7795 "invalid" exceptions.
7796 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7797 (_FP_ADD_INTERNAL): Likewise.
7798 (_FP_MUL): Likewise.
7799 (_FP_FMA): Likewise.
7800 (_FP_DIV): Likewise.
7801 (_FP_CMP_CHECK_NAN): Likewise.
7802 (_FP_SQRT): Likewise.
7803 (_FP_TO_INT): Likewise.
7804 (FP_EXTEND): Likewise.
7806 2014-10-09 Allan McRae <allan@archlinux.org>
7808 * po/fr.po: Update French translation from translation project.
7810 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7813 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7815 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7816 (__cxa_atexit): Use libc_hidden_proto.
7817 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7820 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7822 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7823 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7824 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7825 [!_ISOMAC] (__iswctype_internal): Likewise.
7826 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7827 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7829 (fcntl): Remove __fcntl_internal alias.
7830 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7831 __connect_internal alias.
7832 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7835 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7836 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7838 (_FP_CHECK_FLUSH_ZERO): New macro.
7839 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7840 (_FP_CMP): Likewise.
7841 (_FP_CMP_EQ): Likewise.
7842 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7844 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7845 (FP_TRUNC): Likewise.
7847 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7848 treated as invalid conversion, not as normal exponent.
7850 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7851 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7852 (_FP_CMP_EQ): Likewise.
7853 (_FP_CMP_UNORD): Likewise.
7854 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7855 (FP_CMP_EQ_D): Likewise.
7856 (FP_CMP_UNORD_D): Likewise.
7857 * soft-fp/extended.h (FP_CMP_E): Likewise.
7858 (FP_CMP_EQ_E): Likewise.
7859 (FP_CMP_UNORD_E): Likewise.
7860 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7861 (FP_CMP_EQ_Q): Likewise.
7862 (FP_CMP_UNORD_Q): Likewise.
7863 * soft-fp/single.h (FP_CMP_S): Likewise.
7864 (FP_CMP_EQ_S): Likewise.
7865 (FP_CMP_UNORD_S): Likewise.
7866 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7867 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7868 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7869 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7870 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7871 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7872 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7873 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7874 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7875 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7876 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7877 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7878 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7880 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7882 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7883 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7885 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7887 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7888 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7889 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7890 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7892 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7894 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7895 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7897 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7899 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7900 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7901 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7902 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7905 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7906 a subnormal result, set the underflow exception if trapping on
7907 underflow is enabled.
7908 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7909 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7910 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7912 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7913 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7914 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7915 * soft-fp/extendxftf2.c (__extendxftf2): Use
7916 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7918 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7919 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7920 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7921 FP_HANDLE_EXCEPTIONS.
7922 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7923 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7924 FP_HANDLE_EXCEPTIONS.
7925 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7926 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7927 FP_HANDLE_EXCEPTIONS.
7928 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7929 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7930 FP_HANDLE_EXCEPTIONS.
7932 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7935 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7936 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7938 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7939 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7941 (__adjtimex): Define using libc_hidden_ver.
7942 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7944 (ntp_gettime): Call __adjtimex directly.
7945 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7947 (ntp_gettimex): Call __adjtimex directly.
7948 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7949 __adjtimex_internal alias.
7951 2014-10-08 Roland McGrath <roland@hack.frob.com>
7954 * nscd/nscd.c (more_help): Rewrite list of tables collection
7955 using xstrdup and asprintf.
7957 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7959 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7960 Roland McGrath <roland@hack.frob.com>
7962 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7963 (do_lookup_unique): ... local function 'enter' here; update callers.
7965 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7967 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7968 compat_symbol calls on [SHARED].
7969 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7970 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7972 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7973 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7974 (oldsetrlimit): Remove.
7975 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7977 (lchown): New syscall entry.
7978 (oldsetrlimit): Remove.
7979 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7981 (oldsetrlimit): Remove.
7982 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7985 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7986 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7987 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7988 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7990 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7992 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7997 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7999 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8000 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8001 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8002 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8003 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8005 (__old_sem_post): Likewise.
8007 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
8009 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8010 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8011 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8012 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8013 Use INLINE_VSYSCALL macro.
8014 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8015 __vdso_clock_gettime.
8016 * sysdeps/unix/sysv/linux/tile/init-first.c
8017 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8018 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8019 __vdso_clock_gettime.
8021 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8022 to set up frame more cleanly.
8024 * sysdeps/tile/memcmp.c: New file.
8026 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8028 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8029 * sysdeps/tile/tilegx/strcasestr.c: New file.
8030 * sysdeps/tile/tilegx/strnlen.c: New file.
8031 * sysdeps/tile/tilegx/strstr.c: New file.
8033 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8035 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
8037 * nptl/tst-setuid3.c: Write errors to stdout.
8039 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8042 (preload): New functions broken out of _dl_map_object_deps.
8043 (_dl_map_object_deps): Remove a nested function. Update call sites.
8045 2014-10-01 Joseph Myers <joseph@codesourcery.com>
8048 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8049 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8051 2014-10-01 Steve Ellcey <sellcey@mips.com>
8053 * sysdeps/mips/strcmp.S: New.
8055 2014-09-30 Joseph Myers <joseph@codesourcery.com>
8058 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8060 (mkdirat): Likewise.
8061 (readlinkat): Likewise.
8062 (renameat): Likewise.
8063 (symlinkat): Likewise.
8064 (unlinkat): Likewise.
8065 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8066 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8067 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8068 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8069 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8070 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8071 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8073 2014-09-30 Will Newton <will.newton@linaro.org>
8075 * math/math.h: Define long double math functions if
8076 _LIBC_TEST is defined.
8077 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8079 * localedata/Makefile: Move assignment to tests-special
8080 into an ifdef testing run-built-tests.
8081 * timezone/Makefile: Likewise.
8083 2014-09-29 Joseph Myers <joseph@codesourcery.com>
8085 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8086 with $(BASH) not $(SHELL).
8088 2014-09-29 Carlos O'Donell <carlos@redhat.com>
8089 Matthew LeGendre <legendre1@llnl.gov>
8092 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8095 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8097 * stdio-common/printf_fp.c
8098 (hack_digit): New function, broken out of ...
8099 (__printf_fp): ... local function here. Update call sites.
8100 hack_digit now takes an additional parameter that is a pointer
8101 to a struct of the referenced locals. Those locals moved inside
8102 the struct and references updated.
8104 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8106 * aclocal.m4: Require autoconf 2.69.
8107 * configure: Regenerated.
8108 * sysdeps/aarch64/configure: Likewise.
8109 * sysdeps/alpha/configure: Likewise.
8110 * sysdeps/arm/armv7/configure: Likewise.
8111 * sysdeps/arm/configure: Likewise.
8112 * sysdeps/ia64/configure: Likewise.
8113 * sysdeps/mach/configure: Likewise.
8114 * sysdeps/mips/configure: Likewise.
8115 * sysdeps/s390/configure: Likewise.
8116 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8119 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8121 * sysdeps/ia64/configure.ac: Likewise.
8123 2014-09-26 Joseph Myers <joseph@codesourcery.com>
8125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8126 specify symbol version for ld.so. Do not include entry for
8128 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8129 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8133 * Makeconfig [$(build-shared) = yes]
8134 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8136 [$(build-shared) = yes && $(soversions.mk-done) = t]
8137 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8138 [$(build-shared) = yes && $(soversions.mk-done) = t]
8139 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8141 [$(build-shared) = yes && $(soversions.mk-done) = t]
8142 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8144 [$(build-shared) = yes && $(soversions.mk-done) = t]
8145 (common-generated): Don't append gnu/lib-names.h and
8146 gnu/lib-names.stmp here.
8147 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8148 (lib-names-h-abi): New variable.
8149 [$(build-shared) = yes && $(soversions.mk-done) = t]
8150 (lib-names-stmp-abi): Likewise.
8151 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8152 abi-variants] (before-compile): Append
8153 $(common-objpfx)$(lib-names-h-abi).
8154 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8155 abi-variants] (common-generated): Append gnu/lib-names.h.
8156 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8157 abi-variants] (install-others-nosubdir): Depend on
8158 $(inst_includedir)/$(lib-names-h-abi).
8159 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8160 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8161 [$(build-shared) = yes && $(soversions.mk-done) = t]
8162 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8163 [$(build-shared) = yes && $(soversions.mk-done) = t]
8164 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8165 [$(build-shared) = yes && $(soversions.mk-done) = t]
8166 (common-generated): Append $(lib-names-h-abi) and
8167 $(lib-names-stmp-abi).
8168 * scripts/lib-names.awk: Do not handle multi being set.
8169 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8171 (abi-lp64_be-ld-soname): Likewise.
8172 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8174 (abi-hard-ld-soname): Likewise.
8175 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8176 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8178 (abi-o32_hard-ld-soname): Likewise.
8179 (abi-o32_soft_2008-ld-soname): Likewise.
8180 (abi-o32_hard_2008-ld-soname): Likewise.
8181 (abi-n32_soft-ld-soname): Likewise.
8182 (abi-n32_hard-ld-soname): Likewise.
8183 (abi-n32_soft_2008-ld-soname): Likewise.
8184 (abi-n32_hard_2008-ld-soname): Likewise.
8185 (abi-n64_soft-ld-soname): Likewise.
8186 (abi-n64_hard-ld-soname): Likewise.
8187 (abi-n64_soft_2008-ld-soname): Likewise.
8188 (abi-n64_hard_2008-ld-soname): Likewise.
8189 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8191 (abi-64-v2-ld-soname): Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8194 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8196 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8198 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8200 (abi-64-ld-soname): Likewise.
8201 (abi-x32-ld-soname): Likewise.
8202 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8204 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8206 2014-09-23 Joseph Myers <joseph@codesourcery.com>
8209 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8210 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8211 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8212 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8214 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8215 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8216 syscall entry for GLIBC_2.2 symbol version.
8217 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8220 (setrlimit): Likewise.
8221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8224 2014-09-23 Will Newton <will.newton@linaro.org>
8226 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8227 _LINUX_ARM_SYSDEP_H include guard too.
8228 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8231 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8233 * sysdeps/unix/sysv/linux/eventfd.c:
8234 Make first argument unsigned.
8235 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8236 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8238 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
8240 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8241 * socket/sys/socket.h: Likewise
8242 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8244 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8246 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8248 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
8250 * time/tst-ftime.c: New test.
8251 * time/Makefile (tests): Add tst-ftime.
8253 2014-09-17 Joseph Myers <joseph@codesourcery.com>
8255 * soft-fp/extended.h: Fix comment formatting.
8256 * soft-fp/op-1.h: Likewise.
8257 * soft-fp/op-2.h: Likewise.
8258 * soft-fp/op-4.h: Likewise.
8259 * soft-fp/op-8.h: Likewise.
8260 * soft-fp/op-common.h: Likewise.
8261 * soft-fp/soft-fp.h: Likewise.
8263 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8265 2014-09-16 Joseph Myers <joseph@codesourcery.com>
8268 * Makeconfig (soversions-default-setname): Remove variable.
8269 ($(common-objpfx)soversions.i): Don't pass default_setname to
8271 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8272 oldest_abi to abi-versions.awk.
8273 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8274 * config.make.in (oldest-abi): Remove variable.
8275 * configure.ac (--enable-oldest-abi): Remove configure option.
8276 * configure: Regenerated.
8277 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8279 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8280 * scripts/soversions.awk: Do not handle default_setname variable.
8281 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8283 * sysdeps/mach/hurd/configure: Regenerated.
8284 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8286 * sysdeps/unix/sysv/linux/configure: Regenerated.
8288 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8290 * elf/Makefile (CFLAGS-interp.c): Remove.
8291 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8293 * elf/interp.c: Include generated runtime-linker.h
8295 * Makerules (lib%.so): Don't include $(+interp) in
8297 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8298 * dlfcn/eval.c: Remove file.
8300 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8304 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8308 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8310 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8311 Jakub Jelinek <jakub@redhat.com>
8314 * libio/stdio.h: Check definition of __fortify_function
8315 instead of __extern_always_inline to include bits/stdio2.h.
8316 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8317 check if __extern_always_inline is defined.
8318 [__USE_MISC || __USE_XOPEN]: Likewise.
8319 [__USE_ISOC99] Likewise.
8320 * misc/sys/cdefs.h (__fortify_function): Define only if
8321 __extern_always_inline is defined.
8322 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8323 __extern_always_inline and __extern_inline only for g++-4.3
8324 and newer or a compatible gcc.
8326 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8329 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8330 last change to handle zero prefix length.
8332 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8334 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8337 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8340 2014-09-13 Allan McRae <allan@archlinux.org>
8342 * po/ru.po: Update Russian translation from translation project.
8344 2014-09-12 Roland McGrath <roland@hack.frob.com>
8346 * locale/programs/locale.c (show_locale_vars): Inline local function
8347 into its sole call site. Clean up some style nits.
8348 (print_item): New function, broken out of ...
8349 (show_info): ... local function here. Clean up style nits.
8351 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8353 (set_class_defaults): ... local function set_default here.
8354 Define set_default as a macro locally to pass constant parameters.
8355 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8356 rather than a shared local.
8358 * stdlib/rpmatch.c (try): New function, broken out of ...
8359 (rpmatch): ... local function here. Also, prototypify definition.
8361 2014-09-12 Joseph Myers <joseph@codesourcery.com>
8363 * scripts/soversions.awk: Do not handle configuration names.
8364 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8365 vendor and os variables to soversions.awk.
8366 * configure.ac: Do not modify gnu-* host_os.
8367 * configure: Regenerated
8368 * shlib-versions: Remove first column with configuration names.
8369 * nptl/shlib-versions: Likewise.
8370 * nptl_db/shlib-versions: Likewise.
8371 * sysdeps/hppa/shlib-versions: Likewise.
8372 * sysdeps/m68k/shlib-versions: Likewise.
8373 * sysdeps/mach/hurd/shlib-versions: Likewise.
8374 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8375 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8376 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8377 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8378 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8379 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8380 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8381 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8384 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8385 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8386 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8387 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8388 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8389 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8390 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8391 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8394 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8397 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8399 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8401 * shlib-versions: Remove OS-specific entries. Moved to files in
8403 * sysdeps/mach/hurd/shlib-versions: New file.
8404 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8406 * nptl/shlib-versions: Remove architecture-specific entries.
8407 Moved to files in sysdeps.
8408 * shlib-versions: Likewise.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8411 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8412 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8414 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8416 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8417 (UDP_NO_CHECK6_RX): Likewise.
8419 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8421 * sysdeps/posix/sysconf.c (__sysconf): Spell
8422 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8424 2014-08-12 Florian Weimer <fweimer@redhat.com>
8426 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8428 * iconv/Versions (__gconv_transliterate): Export for use from
8430 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8431 (struct __gconv_trans_data, __gconv_trans_fct,
8432 __gconv_trans_context_fct, __gconv_trans_query_fct,
8433 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8435 (struct __gconv_step_data): Remove __trans member.
8436 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8437 longer hidden. Remove unused trans_data argument.
8438 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8439 (__gconv_translit_find): Remove declaration.
8440 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8442 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8443 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8444 trans_data argument. Add hidden definition.
8445 (__gconv_translit_find): Remove.
8446 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8447 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8448 * iconv/skeleton.c: Remove transliteration initialization.
8449 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8450 __gconv_step_data initialization.
8451 * libio/iofwide.c (__libio_translit_): Remove.
8452 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8453 * wcsmbs/btowc.c (__btowc): Likewise.
8454 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8455 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8456 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8457 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8458 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8459 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8460 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8461 * wcsmbs/wctob.c (wctob): Likewise.
8463 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8466 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8467 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8469 * sysdeps/x86/Makefile: Adjust.
8471 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8472 Roland McGrath <roland@hack.frob.com>
8474 * locale/weight.h: Add include guard.
8475 (findidx): Make static rather than auto; take new parameters
8476 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8477 * locale/weightwc.h: Likewise.
8478 * posix/fnmatch_loop.c
8479 (FCT): Change type of EXTRA from int32_t to wint_t.
8480 Don't include either header inside the function.
8481 Call FINDIDX rather than findidx, and pass new arguments.
8482 #undef FINDIDX at the end of the file.
8483 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8484 FINDIDX before including fnmatch_loop.c for the non-wide version.
8485 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8486 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8487 for the wide version.
8488 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8489 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8490 Pass new arguments to findidx.
8491 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8492 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8493 Don't #include it inside the function. Pass new arguments to findidx.
8494 * posix/regex_internal.h
8495 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8496 (re_string_elem_size_at): Don't #include it inside the function.
8497 Pass new arguments to findidx.
8498 * string/strcoll_l.c: #include WEIGHT_H at top level.
8499 (get_next_seq): Don't #include it inside the function.
8500 Pass new arguments to findidx.
8501 (get_next_seq_nocache): Likewise.
8502 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8503 (STRXFRM): Don't #include it inside the function.
8504 Pass new arguments to findidx.
8506 2014-09-11 Florian Weimer <fweimer@redhat.com>
8509 * malloc/malloc.c (unlink): Turn asserts into a call to
8512 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8515 * libio/wfileops (do_ftell_wide): Free OUT.
8517 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8519 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8521 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8524 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8525 group if the current group is empty.
8527 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8529 * benchtests/bench-memset.c (test_main): Add more test from size
8530 from 32 to 512 bytes.
8531 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8532 Add POWER8 memset object.
8533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8534 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8535 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8537 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8539 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8540 multiarch POWER8 memset optimization.
8541 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8542 POWER8 memset optimization.
8544 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8545 Remove bzero multiarch objects.
8546 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8547 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8548 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8549 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8551 [__bzero]: Redefine to specific name.
8552 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8553 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8554 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8556 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8557 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8559 2014-09-10 Florian Weimer <fweimer@redhat.com>
8561 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8562 warnings into errors.
8564 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8565 __cxa_thread_atexit_impl prototype.
8567 2014-09-09 Steve Ellcey <sellcey@mips.com>
8569 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8570 Fix capitalization of error message.
8572 2014-09-09 Steve Ellcey <sellcey@mips.com>
8574 * sysdeps/mips/preconfigure: Modify ABI tests.
8576 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8578 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8580 2014-09-07 Roland McGrath <roland@hack.frob.com>
8581 Carlos O'Donell <carlos@systemhalted.org>
8583 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8584 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8585 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8586 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8587 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8588 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8589 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8590 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8591 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8592 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8593 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8594 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8595 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8596 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8597 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8598 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8599 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8600 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8601 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8602 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8603 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8604 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8605 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8606 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8607 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8608 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8609 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8610 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8611 Deconditionalize the code that was previously under [RESET_PID].
8612 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8613 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8614 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8615 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8618 2014-09-08 Allan McRae <allan@archlinux.org>
8620 * version.h (RELEASE): Set to "development".
8621 (VERSION): Set to "2.20.90"
8623 2014-09-07 Allan McRae <allan@archlinux.org
8625 * version.h (RELEASE): Set to "stable".
8626 (VERSION): Set to "2.20"
8627 * include/features.h (__GLIBC_MINOR__): Set to 20.
8629 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8632 * po/ko.po: Update Korean translation from translation project.
8634 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8637 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8638 macro for handling signed relocations.
8640 2014-09-03 Florian Weimer <fweimer@redhat.com>
8643 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8644 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8646 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8647 * iconvdata/ibm935.c (BODY): Likewise.
8648 * iconvdata/ibm937.c (BODY): Likewise.
8649 * iconvdata/ibm939.c (BODY): Likewise.
8650 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8652 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8654 * iconvdata/run-iconv-test.sh: New test loop for checking for
8657 2014-09-02 Khem Raj <raj.khem@gmail.com>
8659 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8662 2014-09-01 Allan McRae <allan@archlinux.org>
8664 * po/eo.po: Update Esperanto translation from translation project.
8666 * po/ca.po: Update Catalan translation from translation project.
8668 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8670 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8673 2014-08-27 Mark Wielaard <mjw@redhat.com>
8676 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8677 to call set_thread_area instead of hand written asm.
8678 (__NR_set_thread_area): Removed define.
8679 (TLS_FLAG_WRITABLE): Likewise.
8680 (__ASSUME_SET_THREAD_AREA): Remove check.
8681 (TLS_EBX_ARG): Remove define.
8682 (TLS_LOAD_EBX): Likewise.
8684 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8686 Simplify atomicity of socket creation in bind.
8688 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8689 looking up the name after linking the file.
8691 2014-08-27 Allan McRae <allan@archlinux.org>
8693 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8695 2014-08-26 Florian Weimer <fweimer@redhat.com>
8698 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8699 trans_compare, open_translit, __gconv_translit_find):
8700 Remove module loading code.
8702 2014-08-26 Allan McRae <allan@archlinux.org>
8704 * po/vi.po: Update Vietnamese translation from translation project.
8706 * po/uk.po: Update Ukrainian translation from translation project.
8708 * po/fr.po: Update French translation from translation project.
8710 * po/ru.po: Update Russian translation from translation project.
8712 * po/pl.po: Update Polish translation from translation project.
8714 * po/cs.po: Update Czech translation from translation project.
8716 * po/de.po: Update German translation from translation project.
8718 * po/bg.po: Update Bulgarian translation from translation project.
8720 * po/sv.po: Update Sweedish translation from translation project.
8722 * po/nl.po: Update Dutch translation from translation project.
8724 * po/es.po: Update Spanish translation from translation project.
8726 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8728 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8730 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8731 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8732 (CPPFLAGS-iconvconfig): Likewise.
8733 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8735 * include/libc-symbols.h: Remove unnecessary check for
8737 * nptl/pthreadP.h: Likewise.
8738 * sysdeps/aarch64/setjmp.S: Likewise.
8739 * sysdeps/alpha/setjmp.S: Likewise.
8740 * sysdeps/arm/sysdep.h: Likewise.
8741 * sysdeps/i386/setjmp.S: Likewise.
8742 * sysdeps/m68k/setjmp.c: Likewise.
8743 * sysdeps/posix/getcwd.c: Likewise.
8744 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8745 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8746 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8747 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8748 * sysdeps/sh/sh3/setjmp.S: Likewise.
8749 * sysdeps/sh/sh4/setjmp.S: Likewise.
8750 * sysdeps/unix/alpha/sysdep.h: Likewise.
8751 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8752 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8753 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8754 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8758 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8759 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8760 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8762 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8764 * sysdeps/x86_64/setjmp.S: Likewise.
8766 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8769 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8771 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8772 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8774 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8776 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8779 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8780 and __x86_64__ when disabling x87 inline functions.
8782 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8786 asm statement with __cpuid_count.
8788 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8790 * configure.ac: Change __ehdr_start code to dereference the struct.
8791 Run readelf on the output to look for relocations.
8792 * configure: Regenerated.
8794 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8797 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8799 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8801 2014-08-12 Roland McGrath <roland@hack.frob.com>
8803 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8805 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8808 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8809 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8811 2014-08-12 Sean Anderson <seanga2@gmail.com>
8813 * malloc/malloc.c: Fix typo in comment.
8815 2014-08-09 Allan McRae <allan@archlinux.org>
8817 * Regenerate libc.po.
8819 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8821 * intl/tst-gettext2.sh: Check every lang file for creation.
8823 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8825 * sysdeps/aarch64/fpu/math_private.h
8826 (libc_feholdsetround_noex_aarch64_ctx): New function.
8828 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8830 * sysdeps/arm/armv6/strcpy.S (strcpy):
8831 Fix performance issue in misaligned cases.
8833 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8835 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8836 Move definition from termios.h.
8837 (struct termio): Likewise.
8838 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8839 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8840 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8841 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8843 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8844 Move definition to ioctl-types.h
8845 (struct termio): Likewise.
8846 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8847 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8848 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8849 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8852 2014-08-05 Richard Henderson <rth@redhat.com>
8854 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8856 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8858 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8859 Use __feraiseexcept.
8860 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8861 Protect libm symbols with IS_IN_libm.
8863 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8865 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8867 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8869 2014-08-04 Will Newton <will.newton@linaro.org>
8871 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8874 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8876 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8877 variants for each function.
8879 2014-08-04 Roland McGrath <roland@hack.frob.com>
8881 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8883 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8884 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8886 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8887 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8888 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8889 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8890 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8891 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8892 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8893 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8894 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8895 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8902 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8922 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8923 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8924 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8925 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8926 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8927 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8928 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8929 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8930 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8931 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8932 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8933 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8934 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8935 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8936 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8937 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8938 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8940 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8941 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8943 2014-08-04 Roland McGrath <roland@hack.frob.com>
8945 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8946 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8947 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8948 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8949 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8950 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8952 2014-08-04 Roland McGrath <roland@hack.frob.com>
8954 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8955 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8956 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8957 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8959 2014-08-04 Roland McGrath <roland@hack.frob.com>
8961 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8962 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8963 (__libc_vfork): Define function under this name.
8964 (__vfork): Define as an alias.
8965 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8966 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8968 2014-08-04 Roland McGrath <roland@hack.frob.com>
8970 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8971 that was previously under [RESET_PID].
8972 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8974 2014-08-04 Andreas Schwab <schwab@suse.de>
8976 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8978 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8980 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8983 2014-08-01 Roland McGrath <roland@hack.frob.com>
8985 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8987 2014-08-01 Richard Henderon <rth@redhat.com>
8989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8990 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8991 typo in exact zero test.
8992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8996 2014-08-01 Roland McGrath <roland@hack.frob.com>
8998 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8999 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9000 * sysdeps/arm/sysdep.h: ... here.
9001 [!__ASSEMBLER__]: Include <stdint.h>.
9003 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9005 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9006 (HAVE_WCTYPE_H): Likewise.
9007 (HAVE_ISWCTYPE): Likewise.
9008 (ENABLE_NLS): Likewise.
9009 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9010 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9012 * posix/regex_internal.c: Check if DEBUG is defined and is
9015 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9016 (HAVE_MBSRTOWCS): Likewise.
9017 * posix/fnmatch.c: Include string.h unconditionally.
9019 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9021 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9024 2014-07-31 Roland McGrath <roland@hack.frob.com>
9026 * sysdeps/generic/safe-fatal.h: New file.
9027 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9028 * nptl/forward.c: Include it.
9029 (__pthread_unwind): Use __safe_fatal as default action, rather
9030 than a bogus use of INTERNAL_SYSCALL that could never work.
9032 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9033 * configure.ac (libc_cv_builtin_trap): New test.
9034 * configure: Regenerated.
9035 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9036 (ABORT_INSTRUCTION): Define using __builtin_trap.
9038 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9039 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9040 * sysdeps/nptl/nptl-signals.h: New file.
9041 * nptl/pthreadP.h: Include <nptl-signals.h>.
9043 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9045 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9046 (ONE_DIRECTION): Define.
9047 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9048 (ONE_DIRECTION): Define.
9049 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9050 (ONE_DIRECTION): Define.
9052 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9054 * sysdeps/s390/Makefile: Delete file.
9055 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9056 * sysdeps/s390/__longjmp.c: Delete file.
9057 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9058 Remove fields __flags and __reserved.
9059 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9061 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9062 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9063 * sysdeps/s390/rtld-setjmp.S: Likewise.
9064 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9065 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9066 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9067 * sysdeps/s390/s390-32/setjmp.S: ... here.
9069 (__sigsetjmp): Remove setting __flags field.
9070 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9071 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9072 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9073 * sysdeps/s390/s390-64/setjmp.S: ... here.
9075 (__sigsetjmp): Remove setting __flags field.
9076 * sysdeps/s390/setjmp.S: Delete file.
9077 * sysdeps/s390/sigjmp.c: Likewise.
9078 * sysdeps/s390/v1-longjmp.c: Likewise.
9079 * sysdeps/s390/v1-setjmp.h: Likewise.
9080 * sysdeps/s390/v1-sigjmp.c: Likewise.
9081 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9082 Remove v1-longjmp_chk.
9083 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9084 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9085 Include debug/longjmp_chk.c and add versioning.
9086 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9087 Include nptl/pt-longjmp.c and add versioning.
9088 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9089 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9090 Include __longjmp.c.
9091 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9093 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9094 (__getcontext): Remove setting __flags field.
9096 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9097 Don't restore upper high grps.
9098 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9100 (__swapcontext): Remove setting uc_flags field.
9101 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9103 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9104 Include __longjmp.c.
9105 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9107 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9108 (__getcontext): Remove setting __flags field.
9110 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9111 (__swapcontext): Remove setting uc_flags field.
9112 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9113 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9114 Remove fields uc_high_gprs and __reserved.
9115 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9116 New file with reverted content.
9117 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9118 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9120 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9123 2014-07-31 Andreas Schwab <schwab@suse.de>
9125 * config.h.in (HAVE_IFUNC): Define to 0.
9126 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9129 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9132 memmove-avx-unaligned, memcpy-avx-unaligned and
9133 mempcpy-avx-unaligned.
9134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9135 Add tests for AVX memcpy functions.
9136 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9137 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9139 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9140 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9142 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9143 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9145 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9146 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9147 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9149 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9152 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9155 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
9158 * manual/llio.texi: Add section about open file description locks.
9159 * manual/examples/ofdlocks.c: Example of open file description
9161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9162 F_OFD_SETLK, and F_OFD_SETLKW.
9164 2014-07-23 Allan McRae <allan@archlinux.org>
9166 * po/es.po: Update Spanish translation from translation project.
9168 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9170 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9172 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9175 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9176 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9177 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9179 2014-07-17 Joseph Myers <joseph@codesourcery.com>
9182 * math/fesetenv.c (__fesetenv)
9183 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9184 * math/feupdateenv.c (__feupdateenv)
9185 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9188 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9189 (__ASSUME_SOCKETCALL): Do not define.
9191 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9192 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9193 (__ASSUME_SOCKETCALL): Do not define.
9194 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9195 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9196 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9197 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9198 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9199 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9200 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9201 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9203 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9204 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9205 (__ASSUME_SOCKETCALL): Do not define.
9206 (__ASSUME_IPC64): Define unconditionally.
9207 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9208 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9209 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9210 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9211 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9212 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9213 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9216 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9217 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9218 (__ASSUME_SOCKETCALL): Do not define.
9219 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9220 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9221 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9222 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9223 (__ASSUME_REQUEUE_PI): Define unconditionally.
9224 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9225 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9226 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9227 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9228 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9229 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9231 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9232 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9233 (__ASSUME_SOCKETCALL): Do not define.
9234 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9235 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9236 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9237 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9238 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9239 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9241 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9242 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9243 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9244 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9245 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9246 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9247 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9248 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9249 (__ASSUME_GETCPU_SYSCALL): Likewise.
9251 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9252 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9253 cases for individual architectures.
9254 * sysdeps/gnu/configure: Regenerated.
9255 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9256 LIBC_SLIBDIR_RTLDDIR.
9257 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9258 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9259 LIBC_SLIBDIR_RTLDDIR.
9260 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9262 LIBC_SLIBDIR_RTLDDIR.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9265 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9266 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9268 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9269 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9271 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9272 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9273 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9274 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9276 * sysdeps/aarch64/shlib-versions: Move to ...
9277 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9278 * sysdeps/alpha/shlib-versions: Move to ...
9279 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9280 * sysdeps/arm/shlib-versions: Move to ...
9281 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9282 * sysdeps/hppa/shlib-versions: Move all contents except for
9283 libgcc_s entry to ...
9284 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9286 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9287 * sysdeps/ia64/shlib-versions: Move to ...
9288 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9290 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9291 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9292 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9293 * sysdeps/microblaze/shlib-versions: Move to ...
9294 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9295 * sysdeps/mips/shlib-versions: Move to ...
9296 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9298 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9299 * sysdeps/tile/shlib-versions: Move to ...
9300 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9301 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9303 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9304 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9306 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9308 2014-07-17 Will Newton <will.newton@linaro.org>
9310 * sysdeps/arm/bits/atomic.h
9311 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9312 (__arch_compare_and_exchange_bool_16_int): Likewise.
9313 (__arch_compare_and_exchange_bool_64_int): Likewise.
9315 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9316 into an #else block.
9318 2014-07-16 Roland McGrath <roland@hack.frob.com>
9320 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9321 just Linux configurations. Test empirically that the compiler sets
9322 __ARM_EABI__, rather than using the tuple to decide.
9323 * sysdeps/arm/preconfigure: Regenerated.
9324 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9325 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9326 contents appended ...
9327 * sysdeps/arm/configure.ac: ... here.
9328 * sysdeps/arm/configure: Regenerated.
9330 2014-07-15 Roland McGrath <roland@hack.frob.com>
9332 * nptl/pthread_kill.c: New file.
9333 * nptl/pthread_sigmask.c: New file.
9334 * nptl/pthread_sigqueue.c: New file.
9336 * sysdeps/nptl/lowlevellock.h: New file.
9337 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9338 * sysdeps/nptl/lowlevellock-futex.h: New file.
9340 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9341 Remove dead declarations.
9343 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9345 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9346 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9348 * sysdeps/x86_64/configure.ac: Likewise.
9349 * sysdeps/i386/configure: Regenerated.
9350 * sysdeps/x86_64/configure: Likewise.
9351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9352 memset-avx2 only if config-cflags-avx2 is yes.
9353 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9354 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9356 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9357 only if HAVE_AVX2_SUPPORT is defined.
9358 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9360 2014-07-14 Alan Modra <amodra@gmail.com>
9363 * elf/elf.h (DT_PPC64_NUM): Correct value.
9364 * NEWS: Add to fixed bug list.
9366 2014-07-13 Jim Meyering <meyering@fb.com>
9369 regex: don't deref NULL upon heap allocation failure
9370 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9371 failure in one more place.
9372 To trigger the segfault, configure grep -with-included-regex,
9373 build it, and run these commands:
9374 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9376 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9378 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9380 2014-07-11 Richard Henderson <rth@redhat.com>
9382 * sysdeps/aarch64/libm-test-ulps: Update.
9384 2014-07-10 Florian Weimer <fweimer@redhat.com>
9387 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9388 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9389 (__nptl_setxid): Initialize error member. Call
9390 __nptl_setxid_error.
9391 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9392 * nptl/descr.h (struct xid_command): Add error member.
9393 * nptl/tst-setuid3.c: New file.
9394 * nptl/Makefile (tests): Add it.
9396 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9398 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9400 (__lll_trylock): Use __lll_base_trylock.
9401 (__lll_cond_trylock): Likewise.
9403 2014-07-10 Roland McGrath <roland@hack.frob.com>
9405 * nptl/pthread_create.c (start_thread): Use atomic_or and
9406 lll_futex_wake directly rather than lll_robust_dead.
9407 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9408 (lll_robust_dead): Macro removed.
9409 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
9410 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9411 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9412 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9414 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9415 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9416 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9417 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9419 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9420 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9422 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9425 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9426 Use atomic_compare_and_exchange_val_acq directly rather than
9428 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9429 (__lll_robust_trylock, lll_robust_trylock): Removed.
9430 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9431 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9432 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9434 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9435 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9436 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9437 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9438 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9439 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9440 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9441 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9442 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9445 2014-07-02 Florian Weimer <fweimer@redhat.com>
9447 * manual/locale.texi (Locale Names): New section documenting
9448 locale name syntax. Adjust menu and node chaining accordingly.
9449 (Choosing Locale): Reference Locale Names, Locale Categories.
9450 Mention setting LC_ALL=C. Reflect that name syntax is now
9452 (Locale Categories): New section title. Reference Locale Names.
9453 LC_ALL is an environment variable, but not a category.
9454 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9455 description, now in Locale Name. Reference that section. Locale
9456 name syntax is now documented.
9458 2014-07-02 Florian Weimer <fweimer@redhat.com>
9461 * locale/findlocale.c (name_present, valid_locale_name): New
9463 (_nl_find_locale): Use the loc_name variable to store name
9464 candidates. Call name_present and valid_locale_name to check and
9465 validate locale names. Return an error if the locale is invalid.
9467 2014-07-02 Florian Weimer <fweimer@redhat.com>
9469 * locale/setlocale.c (setlocale): Use strdup for allocating
9470 composite name copy.
9472 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9474 Sync up with gnulib.
9475 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9476 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9477 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9478 and _GL_ARG_NONNULL.
9479 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9480 [!_LIBC]: Include code for Windows and Cygwin.
9481 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9482 Include prototype for int strerror_r.
9483 [!_LIBC] (is_open): New function.
9484 (flush_stdout): New function.
9485 (print_errno_message): Use it.
9487 (error_at_line): Likewise.
9488 (error_tail) Add function attribute macros. Use
9491 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9493 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9495 * io/ftw.c: Include sys/param.h unconditionally.
9497 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9500 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9502 (freecache): New function to free CACHE on exit.
9504 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9507 2014-07-09 David S. Miller <davem@davemloft.net>
9509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9511 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9512 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9513 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9514 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9515 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9516 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9517 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9518 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9519 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9520 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9521 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9522 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9523 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9525 2014-07-09 Andreas Schwab <schwab@suse.de>
9527 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9529 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9530 (do_test): Likewise.
9532 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9534 2014-07-09 Will Newton <will.newton@linaro.org>
9536 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9537 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9538 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9539 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9540 * sysdeps/hppa/start.S (_start): Likewise.
9542 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9544 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9546 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9549 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9551 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9552 after checking that it is non-NULL.
9554 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9556 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9558 * sysdeps/powerpc/memmove.c: Remove file.
9559 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9560 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9561 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9562 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9563 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9564 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9565 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9566 string memmove instead of removed powerpc one.
9568 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9569 [weak_alias]: Fix compiler warning due trailing data.
9570 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9571 [weak_alias]: Likewise.
9572 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9573 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9576 (__libc_ifunc_impl_list): Add memmove functions.
9578 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9580 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9582 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9584 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9586 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9588 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9590 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9592 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9594 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9596 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9598 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9600 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9602 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9604 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9606 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9608 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9610 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9612 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9615 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9618 to avoid alignment traps in non-cacheable memory.
9619 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9623 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9624 file: multiarch power7 memmove.
9625 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9626 multiarch default memmove.
9627 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9628 multiarch memove for powerpc32/power4.
9630 * string/bcopy.c: Use full path to include memmove.c.
9631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9633 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9634 bcopy for powerpc64.
9635 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9636 bcopy for powerpc64.
9637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9638 and memmove implementations.
9639 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9640 optimized multiarch memmove for POWER7/powerpc64.
9641 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9642 default multiarch memmove for powerpc64.
9643 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9644 multiarch for powerpc64.
9645 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9646 for POWER7/powerpc64.
9647 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9648 memmove for POWER7/powerpc64.
9650 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9653 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9654 __ELF_NATIVE_CLASS equal to 64.
9656 2014-07-07 Roland McGrath <roland@hack.frob.com>
9658 * sysdeps/nptl/lowlevellock.h: File removed.
9660 * NEWS: NPTL is no longer an add-on!
9661 * nptl/internaltypes.h: Moved ...
9662 * sysdeps/nptl/internaltypes.h: ... here.
9663 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9664 * sysdeps/nptl/fork.c: Likewise.
9665 * sysdeps/nptl/gai_misc.h: Likewise.
9666 * sysdeps/nptl/librt-cancellation.c: Likewise.
9667 * sysdeps/nptl/jmp-unwind.c: Likewise.
9668 * sysdeps/nptl/setxid.h: Likewise.
9669 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9670 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9671 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9672 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9673 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9674 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9675 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9676 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9677 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9678 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9679 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9680 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9681 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9682 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9683 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9684 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9685 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9686 * nptl/Makeconfig: Moved ...
9687 * sysdeps/nptl/Makeconfig: ... here.
9688 * nptl/configure: File removed.
9689 * nptl/ANNOUNCE: File removed.
9690 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9691 * sysdeps/unix/sysv/linux/configure: Regenerated.
9693 * nptl/Makefile (routines): Add libc_pthread_init,
9694 libc_multiple_threads, register-atfork and unregister-atfork.
9695 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9696 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9697 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9698 pthread-pi-defines.sym, structsem.sym.
9699 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9700 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9701 [$(subdir) = nptl] (tests): Add tst-setgetname.
9702 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9703 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9704 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9705 [!LIBC_SIGACTION]: Remove aliases.
9706 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9707 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9708 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9709 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9710 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9711 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9715 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9716 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9717 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9718 __libc_allocate_rtsig_private.
9719 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9720 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9721 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9722 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9723 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9724 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9725 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9726 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9727 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9728 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9729 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9730 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9731 * nptl/internaltypes.h: ... here.
9732 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9733 * sysdeps/nptl/jmp-unwind.c: ... here.
9734 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9735 * nptl/libc-lowlevellock.c: ... here.
9736 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9737 * nptl/libc_multiple_threads.c: ... here.
9738 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9739 * nptl/libc_pthread_init.c: ... here.
9740 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9741 * nptl/lowlevelbarrier.sym: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9743 * nptl/lowlevelcond.sym: ... here.
9744 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9745 * nptl/lowlevellock.c: ... here.
9746 * nptl/lowlevellock.h: Moved ...
9747 * sysdeps/nptl/lowlevellock.h: ... here.
9748 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9749 * nptl/lowlevelrobustlock.c: ... here.
9750 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9751 * nptl/lowlevelrobustlock.sym: ... here.
9752 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9753 * nptl/lowlevelrwlock.sym: ... here.
9754 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9755 * nptl/pt-fork.c: ... here.
9756 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9757 * nptl/pthread-pi-defines.sym: ... here.
9758 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9759 * nptl/pthread_attr_getaffinity.c: ... here.
9760 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9761 * nptl/pthread_attr_setaffinity.c: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9763 * nptl/pthread_mutex_cond_lock.c: ... here.
9764 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9766 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9767 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9768 * nptl/pthread_once.c: ... here, replacing old file.
9769 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9770 * nptl/pthread_yield.c: ... here.
9771 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9772 * nptl/register-atfork.c: ... here.
9773 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9774 * nptl/sem_post.c: ... here.
9775 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9776 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9777 * nptl/sem_timedwait.c: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9779 * nptl/sem_trywait.c: ... here.
9780 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9781 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9782 * nptl/sem_wait.c: ... here.
9783 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9784 * nptl/structsem.sym: ... here.
9785 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9786 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9787 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9788 * nptl/unregister-atfork.c: ... here.
9789 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9790 * nptl/unwindbuf.sym: ... here.
9791 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9792 * sysdeps/nptl/fork.c: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9794 * sysdeps/nptl/fork.h: ... here.
9795 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9796 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9797 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9799 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9800 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9801 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9802 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9803 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9805 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9806 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9807 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9809 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9810 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9811 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9812 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9813 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9815 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9816 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9817 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9818 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9819 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9820 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9821 * sysdeps/unix/sysv/linux/raise.c: ... here.
9822 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9823 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9824 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9825 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9826 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9827 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9828 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9829 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9830 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9831 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9832 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9833 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9834 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9835 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9836 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9838 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9840 * sysdeps/generic/memcopy.h: Add comment for
9841 MEMCPY_OK_FOR_FWD_MEMMOVE.
9843 2014-07-04 Will Newton <will.newton@linaro.org>
9845 * string/memchr.c: Merge from gnulib.
9846 [_LIBC]: Remove conditionals.
9847 (__ptr_t): Remove define.
9848 (LONG_MAX_32_BITS): Likewise.
9849 (LONG_MAX): Likewise.
9850 (MEMCHR): Use ANSI prototype and optimize algorithm.
9852 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9854 2014-07-03 Roland McGrath <roland@hack.frob.com>
9856 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9857 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9859 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9860 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9861 in a bare environment with no <stdlib.h> installed.
9862 * sysdeps/nptl/configure: Regenerated.
9864 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9866 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9867 AC_EGREP_CPP for kernel header checks, so they only succeed if
9868 including <linux/version.h> actually works right.
9869 * sysdeps/unix/sysv/linux/configure: Regenerated.
9871 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9872 value so it's not diagnosed as unused.
9874 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9875 thing) with "ifeq ($(subdir),rt)".
9877 2014-07-03 Richard Henderson <rth@redhat.com>
9879 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9880 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9881 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9883 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9884 (math_force_eval): New.
9886 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9887 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9889 * sysdeps/alpha/fpu/s_round.c: Remove file.
9890 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9892 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9893 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9894 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9895 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9896 (_dl_start, print_statistics): Likewise.
9897 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9898 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9900 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9901 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9902 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9903 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9904 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9905 (HP_SMALL_TIMING_AVAIL): Define.
9906 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9908 (HP_SMALL_TIMING_AVAIL): Define.
9909 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9910 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9912 * sysdeps/aarch64/hp-timing.h: New file.
9914 * sysdeps/generic/hp-timing.h: Remove dead comment.
9915 * sysdeps/generic/hp-timing-common.h: New file.
9916 * sysdeps/alpha/hp-timing.h: Include it.
9917 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9918 * sysdeps/i386/i686/hp-timing.h: Likewise.
9919 * sysdeps/ia64/hp-timing.h: Likewise.
9920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9921 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9922 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9923 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9924 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9925 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9928 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9929 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9930 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9931 * elf/rtld.c (_dl_start_final): Likewise.
9932 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9933 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9934 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9935 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9936 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9937 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9938 (HP_TIMING_DIFF_INIT): Remove.
9939 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9940 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9941 (HP_TIMING_DIFF_INIT): Remove.
9942 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9943 * sysdeps/i386/i686/hp-timing.c: Remove file.
9944 * sysdeps/x86_64/hp-timing.c: Remove file.
9945 * sysdeps/ia64/hp-timing.c: Remove file.
9946 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9947 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9948 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9949 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9951 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9952 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9953 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9954 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9955 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9956 (HP_TIMING_ACCUM): Remove.
9957 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9959 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9961 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9962 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9963 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9964 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9966 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9967 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9968 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9970 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9972 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9974 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9976 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9978 Sync up with gettext.
9979 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9980 [_MSC_VER]: Include malloc.h
9981 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9982 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9983 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9984 TEMP_FAILURE_RETRY. Cast return of alloca.
9985 [!_LIBC] Call gl_rwlock_init.
9986 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9988 2014-07-02 Roland McGrath <roland@hack.frob.com>
9990 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9991 before checking its value.
9993 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9995 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9997 * debug/memcpy_chk.c: Don't include pagecopy.h.
9998 * debug/mempcpy_chk.c: Likewise.
9999 * string/memcpy.c: Likewise.
10000 * string/memmove.c: Likewise.
10001 * sysdeps/powerpc/memmove.c: Likewise.
10002 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10003 definition of PAGE_COPY_FWD_MAYBE here...
10004 * sysdeps/generic/pagecopy.h: ... from here.
10005 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10007 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10008 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10010 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10014 (__libc_ifunc_impl_list): Likewise.
10015 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10016 multiarch strcat for PPC64.
10017 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10018 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10020 2014-07-02 Roland McGrath <roland@hack.frob.com>
10022 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10024 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10026 * intl/loadmsgcat.c: Remove declaration of
10027 get_sysdep_segment_value.
10028 (get_sysdep_segment_value): Use ISO C style.
10029 (_nl_load_domain): Use ISO C style. Get rid of redundant
10030 semicolon. Fix typo and formatting in comment.
10031 (_nl_unload_domain): Use ISO C style.
10033 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10035 2014-07-02 Will Newton <will.newton@linaro.org>
10037 * malloc/obstack.c: Merge from gnulib master.
10038 [HAVE_CONFIG_H]: Remove conditional code.
10039 [!_LIBC]: Include config.h.
10040 [!ELIDE_CODE]: Don't include inttypes.h, include
10041 stdint.h unconditionally.
10042 (print_and_abort): Mark as _Noreturn.
10043 (_obstack_allocated_p): Mark as __attribute_pure__.
10044 (obstack_free): Rename to __obstack_free.
10045 [!__attribute__]: Remove conditional code.
10046 * malloc/obstack.h: Merge from gnulib master.
10047 [__cplusplus]: Move conditional down.
10048 [!__attribute_pure__]: Define __attribute_pure__ here
10049 if it is not already defined.
10050 (_obstack_memory_used): Mark as __attribute_pure__.
10051 [!__obstack_free]: Define as obstack_free.
10052 [__GNUC__]: Remove check for ancient NeXT gcc.
10054 2014-07-02 Will Newton <will.newton@linaro.org>
10055 Paul Eggert <eggert@cs.ucla.edu>
10057 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10059 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10061 * resolv/gethnamaddr.c: Add comment warning that the file is
10064 2014-07-01 Carlos O'Donell <carlos@redhat.com>
10066 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10069 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10070 entry for aio_cancel and aio_cancel64.
10071 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10072 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10073 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10074 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10075 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10076 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10077 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10078 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10079 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10080 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10081 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10082 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10083 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10085 2014-07-01 Roland McGrath <roland@hack.frob.com>
10087 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10088 * nptl/pthread_mutex_lock.c: Likewise.
10089 * nptl/pthread_mutex_timedlock.c: Likewise.
10090 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10092 2014-07-01 Richard henderson <rth@redhat.com>
10094 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10095 (__isnan, __isnanl): Remove.
10096 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10098 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10100 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10102 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10104 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10106 * resolv/nss_dns/dns-host.c (getanswer_r)
10107 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10109 2014-07-01 Joseph Myers <joseph@codesourcery.com>
10111 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10112 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10114 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10115 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10117 2014-07-01 Roland McGrath <roland@hack.frob.com>
10119 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10120 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10122 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10123 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10125 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10126 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10128 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10129 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10131 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10132 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10133 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10134 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10136 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10137 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10138 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10139 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10140 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10142 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10144 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10145 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10146 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10147 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10149 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10150 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10151 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10152 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10153 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10154 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10155 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10156 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10157 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10158 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10159 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10160 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10161 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10162 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10163 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10165 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10166 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10168 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10169 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10170 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10171 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10172 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10174 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10176 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10177 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10178 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10181 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10185 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10187 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10188 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10190 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10192 * sysdeps/arm/libm-test-ulps: Regenerated.
10194 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10195 Roland McGrath <roland@hack.frob.com>
10197 * test-skeleton.c (signal_handler): Kill the whole process group
10198 before killing the child individually.
10199 (main): Report any failure on `setpgid'.
10201 2014-06-30 Roland McGrath <roland@hack.frob.com>
10203 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10204 from _TLS_H to _ARM_NPTL_TLS_H.
10205 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10206 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10208 2014-06-30 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10212 (__expm1l): Return argument unchanged when small but not
10215 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10216 include macro name.
10217 (_FP_UNPACK_RAW_1_P): Likewise.
10218 (_FP_PACK_RAW_1): Likewise.
10219 (_FP_PACK_RAW_1_P): Likewise.
10220 (_FP_MUL_MEAT_1_wide): Likewise.
10221 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10222 (_FP_MUL_MEAT_1_hard): Likewise.
10223 (_FP_DIV_MEAT_1_imm): Likewise.
10224 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10225 (_FP_DIV_MEAT_1_udiv): Likewise.
10226 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10227 (_FP_UNPACK_RAW_2): Likewise.
10228 (_FP_UNPACK_RAW_2_P): Likewise.
10229 (_FP_PACK_RAW_2): Likewise.
10230 (_FP_PACK_RAW_2_P): Likewise.
10231 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10232 (_FP_MUL_MEAT_2_wide): Likewise.
10233 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10234 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10235 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10236 (_FP_MUL_MEAT_2_gmp): Likewise.
10237 (_FP_DIV_MEAT_2_udiv): Likewise.
10238 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10239 (_FP_FRAC_SRL_4): Likewise.
10240 (_FP_FRAC_SRST_4): Likewise.
10241 (_FP_FRAC_SRS_4): Likewise.
10242 (_FP_UNPACK_RAW_4): Likewise.
10243 (_FP_UNPACK_RAW_4_P): Likewise.
10244 (_FP_PACK_RAW_4): Likewise.
10245 (_FP_PACK_RAW_4_P): Likewise.
10246 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10247 (_FP_MUL_MEAT_4_wide): Likewise.
10248 (_FP_MUL_MEAT_4_gmp): Likewise.
10249 (umul_ppppmnnn): Likewise.
10250 (_FP_DIV_MEAT_4_udiv): Likewise.
10251 (__FP_FRAC_ADD_4): Likewise.
10252 (__FP_FRAC_SUB_3): Likewise.
10253 (__FP_FRAC_SUB_4): Likewise.
10254 (__FP_FRAC_DEC_3): Likewise.
10255 (__FP_FRAC_DEC_4): Likewise.
10256 (__FP_FRAC_ADDI_4): Likewise.
10257 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10258 (_FP_FRAC_SRL_8): Likewise.
10259 (_FP_FRAC_SRS_8): Likewise.
10261 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10262 include macro name.
10263 (FP_UNPACK_RAW_EP): Likewise.
10264 (FP_PACK_RAW_E): Likewise.
10265 (FP_PACK_RAW_EP): Likewise.
10266 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10267 (_FP_ISSIGNAN): Likewise.
10268 (_FP_ADD_INTERNAL): Likewise.
10269 (_FP_FMA): Likewise.
10270 (_FP_CMP): Likewise.
10271 (_FP_SQRT): Likewise.
10272 (_FP_TO_INT): Likewise.
10273 (_FP_FROM_INT): Likewise.
10274 (FP_EXTEND): Likewise.
10275 (_FP_DIV_MEAT_N_loop): Likewise.
10277 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10279 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10282 2014-06-29 Joseph Myers <joseph@codesourcery.com>
10285 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10286 result with correct sign in case of exponents that produce
10287 overflow except for X very close to 1.
10289 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10291 mktime: merge #if/#ifdef usage from glibc
10292 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10293 as that works with both Glibc's and Gnulib's style.
10294 See thread starting at Siddhesh Poyarekar's bug report at:
10295 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10297 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10300 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10301 * sysdeps/tile/tilegx/memmove.c: Remove file.
10303 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10305 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10306 abi-name definition.
10307 * scripts/soversions.awk: Do not handle or generate ABI lines.
10308 * shlib-versions: Remove ABI entries.
10309 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10310 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10312 2014-06-27 Roland McGrath <roland@hack.frob.com>
10314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10315 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10316 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10317 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10319 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10322 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10325 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10331 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10332 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10333 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10335 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10338 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10345 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10348 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10359 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10362 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10364 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10365 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10367 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10370 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10372 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10375 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10377 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10378 Identical file removed.
10379 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10381 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10383 Identical file removed.
10384 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10388 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10390 Identical file removed.
10391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10392 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10394 Identical file removed.
10395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10396 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10398 Identical file removed.
10399 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10400 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10402 Identical file removed.
10403 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10405 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10407 Identical file removed.
10408 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10410 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10414 Identical file removed.
10415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10417 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10419 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10420 Identical file removed.
10421 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10423 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10425 Identical file removed.
10426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10428 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10429 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10430 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10432 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10435 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10436 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10437 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10439 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10440 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10441 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10442 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10443 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10445 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10448 * nscd/nscd.c (monitor_child): Return exit status of child
10449 instead of return value from wait syscall.
10451 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10453 * configure.ac (libc_commonpagesize): Remove variable.
10454 (libc_relro_required): Likewise.
10455 (libc_cv_z_relro): Remove configure test.
10456 * configure: Regenerated.
10457 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10459 (libc_relro_required): Likewise.
10460 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10461 (libc_relro_required): Likewise.
10462 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10463 (libc_relro_required): Likewise.
10464 * sysdeps/arm/preconfigure: Regenerated.
10465 * sysdeps/ia64/preconfigure: Remove file.
10466 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10468 (libc_relro_required): Likewise.
10472 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10473 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10474 recompute overflowing results in original rounding mode.
10475 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10476 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10477 recompute overflowing results in original rounding mode.
10478 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10479 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10480 recompute overflowing results in original rounding mode.
10481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10482 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10483 recompute overflowing results in original rounding mode.
10484 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10485 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10486 recompute overflowing results in original rounding mode.
10487 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10488 (libc_feholdsetround_ctx): New macro.
10489 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10490 * sysdeps/i386/fpu/libm-test-ulps: Update.
10491 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10493 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10496 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10497 corresponding .cpsetup call.
10499 2014-06-26 Roland McGrath <roland@hack.frob.com>
10501 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10502 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10503 * sysdeps/arm/Makefile [$(subdir) = csu]
10504 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10505 (static-only-routines): Add aeabi_read_tp here.
10506 (shared-only-routines): Add libc-aeabi_read_tp here.
10507 (CFLAGS-libc-start.c): Add -fexceptions here.
10508 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10509 (sysdep_routines, static-only-routines, shared-only-routines):
10510 Don't add to these here.
10511 (CFLAGS-libc-start.c): Likewise.
10513 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10514 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10515 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10516 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10517 * sysdeps/arm/Makefile [$(subdir) = rt]
10518 (librt-sysdep_routines, librt-shared-only-routines):
10519 Append rt-aeabi_unwind_cpp_pr1 here.
10520 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10521 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10522 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10523 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10524 Append nptl-aeabi_unwind_cpp_pr1 here.
10525 (tests): Filter out tst-cleanupx4 here.
10526 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10527 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10528 Don't do those here.
10530 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10532 * scripts/list-sources.sh: Do not handle ports specially.
10534 2014-06-26 Roland McGrath <roland@hack.frob.com>
10536 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10537 * sysdeps/arm/feupdateenv.c: Likewise.
10539 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10541 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10543 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10544 trailing whitespace removed.
10545 * scripts/config.guess: Update to version 2014-03-23.
10546 * scripts/config.sub: Update to version 2014-05-01
10547 * scripts/install-sh: Update to version 2013-12-25.23.
10548 * scripts/move-if-change: Update from gnulib.
10550 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10552 * debug/memmove_chk.c: Remove pagecopy.h include.
10554 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10556 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10557 identical to gnulib mktime.
10559 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10561 * configure.ac: Do not test for machine being rs6000. Do not test
10562 for powerpc*-*soft.
10563 * configure: Regenerated.
10566 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10568 * configure: Regenerated.
10569 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10570 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10571 Remove configure test.
10572 * sysdeps/arm/configure: Regenerated.
10573 * sysdeps/nptl/configure.ac: Do not check
10574 libc_cv_asm_cfi_directives.
10575 * sysdeps/nptl/configure: Regenerated.
10576 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10577 * sysdeps/x86_64/nptl/configure: Remove generated file.
10578 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10580 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10582 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10584 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10585 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10586 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10589 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10590 instead of whether it is defined.
10591 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10592 * sysdeps/hppa/dl-machine.h: Likewise.
10593 * sysdeps/ia64/dl-machine.h: Likewise.
10594 * sysdeps/m68k/dl-machine.h: Likewise.
10595 * sysdeps/microblaze/dl-machine.h: Likewise.
10596 * sysdeps/mips/dl-machine.: Likewise.
10597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10601 * sysdeps/sh/dl-machine.h: Likewise.
10602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10604 * sysdeps/tile/dl-machine.h: Likewise.
10605 * sysdeps/x86_64/dl-machine.h: Likewise.
10607 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10609 (verify_persistent_db): Likewise.
10611 2014-06-26 Roland McGrath <roland@hack.frob.com>
10613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10614 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10616 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10619 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10624 Identical file removed.
10625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10628 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10637 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10644 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10648 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10650 Identical file removed.
10651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10652 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10654 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10657 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10664 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10671 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10674 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10679 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10681 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10683 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10685 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10686 * sysdeps/unix/sysv/linux/s390/Versions
10687 (libpthread: GLIBC_2.19): New version set.
10688 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10689 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10690 (librt: GLIBC_2.3.3): New version set.
10691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10692 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10693 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10694 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10695 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10697 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10699 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10701 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10703 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10705 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10707 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10709 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10710 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10711 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10713 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10714 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10715 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10716 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10717 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10719 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10721 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10722 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10723 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10727 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10729 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10731 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10733 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10735 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10737 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10738 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10739 (__libc_vfork): Define the function under this name.
10740 [!NOT_IN_libc] (__vfork): Make this an alias.
10741 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10743 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10744 (__libc_vfork): Define the function under this name.
10745 [!NOT_IN_libc] (__vfork): Make this an alias.
10746 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10747 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10748 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10749 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10750 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10753 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10754 code that was previously under [RESET_PID].
10755 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10756 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10759 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10760 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10761 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10762 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10763 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10764 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10765 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10766 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10767 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10768 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10769 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10771 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10777 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10778 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10779 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10780 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10781 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10782 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10783 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10785 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10786 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10787 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10788 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10789 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10790 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10791 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10792 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10793 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10794 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10795 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10796 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10797 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10799 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10801 2014-06-25 Roland McGrath <roland@hack.frob.com>
10803 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10804 that was previously under [RESET_PID].
10805 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10807 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10809 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10810 not undefine and redefine.
10811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10812 [O_CLOEXEC]: Make code unconditional.
10813 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10814 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10815 <kernel-features.h>.
10816 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10817 conditional variable definition.
10818 (shm_open) [O_CLOEXEC]: Make code unconditional.
10819 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10822 * configure.ac (USE_REGPARMS): Don't define here.
10823 * configure: Regenerated.
10824 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10825 * sysdeps/i386/configure: Regenerated.
10827 * nptl/createthread.c: Don't include kernel-features.h.
10828 * nptl/pthread_cancel.c: Likewise.
10829 * nptl/pthread_condattr_setclock.c: Likewise.
10830 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10831 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10832 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10833 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10834 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10835 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10836 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10839 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10840 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10841 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10842 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10843 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10844 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10845 * nscd/gai.c: Likewise.
10846 * nss/nss_db/db-open.c: Likewise.
10847 * sysdeps/generic/ldsodefs.h: Likewise.
10848 * sysdeps/sh/nptl/tls.h: Likewise.
10849 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10850 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10851 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10852 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10853 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10854 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10855 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10856 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10857 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10858 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10859 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10860 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10861 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10862 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10863 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10864 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10865 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10866 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10867 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10868 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10869 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10870 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10871 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10872 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10875 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10876 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10877 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10878 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10879 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10880 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10881 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10882 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10883 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10884 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10885 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10886 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10887 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10888 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10889 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10890 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10891 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10892 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10893 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10894 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10895 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10896 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10897 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10898 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10899 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10900 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10901 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10902 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10903 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10904 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10929 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10930 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10931 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10932 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10933 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10934 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10935 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10936 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10937 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10938 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10939 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10940 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10941 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10942 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10943 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10944 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10945 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10946 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10947 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10948 * sysdeps/unix/sysv/linux/system.c: Likewise.
10949 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10950 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10951 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10952 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10954 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10955 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10957 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10958 * configure: Regenerated.
10959 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10961 * configure.ac (base_machine): Do not set specially for particular
10963 * configure: Regenerated.
10964 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10965 settings from configure.ac.
10966 * sysdeps/i386/preconfigure: New file.
10967 * sysdeps/s390/preconfigure: Likewise.
10968 * sysdeps/sh/preconfigure: Likewise.
10969 * sysdeps/sparc/preconfigure: Likewise.
10971 2014-06-25 Roland McGrath <roland@hack.frob.com>
10973 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10974 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10975 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10976 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10977 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10978 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10979 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10980 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10981 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10982 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10983 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10984 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10985 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10986 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10987 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10988 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10989 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10990 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10991 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10993 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10994 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10995 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10996 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10997 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10998 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10999 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11000 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11001 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11002 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11003 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11004 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11005 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11006 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11007 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11008 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11009 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11010 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11011 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11012 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11013 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11014 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11015 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11016 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11018 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11020 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11021 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11023 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11024 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11025 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11026 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11027 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11028 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11030 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11033 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11035 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11038 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11041 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11043 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11046 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11055 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11058 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11060 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11063 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11065 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11067 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11069 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11074 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11082 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11084 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11091 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11094 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11096 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11099 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11103 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11105 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11107 * timezone/checktab.awk: Update from tzcode 2014e.
11108 * timezone/private.h: Likewise.
11109 * timezone/tzfile.h: Likewise.
11110 * timezone/zdump.c: Likewise.
11111 * timezone/zic.c: Likewise.
11113 * sysdeps/unix/sysv/linux/kernel-features.h
11114 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11115 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11116 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11117 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11118 Remove conditional code.
11120 2014-06-25 Will Newton <will.newton@linaro.org>
11122 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11123 (_dl_arm_cap_flags): Add HWCAP2 values.
11124 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11125 (_DL_HWCAP_COUNT): Increase to 37.
11126 (_DL_HWCAP_LAST): New define.
11127 (_DL_HWCAP2_LAST): New define.
11128 (_dl_procinfo): Add support for printing
11130 (_dl_string_hwcap): Use _dl_hwcap_string.
11132 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11136 2014-06-25 Joseph Myers <joseph@codesourcery.com>
11138 * README: Do not mention ports directory.
11140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11142 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11143 <kernel-features.h>.
11144 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11145 conditional variable definition.
11146 (__futimes): Update comment.
11147 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11148 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11151 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11152 arguments close to 0.
11153 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11155 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11157 * math/auto-libm-test-in: Add more tests of exp10.
11158 * math/auto-libm-test-out: Regenerated.
11159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11161 * sysdeps/unix/sysv/linux/kernel-features.h
11162 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11163 * sysdeps/unix/sysv/linux/readv.c: Do not include
11164 <kernel-features.h>.
11165 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11166 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11167 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11169 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11171 * sysdeps/unix/sysv/linux/writev.c: Do not include
11172 <kernel-features.h>.
11173 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11174 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11175 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11177 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11180 2014-06-25 Will Newton <will.newton@linaro.org>
11182 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11183 comment changes throughout the file. Remove checks
11184 for HAVE_*_H definitions that are not required.
11185 (__gen_tempname): Call abort if an unknown kind value is
11188 2014-06-25 Andreas Schwab <schwab@suse.de>
11191 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11192 scalbln, scalblnf, scalblnl in libc.
11194 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11197 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11198 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11199 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11201 2014-06-24 Roland McGrath <roland@hack.frob.com>
11203 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11204 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11205 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11206 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11208 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11209 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11211 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11212 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11213 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11214 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11215 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11216 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11217 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11218 * sysdeps/x86/bits/semaphore.h: ... here.
11219 * sysdeps/x86/nptl/elide.h: Moved ...
11220 * sysdeps/x86/elide.h: ... here.
11221 * sysdeps/x86_64/nptl/Implies: File removed.
11222 * sysdeps/i386/nptl/Implies: File removed.
11224 2014-06-24 Joseph Myers <joseph@codesourcery.com>
11227 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11228 return the argument for normal arguments with exponent below -64.
11229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11231 * math/auto-libm-test-in: Add another test of expm1.
11232 * math/auto-libm-test-out: Regenerated.
11235 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11236 calling __erfcl for arguments at least 16.
11237 * math/auto-libm-test-in: Add more tests of erf.
11238 * math/auto-libm-test-out: Regenerated.
11240 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11241 individual architectures.
11242 * sysdeps/unix/sysv/linux/configure: Regenerated.
11243 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11244 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11245 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11246 (ldd_rewrite_script): Define variable.
11247 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11252 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11253 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11254 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11255 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11256 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11257 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11258 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11259 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11261 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11264 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11265 Rename member __data.d to __data.__elision_data.
11267 2014-06-24 Wilco <wdijkstr@arm.com>
11269 * NEWS: Add 16918 to fixed bug list.
11271 2014-06-24 Wilco <wdijkstr@arm.com>
11273 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11275 2014-06-24 Wilco <wdijkstr@arm.com>
11277 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11278 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11279 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11280 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11281 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11282 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11283 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11286 2014-06-24 Wilco <wdijkstr@arm.com>
11288 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11290 2014-06-24 Wilco <wdijkstr@arm.com>
11292 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11293 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11294 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11295 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11297 2014-06-24 Wilco <wdijkstr@arm.com>
11300 * sysdeps/arm/feupdateenv.c (feupdateenv):
11301 Rewrite to reduce FPSCR accesses and fix return value.
11303 2014-06-24 Wilco <wdijkstr@arm.com>
11305 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11306 Optimize to avoid unnecessary FPSCR writes.
11307 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11308 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11309 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11310 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11312 2014-06-24 Wilco <wdijkstr@arm.com>
11314 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11315 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11316 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11317 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11318 Call libc_fetestexcept_vfp.
11319 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11320 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11321 __SOFTFP__ ifdef so that they can be built for softfp.
11323 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11325 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11326 argument type signed char.
11328 * Makerules (check-abi): Dump diff of symlist if the test
11331 2014-06-23 Roland McGrath <roland@hack.frob.com>
11333 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11336 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11337 Remove unused variable ST.
11339 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11343 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11344 small arguments before calling __expm1.
11345 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11346 small arguments before calling __expm1f.
11347 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11348 small arguments before calling __expm1l.
11349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11351 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11352 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11353 spurious underflow for some cosh tests.
11354 * math/auto-libm-test-out: Regenerated.
11355 * sysdeps/i386/fpu/libm-test-ulps: Update.
11358 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11359 (__ieee754_y1): Set errno if return value overflows.
11360 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11361 (__ieee754_y1f): Set errno if return value overflows.
11362 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11363 (__ieee754_y1l): Set errno if return value overflows.
11364 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11365 (__ieee754_y1l): Set errno if return value overflows.
11366 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11367 * math/auto-libm-test-out: Regenerated.
11369 * math/gen-auto-libm-tests.c: Document use of
11370 ignore-zero-inf-sign.
11371 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11372 (input_flags): Add ignore-zero-inf-sign.
11373 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11374 * math/gen-libm-test.pl (generate_testfile): Handle
11375 ignore-zero-inf-sign.
11376 * math/auto-libm-test-in: Mark some cpow tests with
11377 ignore-zero-inf-sign and some with xfail-rounding.
11378 * math/auto-libm-test-out: Regenerated.
11379 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11380 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11385 overflowing or underflowing operations take place with sign of
11387 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11388 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11389 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11390 (__ieee754_pow): Recompute overflowing and underflowing results in
11391 original rounding mode.
11392 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11393 (__powl_helper): Allow negative argument X and scale negated value
11394 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11395 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11396 overflowing or underflowing operations take place with sign of
11398 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11400 * math/auto-libm-test-in: Add more tests of pow.
11401 * math/auto-libm-test-out: Regenerated.
11402 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11403 (pow_tonearest_test_data): Remove.
11404 (pow_test_tonearest): Likewise.
11405 (pow_towardzero_test_data): Likewise.
11406 (pow_test_towardzero): Likewise.
11407 (pow_downward_test_data): Likewise.
11408 (pow_test_downward): Likewise.
11409 (pow_upward_test_data): Likewise.
11410 (pow_test_upward): Likewise.
11411 (main): Don't call removed functions.
11412 * sysdeps/i386/fpu/libm-test-ulps: Update.
11413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11415 2014-06-23 Roland McGrath <roland@hack.frob.com>
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11591 2014-06-23 Will Newton <will.newton@linaro.org>
11592 Wilco <wdijkstr@arm.com>
11594 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11595 implementation. Include get-rounding-mode.h.
11596 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11597 [!libc_feholdsetround_noex_ctx]: Define
11598 libc_feholdsetround_noex_ctx.
11599 [!libc_feholdsetround_noexf_ctx]: Define
11600 libc_feholdsetround_noexf_ctx.
11601 [!libc_feholdsetround_noexl_ctx]: Define
11602 libc_feholdsetround_noexl_ctx.
11603 (libc_feholdsetround_ctx): New function.
11604 (libc_feresetround_ctx): New function.
11605 (libc_feholdsetround_noex_ctx): New function.
11606 (libc_feresetround_noex_ctx): New function.
11608 2014-06-23 Roland McGrath <roland@hack.frob.com>
11610 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11611 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11612 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11613 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11614 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11615 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11617 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11618 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11619 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11620 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11621 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11622 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11623 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11624 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11625 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11629 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11637 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11638 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11639 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11641 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11643 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11646 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11647 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11649 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11654 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11656 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11658 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11659 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11660 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11661 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11665 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11667 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11668 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11674 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11676 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11677 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11678 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11681 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11683 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11688 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11690 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11691 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11692 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11694 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11695 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11696 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11697 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11698 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11699 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11700 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11701 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11703 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11704 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11705 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11706 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11707 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11708 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11709 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11710 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11711 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11712 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11713 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11714 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11715 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11716 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11717 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11718 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11719 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11720 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11721 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11723 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11726 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11727 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11728 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11729 (IPV6_PMTUDISC_INTERFACE): Likewise.
11730 (IPV6_PMTUDISC_OMIT): Likewise.
11732 2014-06-23 Andreas Schwab <schwab@suse.de>
11734 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11735 Remove unused errout label.
11737 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11739 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11740 macro: hardware supports Vector Crypto instructions.
11742 2014-06-23 Will Newton <will.newton@linaro.org>
11744 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11745 rather than __builtin_expect.
11747 * elf/dl-lookup.c (undefined_msg): Remove variable.
11748 (_dl_lookup_symbol_x): Replace undefined_msg with string
11751 * elf/dl-lookup.c (do_lookup_unique): New function.
11752 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11753 to a separate function.
11755 2014-06-23 Andreas Schwab <schwab@suse.de>
11758 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11759 before reading the next line.
11761 2014-06-23 Will Newton <will.newton@linaro.org>
11763 * test-skeleton.c (signal_handler): Use printf and %m
11764 rather than perror. Use printf rather than fprintf to
11765 stderr. Use puts rather than fputs to stderr.
11768 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11770 * nscd/nscd.c (thread_info_t): Remove typedef.
11771 (thread_info): Remove variable.
11773 2014-06-21 Allan McRae <allan@archlinux.org>
11775 * NEWS: Mention CVE-2014-4043.
11777 2014-06-20 Roland McGrath <roland@hack.frob.com>
11779 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11780 * nptl/smp.h: ... here.
11782 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11784 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11785 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11786 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11787 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11789 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11790 * nptl/stack-aliasing.h: New file.
11791 * sysdeps/i386/i686/stack-aliasing.h: New file.
11792 * sysdeps/i386/i686/nptl/Makefile: File removed.
11793 * sysdeps/x86_64/stack-aliasing.h: New file.
11794 * sysdeps/x86_64/nptl/Makefile
11795 (CFLAGS-pthread_create.c): Variable removed.
11797 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11798 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11800 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11801 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11804 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11806 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11807 (__ASSUME_SIGFRAME_V2): Remove macro.
11808 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11809 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11810 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11811 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11812 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11813 Declare as function. Remove conditional macro definitions.
11814 (__default_rt_sa_restorer): Likewise.
11815 (__default_sa_restorer_v1): Remove declaration.
11816 (__default_sa_restorer_v2): Likewise.
11817 (__default_rt_sa_restorer_v1): Likewise.
11818 (__default_rt_sa_restorer_v2): Likewise.
11819 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11820 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11821 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11823 2014-06-20 Roland McGrath <roland@hack.frob.com>
11825 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11826 (libpthread-routines): Add sysdep.
11827 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11828 * sysdeps/unix/sysv/linux/sparc/Versions
11829 (libpthread: GLIBC_2.3.3): New version set.
11830 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11831 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11832 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11833 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11834 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11835 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11837 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11839 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11841 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11843 * sysdeps/sparc/nptl/sem_init.c: ... here.
11844 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11845 * sysdeps/sparc/nptl/sem_post.c: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11847 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11848 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11849 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11850 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11851 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11852 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11853 (libpthread-routines): Add cpu_relax.
11854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11856 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11857 (librt: GLIBC_2.3.3): New version set.
11858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11859 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11860 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11861 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11864 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11867 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11869 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11871 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11873 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11875 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11878 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11882 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11886 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11890 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11894 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11901 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11907 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11909 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11912 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11913 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11914 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11915 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11918 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11920 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11921 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11922 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11924 * nscd/nscd.c: Likewise.
11925 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11926 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11927 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11928 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11930 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11931 <kernel-features.h>.
11932 (init_mq_netlink): Remove conditional have_sock_cloexec
11933 definitions. Remove code conditional on have_sock_cloexec < 0.
11934 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11935 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11936 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11937 <kernel-features.h>.
11938 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11939 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11941 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11944 Add tests for memset_chk and memset.
11946 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11949 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11952 * elf/tst-dl-iter-static.c: New file.
11953 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11955 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11958 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11960 * sysdeps/unix/sysv/linux/kernel-features.h
11961 (__ASSUME_F_GETOWN_EX): Remove macro.
11962 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11963 <kernel-features.h>.
11964 (miss_F_GETOWN_EX): Remove variable or macro.
11965 (do_fcntl): Do not check miss_F_GETOWN_EX.
11966 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11968 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11971 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11972 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11974 * sysdeps/unix/sysv/linux/kernel-features.h
11975 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11976 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11977 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11978 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11980 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11983 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11984 Fix calculation of the symbol's value.
11985 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11986 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11987 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11988 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11989 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11990 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11991 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11992 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11993 (modules-names): Add `tst-armtlsdescmod',
11994 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11995 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11996 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11997 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11998 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11999 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12000 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12001 ($(objpfx)tst-armtlsdescloc): New dependency.
12002 ($(objpfx)tst-armtlsdescextnow): Likewise.
12003 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12004 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12005 TLS scheme support.
12006 * sysdeps/arm/configure: Regenerate.
12008 2014-06-20 Joseph Myers <joseph@codesourcery.com>
12010 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12011 (__atfct_seterrno_2): Likewise.
12012 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12013 <kernel-features.h>.
12014 (__ASSUME_ATFCTS): Do not undefine and redefine.
12015 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12016 (__have_atfcts): Remove conditional definition.
12017 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12018 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12019 unreachable if [__ASSUME_ATFCTS].
12020 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12021 not undefine and redefine.
12022 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12023 <kernel-features.h>.
12024 (faccessat) [__NR_faccessat]: Make code unconditional.
12025 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12026 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12027 <kernel-features.h>.
12028 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12029 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12030 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12031 <kernel-features.h>.
12032 (fchownat) [__NR_fchownat]: Make code unconditional.
12033 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12034 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12035 <kernel-features.h>.
12036 (futimesat) [__NR_futimesat]: Make code unconditional.
12037 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12038 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12039 <kernel-features.h>.
12040 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12041 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12042 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12043 <kernel-features.h>.
12044 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12045 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12046 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12047 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12048 <kernel-features.h>.
12049 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12050 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12051 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12052 <kernel-features.h>.
12053 (linkat) [__NR_linkat]: Make code unconditional.
12054 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12056 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12057 <kernel-features.h>.
12058 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12059 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12060 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12061 <kernel-features.h>.
12062 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12063 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12064 * sysdeps/unix/sysv/linux/openat.c: Do not include
12065 <kernel-features.h>.
12066 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12067 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12068 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12069 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12071 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12072 <kernel-features.h>.
12073 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12074 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12075 result of INLINE_SYSCALL directly, not via int variable.
12076 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12077 <kernel-features.h>.
12078 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12079 (renameat) [__NR_renameat]: Make code unconditional.
12080 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12082 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12083 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12084 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12085 (__ASSUME_ATFCTS): Do not undefine and redefine.
12086 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12087 <kernel-features.h>.
12088 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12089 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12090 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12091 <kernel-features.h>.
12092 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12093 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12094 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12095 (__ASSUME_ATFCTS): Do not undefine and redefine.
12096 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12097 <kernel-features.h>.
12098 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12099 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12100 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12101 <kernel-features.h>.
12102 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12103 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12105 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12107 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12109 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12112 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12113 constructed tree before returning error.
12114 * posix/bug-regexp36.c: Expand test case.
12116 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12119 * math/libm-test.inc (scalbln_test_date):
12120 Add errno expectations.
12121 * math/w_scalblnf.c: New File.
12122 Add wrapper which checks for setting errno to ERANGE.
12123 Add weak_alias for corresponding scalbln function.
12124 * math/w_scalbln.c: Likewise.
12125 * math/w_scalblnl.c: Likewise.
12126 * math/Makefile (libm-calls): Add w_scalbln.
12127 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12128 Remove weak_alias for corresponding scalbln function.
12129 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12133 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12134 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12135 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12136 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12137 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12138 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12139 Remove long_double_symbol for scalblnl function in libm, libc.
12140 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12141 Add wrapper which checks for setting errno to ERANGE.
12142 Add long_double_symbol for scalblnl function in libm, libc.
12143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12144 Remove long_double_symbol for scalblnl in libm.
12145 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12146 Add wrapper which checks for setting errno to ERANGE.
12147 Add long_double_symbol for scalblnl function in libm.
12148 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12149 Do not use wrapper because of own implementation.
12151 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12153 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12154 3 bytes for __pad1 for x32.
12155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12157 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12158 H.J. Lu <hongjiu.lu@intel.com>
12160 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12161 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12162 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12163 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12164 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12166 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12169 * posix/regcomp.c (parse_expression): Deallocate partially
12170 constructed tree before returning error.
12171 * posix/Makefile.c (tests): Add bug-regex36.
12172 (generated): Add bug-regex36.mtrace.
12173 (tests-special): Add $(objpfx)bug-regex36-mem.out
12174 (bug-regex36-ENV): New variable.
12175 ($(objpfx)bug-regex36-mem.out): New rule.
12176 * posix/bug-regex36.c: New file.
12178 2014-06-19 Will Newton <will.newton@linaro.org>
12180 * malloc/malloc.c (systrim): If extra is zero then return
12183 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12185 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12187 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
12189 * sysdeps/aarch64/strchr.S: New file.
12191 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12194 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12195 from arguments -2 or below.
12196 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12197 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12199 2014-06-18 Andreas Schwab <schwab@suse.de>
12202 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12203 of a bracket expr not to run off the end of the string.
12204 * posix/Makefile (tests): Add tst-fnmatch3.
12205 * posix/tst-fnmatch3.c: New file.
12207 2014-06-18 Joseph Myers <joseph@codesourcery.com>
12209 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12210 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12211 [$(cross-compiling) = no]: Likewise.
12212 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12213 [$(cross-compiling) = no]: Likewise.
12215 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12218 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12219 double, adjusted for any remainder from the high double.
12220 * math/libm-test.inc (nearbyint): Add tests.
12223 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12225 * nptl/sysdeps/powerpc/Makefile: Moved ...
12226 * sysdeps/powerpc/nptl/Makefile: ... here.
12227 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12228 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12229 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12230 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12231 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12232 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12233 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12234 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12235 * nptl/sysdeps/powerpc/tls.h: Moved ...
12236 * sysdeps/powerpc/nptl/tls.h: ... here.
12238 2014-06-16 Joseph Myers <joseph@codesourcery.com>
12241 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12242 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12243 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12244 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12245 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12246 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12247 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12248 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12249 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12251 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12253 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12255 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12257 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12260 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12263 2014-06-16 Florian Weimer <fweimer@redhat.com>
12266 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12267 non-executed part of the test.
12269 2014-06-16 Andreas Schwab <schwab@suse.de>
12271 * string/bits/string2.h (strdup, strndup): Update feature guard.
12273 2014-06-14 David S. Miller <davem@davemloft.net>
12275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12277 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12279 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12280 that was previously under [RESET_PID].
12281 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12283 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12284 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12285 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12286 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12287 (__libc_vfork): New strong alias.
12288 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12290 2014-06-14 Andi Kleen <ak@linux.intel.com>
12292 * sysdeps/generic/elide.h: New file.
12294 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12296 * Makefile (installed-headers): Adjust path of pthread.h header.
12298 2014-06-13 Roland McGrath <roland@hack.frob.com>
12300 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12301 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12302 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12303 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12305 * nptl/sysdeps/s390/Makefile: Moved ...
12306 * sysdeps/s390/nptl/Makefile: ... here.
12307 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12308 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12309 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12310 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12311 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12312 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12313 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12314 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12315 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12316 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12317 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12318 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12319 * nptl/sysdeps/s390/tls.h: Moved ...
12320 * sysdeps/s390/nptl/tls.h: ... here.
12322 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12323 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12325 2014-06-13 David S. Miller <davem@davemloft.net>
12327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12329 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12330 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12334 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12335 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12336 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12337 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12338 Remove RESET_PID cpp guards.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12340 Remove RESET_PID cpp guards.
12341 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12343 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12345 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12348 2014-06-13 Andi Kleen <ak@linux.intel.com>
12350 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12351 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12352 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12353 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12355 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12356 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12357 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12358 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12361 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12363 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12365 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12367 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12368 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12371 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12372 (pthread_rwlock_rdlock): Add elision.
12373 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12374 (pthread_rwlock_wrlock): Add elision.
12375 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12376 (pthread_rwlock_trywrlock): Add elision.
12377 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12378 (pthread_rwlock_tryrdlock): Add elision.
12379 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12380 (pthread_rwlock_tryrdlock): Add elision unlock.
12381 * nptl/sysdeps/pthread/pthread.h:
12382 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12383 (PTHREAD_RWLOCK_INITIALIZER,
12384 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12385 Handle new elision field.
12386 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12387 * sysdeps/arm/nptl/bits/pthreadtypes.h
12388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12389 * sysdeps/sh/nptl/bits/pthreadtypes.h
12390 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12391 * sysdeps/tile/nptl/bits/pthreadtypes.h
12392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12393 * sysdeps/a/nptl/bits/pthreadtypes.h
12394 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12395 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12396 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12397 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12398 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12399 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12400 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12401 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12402 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12403 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12405 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12406 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12407 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12409 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12411 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12412 (elision_init): Set try_xbegin to zero when no RTM.
12413 * sysdeps/x86/nptl/bits/pthreadtypes.h
12414 (pthread_rwlock_t): Change __pad1 to __rwelision.
12415 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12417 2014-06-13 Andi Kleen <ak@linux.intel.com>
12419 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12420 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12421 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12422 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12424 2014-06-13 Meador Inge <meadori@codesourcery.com>
12427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12428 that the cached result has been set before returning it.
12430 2014-06-12 Roland McGrath <roland@hack.frob.com>
12432 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12433 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12435 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12436 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12437 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12439 * nptl/sysdeps/sparc/Makefile: Moved ...
12440 * sysdeps/sparc/nptl/Makefile: ... here.
12441 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12442 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12443 * nptl/sysdeps/sparc/tls.h: Moved ...
12444 * sysdeps/sparc/nptl/tls.h: ... here.
12445 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12446 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12447 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12448 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12449 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12450 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12451 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12452 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12453 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12454 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12455 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12456 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12457 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12458 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12459 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12460 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12461 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12462 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12464 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12465 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12467 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12468 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12470 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12471 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12474 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12476 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12477 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12479 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12480 (struct list_links): Type removed.
12481 (struct thread_node, struct timer_node): Replace struct list_links
12482 with struct list_head.
12483 (list_unlink_ip): Likewise.
12484 * sysdeps/pthread/timer_routines.c
12485 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12486 (list_append, list_insbefore): Likewise.
12487 (list_init): Function removed.
12488 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12489 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12490 * sysdeps/pthread/Makefile: ... here, new file.
12492 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12493 * sysdeps/nptl/Implies: ... here.
12494 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12495 * nptl/sysdeps/pthread/list.h: Moved ...
12496 * include/list.h: ... here.
12497 * nptl/sysdeps/pthread/createthread.c: Moved ...
12498 * nptl/createthread.c: ... here.
12499 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12500 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12501 * nptl/pt-longjmp.c: ... here.
12502 * nptl/sysdeps/pthread/Makefile: Moved ...
12503 * sysdeps/nptl/Makefile: ... here.
12504 * nptl/sysdeps/pthread/Subdirs: Moved ...
12505 * sysdeps/nptl/Subdirs: ... here.
12506 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12507 * sysdeps/nptl/aio_misc.h: ... here.
12508 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12509 * sysdeps/nptl/bits/libc-lock.h: ... here.
12510 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12511 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12512 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12513 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12514 * nptl/sysdeps/pthread/configure: Moved ...
12515 * sysdeps/nptl/configure: ... here.
12516 * nptl/sysdeps/pthread/configure.ac: Moved ...
12517 * sysdeps/nptl/configure.ac: ... here.
12518 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12519 * sysdeps/nptl/gai_misc.h: ... here.
12520 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12521 * sysdeps/nptl/librt-cancellation.c: ... here.
12522 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12523 * sysdeps/nptl/malloc-machine.h: ... here.
12524 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12525 * sysdeps/nptl/pthread-functions.h: ... here.
12526 * nptl/sysdeps/pthread/pthread.h: Moved ...
12527 * sysdeps/nptl/pthread.h: ... here.
12528 * nptl/sysdeps/pthread/setxid.h: Moved ...
12529 * sysdeps/nptl/setxid.h: ... here.
12530 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12531 * sysdeps/nptl/sigfillset.c: ... here.
12532 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12533 * sysdeps/nptl/tcb-offsets.h: ... here.
12534 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12535 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12536 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12537 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12538 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12539 * sysdeps/pthread/allocalim.h: ... here.
12540 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12541 * sysdeps/pthread/bits/sigthread.h: ... here.
12542 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12543 * sysdeps/pthread/flockfile.c: ... here.
12544 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12545 * sysdeps/pthread/ftrylockfile.c: ... here.
12546 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12547 * sysdeps/pthread/funlockfile.c: ... here.
12548 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12549 * sysdeps/pthread/posix-timer.h: ... here.
12550 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12551 * sysdeps/pthread/timer_create.c: ... here.
12552 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12553 * sysdeps/pthread/timer_delete.c: ... here.
12554 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12555 * sysdeps/pthread/timer_getoverr.c: ... here.
12556 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12557 * sysdeps/pthread/timer_gettime.c: ... here.
12558 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12559 * sysdeps/pthread/timer_routines.c: ... here.
12560 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12561 * sysdeps/pthread/timer_settime.c: ... here.
12562 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12563 * sysdeps/pthread/tst-timer.c: ... here.
12564 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12565 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12567 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12568 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12570 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12571 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12572 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12573 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12574 Update #include target.
12575 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12576 * sysdeps/i386/i686/nptl/Makefile: ... here.
12577 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12578 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12579 Update #include target.
12580 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12581 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12582 * nptl/sysdeps/i386/Makefile: Moved ...
12583 * sysdeps/i386/nptl/Makefile: ... here.
12584 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12585 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12586 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12587 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12588 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12589 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12590 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12591 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12592 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12593 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12594 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12595 * nptl/sysdeps/i386/tls.h: Moved ...
12596 * sysdeps/i386/nptl/tls.h: ... here.
12598 * sysdeps/sh/Makefile [$(subdir) = csu]
12599 (gen-as-const-headers): Add tcb-offsets.sym.
12600 * nptl/sysdeps/sh/Makefile: File removed.
12601 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12602 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12603 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12604 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12605 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12606 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12607 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12608 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12609 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12610 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12611 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12612 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12613 * nptl/sysdeps/sh/tls.h: Moved ...
12614 * sysdeps/sh/nptl/tls.h: ... here.
12615 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12616 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12618 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12620 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12621 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12622 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12623 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12624 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12625 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12626 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12627 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12628 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12629 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12630 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12631 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12632 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12634 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12636 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12637 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12638 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12639 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12641 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12642 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12644 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12645 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12646 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12647 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12649 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12650 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12651 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12652 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12653 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12654 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12655 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12656 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12657 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12658 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12659 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12660 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12661 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12662 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12664 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12666 * posix/spawn_faction_addopen.c: Include string.h.
12668 2014-06-11 Roland McGrath <roland@hack.frob.com>
12670 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12671 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12672 * nptl/sysdeps/x86_64/Makefile: Moved ...
12673 * sysdeps/x86_64/nptl/Makefile: ... here.
12674 * nptl/sysdeps/x86_64/configure: Moved ...
12675 * sysdeps/x86_64/nptl/configure: ... here.
12676 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12677 * sysdeps/x86_64/nptl/configure.ac: ... here.
12678 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12679 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12680 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12681 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12682 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12683 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12684 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12685 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12686 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12687 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12688 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12689 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12690 * nptl/sysdeps/x86_64/tls.h: Moved ...
12691 * sysdeps/x86_64/nptl/tls.h: ... here.
12692 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12693 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12694 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12695 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12697 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12699 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12703 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12705 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12707 [POSIX] (off_t): Likewise.
12708 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12709 [POSIX] (S_ISBLK): Require macro.
12710 [POSIX] (S_ISCHR): Likewise.
12711 [POSIX] (S_ISDIR): Likewise.
12712 [POSIX] (S_ISFIFO): Likewise.
12713 [POSIX] (S_ISREG): Likewise.
12714 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12716 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12718 [POSIX] (time_t): Likewise.
12719 [POSIX] (timer_t): Likewise.
12721 2014-06-11 Florian Weimer <fweimer@redhat.com>
12724 * posix/spawn_int.h (struct __spawn_action): Make the path string
12725 non-const to support deallocation.
12726 * posix/spawn_faction_addopen.c
12727 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12728 * posix/spawn_faction_destroy.c
12729 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12730 path in all spawn_do_open actions.
12731 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12732 posix_spawn_file_actions_addopen.
12734 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12736 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12737 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12738 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12739 conditional code always true.
12740 (__libc_vfork): New alias.
12742 2014-06-11 Roland McGrath <roland@hack.frob.com>
12744 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12745 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12747 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12749 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12750 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12752 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12753 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12755 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12756 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12758 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12760 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12761 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12762 multiarch strcmp for PPC64.
12763 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12764 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12766 multiarch optimizations.
12767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12768 (__libc_ifunc_impl_list): Likewise.
12770 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12772 * benchtests/scripts/validate_benchout.py: New script.
12773 * benchtests/Makefile (bench-func): Call it.
12774 * benchtests/scripts/benchout.schema.json: New file.
12776 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12778 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12779 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12780 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12781 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12782 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12783 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12784 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12785 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12786 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12787 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12788 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12789 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12790 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12791 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12792 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12793 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12814 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12898 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12899 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12900 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12903 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12906 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12908 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12910 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12912 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12919 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12922 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12927 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12929 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12931 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12932 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12933 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12935 2014-06-10 Wilco <wdijkstr@arm.com>
12937 * math/test-fenv-return.c: New file.
12938 * math/Makefile: Add new test test-fenv-return.
12940 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12943 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12944 when x - 1 is zero.
12945 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12946 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12947 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12948 0.0L for an argument of 1.0L.
12949 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12951 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12952 value when x - 1 is zero.
12953 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12954 * sysdeps/i386/fpu/libm-test-ulps: Update.
12955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12957 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12960 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12962 2014-06-09 Roland McGrath <roland@hack.frob.com>
12964 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12965 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12967 2014-06-09 Roland McGrath <roland@hack.frob.com>
12969 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12970 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12972 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12973 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12975 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12976 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12978 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12979 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12981 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12982 if not already defined.
12983 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12984 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12985 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12986 (TLS_INIT_TP): Use it.
12987 (TLS_DEFINE_INIT_TP): New macro.
12988 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12990 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12992 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12994 [POSIX] (IXANY): Likewise.
12995 [POSIX] (OLCUC): Likewise.
12996 [POSIX || POSIX2008] (CBAUD): Do not allow.
12997 [POSIX || POSIX2008] (DEFECHO): Likewise.
12998 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12999 [POSIX || POSIX2008] (ECHOKE): Likewise.
13000 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13001 [POSIX || POSIX2008] (EXTA): Likewise.
13002 [POSIX || POSIX2008] (EXTB): Likewise.
13003 [POSIX || POSIX2008] (FLUSHO): Likewise.
13004 [POSIX || POSIX2008] (LOBLK): Likewise.
13005 [POSIX || POSIX2008] (PENDIN): Likewise.
13006 [POSIX || POSIX2008] (SWTCH): Likewise.
13007 [POSIX || POSIX2008] (VDISCARD): Likewise.
13008 [POSIX || POSIX2008] (VDSUSP): Likewise.
13009 [POSIX || POSIX2008] (VLNEXT): Likewise.
13010 [POSIX || POSIX2008] (VREPRINT): Likewise.
13011 [POSIX || POSIX2008] (VSTATUS): Likewise.
13012 [POSIX || POSIX2008] (VWERASE): Likewise.
13013 (B*): Change to B[0123456789]*.
13014 * conform/data/time.h-data [POSIX || UNIX98]
13015 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13016 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13017 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13018 [POSIX] (tm_*): Do not allow.
13020 2014-06-07 Joseph Myers <joseph@codesourcery.com>
13022 * Makefile (install): Don't set LANGUAGE.
13023 * Makefile.in (install): Likewise.
13024 * assert/Makefile (test-assert-ENV): Remove variable.
13025 (test-assert-perr-ENV): Likewise.
13026 * elf/Makefile (neededtest4-ENV): Likewise.
13027 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13028 [$(cross-compiling) = no]: Don't set LANGUAGE.
13029 * io/ftwtest-sh (LANG): Remove variable.
13030 * libio/Makefile (tst-widetext-ENV): Likewise.
13031 * manual/install.texi (Running make install): Don't refer to
13032 environment settings for make install.
13033 * INSTALL: Regenerated.
13034 * nptl/tst-tls6.sh: Don't set LANG.
13035 * posix/globtest.sh (LANG): Remove variable.
13036 * string/Makefile (tester-ENV): Likewise.
13037 (inl-tester-ENV): Likewise.
13038 (noinl-tester-ENV): Likewise.
13039 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13040 [$(cross-compiling) = no]: Don't set LANGUAGE.
13041 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13042 without explicit environment settings.
13044 2014-06-06 Roland McGrath <roland@hack.frob.com>
13046 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13047 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13048 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13049 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13051 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13053 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13054 other files in the crypt directory.
13055 * crypt/crypt.c: Remove duplicate includes.
13056 * crypt/crypt-entry.c: Likewise.
13057 * crypt/crypt_util.c: Likewise.
13059 2014-06-06 Joseph Myers <joseph@codesourcery.com>
13061 * Makeconfig (run-program-env): New variable.
13062 (run-program-prefix-before-env): Likewise.
13063 (run-program-prefix-after-env): Likewise.
13064 (run-program-prefix): Define in terms of new variables.
13065 (built-program-cmd-before-env): New variable.
13066 (built-program-cmd-after-env): Likewise.
13067 (built-program-cmd): Define in terms of new variables.
13068 (test-program-prefix-before-env): New variable.
13069 (test-program-prefix-after-env): Likewise.
13070 (test-program-prefix): Define in terms of new variables.
13071 (test-program-cmd-before-env): New variable.
13072 (test-program-cmd-after-env): Likewise.
13073 (test-program-cmd): Define in terms of new variables.
13074 * Rules (make-test-out): Use $(run-program-env).
13075 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13076 (help): Do not mention environment variables. Mention
13077 --timeoutfactor option.
13078 (timeoutfactor): New variable.
13079 (blacklist_exports): Remove function.
13080 (exports): Remove variable.
13081 (command): Do not include ${exports}.
13082 * manual/install.texi (Configuring and compiling): Do not mention
13083 test wrappers preserving environment variables. Mention that last
13084 assignment to a variable must take precedence.
13085 * INSTALL: Regenerated.
13086 * benchtests/Makefile (run-bench): Use $(run-program-env).
13087 * catgets/Makefile ($(objpfx)test1.cat): Use
13088 $(built-program-cmd-before-env), $(run-program-env) and
13089 $(built-program-cmd-after-env).
13090 ($(objpfx)test2.cat): Do not specify environment variables
13092 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13093 $(run-program-env) and $(built-program-cmd-after-env).
13094 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13095 $(run-program-env) and $(test-program-cmd-after-env).
13096 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13098 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13099 run_program_env and test_program_cmd_after_env arguments.
13100 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13101 * elf/tst-pathopt.sh: Use run_program_env argument.
13102 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13103 $(test-wrapper-env) and $(run-program-env).
13104 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13105 run_program_env arguments.
13106 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13107 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13108 $(test-program-prefix-before-env), $(run-program-env) and
13109 $(test-program-prefix-after-env).
13110 ($(objpfx)tst-gettext2.out): Likewise.
13111 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13112 run_program_env and test_program_prefix_after_env arguments.
13113 * intl/tst-gettext2.sh: Likewise.
13114 * intl/tst-gettext4.sh: Do not set environment variables
13116 * intl/tst-gettext6.sh: Likewise.
13117 * intl/tst-translit.sh: Likewise.
13118 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13119 $(test-program-prefix-before-env), $(run-program-env) and
13120 $(test-program-prefix-after-env).
13121 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13122 run_program_env and test_program_prefix_after_env arguments.
13123 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13124 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13125 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13126 explicitly with each use of ${test_wrapper_env}.
13127 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13128 $(test-program-prefix-before-env), $(run-program-env) and
13129 $(test-program-prefix-after-env).
13130 * posix/tst-getconf.sh: Do not set environment variables
13132 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13133 run_program_env and test_program_prefix_after_env arguments.
13134 * stdio-common/tst-printf.sh: Do not set environment variables
13136 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13137 $(test-program-prefix-before-env), $(run-program-env) and
13138 $(test-program-prefix-after-env).
13139 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13140 run_program_env and test_program_prefix_after_env arguments.
13141 Split $test calls into $test_pre and $test.
13142 * timezone/Makefile (build-testdata): Use
13143 $(built-program-cmd-before-env), $(run-program-env) and
13144 $(built-program-cmd-after-env).
13146 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13148 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13149 strlen for non SHARED builds.
13151 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13153 * nptl/allocatestack.c (check_list): Inlined function...
13154 (__reclaim_stacks): ... here.
13156 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13159 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13162 2014-06-05 Joseph Myers <joseph@codesourcery.com>
13164 * Rules (make-test-out): Include
13165 LOCPATH=$(common-objpfx)localedata in default environment.
13166 * debug/Makefile (tst-chk1-ENV): Remove variable.
13167 (tst-chk2-ENV): Likewise.
13168 (tst-chk3-ENV): Likewise.
13169 (tst-chk4-ENV): Likewise.
13170 (tst-chk5-ENV): Likewise.
13171 (tst-chk6-ENV): Likewise.
13172 (tst-lfschk1-ENV): Likewise.
13173 (tst-lfschk2-ENV): Likewise.
13174 (tst-lfschk3-ENV): Likewise.
13175 (tst-lfschk4-ENV): Likewise.
13176 (tst-lfschk5-ENV): Likewise.
13177 (tst-lfschk6-ENV): Likewise.
13178 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13179 (tst-iconv7-ENV): Likewise.
13180 * intl/Makefile (LOCPATH-ENV): Likewise.
13181 (tst-codeset-ENV): Likewise.
13182 (tst-gettext3-ENV): Likewise.
13183 (tst-gettext5-ENV): Likewise.
13184 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13185 (tst-fopenloc-ENV): Likewise.
13186 (tst-fgetws-ENV): Remove variable.
13187 (tst-ungetwc1-ENV): Likewise.
13188 (tst-ungetwc2-ENV): Likewise.
13189 (bug-ungetwc2-ENV): Likewise.
13190 (tst-swscanf-ENV): Likewise.
13191 (bug-ftell-ENV): Likewise.
13192 (tst-fgetwc-ENV): Likewise.
13193 (tst-fseek-ENV): Likewise.
13194 (tst-ftell-partial-wide-ENV): Likewise.
13195 (tst-ftell-active-handler-ENV): Likewise.
13196 (tst-ftell-append-ENV): Likewise.
13197 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13198 (tst-regexloc-ENV): Likewise.
13199 (bug-regex1-ENV): Likewise.
13200 (tst-regex-ENV): Likewise.
13201 (tst-regex2-ENV): Likewise.
13202 (bug-regex5-ENV): Likewise.
13203 (bug-regex6-ENV): Likewise.
13204 (bug-regex17-ENV): Likewise.
13205 (bug-regex18-ENV): Likewise.
13206 (bug-regex19-ENV): Likewise.
13207 (bug-regex20-ENV): Likewise.
13208 (bug-regex22-ENV): Likewise.
13209 (bug-regex23-ENV): Likewise.
13210 (bug-regex25-ENV): Likewise.
13211 (bug-regex26-ENV): Likewise.
13212 (bug-regex30-ENV): Likewise.
13213 (bug-regex32-ENV): Likewise.
13214 (bug-regex33-ENV): Likewise.
13215 (bug-regex34-ENV): Likewise.
13216 (bug-regex35-ENV): Likewise.
13217 (tst-rxspencer-ENV): Likewise.
13218 (tst-rxspencer-no-utf8-ENV): Likewise.
13219 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13220 (tst-sscanf-ENV): Likewise.
13221 (tst-swprintf-ENV): Likewise.
13222 (tst-swscanf-ENV): Likewise.
13223 (test-vfprintf-ENV): Likewise.
13224 (scanf13-ENV): Likewise.
13225 (bug14-ENV): Likewise.
13226 (tst-grouping-ENV): Likewise.
13227 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13228 (tst-strtod3-ENV): Likewise.
13229 (tst-strtod4-ENV): Likewise.
13230 (tst-strtod5-ENV): Likewise.
13231 (testmb2-ENV): Likewise./
13232 * string/Makefile (tst-strxfrm-ENV): Likewise.
13233 (tst-strxfrm2-ENV): Likewise.
13234 (bug-strcoll1-ENV): Likewise.
13235 (test-strcasecmp-ENV): Likewise.
13236 (test-strncasecmp-ENV): Likewise.
13237 * time/Makefile (tst-strptime-ENV): Likewise.
13238 (tst-ftime_l-ENV): Likewise.
13239 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13240 (tst-mbrtowc-ENV): Likewise.
13241 (tst-wcrtomb-ENV): Likewise.
13242 (tst-mbrtowc2-ENV): Likewise.
13243 (tst-c16c32-1-ENV): Likewise.
13244 (tst-mbsnrtowcs-ENV): Likewise.
13246 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
13248 * manual/resource.texi (How to get information about the memory
13249 subsystem?): Fix typo.
13250 Reported by Peon de la Parra Ivan <peon@keba.com>
13252 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13255 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13256 (pthread_spin_lock): Branch out of spin loop to proper location.
13257 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13258 (pthread_spin_lock): Likewise.
13260 * nptl/tst-spin4.c: New test.
13261 * nptl/Makefile (tests): Add tst-spin4.
13263 2014-06-03 Andreas Schwab <schwab@suse.de>
13266 * resolv/res_send.c (send_dg): Reload file descriptor after
13269 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13271 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13273 2014-06-03 Richard Henderson <rth@redhat.com>
13275 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13276 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13277 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13278 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13279 in the SAVE_PID block.
13280 (__libc_vfork): New alias.
13281 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13283 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13284 child in registers, not on the stack. Remove RESET_PID conditionals.
13285 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13287 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13289 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13291 2014-06-03 Wilco <wdijkstr@arm.com>
13293 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13294 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13295 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13296 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13297 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13300 2014-06-03 Wilco <wdijkstr@arm.com>
13302 * sysdeps/aarch64/fpu/math_private.h
13303 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13304 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13305 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13306 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13309 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13311 * crypt/crypt-private.h: Include ufc-crypt.h.
13312 (__b64_from_24bit): Declare extern.
13313 * crypt/crypt_util.c(__b64_from_24bit): New function.
13314 (b64t): New static const variable.
13315 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13316 (b64t): Remove variable.
13317 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13318 * crypt/sha256-crypt.c: Include crypt-private.h.
13319 (b64t): Remove variable.
13320 (__sha256_crypt_r): Remove b64_from_24bit and replace
13321 with __b64_from_24bit.
13322 * crypt/sha512-crypt.c: Likewise.
13324 2014-06-02 Roland McGrath <roland@hack.frob.com>
13326 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13327 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13328 Label the code __libc_vfork rather than __vfork.
13329 [!NOT_IN_libc] (vfork): Define as weak alias.
13330 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13331 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13332 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13334 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13336 * malloc/malloc.c (malloc_info): Fix format specifier for
13339 2014-06-02 Wilco <wdijkstr@arm.com>
13341 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13344 2014-06-02 Wilco <wdijkstr@arm.com>
13347 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13348 Rewrite to reduce FPCR/FPSR accesses.
13350 2014-06-01 David S. Miller <davem@davemloft.net>
13352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13354 2014-05-31 David S. Miller <davem@davemloft.net>
13356 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13357 to occur in round to nearest mode when |x| >= 2.0
13359 2014-05-30 Richard Henderson <rth@twiddle.net>
13361 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13362 (PSEUDO_RET_NOERRNO): Remove.
13363 (ret): Don't redefine.
13364 (ret_NOERRNO): Define in terms of ret.
13365 (ret_ERRVAL): Likewise.
13367 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13368 use of PSEUDO_RET; perform the error check directly.
13370 2014-05-30 Marko Myllynen <myllynen@redhat.com>
13372 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13375 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13377 * malloc/malloc (malloc_info): Fix formatting.
13379 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13380 Roland McGrath <roland@hack.frob.com>
13382 * malloc/malloc (malloc_info): Also print mmapped statistics.
13384 2014-05-30 Roland McGrath <roland@hack.frob.com>
13386 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13387 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13389 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
13391 * malloc/malloc.c (malloc_info): Inline mi_arena.
13393 2014-05-29 Richard Henderson <rth@twiddle.net>
13395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13396 Remove comma before expanding ASM_ARGS_##nr.
13397 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13398 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13400 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13401 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13402 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13403 (ASM_ARGS_1): Add leading comma.
13405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13406 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13407 to __errno_location.
13408 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13409 Remove the expected plt for __errno_location.
13411 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13412 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
13415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13416 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13417 it and break it down.
13418 (DOCARGS_0, DOCARGS_1): Do nothing.
13419 (DOCARGS_2): Update to store into the new stack frame.
13420 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13421 (UNDOCARGS_1): Update to restore from the new stack frame.
13422 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13423 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13425 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13426 (SINGLE_THREAD_P): New parameter for result regno.
13427 (PSEUDO): Update to match; use cbz instead of beq.
13429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13430 Use ENTRY to define the _nocancel entry point. Share the syscall
13431 and syscall error check paths with the cancel path.
13434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13435 whitespace; tabs before and after asm mnemonics.
13437 2014-05-29 Eric Wong <normalperson@yhbt.net>
13440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13441 Call fstat64 or stat64 internally, depending on arguments passed.
13442 Replace stat buffer argument with file descriptor argument.
13443 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13444 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13445 Pass fd to __internal_statvfs instead of calling fstat64.
13446 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13447 Pass fd to __internal_statvfs64 instead of calling fstat64.
13448 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13449 Pass -1 to __internal_statvfs instead of calling stat64.
13450 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13451 Pass -1 to __internal_statvfs64 instead of calling stat64.
13453 2014-05-28 Roland McGrath <roland@hack.frob.com>
13455 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13456 that was previously under [RESET_PID].
13457 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13459 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13460 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13462 2014-05-27 Roland McGrath <roland@hack.frob.com>
13464 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13466 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13467 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13469 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13471 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13473 2014-05-27 Andreas Schwab <schwab@suse.de>
13475 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13477 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13478 * elf/rtld.c (init_tls, dl_main): Likewise.
13479 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13480 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13481 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13482 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13483 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13484 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13485 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13486 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13487 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13488 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13489 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13490 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13491 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13492 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13493 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13494 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13495 * sysdeps/generic/tls.h: Update description.
13497 2014-05-27 Will Newton <will.newton@linaro.org>
13500 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13501 and restore r2 rather than just restoring.
13503 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13506 * libio/tst-ftell-append.c: New test case.
13507 * libio/Makefile (tests): Add test case.
13508 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13510 * libio/wfileops.c (do_ftell_wide): Likewise.
13512 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13516 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13520 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13521 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13522 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13523 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13524 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13525 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13533 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13534 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13535 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13538 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13541 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13543 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13545 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13547 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13549 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13550 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13551 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13552 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13575 conditional [RESET_PID].
13576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13584 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13585 (__libc_vfork): New strong alias.
13586 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13593 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13594 (__libc_vfork): New strong alias.
13595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13600 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13602 * malloc/malloc.c (mi_arena): New function.
13603 (malloc_info): Remove nested function mi_arena. Call non-nosted
13606 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13608 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13610 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13611 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13612 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13613 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13615 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13618 2014-05-26 Andreas Schwab <schwab@suse.de>
13621 * locale/programs/repertoire.c (repertoire_read): Add slash
13622 between I18NPATH element and file name.
13623 * locale/programs/locfile.c (locfile_read): Likewise.
13625 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13627 * nptl/pthread_mutexattr_settype.c
13628 (__pthread_mutexattr_settype):
13629 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13631 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13633 * nptl/tst-mutex5 (do_test):
13634 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13636 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13638 * benchtests/README: Document 'init' directive.
13639 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13641 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13642 (parse_file): Recognize 'init' directive.
13644 2014-05-26 Kyle McMartin <kyle@redhat.com>
13647 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13648 alignment of struct pthread.
13650 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13653 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13654 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13655 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13656 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13658 2014-05-25 Richard Henderson <rth@twiddle.net>
13660 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13661 (SINGLE_THREAD_P_PIC): Remove.
13662 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13663 (SINGLE_THREAD_P_PIC): Remove.
13665 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13666 branch to syscall error ...
13667 (PSEUDO): ... here.
13668 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13669 from __local_syscall_error to .Lsyscall_error.
13670 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13671 (SYSCALL_ERROR): Update label name.
13673 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13674 Do not use DOARGS/UNDOARGS.
13675 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13676 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13677 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13678 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13679 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13684 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13685 define if !NOT_IN_libc.
13686 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13687 define with non-default symbol versions.
13689 2014-05-23 Richard Henderson <rth@twiddle.net>
13691 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13692 (vfork, __vfork): Define via compat_symbol.
13694 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13695 [!HAVE_IFUNC] (vfork_compat): Remove.
13696 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13698 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13701 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13702 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13705 2014-05-23 Richard Henderson <rth@twiddle.net>
13707 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13708 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13709 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13710 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13712 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13713 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13714 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13715 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13716 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13717 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13718 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13719 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13720 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13721 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13722 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13723 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13724 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13725 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13726 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13727 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13728 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13729 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13730 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13732 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13733 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13734 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13735 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13736 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13737 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13738 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13739 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13740 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13741 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13742 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13743 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13744 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13745 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13746 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13747 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13748 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13749 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13750 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13751 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13752 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13753 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13754 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13755 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13756 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13757 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13758 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13759 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13761 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13763 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13764 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13765 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13766 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13767 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13769 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13770 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13771 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13772 before exiting on error.
13773 (__libc_vfork): New strong alias.
13774 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13775 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13777 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13778 that was previously under [RESET_PID].
13779 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13781 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13783 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13786 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13787 value when x - 1 is zero.
13788 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13789 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13790 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13791 0.0L for an argument of 1.0L.
13792 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13794 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13795 value when x - 1 is zero.
13796 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13797 * sysdeps/i386/fpu/libm-test-ulps: Update.
13798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13800 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13802 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13803 alphasort and versionsort.
13805 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13807 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13809 [copysignf]: Likewise.
13811 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13813 * crypt/md5-crypt.c: Fix formatting.
13815 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13817 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13818 (b64_from_24bit): New function.
13820 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13822 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13823 libc_hidden_builtin_def to ifunc.
13824 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13825 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13827 2014-05-21 Roland McGrath <roland@hack.frob.com>
13829 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13830 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13832 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13834 * nscd/Depend (linuxthreads): Remove.
13836 * resolv/Depend (linuxthreads): Remove.
13837 * rt/Depend (linuxthreads): Remove.
13839 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13840 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13841 $(common-objpfx)elf/.
13842 (link-libc-before-gnulib): Likewise.
13843 (elfobjdir): Remove variable.
13844 * Makefile (install): Use $(elf-objpfx) instead of
13845 $(common-objpfx)elf/.
13846 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13848 (link-libc-deps): Likewise.
13849 ($(common-objpfx)libc.so): Likewise.
13850 ($(common-objpfx)linkobj/libc.so): Likewise.
13851 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13852 instead of $(common-objpfx)elf/.
13853 (symbolic-link-list): Likewise.
13854 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13855 [$(cross-compiling) = no]: Likewise.
13856 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13858 (static-gnulib-arch): Likewise.
13859 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13860 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13861 $(common-objpfx)elf/.
13863 2014-05-21 Richard Henderson <rth@redhat.com>
13865 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13866 (SINGLE_THREAD_P): Use the correct width load. Fold
13867 into the ldr offset.
13869 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13870 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13872 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13874 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13875 (libgcc_s_resume): Use __attribute_used__.
13876 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13879 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13881 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13882 optimization when used with float constants.
13884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13886 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13889 * locale/nl_langinfo_l.c: Make direct reference to every
13890 _nl_current_CATEGORY symbol.
13891 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13892 (tests-static): Add tst-langinfo-static.
13893 (tests-special): Add tst-langinfo-static.out.
13894 ($(objpfx)tst-langinfo.out): Redirect output.
13895 ($(objpfx)tst-langinfo-static.out): New.
13896 * localedata/tst-langinfo.sh: Send output to stdout.
13897 * localedata/tst-langinfo-static.c: New file.
13900 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13901 when the shift amount is modulo the limb size.
13903 2014-05-20 Richard Henderson <rth@redhat.com>
13906 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13907 Change type of sa_flags from unsigned int to int.
13910 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13912 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13914 2014-05-20 Will Newton <will.newton@linaro.org>
13916 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13917 Test the return value of the system call in the nocancel case.
13919 2014-05-20 Will Newton <will.newton@linaro.org>
13920 Yvan Roux <yvan.roux@linaro.org>
13922 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13923 #include of asm/ptrace.h.
13924 (PTRACE_GET_THREAD_AREA): Remove #undef.
13925 (PTRACE_GETHBPREGS): Likewise.
13926 (PTRACE_SETHBPREGS): Likewise.
13927 (struct user_regs_struct): New structure.
13928 (struct user_fpsimd_struct): New structure.
13929 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13930 #include of asm/ptrace.h and second #include of sys/user.h.
13931 (PTRACE_GET_THREAD_AREA): Remove #undef.
13932 (PTRACE_GETHBPREGS): Likewise.
13933 (PTRACE_SETHBPREGS): Likewise.
13934 (ELF_NGREG): Use new struct user_regs_struct.
13935 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13937 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13939 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13940 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13942 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13946 membar to avoid block loads/stores to overlap previous stores.
13948 2014-05-17 Richard Henderson <rth@redhat.com>
13950 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13951 Create the __##syscall_name##_nocancel entry point.
13952 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13953 Remove; let the sysdep-cancel.h code create it.
13955 2014-05-17 David S. Miller <davem@davemloft.net>
13957 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13958 Protect with __USE_GNU.
13959 (TIOCSET_TEMPT): Likewise.
13960 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13961 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13962 these are already provided in bits/ioctl-types.h
13964 2014-05-16 Roland McGrath <roland@hack.frob.com>
13966 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13967 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13969 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13970 Use wait4 regardless of [__NR_waitpid].
13972 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13975 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13976 (_FP_NANSIGN_Q): Set the quiet bit.
13978 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13980 * benchtests/Makefile
13981 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13982 not $(common-objpfx)math/libm.so.
13983 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13984 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13985 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13986 $(common-objpfx)dlfcn/libdl.so.
13987 ($(objpfx)tst-audit8): Depend on $(libm), not
13988 $(common-objpfx)math/libm.so.
13989 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13990 not $(common-objpfx)dlfcn/libdl.so.
13992 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13993 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13994 [$(build-shared) = yes].
13995 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13996 $(common-objpfx)nptl/libpthread.so.
13997 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13998 $(common-objpfx)math/libm.so$(libm.so-version) or
13999 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14000 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14001 $(common-objpfx)dlfcn/libdl.so.
14002 * setjmp/Makefile (link-libm): Remove variable.
14003 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14004 * stdio-common/Makefile (link-libm): Remove variable.
14005 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14006 * stdlib/Makefile (link-libm): Remove variable.
14007 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14008 ($(objpfx)tst-strtod-round): Likewise.
14009 ($(objpfx)tst-tininess): Likewise.
14010 ($(objpfx)tst-strtod-underflow): Likewise.
14011 ($(objpfx)tst-strtod6): Likewise.
14012 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14013 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14014 $(common-objpfx)dlfcn/libdl.so.
14016 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14018 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14019 BSD terminal modes definitions.
14021 2014-05-16 Roland McGrath <roland@hack.frob.com>
14023 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14024 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14026 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14027 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14028 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14029 Don't do #include_next.
14030 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14031 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14032 Don't do #include_next.
14033 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14034 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14035 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14036 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14038 2014-05-16 Allan McRae <allan@archlinux.org>
14040 * po/sv.po: Update Swedish translation from translation project.
14042 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14045 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14048 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14049 errno if the TIOCGPTN ioctl fails with an error different than
14051 * login/tst-ptsname.c: New file.
14052 * login/Makefile (tests): Add tst-ptsname.
14055 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14058 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14062 herrno to return EAI_AGAIN.
14064 2014-05-14 Roland McGrath <roland@hack.frob.com>
14066 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14067 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14068 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14069 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14070 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14071 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14072 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14073 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14074 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14075 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14076 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14077 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14078 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14079 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14080 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14081 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14082 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14083 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14084 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14085 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14086 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14087 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14088 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14089 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14090 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14091 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14092 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14093 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14094 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14095 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14097 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14099 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14102 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14104 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14106 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14108 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14110 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14112 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14114 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14116 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14118 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14120 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14122 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14124 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14126 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14128 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14131 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14133 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14135 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14137 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14139 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14141 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14143 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14145 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14147 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14149 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14152 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14154 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14156 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14157 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14158 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14159 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14160 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14161 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14162 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14163 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14164 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14165 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14166 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14167 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14168 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14169 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14170 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14171 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14172 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14173 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14174 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14175 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14176 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14177 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14178 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14179 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14180 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14181 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14182 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14183 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14184 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14185 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14186 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14188 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14189 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14191 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14192 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14193 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14194 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14195 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14196 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14198 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14204 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14205 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14207 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14208 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14209 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14212 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14213 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14214 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14215 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14216 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14217 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14218 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14221 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14222 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14226 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14227 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14228 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14229 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14232 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14237 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14238 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14239 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14240 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14241 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14243 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14249 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14250 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14252 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14253 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14254 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14257 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14258 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14259 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14260 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14261 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14262 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14263 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14266 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14267 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14269 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14271 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14272 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14273 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14274 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14277 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14282 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14283 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14284 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14285 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14287 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14288 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14289 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14290 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14292 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14293 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14295 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14296 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14298 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14301 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14302 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14303 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14304 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14305 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14308 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14309 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14310 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14312 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14313 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14314 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14317 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14322 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14323 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14325 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14326 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14328 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14334 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14336 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14338 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14339 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14340 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14341 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14342 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14344 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14345 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14347 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14348 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14350 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14351 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14352 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14353 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14354 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14355 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14356 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14357 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14358 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14359 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14360 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14361 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14362 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14363 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14364 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14366 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14369 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14371 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14374 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14375 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14376 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14377 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14378 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14380 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14383 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14386 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14387 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14388 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14389 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14392 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14393 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14394 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14395 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14396 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14397 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14398 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14399 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14400 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14401 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14402 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14404 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14405 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14406 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14407 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14408 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14410 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14411 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14412 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14413 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14414 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14415 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14416 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14417 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14418 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14419 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14422 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14424 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14425 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14426 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14427 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14428 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14429 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14430 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14431 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14432 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14433 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14434 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14435 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14436 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14437 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14440 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14450 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14459 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14460 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14461 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14468 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14470 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14471 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14472 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14475 that was previously under [RESET_PID].
14476 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14477 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14478 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14480 * sysdeps/i386/nptl/Implies: New file.
14481 * sysdeps/x86_64/nptl/Implies: New file.
14482 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14483 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14484 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14485 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14487 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14488 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14489 (__libc_vfork): New strong alias.
14490 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14491 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14493 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14494 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14495 (__libc_vfork): New strong alias.
14496 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14497 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14499 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14500 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14501 (__libc_vfork): New strong alias.
14502 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14503 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14504 * nptl/pt-vfork.c: New file.
14505 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14506 (libpthread: GLIBC_2.20): New version set (empty).
14508 2014-05-14 Will Newton <will.newton@linaro.org>
14510 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14513 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14516 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14517 arguments with exponent 65 or above.
14518 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14519 arguments 0x1p113L or above.
14520 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14521 to arguments 0x1p107L or above.
14522 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14523 positive arguments with exponent 65 or above.
14524 * math/auto-libm-test-in: Add more tests of log1p.
14525 * math/auto-libm-test-out: Regenerated.
14528 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14529 non-finite arguments is +0.
14530 * math/s_cacosf.c (__cacosf): Likewise.
14531 * math/s_cacosl.c (__cacosl): Likewise.
14532 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14533 * sysdeps/i386/fpu/libm-test-ulps: Update.
14534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14539 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14540 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14541 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14542 for explicit high bit of mantissa when testing for argument equal
14544 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14545 * sysdeps/i386/fpu/libm-test-ulps: Update.
14546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14549 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14550 (__erf): Scale by 16 instead of 8 in potentially underflowing
14551 case. Ensure exception if result actually underflows.
14552 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14553 (__erff): Scale by 16 instead of 8 in potentially underflowing
14554 case. Ensure exception if result actually underflows.
14555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14556 (efx8): Remove variable.
14557 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14558 case. Ensure exception if result actually underflows.
14559 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14560 (efx8): Remove variable.
14561 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14562 case. Ensure exception if result actually underflows.
14563 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14564 (efx8): Remove variable.
14565 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14566 case. Ensure exception if result actually underflows.
14567 * math/auto-libm-test-in: Add more tests of erf.
14568 * math/auto-libm-test-out: Regenerated.
14570 2014-05-14 Andreas Schwab <schwab@suse.de>
14572 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14573 Remove code conditionalized on USE___THREAD.
14575 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14576 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14579 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14581 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14582 Define unconditionally.
14583 (__ASSUME_O_CLOEXEC): Likewise.
14584 (__ASSUME_SOCK_CLOEXEC): Likewise.
14585 (__ASSUME_IN_NONBLOCK): Likewise.
14586 (__ASSUME_PIPE2): Likewise.
14587 (__ASSUME_EVENTFD2): Likewise.
14588 (__ASSUME_SIGNALFD4): Likewise.
14589 (__ASSUME_DUP3): Likewise.
14590 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14591 (__ASSUME_DUP3): Do not define.
14592 (__ASSUME_EVENTFD2): Likewise.
14593 (__ASSUME_IN_NONBLOCK): Likewise.
14594 (__ASSUME_O_CLOEXEC): Likewise.
14595 (__ASSUME_PIPE2): Likewise.
14596 (__ASSUME_SIGNALFD4): Likewise.
14597 (__ASSUME_SOCK_CLOEXEC): Likewise.
14598 (__ASSUME_UTIMES): Undefine.
14599 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14600 (__ASSUME_UTIMES): Do not define.
14601 (__ASSUME_O_CLOEXEC): Likewise.
14602 (__ASSUME_SOCK_CLOEXEC): Likewise.
14603 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14604 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14606 (__ASSUME_PIPE2): Likewise.
14607 (__ASSUME_EVENTFD2): Likewise.
14608 (__ASSUME_SIGNALFD4): Likewise.
14609 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14610 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14612 (__ASSUME_EVENTFD2): Likewise.
14613 (__ASSUME_SIGNALFD4): Likewise.
14614 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14615 (__ASSUME_32BITUIDS): Likewise.
14616 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14617 (__ASSUME_IPC64): Likewise.
14618 (__ASSUME_ST_INO_64_BIT): Likewise.
14619 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14620 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14621 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14622 (__ASSUME_UTIMES): Do not define.
14623 (__ASSUME_PSELECT): Likewise.
14624 (__ASSUME_PPOLL): Likewise.
14625 (__ASSUME_O_CLOEXEC): Likewise.
14626 (__ASSUME_SOCK_CLOEXEC): Likewise.
14627 (__ASSUME_IN_NONBLOCK): Likewise.
14628 (__ASSUME_PIPE2): Likewise.
14629 (__ASSUME_EVENTFD2): Likewise.
14630 (__ASSUME_SIGNALFD4): Likewise.
14631 (__ASSUME_DUP3): Likewise.
14632 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14633 (__ASSUME_UTIMES): Likewise.
14634 (__ASSUME_O_CLOEXEC): Likewise.
14635 (__ASSUME_SOCK_CLOEXEC): Likewise.
14636 (__ASSUME_IN_NONBLOCK): Likewise.
14637 (__ASSUME_PIPE2): Likewise.
14638 (__ASSUME_EVENTFD2): Likewise.
14639 (__ASSUME_SIGNALFD4): Likewise.
14640 (__ASSUME_DUP3): Likewise.
14641 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14642 (__ASSUME_UTIMES): Likewise.
14643 (__ASSUME_O_CLOEXEC): Likewise.
14644 (__ASSUME_SOCK_CLOEXEC): Likewise.
14645 (__ASSUME_IN_NONBLOCK): Likewise.
14646 (__ASSUME_PIPE2): Likewise.
14647 (__ASSUME_EVENTFD2): Likewise.
14648 (__ASSUME_SIGNALFD4): Likewise.
14649 (__ASSUME_DUP3): Likewise.
14650 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14652 (__ASSUME_UTIMES): Likewise.
14653 (__ASSUME_EVENTFD2): Likewise.
14654 (__ASSUME_SIGNALFD4): Likewise.
14655 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14656 (__ASSUME_O_CLOEXEC): Likewise.
14657 (__ASSUME_SOCK_CLOEXEC): Likewise.
14658 (__ASSUME_IN_NONBLOCK): Likewise.
14659 (__ASSUME_PIPE2): Likewise.
14660 (__ASSUME_EVENTFD2): Likewise.
14661 (__ASSUME_SIGNALFD4): Likewise.
14662 (__ASSUME_DUP3): Likewise.
14663 (__ASSUME_UTIMES): Undefine.
14665 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14666 feclearexcept. Remove symbol versioning code.
14667 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14668 symbol versioning code.
14669 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14670 symbol versioning code.
14671 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14672 feupdateenv. Remove symbol versioning code.
14673 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14674 fegetexceptflag. Remove symbol versioning code.
14675 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14676 fesetexceptflag. Remove symbol versioning code.
14677 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14678 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14679 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14680 (__posix_fadvise64_l32): Remove prototype.
14681 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14684 2014-05-13 Roland McGrath <roland@hack.frob.com>
14686 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14687 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14688 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14689 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14691 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14693 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14694 current working directory
14696 2014-05-13 Roland McGrath <roland@hack.frob.com>
14698 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14699 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14700 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14701 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14702 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14703 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14704 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14705 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14707 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14708 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14709 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14710 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14711 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14712 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14713 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14714 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14715 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14716 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14717 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14718 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14719 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14720 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14721 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14722 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14723 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14724 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14725 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14726 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14727 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14728 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14729 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14730 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14731 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14732 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14733 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14734 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14735 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14736 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14737 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14738 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14739 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14741 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14742 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14744 * sysdeps/unix/sysv/linux/arm/Makefile
14745 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14746 Add rt-aeabi_unwind_cpp_pr1.
14747 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14748 Add nptl-aeabi_unwind_cpp_pr1.
14749 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14750 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14751 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14752 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14753 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14754 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14756 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14757 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14758 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14759 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14761 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14762 Deconditionalize the code that was previously under [RESET_PID].
14763 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14765 * sysdeps/generic/exit-thread.h: New file.
14766 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14767 * include/unistd.h (__exit_thread): Remove declaration.
14768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14769 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14770 * csu/libc-start.c: Include <exit-thread.h>.
14771 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14772 * nptl/pthread_create.c: Include <exit-thread.h>.
14773 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14774 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14775 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14776 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14777 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14778 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14779 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14780 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14781 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14782 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14783 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14784 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14785 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14786 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14787 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14788 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14789 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14791 2014-05-13 Andreas Schwab <schwab@suse.de>
14793 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14795 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14797 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14798 (__ASSUME_UTIMES): Do not condition on kernel version.
14799 (__ASSUME_PSELECT): Define unconditionally.
14800 (__ASSUME_PPOLL): Likewise.
14801 (__ASSUME_ATFCTS): Likewise.
14802 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14803 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14804 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14805 (__ASSUME_UTIMENSAT): Define unconditionally.
14806 (__ASSUME_PRIVATE_FUTEX): Likewise.
14807 (__ASSUME_FALLOCATE): Likewise.
14808 (__ASSUME_O_CLOEXEC): Likewise.
14809 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14810 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14811 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14812 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14813 (__ASSUME_IN_NONBLOCK): Likewise.
14814 (__ASSUME_PIPE2): Likewise.
14815 (__ASSUME_EVENTFD2): Likewise.
14816 (__ASSUME_SIGNALFD4): Likewise.
14817 (__ASSUME_DUP3): Likewise.
14818 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14819 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14820 (__ASSUME_AT_RANDOM): Likewise.
14821 (__ASSUME_PREADV): Likewise.
14822 (__ASSUME_PWRITEV): Likewise.
14823 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14824 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14825 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14827 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14828 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14829 (__ASSUME_O_CLOEXEC): Define unconditionally.
14830 (__ASSUME_PSELECT): Do not undefine conditionally.
14831 (__ASSUME_PPOLL): Likewise.
14832 (__ASSUME_ATFCTS): Likewise.
14833 (__ASSUME_SET_ROBUST_LIST): Likewise.
14834 (__ASSUME_UTIMENSAT): Likewise.
14835 (__ASSUME_FDATASYNC): Define unconditionally.
14836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14837 (__ASSUME_SIGFRAME_V2): Likewise.
14838 )__ASSUME_EVENTFD2): Likewise.
14839 (__ASSUME_SIGNALFD4): Likewise.
14840 (__ASSUME_PSELECT): Do not undefine conditionally.
14841 (__ASSUME_PPOLL): Likewise.
14842 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14843 (__ASSUME_PSELECT): Define unconditionally.
14844 (__ASSUME_PPOLL): Likewise.
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 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14853 (__ASSUME_O_CLOEXEC): Likewise.
14854 (__ASSUME_SOCK_CLOEXEC): Likewise.
14855 (__ASSUME_IN_NONBLOCK): Likewise.
14856 (__ASSUME_PIPE2): Likewise.
14857 (__ASSUME_EVENTFD2): Likewise.
14858 (__ASSUME_SIGNALFD4): Likewise.
14859 (__ASSUME_DUP3): Likewise.
14860 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14861 (__ASSUME_EVENTFD2): Likewise.
14862 (__ASSUME_SIGNALFD4): Likewise.
14863 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14865 2014-05-12 Andreas Schwab <schwab@suse.de>
14868 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14869 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14870 than maximum RPC packet size.
14871 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14872 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14873 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14874 (_nss_nis_getservbyport_r): Likewise.
14876 2014-05-12 Will Newton <will.newton@linaro.org>
14878 * malloc/Makefile (tests): Add tst-mallopt.
14879 * malloc/tst-mallopt.c: New file.
14881 2014-05-09 Roland McGrath <roland@hack.frob.com>
14883 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14884 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14886 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14888 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14889 (tst-tlsmod6.so): Likewise.
14891 2014-05-09 Roland McGrath <roland@hack.frob.com>
14893 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14895 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14898 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14899 and <dl-procinfo.h>.
14900 (__fegetenv): Save SSE state in envp->__eip if supported.
14901 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14902 envp->__eip if supported.
14903 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14904 and <dl-procinfo.h>.
14905 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14906 __data_offset and __data_selector in environment to 0. Set SSE
14907 state if supported.
14908 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14910 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14912 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14914 2014-05-09 Will Newton <will.newton@linaro.org>
14916 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14917 and libc_relro_required for ARM.
14918 * sysdeps/arm/preconfigure: Regenerate.
14920 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14921 Stefan Liebler <stli@linux.vnet.ibm.com>
14923 * config.make.in (enable-lock-elision): New Makefile variable.
14924 * configure.ac: Likewise.
14925 * configure: Regenerate.
14926 * sysdeps/s390/configure.ac:
14927 Add check for gcc transactions support.
14928 * sysdeps/s390/configure: Regenerate.
14929 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14930 Build elision files if enabled.
14931 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14932 Add lock elision support for s390.
14933 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14934 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14935 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14936 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14937 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14938 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14939 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14941 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14943 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14945 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14947 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14948 (__lll_timedlock_elision, __lll_lock_elision)
14949 (__lll_unlock_elision, __lll_trylock_elision)
14950 (lll_timedlock_elision, lll_lock_elision)
14951 (lll_unlock_elision, lll_trylock_elision): Add.
14952 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14953 (pthread_mutex_t): Add lock elision support for s390.
14955 2014-05-14 Wilco <wdijkstr@arm.com>
14957 * sysdeps/arm/fclrexcpt.c: Cleanup.
14958 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14959 * sysdeps/arm/feenablxcpt.c: Cleanup.
14960 * sysdeps/arm/fegetenv.c: Cleanup.
14961 * sysdeps/arm/fegetexcept.c: Cleanup.
14962 * sysdeps/arm/fegetround.c: Cleanup.
14963 * sysdeps/arm/feholdexcpt.c: Cleanup.
14964 * sysdeps/arm/fesetenv.c: Cleanup.
14965 * sysdeps/arm/fesetround.c: Cleanup.
14966 * sysdeps/arm/feupdateenv.c: Cleanup.
14967 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14968 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14969 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14970 * sysdeps/arm/ftestexcept.c: Cleanup.
14971 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14972 * sysdeps/arm/setfpucw.c: Cleanup.
14974 2014-05-09 Will Newton <will.newton@linaro.org>
14976 * sysdeps/arm/armv7/strcmp.S: New file.
14977 * NEWS: Mention addition of ARMv7 optimized strcmp.
14979 2014-05-08 Roland McGrath <roland@hack.frob.com>
14981 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14982 look for %.ac rather than %.in.
14984 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14985 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14986 * sysdeps/mach/hurd/configure: Regenerated.
14987 * sysdeps/unix/sysv/linux/configure: Regenerated.
14989 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14991 2014-05-07 Steve Ellcey <sellcey@mips.com>
14994 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14998 2014-05-07 Andreas Schwab <schwab@suse.de>
15000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15001 when skipping over non-matching result from nscd.
15003 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
15006 * nptl/sockperf.c (client): Check socket return value.
15009 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15010 nscd security class.
15012 2014-05-06 Roland McGrath <roland@hack.frob.com>
15014 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15015 * sysdeps/arm/unwind.h: ... here.
15017 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15020 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15023 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15025 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15026 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15027 multiarch strncpy for PPC64.
15028 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15029 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15031 multiarch optimizations.
15032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15033 (__libc_ifunc_impl_list): Likewise.
15034 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15035 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15036 multiarch stpncpy for PPC64.
15037 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15038 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15040 2014-05-06 Andreas Schwab <schwab@suse.de>
15043 * gmon/mcount.c (_MCOUNT_DECL): Use
15044 atomic_compare_and_exchange_bool_acq instead of
15045 catomic_compare_and_exchange_bool_acq.
15047 2014-05-05 Roland McGrath <roland@hack.frob.com>
15049 * elf/Makefile (others, install-bin): Remove pldd.
15050 (pldd-modules): Variable removed.
15051 ($(objpfx)pldd): Target removed.
15052 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15053 (others, install-bin): Append pldd here.
15054 ($(objpfx)pldd): New target.
15056 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15057 to 0, so the first #if test emitted later doesn't see it undefined.
15058 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15059 * sysdeps/gnu/errlist.c: Regenerated.
15061 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15063 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15064 [libc_hidden_builtin_def]: Define to empty value.
15065 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15066 [libc_hidden_builtin_def]: Likewise.
15067 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15068 [libc_hidden_builtin_def]: Likewise.
15069 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15070 [libc_hidden_builtin_def]: Likewise.
15071 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15072 __redirect_memcpy and define ifunc as default hidden symbol.
15073 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15074 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15076 2014-05-04 Adam Conrad <adconrad@0c3.net>
15078 * locale/iso-4217.def: Reintroduce XDR currency.
15080 2014-05-04 Allan McRae <allan@archlinux.org>
15082 * po/eo.po: Update Esperanto translation from translation project.
15084 2014-05-02 Carlos O'Donell <carlos@redhat.com>
15086 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15087 and FEATURE_INDEX_MAX to 1.
15088 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15090 2014-05-01 Steve Ellcey <sellcey@mips.com>
15092 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15093 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15094 * iconvdata/big5.c (ONE_DIRECTION): Define.
15095 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15096 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15097 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15098 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15099 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15100 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15101 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15102 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15103 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15104 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15105 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15106 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15107 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15108 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15109 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15110 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15111 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15112 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15113 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15114 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15115 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15116 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15117 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15118 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15119 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15120 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15121 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15122 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15123 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15124 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15125 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15126 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15127 * iconvdata/johab.c (ONE_DIRECTION): Define.
15128 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15129 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15130 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15131 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15132 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15133 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15134 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15135 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15136 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15137 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15139 2014-05-01 Roland McGrath <roland@hack.frob.com>
15141 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15142 (_IO_JUMPS_OFFSET): Define to 0.
15144 * nptl/sysdeps/pthread/bits/libc-lock.h
15145 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15146 (__libc_lock_define_initialized_recursive): Always define using
15147 initializer. Modern compilers treat uninitialized (implicit zero) and
15148 explicit zero initializers the same (i.e. put the datum in bss).
15150 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15152 * nscd/nscd-client.h: Include <string.h>.
15154 2014-05-01 David S. Miller <davem@davemloft.net>
15157 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15158 multiple zero bytes exist at the end of a string.
15159 Reported by Aurelien Jarno <aurelien@aurel32.net>
15161 * string/test-strcmp.c (check): Add explicit test for situations where
15162 there are multiple zero bytes after the first.
15164 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15167 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15168 when compiling wprintf.
15169 * stdio-common/tstdiomisc.c (t3): New function.
15172 2014-05-01 Steve Ellcey <sellcey@mips.com>
15174 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15175 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15176 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15177 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15179 2014-05-01 Steve Ellcey <sellcey@mips.com>
15181 * stdlib/longlong.h: Updated from GCC.
15183 2014-05-01 Will Newton <will.newton@linaro.org>
15184 Bernard Ogden <bernie.ogden@linaro.org>
15186 * NEWS: Update fixed bug list.
15189 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15191 2014-04-30 David S. Miller <davem@davemloft.net>
15193 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15194 (libc_feholdexcept_setround_sparc_ctx): New function.
15195 (libc_fesetenv_sparc_ctx): Likewise.
15196 (libc_feupdateenv_sparc_ctx): Likewise.
15197 (libc_feholdsetround_sparc_ctx): Likewise.
15198 (libc_feholdexcept_setround_ctx): Define.
15199 (libc_feholdexcept_setroundf_ctx): Likewise.
15200 (libc_feholdexcept_setroundl_ctx): Likewise.
15201 (libc_fesetenv_ctx): Likewise.
15202 (libc_fesetenvf_ctx): Likewise.
15203 (libc_fesetenvl_ctx): Likewise.
15204 (libc_feupdateenv_ctx): Likewise.
15205 (libc_feupdateenvf_ctx): Likewise.
15206 (libc_feupdateenvl_ctx): Likewise.
15207 (libc_feresetround_ctx): Likewise.
15208 (libc_feresetroundf_ctx): Likewise.
15209 (libc_feresetroundl_ctx): Likewise.
15210 (libc_feholdsetround_ctx): Likewise.
15211 (libc_feholdsetroundf_ctx): Likewise.
15212 (libc_feholdsetroundl_ctx): Likewise.
15214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15215 with __USE_GNU instead of XOPEN cpp guards.
15217 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15220 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15221 with XOPEN cpp guards.
15223 2014-04-30 Julian Brown <julian@codesourcery.com>
15226 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15229 2014-04-30 Joseph Myers <joseph@codesourcery.com>
15232 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15234 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15235 * sysdeps/unix/sysv/linux/configure: Regenerated.
15236 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15237 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15238 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15239 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15240 * README: Update reference to required Linux kernel version.
15241 * manual/install.texi (Linux): Update reference to required Linux
15242 kernel headers version.
15243 * INSTALL: Regenerated.
15245 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15247 [POSIX] (limits.h): Likewise.
15248 [POSIX] (math.h): Likewise.
15249 [POSIX] (sys/wait.h): Likewise.
15250 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15252 [POSIX] (stddef.h): Do not allow header inclusion.
15254 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15256 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15258 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15260 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15261 Return immediately after lll_futex_wake.
15263 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15266 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15268 (datahead_init_pos): Call datahead_init_common early.
15269 (datahead_init_neg): Likewise.
15271 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15272 datahead_init_neg): New functions.
15273 * nscd/aicache.c (addhstaiX): Use them.
15274 * nscd/grpcache.c (cache_addgr): Likewise.
15275 * nscd/hstcache.c (cache_addhst): Likewise.
15276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15277 * nscd/netgroupcache.c (do_notfound): Likewise.
15278 (addgetnetgrentX): Likewise.
15279 (addinnetgrX): Likewise.
15280 * nscd/pwdcache.c (cache_addpw): Likewise.
15281 * nscd/servicescache.c (cache_addserv): Likewise.
15283 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15284 Atsushi Onoe <atsushi@onoe.org>
15289 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15290 one response is valid.
15291 * resolv/res_send.c (send_dg): Check for validity of other
15292 response if the current response is a referral.
15294 2014-04-29 Steve Ellcey <sellcey@mips.com>
15296 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15298 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15301 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15302 Always divide by positive zero when computing -Inf result.
15303 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15304 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15306 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15308 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15309 FPSCR if value do not change.
15310 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15311 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15312 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15313 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15314 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15315 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15318 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15320 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15321 * sysdeps/unix/sysv/linux/hppa: Move directory from
15322 ports/systeps/unix/sysv/linux/hppa.
15323 * README: Update listing for hppa-*-linux-gnu.
15325 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
15328 * manual/stdio.texi (Hook functions): Fix types of stream hook
15331 * socket/sys/socket.h: Fix typo in comment.
15333 2014-04-28 Wilco <wdijkstr@arm.com>
15335 * sysdeps/arm/fenv_private.h: New file.
15336 * sysdeps/arm/math_private.h: New file.
15337 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15339 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15341 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15343 (La_x86_64_retval): Likewise.
15345 2014-04-24 Ian Bolton <ian.bolton@arm.com>
15347 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15348 fpsr if value didn't change.
15349 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15350 to fpcr if value didn't change.
15351 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15352 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15353 fpsr or fpcr if value didn't change.
15354 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15355 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15356 fpcr if value didn't change.
15357 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15358 to fpsr if value didn't change.
15360 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15362 * nptl/tst-sem3.c: Use test-skeleton.c
15363 (main): Rename to do_test. Use return instead of
15365 * nptl/tst-sem4.c: Use test-skeleton.c
15366 (main): Rename to do_test.
15368 2014-04-22 David S. Miller <davem@davemloft.net>
15370 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15371 (struct sigaction): New struct member __glibc_reserved0, change
15372 type of sa_flags to int.
15374 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15376 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15377 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15379 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15382 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15384 2014-04-22 Will Newton <will.newton@linaro.org>
15385 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15387 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15388 (__longjmp): Add longjmp and longjmp_target SystemTap
15390 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15391 (__sigsetjmp): Add setjmp SystemTap probe.
15393 2014-04-17 Carlos O'Donell <carlos@redhat.com>
15395 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15396 match manual order.
15398 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15400 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15402 * sysdeps/powerpc/fpu/fenv_private.h
15403 (libc_feholdexcept_setroundl_ctx): Define to
15404 libc_feholdexcept_setround_ppc_ctx.
15405 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15406 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15407 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15408 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15410 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15412 * sysdeps/aarch64/math-tests.h: New file.
15414 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15416 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15419 Check and set bit_AVX2_Usable.
15420 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15422 (bit_AVX2): Likewise.
15423 (index_AVX2_Usable): Likewise.
15424 (CPUID_AVX2): Likewise.
15425 (HAS_AVX2): Likewise.
15427 2014-04-17 Will Newton <will.newton@linaro.org>
15429 * manual/setjmp.texi (System V contexts): Add note that
15430 calling setcontext on a context created by a call to a
15431 signal handler is undefined. Update text to note that
15432 setcontext from a signal handler is possible but not
15436 * stdlib/tst-setcontext.c: Include signal.h.
15437 (main): Check that the signal stack before and
15438 after swapcontext is the same.
15440 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15441 Re-implement to restore registers in user code and avoid
15442 rt_sigreturn system call.
15444 2014-04-17 Wilco <wdijkstr@arm.com>
15446 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15447 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15448 * math/test-fenv.c: Skip exception trap tests on targets which only
15449 support non-stop mode.
15451 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15452 Wilco Dijkstra <wilco.dijkstra@arm.com>
15454 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15455 (libc_feholdsetround_aarch64_ctx)
15456 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15457 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15458 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15459 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15460 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15461 (libc_feresetround_noexl_ctx): Define.
15463 2014-04-16 Richard Henderson <rth@redhat.com>
15465 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15467 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15470 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15471 const from the non-libc, non-ldso copy.
15473 * sysdeps/alpha/libm-test-ulps: Regenerate.
15475 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15476 Wilco Dijkstra <wilco.dijkstra@arm.com>
15478 * sysdeps/aarch64/fpu/math_private.h: New file.
15480 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15482 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15484 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15487 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15488 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15490 Intel MPX bound registers before _dl_profile_fixup.
15491 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15492 registers after _dl_profile_fixup. Save and restore bound
15493 registers bnd0/bnd1 when calling _dl_call_pltexit.
15494 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15495 (LR_BND_OFFSET): Likewise.
15496 (LRV_BND0_OFFSET): Likewise.
15497 (LRV_BND1_OFFSET): Likewise.
15499 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15501 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15503 * sysdeps/mach/hurd/i386/tls.h: ... here.
15504 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15505 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15508 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15510 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15512 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15514 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15516 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15519 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15520 * sysdeps/s390/configure: Regenerate.
15523 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15524 Set round-to-nearest internally to reduce error accumulation.
15526 2014-04-16 Alan Modra <amodra@gmail.com>
15530 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15531 * math/libm-test.inc (frexp_test_data): Add tests.
15532 * NEWS: Update fixed bug list.
15534 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15536 * benchtests/Makefile: Depend on libraries in build directory.
15537 (bench-math): Separate out math tests.
15538 (bench-pthread): Separate out pthread tests.
15539 (bench): Include math and pthread tests.
15541 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15544 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15545 _dl_debug_initialize.
15547 * configure.ac: Remove SELinux header check.
15548 * configure: Regenerate.
15549 * nscd/selinux.c (perms): Array of const char* to permission names.
15550 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15551 default policy. Call string_to_security_class and string_to_av_perm to
15552 translate strings. Enforce default policy and call avs_has_perm with
15553 results of translated strings.
15555 2014-04-13 David S. Miller <davem@davemloft.net>
15557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15559 2014-04-12 Allan McRae <allan@archlinux.org>
15562 * manual/string.texi (Collation Functions): Fix qsort argument
15564 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15566 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15568 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15569 Make the test a no-op if there are no exceptions defined.
15571 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15573 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15574 enable-hardcoded-path-in-tests
15576 2014-04-11 Will Newton <will.newton@linaro.org>
15578 * benchtests/Makefile (extra-objs): Add json-lib.o.
15579 (bench-func): Tidy up JSON output.
15580 * benchtests/bench-skeleton.c: Include json-lib.h.
15581 (main): Use JSON library functions to do output of
15583 * benchtests/bench-timing-type.c (main): Output the
15584 timing type simply, leaving formatting to the user.
15585 * benchtests/json-lib.c: New file.
15586 * benchtests/json-lib.h: Likewise.
15588 2014-04-11 Torvald Riegel <triegel@redhat.com>
15591 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15592 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15593 memory barriers. Add comments.
15594 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15595 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15596 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15597 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15598 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15599 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15601 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15603 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15604 * sysdeps/s390/s390-64/configure.ac: ... this ...
15605 * sysdeps/s390/configure.ac: ... to here.
15606 * sysdeps/s390/s390-32/configure: Delete file.
15607 * sysdeps/s390/s390-64/configure: Delete file.
15608 * sysdeps/s390/configure: Regenerate.
15610 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15612 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15614 2014-04-11 Will Newton <will.newton@linaro.org>
15616 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15617 to zero if it is not defined elsewhere. (mtrim): Test
15618 the value of MALLOC_DEBUG with #if rather than #ifdef.
15620 2014-04-10 Torvald Riegel <triegel@redhat.com>
15622 * benchtests/pthread_once-inputs: New file.
15623 * benchtests/pthread_once-source.c: New file.
15624 * benchtests/README: Update documentation.
15626 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15627 H.J. Lu <hongjiu.lu@intel.com>
15630 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15631 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15632 * sysdeps/x86_64/configure: Regenerated.
15633 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15635 (REGISTER_SAVE_RAX): Likewise.
15636 (REGISTER_SAVE_RCX): Likewise.
15637 (REGISTER_SAVE_RDX): Likewise.
15638 (REGISTER_SAVE_RSI): Likewise.
15639 (REGISTER_SAVE_RDI): Likewise.
15640 (REGISTER_SAVE_R8): Likewise.
15641 (REGISTER_SAVE_R9): Likewise.
15642 (REGISTER_SAVE_BND0): Likewise.
15643 (REGISTER_SAVE_BND1): Likewise.
15644 (REGISTER_SAVE_BND2): Likewise.
15645 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15646 bound registers when calling _dl_fixup.
15648 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15650 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15651 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15653 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15654 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15655 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15656 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15657 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15658 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15659 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15661 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15664 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15665 pathconf(_PC_NAME_MAX).
15667 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15669 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15670 Remove macro usage.
15671 (__PTHREAD_SPINS): Move definition to ...
15672 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15673 (__PTHREAD_SPINS): ... here.
15674 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15675 (__PTHREAD_SPIN): Likewise.
15676 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15677 (__PTHREAD_SPIN): Likewise.
15678 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15679 (__PTHREAD_SPIN): Likewise.
15680 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15681 (__PTHREAD_SPIN): Likewise.
15682 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15683 (__PTHREAD_SPIN): Likewise.
15684 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15685 (__PTHREAD_SPIN): Likewise.
15686 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15687 (__PTHREAD_SPIN): Likewise.
15688 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15689 (__PTHREAD_SPIN): Likewise.
15690 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15691 (__PTHREAD_SPIN): Likewise.
15692 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15693 (__PTHREAD_SPIN): Likewise.
15694 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15695 (__PTHREAD_SPIN): Likewise.
15696 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15697 (__PTHREAD_SPIN): Likewise.
15699 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15700 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15701 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15702 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15705 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15706 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15707 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15708 correct imply path.
15709 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15710 strlen symbol for non multi-arch builds.
15711 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15712 missing hidden_def and weak_alias.
15714 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15716 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15718 2014-04-07 Will Newton <will.newton@linaro.org>
15720 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15721 and contents. [!_LIBC] Remove #ifndef and contents.
15722 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15723 * string/memccpy.c (__memccpy): Use ANSI prototype.
15724 * string/memfrob.c (memfrob): Likewise.
15725 * string/strcoll.c (STRCOLL): Likewise.
15726 * string/strlen.c (strlen): Likewise.
15727 * string/strtok.c (STRTOK): Likewise.
15728 * string/strcat.c: Remove unused #include of memcopy.h.
15729 (strcat): Use ANSI prototype.
15730 * string/strchr.c: Remove unused #include of memcopy.h.
15731 (strchr): Use ANSI prototype.
15732 * string/strcmp.c: Remove unused #include of memcopy.h.
15733 (strcmp): Use ANSI prototype.
15734 * string/strcpy.c: Remove unused #include of memcopy.h.
15735 (strcpy): Use ANSI prototype.
15737 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15739 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15740 * config.make.in (config-extra-cppflags): Set it from
15741 libc_extra_cppflags.
15742 * configure.ac (libc_extra_cflags): Make it accumulate over
15743 configure fragments.
15744 (libc_extra_cppflags): New flag.
15745 * configure. Regenerate.
15746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15747 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15748 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15752 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15753 result for FE_DOWNWARD rounding mode.
15754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15758 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15760 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15761 in function argument name.
15763 2014-04-03 David Svoboda <svoboda@cert.org>
15766 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15769 2014-04-03 Roland McGrath <roland@hack.frob.com>
15771 * elf/dl-unmap-segments.h: New file.
15772 * sysdeps/generic/ldsodefs.h
15773 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15774 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15775 * elf/dl-fptr.c: Likewise.
15776 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15777 * sysdeps/aarch64/tlsdesc.c: Likewise.
15778 * sysdeps/arm/tlsdesc.c: Likewise.
15779 * sysdeps/i386/tlsdesc.c: Likewise.
15780 * sysdeps/tile/dl-runtime.c: Likewise.
15781 * sysdeps/x86_64/tlsdesc.c: Likewise.
15782 * elf/dl-load.h: New file.
15783 * elf/dl-load.c: Include it.
15784 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15785 Macros moved to dl-load.h.
15786 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15787 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15788 Use _dl_unmap_segments in place of __munmap.
15789 Break out segment-mapping loop into ...
15790 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15792 2014-04-03 Will Newton <will.newton@linaro.org>
15794 * elf/dl-lookup.c (do_lookup_x): Remove comment
15795 referring to nested function and move variable
15796 declarations down to before first use.
15798 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15802 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15804 * math/s_catanf.c (__catanf): Likewise.
15805 * math/s_catanh.c (__catanh): Likewise.
15806 * math/s_catanhf.c (__catanhf): Likewise.
15807 * math/s_catanhl.c (__catanhl): Likewise.
15808 * math/s_catanl.c (__catanl): Likewise.
15809 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15810 by positive zero when computing -Inf result.
15811 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15812 (catanh_test): Likewise.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15817 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15818 instead of using underflowing value in computing result.
15819 * math/s_clog10.c (__clog10): Likewise.
15820 * math/s_clog10f.c (__clog10f): Likewise.
15821 * math/s_clog10l.c (__clog10l): Likewise.
15822 * math/s_clogf.c (__clogf): Likewise.
15823 * math/s_clogl.c (__clogl): Likewise.
15824 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15825 (clog10_test): Likewise.
15826 * sysdeps/i386/fpu/libm-test-ulps: Update.
15827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15829 2014-04-02 Alan Modra <amodra@gmail.com>
15832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15833 output when value is near a power of two. Use int64_t for lx and
15834 remove casts. Use decimal rather than hex exponent constants.
15835 Don't use long double multiplication when double will suffice.
15836 * math/libm-test.inc (nextafter_test_data): Add tests.
15837 * NEWS: Add 16739 and 16786 to bug list.
15839 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15841 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15843 2014-04-01 Will Newton <will.newton@linaro.org>
15845 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15846 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15848 2014-04-01 Florian Weimer <fweimer@redhat.com>
15851 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15852 * nptl/tst-setuid2.c: New file.
15853 * nptl/Makefile (xtests): Add tst-setuid2.
15855 2014-04-01 Alan Modra <amodra@gmail.com>
15858 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15860 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15864 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15865 set errno as appropriate.
15866 * math/w_scalbf.c (__scalbf): Likewise.
15867 * math/w_scalbl.c (__scalbl): Likewise.
15868 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15869 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15870 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15871 Add more NaN tests.
15874 * math/w_atan2.c: Include <errno.h>.
15875 (__atan2): Set errno for result underflowing to zero.
15876 * math/w_atan2f.c: Include <errno.h>.
15877 (__atan2f): Set errno for result underflowing to zero.
15878 * math/w_atan2l.c: Include <errno.h>.
15879 (__atan2l): Set errno for result underflowing to zero.
15880 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15882 * math/auto-libm-test-out: Regenerated.
15884 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15886 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15887 Encode instruction correctly in little endian.
15888 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15890 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15892 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15894 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15897 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15900 * sysdeps/unix/sysv/linux/kernel-features.h
15901 [__sparc__ && !__arch64__ && !__sparc_v9__]
15902 (__ASSUME_SET_ROBUST_LIST): Do not define.
15903 [__sparc__ && !__arch64__ && !__sparc_v9__]
15904 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15905 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15907 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15908 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15909 (__ASSUME_REQUEUE_PI): Likewise.
15910 (__ASSUME_SET_ROBUST_LIST): Likewise.
15911 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15912 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15915 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15917 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15919 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15921 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15922 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15924 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15925 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15929 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15930 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15931 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15933 2014-03-31 Will Newton <will.newton@linaro.org>
15935 * benchtests/Makefile (bench): Add ffs and ffsll to list
15937 * benchtests/ffs-inputs: New file.
15938 * benchtests/ffsll-inputs: Likewise.
15940 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15943 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15944 too large before casting to int.
15945 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15946 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15947 * math/libm-test.inc (scalb_test_data): Add more tests.
15949 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15951 * benchtests/Makefile (DETAILED_OPT): New make option.
15952 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15954 * benchtests/bench-skeleton.c: Include stdbool.h.
15955 (main): Store and print timings per input.
15956 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15957 member to each argument value.
15958 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15959 (_print_arg_data): Initialize per-input timing to 0.
15961 * benchtests/Makefile (timing-type): New binary.
15962 (bench-clean): Also remove bench-timing-type.
15963 (bench): New target for timing-type.
15964 (bench-func): Print output in JSON format.
15965 * benchtests/bench-skeleton.c (main): Print output in JSON
15967 * benchtests/bench-timing-type.c: New file.
15968 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15969 (TIMING_PRINT_STATS): Remove.
15970 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15973 * benchtests/bench-modf.c: Remove.
15974 * benchtests/modf-inputs: New inputs file.
15976 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15979 * math/s_clog10.c (M_PI_LOG10E): New macro.
15980 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15981 imaginary parts are 0.
15982 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15983 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15984 imaginary parts are 0.
15985 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15986 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15987 imaginary parts are 0.
15988 * math/libm-test.inc (clog10_test_data): Update expected results
15989 for when real and imaginary parts are 0.
15991 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15993 * elf/dl-load.c: Finish conversion of __builtin_expect into
15994 __glibc_{un}likely.
15996 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15999 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16000 1+x for argument with exponent below -67.
16001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16003 * math/auto-libm-test-in: Add more tests of exp.
16004 * math/auto-libm-test-out: Regenerated.
16006 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16009 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16010 (nscd_getnetgrent): Use it.
16013 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16016 2014-03-27 Andi Kleen <ak@linux.intel.com>
16018 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16019 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16020 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16021 (lll_robust_unlock): Remove out of line section. Use cfi
16023 (LLL_STUB_UNWIND_INFO*): Remove.
16024 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16025 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16026 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16027 (lll_robust_unlock): Remove out of line section. Use cfi
16029 (LLL_STUB_UNWIND_INFO*): Remove.
16031 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16034 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16037 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16039 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16041 2014-03-26 Joseph Myers <joseph@codesourcery.com>
16044 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16046 * math/test-fenv-preserve.c: New file.
16047 * math/Makefile (tests): Add test-fenv-preserve.
16049 2014-03-26 Will Newton <will.newton@linaro.org>
16051 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16053 2014-03-25 Roland McGrath <roland@hack.frob.com>
16055 * scripts/versionlist.awk: Partition the version sets and emit all
16056 GLIBC_* (sorted) before all others (sorted).
16058 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16060 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16061 GLIBC_2.2.5 version.
16063 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16065 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16068 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16073 2014-03-25 Andreas Schwab <schwab@suse.de>
16075 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16076 label to be used after in6ailist is initialized.
16078 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16080 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16081 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16083 2014-03-25 Joseph Myers <joseph@codesourcery.com>
16087 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16089 (fp_formats): Update initializers.
16090 (init_fp_formats): Initialize new field.
16091 (output_for_one_input_case): Allow underflow for results up to
16093 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16094 * math/auto-libm-test-in: Don't mark some underflows from asin and
16096 * math/auto-libm-test-out: Regenerated.
16097 * sysdeps/i386/fpu/libm-test-ulps: Update.
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16100 2014-03-25 Andreas Schwab <schwab@suse.de>
16102 * libio/Makefile (tst-ftell-partial-wide-ENV)
16103 (tst-ftell-active-handler-ENV): Define.
16105 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16107 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16109 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16111 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16113 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16115 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16116 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16117 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16119 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16122 * elf/dl-load.c (open_verify): Add mode parameter.
16123 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16124 (open_path): Change from boolean 'secure' to complete flag 'mode'
16125 (_dl_map_object): Adjust.
16126 * elf/Makefile (tests): Add tst-dlopen-aout.
16127 * elf/tst-dlopen-aout.c: New test.
16129 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16132 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16133 (struct stat): Rename member pad0 to __glibc_reserved0.
16136 * sysdeps/s390/s390-32/bits/wordsize.h
16137 (__WORDSIZE32_SIZE_ULONG): New define.
16138 * sysdeps/s390/s390-64/bits/wordsize.h
16139 (__WORDSIZE32_SIZE_ULONG): Likewise.
16140 * sysdeps/generic/stdint.h (SIZE_MAX):
16141 Define as UL if __WORDSIZE32_SIZE_ULONG.
16144 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16145 (__glibc_reserved0): New variable.
16146 (sa_flags): Change type to int.
16148 * posix/Makefile (before-compile): Use += before-compile instead
16151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16152 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16154 2014-03-20 Andreas Schwab <schwab@suse.de>
16157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16158 non-matching result from nscd.
16160 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16162 * scripts/bench.py: Moved to ...
16163 * benchtests/scripts/bench.py: ... here.
16164 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16166 2014-03-24 Andreas Schwab <schwab@suse.de>
16169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16170 alloca_account and account alloca use for struct in6ailist.
16172 2014-03-24 Joseph Myers <joseph@codesourcery.com>
16175 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16176 rounding mode to recompute results that overflow to infinity or
16178 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16180 * math/auto-libm-test-out: Regenerated.
16181 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16182 (ccosh_test): Likewise.
16183 (csin_test_data): Use plus_oflow.
16184 (csin_test): Use ALL_RM_TEST.
16185 (csinh_test_data): Use plus_oflow.
16186 (csinh_test): Use ALL_RM_TEST.
16187 * sysdeps/i386/fpu/libm-test-ulps: Update.
16188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16190 2014-03-21 Joseph Myers <joseph@codesourcery.com>
16192 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16193 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16194 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16197 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16198 when x - 1 is zero.
16199 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16200 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16201 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16204 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16205 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16207 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16208 * sysdeps/i386/fpu/libm-test-ulps: Update.
16209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16211 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16213 * scripts/bench.pl: Remove file.
16214 * scripts/bench.py: New benchmark script.
16215 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16216 * benchtests/README: Mention python dependency.
16217 * scripts/pylintrc: New file.
16218 * scripts/pylint: New file.
16220 * bits/mathdef.h: Use #ifdef instead of #if.
16221 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16222 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16223 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16224 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16225 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16226 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16228 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16229 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16231 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16233 and strpbrk-ppc64 objects.
16234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16235 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16236 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16237 multiarch strpbrk for POWER7.
16238 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16239 multiarch strpbrk for PPC64.
16240 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16242 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16243 strpbrk for POWER7.
16245 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16247 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16248 (atan_test): Likewise.
16249 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16250 (atanh_test): Use ALL_RM_TEST.
16251 (atan2_test_data): Likewise.
16252 (cabs_test): Likewise.
16253 (cacosh_test): Likewise.
16254 (carg_test): Likewise.
16255 (casin_test): Likewise.
16256 (casinh_test): Likewise.
16257 (cbrt_test): Likewise.
16258 (csqrt_test): Likewise.
16259 (erf_test): Likewise.
16260 (erfc_test): Likewise.
16261 (pow10_test): Likewise.
16262 (exp2_test): Likewise.
16263 (hypot_test): Likewise.
16264 (j0_test): Likewise.
16265 (j1_test): Likewise.
16266 (lgamma_test): Likewise.
16267 (gamma_test): Likewise.
16268 (sincos_test): Likewise.
16269 (tanh_test): Likewise.
16270 (y0_test): Likewise.
16271 (y1_test): Likewise.
16272 * sysdeps/i386/fpu/libm-test-ulps: Update.
16273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16275 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16277 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16279 and strcspn-ppc64 objects.
16280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16281 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16282 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16283 multiarch strcspn for POWER7.
16284 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16285 multiarch strcspn for PPC64.
16286 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16288 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16289 strcspn for POWER7.
16291 2014-03-20 Joseph Myers <joseph@codesourcery.com>
16293 * math/gen-libm-test.pl (generate_testfile): Expect only function
16294 name as argument to AUTO_TESTS_* and pass results for all rounding
16295 modes to parse_args.
16296 (parse_auto_input): Separate inputs of automatic tests from
16297 outputs before storing in %auto_tests.
16298 * math/libm-test.inc (acos_test_data): Update call to
16300 (acos_test): Use ALL_RM_TEST.
16301 (acos_tonearest_test_data): Remove.
16302 (acos_test_tonearest): Likewise.
16303 (acos_towardzero_test_data): Likewise.
16304 (acos_test_towardzero): Likewise.
16305 (acos_downward_test_data): Likewise.
16306 (acos_test_downward): Likewise.
16307 (acos_upward_test_data): Likewise.
16308 (acos_test_upward): Likewise.
16309 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16310 (asin_test_data): Likewise.
16311 (asin_test): Use ALL_RM_TEST.
16312 (asin_tonearest_test_data): Remove.
16313 (asin_test_tonearest): Likewise.
16314 (asin_towardzero_test_data): Likewise.
16315 (asin_test_towardzero): Likewise.
16316 (asin_downward_test_data): Likewise.
16317 (asin_test_downward): Likewise.
16318 (asin_upward_test_data): Likewise.
16319 (asin_test_upward): Likewise.
16320 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16321 (atan_test_data): Likewise.
16322 (atanh_test_data): Likewise.
16323 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16324 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16325 (carg_test_data): Likewise.
16326 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16327 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16328 (ccosh_test_data): Likewise.
16329 (cexp_test_data): Likewise.
16330 (clog_test_data): Likewise.
16331 (clog10_test_data): Likewise.
16332 (cos_test_data): Update call to AUTO_TESTS_f_f.
16333 (cos_test): Use ALL_RM_TEST.
16334 (cos_tonearest_test_data): Remove.
16335 (cos_test_tonearest): Likewise.
16336 (cos_towardzero_test_data): Likewise.
16337 (cos_test_towardzero): Likewise.
16338 (cos_downward_test_data): Likewise.
16339 (cos_test_downward): Likewise.
16340 (cos_upward_test_data): Likewise.
16341 (cos_test_upward): Likewise.
16342 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16343 (cosh_test): Use ALL_RM_TEST.
16344 (cosh_tonearest_test_data): Remove.
16345 (cosh_test_tonearest): Likewise.
16346 (cosh_towardzero_test_data): Likewise.
16347 (cosh_test_towardzero): Likewise.
16348 (cosh_downward_test_data): Likewise.
16349 (cosh_test_downward): Likewise.
16350 (cosh_upward_test_data): Likewise.
16351 (cosh_test_upward): Likewise.
16352 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16353 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16354 (ctan_test_data): Likewise.
16355 (ctan_test): Use ALL_RM_TEST.
16356 (ctan_tonearest_test_data): Remove.
16357 (ctan_test_tonearest): Likewise.
16358 (ctan_towardzero_test_data): Likewise.
16359 (ctan_test_towardzero): Likewise.
16360 (ctan_downward_test_data): Likewise.
16361 (ctan_test_downward): Likewise.
16362 (ctan_upward_test_data): Likewise.
16363 (ctan_test_upward): Likewise.
16364 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16365 (ctanh_test): Use ALL_RM_TEST.
16366 (ctanh_tonearest_test_data): Remove.
16367 (ctanh_test_tonearest): Likewise.
16368 (ctanh_towardzero_test_data): Likewise.
16369 (ctanh_test_towardzero): Likewise.
16370 (ctanh_downward_test_data): Likewise.
16371 (ctanh_test_downward): Likewise.
16372 (ctanh_upward_test_data): Likewise.
16373 (ctanh_test_upward): Likewise.
16374 (erf_test_data): Update call to AUTO_TESTS_f_f.
16375 (erfc_test_data): Likewise.
16376 (exp_test_data): Likewise.
16377 (exp_test): Use ALL_RM_TEST.
16378 (exp_tonearest_test_data): Remove.
16379 (exp_test_tonearest): Likewise.
16380 (exp_towardzero_test_data): Likewise.
16381 (exp_test_towardzero): Likewise.
16382 (exp_downward_test_data): Likewise.
16383 (exp_test_downward): Likewise.
16384 (exp_upward_test_data): Likewise.
16385 (exp_test_upward): Likewise.
16386 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16387 (exp10_test): Use ALL_RM_TEST.
16388 (exp10_tonearest_test_data): Remove.
16389 (exp10_test_tonearest): Likewise.
16390 (exp10_towardzero_test_data): Likewise.
16391 (exp10_test_towardzero): Likewise.
16392 (exp10_downward_test_data): Likewise.
16393 (exp10_test_downward): Likewise.
16394 (exp10_upward_test_data): Likewise.
16395 (exp10_test_upward): Likewise.
16396 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16397 (expm1_test_data): Likewise.
16398 (expm1_test): Use ALL_RM_TEST.
16399 (expm1_tonearest_test_data): Remove.
16400 (expm1_test_tonearest): Likewise.
16401 (expm1_towardzero_test_data): Likewise.
16402 (expm1_test_towardzero): Likewise.
16403 (expm1_downward_test_data): Likewise.
16404 (expm1_test_downward): Likewise.
16405 (expm1_upward_test_data): Likewise.
16406 (expm1_test_upward): Likewise.
16407 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16408 (fma_test): Use ALL_RM_TEST.
16409 (fma_towardzero_test_data): Remove.
16410 (fma_test_towardzero): Likewise.
16411 (fma_downward_test_data): Likewise.
16412 (fma_test_downward): Likewise.
16413 (fma_upward_test_data): Likewise.
16414 (fma_test_upward): Likewise.
16415 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16416 (j0_test_data): Update call to AUTO_TESTS_f_f.
16417 (j1_test_data): Likewise.
16418 (jn_test_data): Update call to AUTO_TESTS_if_f.
16419 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16420 (log_test_data): Update call to AUTO_TESTS_f_f.
16421 (log10_test_data): Likewise.
16422 (log1p_test_data): Likewise.
16423 (log2_test_data): Likewise.
16424 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16425 (pow_tonearest_test_data): Likewise.
16426 (sin_test_data): Update call to AUTO_TESTS_f_f.
16427 (sin_test): Use ALL_RM_TEST.
16428 (sin_tonearest_test_data): Remove.
16429 (sin_test_tonearest): Likewise.
16430 (sin_towardzero_test_data): Likewise.
16431 (sin_test_towardzero): Likewise.
16432 (sin_downward_test_data): Likewise.
16433 (sin_test_downward): Likewise.
16434 (sin_upward_test_data): Likewise.
16435 (sin_test_upward): Likewise.
16436 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16437 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16438 (sinh_test): Use ALL_RM_TEST.
16439 (sinh_tonearest_test_data): Remove.
16440 (sinh_test_tonearest): Likewise.
16441 (sinh_towardzero_test_data): Likewise.
16442 (sinh_test_towardzero): Likewise.
16443 (sinh_downward_test_data): Likewise.
16444 (sinh_test_downward): Likewise.
16445 (sinh_upward_test_data): Likewise.
16446 (sinh_test_upward): Likewise.
16447 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16448 (sqrt_test): Use ALL_RM_TEST.
16449 (sqrt_tonearest_test_data): Remove.
16450 (sqrt_test_tonearest): Likewise.
16451 (sqrt_towardzero_test_data): Likewise.
16452 (sqrt_test_towardzero): Likewise.
16453 (sqrt_downward_test_data): Likewise.
16454 (sqrt_test_downward): Likewise.
16455 (sqrt_upward_test_data): Likewise.
16456 (sqrt_test_upward): Likewise.
16457 (tan_test_data): Update call to AUTO_TESTS_f_f.
16458 (tan_test): Use ALL_RM_TEST.
16459 (tan_tonearest_test_data): Remove.
16460 (tan_test_tonearest): Likewise.
16461 (tan_towardzero_test_data): Likewise.
16462 (tan_test_towardzero): Likewise.
16463 (tan_downward_test_data): Likewise.
16464 (tan_test_downward): Likewise.
16465 (tan_upward_test_data): Likewise.
16466 (tan_test_upward): Likewise.
16467 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16468 (tgamma_test_data): Likewise.
16469 (y0_test_data): Likewise.
16470 (y1_test_data): Likewise.
16471 (yn_test_data): Update call to AUTO_TESTS_if_f.
16472 (main): Do not call removed functions.
16474 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16476 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16477 (ldexp_test_data): Remove.
16478 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16480 (scalb_test): Use ALL_RM_TEST.
16482 2014-03-19 Andreas Schwab <schwab@suse.de>
16484 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16486 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16489 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16490 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16491 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16492 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16493 (__ASSUME_PREADV): Undefine.
16494 (__ASSUME_PWRITEV): Likewise.
16496 2014-03-18 Roland McGrath <roland@hack.frob.com>
16498 * bits/mman-linux.h: Add comment about non-Linux use.
16499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16500 bits/mman-linux.h resting place.
16502 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16503 * bits/mman-linux.h: ... here.
16505 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16507 * conform/conformtest.pl: Add standard definition when calling C
16508 preprocessor on data files.
16509 (checknamespace): Remove unused variable.
16511 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16513 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16514 minus_oflow, plus_uflow and minus_uflow in expected results.
16515 * math/libm-test.inc (scalbn_test_data): Add more tests of
16516 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16518 (scalbn_test): Use ALL_RM_TEST.
16519 (scalbln_test_data): Add more tests of negative arguments. Use
16520 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16521 (scalbln_test): Use ALL_RM_TEST.
16523 2014-03-18 Roland McGrath <roland@hack.frob.com>
16525 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16527 2014-03-18 Will Newton <will.newton@linaro.org>
16529 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16530 inaccurate comment.
16532 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16534 * Makerules [!subdir] (check-abi): Exit with error status if a
16537 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16539 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16540 for rint. Include results for all rounding modes.
16541 (nearbyint_test): Use ALL_RM_TEST.
16542 (rint_test_data): Include all tests used for nearbyint.
16544 2014-03-17 Will Newton <will.newton@linaro.org>
16546 * nptl/sysdeps/pthread/pthread.h: Revert previous
16549 * sysdeps/generic/ldsodefs.h: Revert previous
16552 * libio/genops.c: Revert previous change.
16553 * libio/libioP.h: Likewise.
16554 * stdio-common/vfprintf.c: Likewise.
16556 * sysdeps/generic/math_private.h: Revert previous
16559 * sysdeps/generic/math_private.h: Check whether
16560 HAVE_RM_CTX is defined with #ifdef rather
16563 * argp/argp-fmtstream.h: Check whether
16564 __STRICT_ANSI__ is defined with #ifdef rather
16566 * argp/argp.h: Likewise.
16568 * libio/genops.c: Check whether
16569 _IO_JUMPS_OFFSET is defined with #ifdef rather
16571 * libio/libioP.h: Likewise.
16572 * stdio-common/vfprintf.c: Likewise.
16574 * sysdeps/generic/ldsodefs.h: Check whether
16575 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16578 * nptl/sysdeps/pthread/pthread.h: Check
16579 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16582 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16584 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16586 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16590 * libio/fileops.c (_IO_file_open): Seek to end of file but
16591 don't cache the offset.
16592 (get_file_offset): Remove function.
16593 (do_ftell): Use cached offset when available.
16594 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16595 don't cache the offset.
16596 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16598 (do_one_test): Call it.
16599 (do_ftell_test): Fix up expected old offset for a+ mode.
16600 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16603 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16604 up test status with function return status.
16605 (do_write_test): Likewise.
16606 (do_append_test): Likewise.
16608 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16609 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16612 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16614 * math/gen-libm-test.pl (parse_args): Handle results specified for
16615 each rounding mode separately.
16616 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16617 tests and results from lrint_tonearest_test_data,
16618 lrint_towardzero_test_data, lrint_downward_test_data and
16619 lrint_upward_test_data.
16620 (lrint_test): Use ALL_RM_TEST.
16621 (lrint_tonearest_test_data): Remove.
16622 (lrint_test_tonearest): Likewise.
16623 (lrint_towardzero_test_data): Likewise.
16624 (lrint_test_towardzero): Likewise.
16625 (lrint_downward_test_data): Likewise.
16626 (lrint_test_downward): Likewise.
16627 (lrint_upward_test_data): Likewise.
16628 (lrint_test_upward): Likewise.
16629 (llrint_test_data): Merge in per-rounding-mode tests and results
16630 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16631 llrint_downward_test_data and llrint_upward_test_data.
16632 (llrint_test): Use ALL_RM_TEST.
16633 (llrint_tonearest_test_data): Remove.
16634 (llrint_test_tonearest): Likewise.
16635 (llrint_towardzero_test_data): Likewise.
16636 (llrint_test_towardzero): Likewise.
16637 (llrint_downward_test_data): Likewise.
16638 (llrint_test_downward): Likewise.
16639 (llrint_upward_test_data): Likewise.
16640 (llrint_test_upward): Likewise.
16641 (rint_test_data): Merge in per-rounding-mode tests and results
16642 from rint_tonearest_test_data, rint_towardzero_test_data,
16643 rint_downward_test_data and rint_upward_test_data. Add
16644 per-rounding-mode results for tests not in those arrays.
16645 (rint_test): Use ALL_RM_TEST.
16646 (rint_tonearest_test_data): Remove.
16647 (rint_test_tonearest): Likewise.
16648 (rint_towardzero_test_data): Likewise.
16649 (rint_test_towardzero): Likewise.
16650 (rint_downward_test_data): Likewise.
16651 (rint_test_downward): Likewise.
16652 (rint_upward_test_data): Likewise.
16653 (rint_test_upward): Likewise.
16654 (main): Don't call removed functions.
16656 2014-03-14 Roland McGrath <roland@hack.frob.com>
16658 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16659 "Compiled on ..." crapola. It is anti-useful.
16661 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16663 * scripts/evaluate-test.sh: Handle fourth argument to determine
16664 whether test run should stop on failure.
16665 * Makeconfig (stop-on-test-failure): New variable.
16666 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16667 $(stop-on-test-failure).
16668 * Makefile (tests): Give a summary of results from testing and
16669 exit with failure status if they include an ERROR or FAIL.
16670 (xtests): Likewise.
16671 * manual/install.texi (Configuring and compiling): Mention
16672 stop-on-test-failure=y.
16673 * INSTALL: Regenerated.
16675 2014-03-14 Roland McGrath <roland@hack.frob.com>
16677 * scripts/versionlist.awk: New file.
16678 * Makerules [$(build-shared) = yes]
16679 (postclean-generated): Add Versions.def, not Versions.def.v and
16681 ($(common-objpfx)Versions.def.v.i): Target removed.
16682 ($(common-objpfx)Versions.def): New target.
16683 ($(common-objpfx)Versions.all): Depend on that rather that
16684 $(common-objpfx)Versions.def.v.
16685 * Versions.def: File removed.
16687 * Makeconfig (+gccwarn): Add -Wundef.
16688 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16689 a dl-sysdep.h breaking its contract.
16690 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16691 * include/stackinfo.h: New file.
16692 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16693 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16694 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16695 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16696 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16697 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16698 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16699 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16700 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16701 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16702 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16703 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16704 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16705 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16706 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16708 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16711 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16713 * math/libm-test.inc (round_test_data): Add more tests.
16716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16718 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16721 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16723 * math/libm-test.inc (ceil_test_data): Add more tests.
16725 * math/libm-test.inc (trunc_test_data): Add more tests related to
16728 2014-03-14 Roland McGrath <roland@hack.frob.com>
16730 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16731 with #if rather than #ifdef.
16732 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16734 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16736 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16737 first. Disable AVX-512 GCC support if assembler doesn't support
16739 * sysdeps/x86_64/configure: Regenerated.
16741 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16743 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16744 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16745 (__old_pthread_attr_setstack): Likewise.
16746 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16747 [!_STACK_GROWS_DOWN]: Likewise.
16749 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16751 * config.make.in (have-bash2): Delete.
16752 * configure.ac (libc_cv_have_bash2): Delete.
16753 * configure: Regenerate.
16754 * elf/Makefile (common-ldd-rewrite): Rename to ...
16755 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16756 (sh-ldd-rewrite): Delete.
16757 (bash-ldd-rewrite): Delete.
16758 (have-bash2): Delete checks.
16759 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16762 * config.make.in (have-ksh): Delete.
16764 * configure.ac (libc_cv_have_ksh): Delete.
16765 * configure: Regenerate.
16767 * elf/Makefile: Delete $(have-ksh) check.
16768 ($(objpfx)sotruss): Change KSH to BASH.
16769 * elf/sotruss.ksh: Rename to ...
16770 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16771 function style to match POSIX. Drop ksh vim mode setting.
16773 * manual/time.texi (Specifying the Time Zone with TZ): Change
16774 Tuesday to Thursday.
16776 * debug/tst-longjmp_chk2.c: Update header comment.
16777 (stackoverflow_handler): Add comment. Call assert on pass value.
16779 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16782 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16783 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16784 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16785 (La_x86_64_vector): Add zmm.
16786 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16787 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16788 ($(objpfx)tst-audit10): New target.
16789 ($(objpfx)tst-audit10.out): Likewise.
16790 (tst-audit10-ENV): New.
16791 (AVX512-CFLAGS): Likewise.
16792 (CFLAGS-tst-audit10.c): Likewise.
16793 (CFLAGS-tst-auditmod10a.c): Likewise.
16794 (CFLAGS-tst-auditmod10b.c): Likewise.
16795 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16796 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16797 * sysdeps/x86_64/configure: Regenerated.
16798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16799 AVX-512 zmm register support.
16800 (_dl_x86_64_save_sse): Likewise.
16801 (_dl_x86_64_restore_sse): Likewise.
16802 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16803 size vector registers.
16804 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16805 (ZMM_SIZE): Likewise.
16806 * sysdeps/x86_64/tst-audit10.c: New file.
16807 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16808 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16810 2014-03-13 Roland McGrath <roland@hack.frob.com>
16812 * configure.ac (HAVE_EHDR_START): New check.
16813 * configure: Regenerated.
16814 * config.h.in (HAVE_EHDR_START): New #undef.
16815 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16816 assuming the lowest-addressed segment maps the start of the file.
16818 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16820 * INSTALL: Regenerated.
16822 2014-03-13 Will Newton <will.newton@linaro.org>
16824 * manual/setjmp.texi (System V contexts): Improve
16825 clarity and grammar of documentation.
16827 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16830 * elf/Makefile (tests): Add tst-pie2.
16831 (tests-pie): Add tst-pie2.
16832 * elf/tst-pie2.c: New file.
16833 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16835 * elf/rtld.c (map_doit): Load executable as lt_executable.
16836 (dl_main): Likewise.
16838 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16841 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16842 (__ASSUME_PSELECT): Undefine.
16844 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16847 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16848 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16851 selector for static builds.
16853 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16856 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16859 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16861 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16862 IFUNC selector for static builds.
16864 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16866 * sysdeps/mips/math_private.h [__mips_hard_float]
16867 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16868 libc_feresetround_mips_ctx.
16869 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16870 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16871 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16874 * math/s_nextafter.c (__nextafter): Do not return value from
16875 overflowing computation.
16876 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16877 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16878 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16882 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16883 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16885 2014-03-11 Roland McGrath <roland@hack.frob.com>
16887 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16888 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16889 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16890 the new mov targetting sp.
16892 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16895 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16896 Define it for static builds as well.
16897 (NO_BZERO_IMPL): Likewise.
16899 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16901 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16902 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16903 multiarch strspn for PPC64.
16904 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16905 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16907 (__libc_ifunc_impl_list): Likewise.
16908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16909 multiarch optimizations
16910 * string/strspn.c (strspn): Using macro to redefine symbol name.
16912 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16913 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16916 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16917 multiarch strncat for PPC64.
16918 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16919 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16921 (__libc_ifunc_impl_list): Likewise.
16922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16923 multiarch optimizations
16925 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16928 * nscd/nscd.service: Make service type forking.
16930 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16932 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16933 sign in non default rounding modes.
16934 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16936 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16938 * math/libm-test.inc (ALL_RM_TEST): New macro.
16939 (ceil_test): Use ALL_RM_TEST.
16940 (cimag_test): Likewise.
16941 (conj_test): Likewise.
16942 (copysign_test): Likewise.
16943 (cproj_test): Likewise.
16944 (creal_test): Likewise.
16945 (fabs_test): Likewise.
16946 (floor_test): Likewise.
16947 (fmax_test): Likewise.
16948 (fmin_test): Likewise.
16949 (fmod_test): Likewise.
16950 (fpclassify_test): Likewise.
16951 (frexp_test): Likewise.
16952 (ilogb_test): Likewise.
16953 (isfinite_test): Likewise.
16954 (finite_test): Likewise.
16955 (isgreater_test): Likewise.
16956 (isgreaterequal_test): Likewise.
16957 (isinf_test): Likewise.
16958 (isless_test): Likewise.
16959 (islessequal_test): Likewise.
16960 (islessgreater_test): Likewise.
16961 (isnan_test): Likewise.
16962 (isnormal_test): Likewise.
16963 (issignaling_test): Likewise.
16964 (isunordered_test): Likewise.
16965 (logb_test): Likewise.
16966 (logb_downward_test_data): Remove.
16967 (logb_test_downward): Likewise.
16968 (lround_test): Use ALL_RM_TEST.
16969 (llround_test): Likewise.
16970 (modf_test): Likewise.
16971 (nexttoward_test): Likewise.
16972 (remainder_test): Likewise.
16973 (drem_test): Likewise.
16974 (remainder_tonearest_test_data): Likewise.
16975 (remainder_test_tonearest): Likewise.
16976 (drem_test_tonearest): Likewise.
16977 (remainder_towardzero_test_data): Likewise.
16978 (remainder_test_towardzero): Likewise.
16979 (drem_test_towardzero): Likewise.
16980 (remainder_downward_test_data): Likewise.
16981 (remainder_test_downward): Likewise.
16982 (drem_test_downward): Likewise.
16983 (remainder_upward_test_data): Likewise.
16984 (remainder_test_upward): Likewise.
16985 (drem_test_upward): Likewise.
16986 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16987 (round_test): Use ALL_RM_TEST.
16988 (signbit_test): Likewise.
16989 (trunc_test): Likewise.
16990 (significand_test): Likewise.
16991 (main): Don't call removed functions.
16993 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16996 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16997 || __USE_XOPEN2K8].
16998 (ILL_ILLOPN): Likewise.
16999 (ILL_ILLADR): Likewise.
17000 (ILL_ILLTRP): Likewise.
17001 (ILL_PRVOPC): Likewise.
17002 (ILL_PRVREG): Likewise.
17003 (ILL_COPROC): Likewise.
17004 (ILL_BADSTK): Likewise.
17005 (FPE_INTDIV): Likewise.
17006 (FPE_INTOVF): Likewise.
17007 (FPE_FLTDIV): Likewise.
17008 (FPE_FLTOVF): Likewise.
17009 (FPE_FLTUND): Likewise.
17010 (FPE_FLTRES): Likewise.
17011 (FPE_FLTINV): Likewise.
17012 (FPE_FLTSUB): Likewise.
17013 (SEGV_MAPERR): Likewise.
17014 (SEGV_ACCERR): Likewise.
17015 (BUS_ADRALN): Likewise.
17016 (BUS_ADRERR): Likewise.
17017 (BUS_OBJERR): Likewise.
17018 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17019 (TRAP_TRACE): Likewise.
17020 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17022 (CLD_KILLED): Likewise.
17023 (CLD_DUMPED): Likewise.
17024 (CLD_TRAPPED): Likewise.
17025 (CLD_STOPPED): Likewise.
17026 (CLD_CONTINUED): Likewise.
17027 (POLL_IN): Likewise.
17028 (POLL_OUT): Likewise.
17029 (POLL_MSG): Likewise.
17030 (POLL_ERR): Likewise.
17031 (POLL_PRI): Likewise.
17032 (POLL_HUP): Likewise.
17033 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17035 (ILL_ILLOPN): Likewise.
17036 (ILL_ILLADR): Likewise.
17037 (ILL_ILLTRP): Likewise.
17038 (ILL_PRVOPC): Likewise.
17039 (ILL_PRVREG): Likewise.
17040 (ILL_COPROC): Likewise.
17041 (ILL_BADSTK): Likewise.
17042 (FPE_INTDIV): Likewise.
17043 (FPE_INTOVF): Likewise.
17044 (FPE_FLTDIV): Likewise.
17045 (FPE_FLTOVF): Likewise.
17046 (FPE_FLTUND): Likewise.
17047 (FPE_FLTRES): Likewise.
17048 (FPE_FLTINV): Likewise.
17049 (FPE_FLTSUB): Likewise.
17050 (SEGV_MAPERR): Likewise.
17051 (SEGV_ACCERR): Likewise.
17052 (BUS_ADRALN): Likewise.
17053 (BUS_ADRERR): Likewise.
17054 (BUS_OBJERR): Likewise.
17055 (BUS_MCEERR_AR): Likewise.
17056 (BUS_MCEERR_AO): Likewise.
17057 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17058 (TRAP_TRACE): Likewise.
17059 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17061 (CLD_KILLED): Likewise.
17062 (CLD_DUMPED): Likewise.
17063 (CLD_TRAPPED): Likewise.
17064 (CLD_STOPPED): Likewise.
17065 (CLD_CONTINUED): Likewise.
17066 (POLL_IN): Likewise.
17067 (POLL_OUT): Likewise.
17068 (POLL_MSG): Likewise.
17069 (POLL_ERR): Likewise.
17070 (POLL_PRI): Likewise.
17071 (POLL_HUP): Likewise.
17072 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17073 (ILL_ILLOPN): Likewise.
17074 (ILL_ILLADR): Likewise.
17075 (ILL_ILLTRP): Likewise.
17076 (ILL_PRVOPC): Likewise.
17077 (ILL_PRVREG): Likewise.
17078 (ILL_COPROC): Likewise.
17079 (ILL_BADSTK): Likewise.
17080 (FPE_INTDIV): Likewise.
17081 (FPE_INTOVF): Likewise.
17082 (FPE_FLTDIV): Likewise.
17083 (FPE_FLTOVF): Likewise.
17084 (FPE_FLTUND): Likewise.
17085 (FPE_FLTRES): Likewise.
17086 (FPE_FLTINV): Likewise.
17087 (FPE_FLTSUB): Likewise.
17088 (SEGV_MAPERR): Likewise.
17089 (SEGV_ACCERR): Likewise.
17090 (BUS_ADRALN): Likewise.
17091 (BUS_ADRERR): Likewise.
17092 (BUS_OBJERR): Likewise.
17093 (BUS_MCEERR_AR): Likewise.
17094 (BUS_MCEERR_AO): Likewise.
17095 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17096 (TRAP_TRACE): Likewise.
17097 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17099 (CLD_KILLED): Likewise.
17100 (CLD_DUMPED): Likewise.
17101 (CLD_TRAPPED): Likewise.
17102 (CLD_STOPPED): Likewise.
17103 (CLD_CONTINUED): Likewise.
17104 (POLL_IN): Likewise.
17105 (POLL_OUT): Likewise.
17106 (POLL_MSG): Likewise.
17107 (POLL_ERR): Likewise.
17108 (POLL_PRI): Likewise.
17109 (POLL_HUP): Likewise.
17110 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17112 (ILL_ILLOPN): Likewise.
17113 (ILL_ILLADR): Likewise.
17114 (ILL_ILLTRP): Likewise.
17115 (ILL_PRVOPC): Likewise.
17116 (ILL_PRVREG): Likewise.
17117 (ILL_COPROC): Likewise.
17118 (ILL_BADSTK): Likewise.
17119 (ILL_BADIADDR): Likewise.
17120 (ILL_BREAK): Likewise.
17121 (FPE_INTDIV): Likewise.
17122 (FPE_INTOVF): Likewise.
17123 (FPE_FLTDIV): Likewise.
17124 (FPE_FLTOVF): Likewise.
17125 (FPE_FLTUND): Likewise.
17126 (FPE_FLTRES): Likewise.
17127 (FPE_FLTINV): Likewise.
17128 (FPE_FLTSUB): Likewise.
17129 (FPE_DECOVF): Likewise.
17130 (FPE_DECDIV): Likewise.
17131 (FPE_DECERR): Likewise.
17132 (FPE_INVASC): Likewise.
17133 (FPE_INVDEC): Likewise.
17134 (SEGV_MAPERR): Likewise.
17135 (SEGV_ACCERR): Likewise.
17136 (SEGV_PSTKOVF): Likewise.
17137 (BUS_ADRALN): Likewise.
17138 (BUS_ADRERR): Likewise.
17139 (BUS_OBJERR): Likewise.
17140 (BUS_MCEERR_AR): Likewise.
17141 (BUS_MCEERR_AO): Likewise.
17142 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17143 (TRAP_TRACE): Likewise.
17144 (TRAP_BRANCH): Likewise.
17145 (TRAP_HWBKPT): Likewise.
17146 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17148 (CLD_KILLED): Likewise.
17149 (CLD_DUMPED): Likewise.
17150 (CLD_TRAPPED): Likewise.
17151 (CLD_STOPPED): Likewise.
17152 (CLD_CONTINUED): Likewise.
17153 (POLL_IN): Likewise.
17154 (POLL_OUT): Likewise.
17155 (POLL_MSG): Likewise.
17156 (POLL_ERR): Likewise.
17157 (POLL_PRI): Likewise.
17158 (POLL_HUP): Likewise.
17159 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17160 (ILL_ILLOPN): Likewise.
17161 (ILL_ILLADR): Likewise.
17162 (ILL_ILLTRP): Likewise.
17163 (ILL_PRVOPC): Likewise.
17164 (ILL_PRVREG): Likewise.
17165 (ILL_COPROC): Likewise.
17166 (ILL_BADSTK): Likewise.
17167 (FPE_INTDIV): Likewise.
17168 (FPE_INTOVF): Likewise.
17169 (FPE_FLTDIV): Likewise.
17170 (FPE_FLTOVF): Likewise.
17171 (FPE_FLTUND): Likewise.
17172 (FPE_FLTRES): Likewise.
17173 (FPE_FLTINV): Likewise.
17174 (FPE_FLTSUB): Likewise.
17175 (SEGV_MAPERR): Likewise.
17176 (SEGV_ACCERR): Likewise.
17177 (BUS_ADRALN): Likewise.
17178 (BUS_ADRERR): Likewise.
17179 (BUS_OBJERR): Likewise.
17180 (BUS_MCEERR_AR): Likewise.
17181 (BUS_MCEERR_AO): Likewise.
17182 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17183 (TRAP_TRACE): Likewise.
17184 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17186 (CLD_KILLED): Likewise.
17187 (CLD_DUMPED): Likewise.
17188 (CLD_TRAPPED): Likewise.
17189 (CLD_STOPPED): Likewise.
17190 (CLD_CONTINUED): Likewise.
17191 (POLL_IN): Likewise.
17192 (POLL_OUT): Likewise.
17193 (POLL_MSG): Likewise.
17194 (POLL_ERR): Likewise.
17195 (POLL_PRI): Likewise.
17196 (POLL_HUP): Likewise.
17197 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17198 (ILL_ILLOPN): Likewise.
17199 (ILL_ILLADR): Likewise.
17200 (ILL_ILLTRP): Likewise.
17201 (ILL_PRVOPC): Likewise.
17202 (ILL_PRVREG): Likewise.
17203 (ILL_COPROC): Likewise.
17204 (ILL_BADSTK): Likewise.
17205 (FPE_INTDIV): Likewise.
17206 (FPE_INTOVF): Likewise.
17207 (FPE_FLTDIV): Likewise.
17208 (FPE_FLTOVF): Likewise.
17209 (FPE_FLTUND): Likewise.
17210 (FPE_FLTRES): Likewise.
17211 (FPE_FLTINV): Likewise.
17212 (FPE_FLTSUB): Likewise.
17213 (SEGV_MAPERR): Likewise.
17214 (SEGV_ACCERR): Likewise.
17215 (BUS_ADRALN): Likewise.
17216 (BUS_ADRERR): Likewise.
17217 (BUS_OBJERR): Likewise.
17218 (BUS_MCEERR_AR): Likewise.
17219 (BUS_MCEERR_AO): Likewise.
17220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17221 (TRAP_TRACE): Likewise.
17222 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17224 (CLD_KILLED): Likewise.
17225 (CLD_DUMPED): Likewise.
17226 (CLD_TRAPPED): Likewise.
17227 (CLD_STOPPED): Likewise.
17228 (CLD_CONTINUED): Likewise.
17229 (POLL_IN): Likewise.
17230 (POLL_OUT): Likewise.
17231 (POLL_MSG): Likewise.
17232 (POLL_ERR): Likewise.
17233 (POLL_PRI): Likewise.
17234 (POLL_HUP): Likewise.
17235 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17236 (ILL_ILLOPN): Likewise.
17237 (ILL_ILLADR): Likewise.
17238 (ILL_ILLTRP): Likewise.
17239 (ILL_PRVOPC): Likewise.
17240 (ILL_PRVREG): Likewise.
17241 (ILL_COPROC): Likewise.
17242 (ILL_BADSTK): Likewise.
17243 (FPE_INTDIV): Likewise.
17244 (FPE_INTOVF): Likewise.
17245 (FPE_FLTDIV): Likewise.
17246 (FPE_FLTOVF): Likewise.
17247 (FPE_FLTUND): Likewise.
17248 (FPE_FLTRES): Likewise.
17249 (FPE_FLTINV): Likewise.
17250 (FPE_FLTSUB): Likewise.
17251 (SEGV_MAPERR): Likewise.
17252 (SEGV_ACCERR): Likewise.
17253 (BUS_ADRALN): Likewise.
17254 (BUS_ADRERR): Likewise.
17255 (BUS_OBJERR): Likewise.
17256 (BUS_MCEERR_AR): Likewise.
17257 (BUS_MCEERR_AO): Likewise.
17258 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17259 (TRAP_TRACE): Likewise.
17260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17262 (CLD_KILLED): Likewise.
17263 (CLD_DUMPED): Likewise.
17264 (CLD_TRAPPED): Likewise.
17265 (CLD_STOPPED): Likewise.
17266 (CLD_CONTINUED): Likewise.
17267 (POLL_IN): Likewise.
17268 (POLL_OUT): Likewise.
17269 (POLL_MSG): Likewise.
17270 (POLL_ERR): Likewise.
17271 (POLL_PRI): Likewise.
17272 (POLL_HUP): Likewise.
17273 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17274 (ILL_ILLOPN): Likewise.
17275 (ILL_ILLADR): Likewise.
17276 (ILL_ILLTRP): Likewise.
17277 (ILL_PRVOPC): Likewise.
17278 (ILL_PRVREG): Likewise.
17279 (ILL_COPROC): Likewise.
17280 (ILL_BADSTK): Likewise.
17281 (ILL_DBLFLT): Likewise.
17282 (ILL_HARDWALL): Likewise.
17283 (FPE_INTDIV): Likewise.
17284 (FPE_INTOVF): Likewise.
17285 (FPE_FLTDIV): Likewise.
17286 (FPE_FLTOVF): Likewise.
17287 (FPE_FLTUND): Likewise.
17288 (FPE_FLTRES): Likewise.
17289 (FPE_FLTINV): Likewise.
17290 (FPE_FLTSUB): Likewise.
17291 (SEGV_MAPERR): Likewise.
17292 (SEGV_ACCERR): Likewise.
17293 (BUS_ADRALN): Likewise.
17294 (BUS_ADRERR): Likewise.
17295 (BUS_OBJERR): Likewise.
17296 (BUS_MCEERR_AR): Likewise.
17297 (BUS_MCEERR_AO): Likewise.
17298 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17299 (TRAP_TRACE): Likewise.
17300 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17302 (CLD_KILLED): Likewise.
17303 (CLD_DUMPED): Likewise.
17304 (CLD_TRAPPED): Likewise.
17305 (CLD_STOPPED): Likewise.
17306 (CLD_CONTINUED): Likewise.
17307 (POLL_IN): Likewise.
17308 (POLL_OUT): Likewise.
17309 (POLL_MSG): Likewise.
17310 (POLL_ERR): Likewise.
17311 (POLL_PRI): Likewise.
17312 (POLL_HUP): Likewise.
17313 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17314 (ILL_ILLOPN): Likewise.
17315 (ILL_ILLADR): Likewise.
17316 (ILL_ILLTRP): Likewise.
17317 (ILL_PRVOPC): Likewise.
17318 (ILL_PRVREG): Likewise.
17319 (ILL_COPROC): Likewise.
17320 (ILL_BADSTK): Likewise.
17321 (FPE_INTDIV): Likewise.
17322 (FPE_INTOVF): Likewise.
17323 (FPE_FLTDIV): Likewise.
17324 (FPE_FLTOVF): Likewise.
17325 (FPE_FLTUND): Likewise.
17326 (FPE_FLTRES): Likewise.
17327 (FPE_FLTINV): Likewise.
17328 (FPE_FLTSUB): Likewise.
17329 (SEGV_MAPERR): Likewise.
17330 (SEGV_ACCERR): Likewise.
17331 (BUS_ADRALN): Likewise.
17332 (BUS_ADRERR): Likewise.
17333 (BUS_OBJERR): Likewise.
17334 (BUS_MCEERR_AR): Likewise.
17335 (BUS_MCEERR_AO): Likewise.
17336 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17337 (TRAP_TRACE): Likewise.
17338 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17340 (CLD_KILLED): Likewise.
17341 (CLD_DUMPED): Likewise.
17342 (CLD_TRAPPED): Likewise.
17343 (CLD_STOPPED): Likewise.
17344 (CLD_CONTINUED): Likewise.
17345 (POLL_IN): Likewise.
17346 (POLL_OUT): Likewise.
17347 (POLL_MSG): Likewise.
17348 (POLL_ERR): Likewise.
17349 (POLL_PRI): Likewise.
17350 (POLL_HUP): Likewise.
17351 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17352 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17355 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17356 before #include of <time.h>.
17357 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17358 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17359 (test-xfail-UNIX98/sched.h/conform): Likewise.
17361 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17363 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17364 error absence of trapping exception support.
17365 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17367 2014-03-07 Joseph Myers <joseph@codesourcery.com>
17369 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17370 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17371 * timezone/Makefile (testdata): Move definition above include of
17373 (test-zones): New variable.
17374 (tests-special): Add zone files.
17375 (build-testdata): Use $(evaluate-test).
17377 * elf/Makefile (tests-special): Rename tests to end with .out.
17378 ($(objpfx)noload-mem): Likewise.
17379 ($(objpfx)tst-leaks1-mem): Likewise.
17380 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17381 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17382 $(objpfx)test-iconvconfig.out.
17383 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17384 set -e inside subshell and redirect output to file.
17385 * iconvdata/Makefile (generated): Rename tests to end with .out.
17387 (tests-special): Rename tests to end with .out.
17388 ($(objpfx)mtrace-tst-loading): Likewise.
17389 * intl/Makefile (generated): Likewise.
17390 (tests-special): Likewise.
17391 ($(objpfx)mtrace-tst-gettext): Likewise.
17392 * misc/Makefile (generated): Likewise.
17393 (tests-special): Likewise.
17394 ($(objpfx)tst-error1-mem): Likewise.
17395 * nptl/Makefile (tests-special): Likewise.
17396 ($(objpfx)tst-stack3-mem): Likewise.
17397 (generated): Likewise.
17398 * posix/Makefile (generated): Likewise.
17399 (tests-special): Likewise.
17400 (xtests-special): Likewise.
17401 ($(objpfx)tst-fnmatch-mem): Likewise.
17402 ($(objpfx)bug-regex2-mem): Likewise.
17403 ($(objpfx)bug-regex14-mem): Likewise.
17404 ($(objpfx)bug-regex21-mem): Likewise.
17405 ($(objpfx)bug-regex31-mem): Likewise.
17406 ($(objpfx)tst-vfork3-mem): Likewise.
17407 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17408 ($(objpfx)tst-pcre-mem): Likewise.
17409 ($(objpfx)tst-boost-mem): Likewise.
17410 ($(objpfx)bug-ga2-mem): Likewise.
17411 ($(objpfx)bug-glob2-mem): Likewise.
17412 * resolv/Makefile (generate): Likewise.
17413 (tests-special): Likewise.
17414 (xtests-special): Likewise.
17415 (generated): Likewise.
17416 ($(objpfx)mtrace-tst-leaks): Likewise.
17417 ($(objpfx)mtrace-tst-leaks2): Likewise.
17419 * scripts/merge-test-results.sh: New file.
17420 * Makefile (tests-special-notdir): New variable.
17421 (tests): Run merge-test-results.sh.
17422 (xtests): Likewise.
17423 * Rules (tests-special-notdir): New variable.
17424 (xtests-special-notdir): Likewise.
17425 (tests): Run merge-test-results.sh
17426 (xtests): Likewise.
17428 * Makeconfig (test-xfail-name): New variable.
17429 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17430 compute variable name for expected failures.
17431 * conform/Makefile (conformtest-headers-data): New variable.
17432 (conformtest-standards): Likewise.
17433 (conformtest-headers-ISO): Likewise.
17434 (conformtest-headers-ISO99): Likewise.
17435 (conformtest-headers-ISO11): Likewise.
17436 (conformtest-headers-POSIX): Likewise.
17437 (conformtest-headers-XPG3): Likewise.
17438 (conformtest-headers-XPG4): Likewise.
17439 (conformtest-headers-UNIX98): Likewise.
17440 (conformtest-headers-XOPEN2K): Likewise.
17441 (conformtest-headers-POSIX2008): Likewise.
17442 (conformtest-headers-XOPEN2K8): Likewise.
17443 (conformtest-header-list-base): Likewise.
17444 (conformtest-header-list-tests): Likewise.
17445 (conformtest-header-base): Likewise.
17446 (conformtest-header-tests): Likewise.
17447 (tests-special): Add $(conformtest-header-list-tests). If
17448 [$(fast-check) && !$(cross-compiling)], add
17449 $(conformtest-header-tests) instead of
17450 $(objpfx)run-conformtest.out.
17451 (generated): Add $(conformtest-header-list-base). If
17452 [$(fast-check) && !$(cross-compiling)], add
17453 $(conformtest-header-base). Remove previous setting.
17454 ($(conformtest-header-list-tests)): New target.
17455 (test-xfail-run-conformtest): Remove variable.
17456 ($(objpfx)run-conformtest.out): Remove target.
17457 (test-xfail-ISO11/complex.h/conform): New variable.
17458 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17459 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17460 (test-xfail-XPG3/varargs.h/conform): Likewise.
17461 (test-xfail-XPG4/varargs.h/conform): Likewise.
17462 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17463 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17464 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17465 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17466 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17467 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17468 (test-xfail-XPG3/ftw.h/conform): Likewise.
17469 (test-xfail-XPG3/grp.h/conform): Likewise.
17470 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17471 (test-xfail-XPG3/limits.h/conform): Likewise.
17472 (test-xfail-XPG3/pwd.h/conform): Likewise.
17473 (test-xfail-XPG3/search.h/conform): Likewise.
17474 (test-xfail-XPG3/signal.h/conform): Likewise.
17475 (test-xfail-XPG3/stdio.h/conform): Likewise.
17476 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17477 (test-xfail-XPG3/string.h/conform): Likewise.
17478 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17479 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17480 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17481 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17482 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17483 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17484 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17485 (test-xfail-XPG3/termios.h/conform): Likewise.
17486 (test-xfail-XPG3/time.h/conform): Likewise.
17487 (test-xfail-XPG3/unistd.h/conform): Likewise.
17488 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17489 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17490 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17491 (test-xfail-XPG4/netdb.h/conform): Likewise.
17492 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17493 (test-xfail-XPG4/signal.h/conform): Likewise.
17494 (test-xfail-XPG4/stdio.h/conform): Likewise.
17495 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17496 (test-xfail-XPG4/stropts.h/conform): Likewise.
17497 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17498 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17499 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17500 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17501 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17502 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17503 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17504 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17505 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17506 (test-xfail-XPG4/termios.h/conform): Likewise.
17507 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17508 (test-xfail-XPG4/unistd.h/conform): Likewise.
17509 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17510 (test-xfail-POSIX/sched.h/conform): Likewise.
17511 (test-xfail-POSIX/signal.h/conform): Likewise.
17512 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17513 (test-xfail-POSIX/tar.h/conform): Likewise.
17514 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17515 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17516 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17517 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17518 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17519 (test-xfail-UNIX98/sched.h/conform): Likewise.
17520 (test-xfail-UNIX98/signal.h/conform): Likewise.
17521 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17522 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17523 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17524 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17525 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17526 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17527 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17528 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17529 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17530 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17531 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17532 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17533 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17534 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17535 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17536 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17537 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17538 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17539 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17540 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17541 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17542 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17543 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17544 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17545 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17546 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17547 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17548 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17549 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17550 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17551 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17552 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17553 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17554 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17555 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17556 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17557 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17558 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17559 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17560 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17561 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17562 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17563 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17564 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17565 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17566 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17567 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17568 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17569 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17570 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17571 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17572 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17573 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17574 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17575 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17576 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17577 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17578 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17579 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17580 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17581 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17582 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17583 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17584 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17585 (conformtest-cc-flags): Likewise.
17586 ($(conformtest-header-tests): New target.
17587 * conform/check-header-lists.sh: New file.
17588 * conform/run-conformtest.sh: Remove.
17590 * conform/conformtest.pl: Allow ' and \ in values given for
17592 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17594 [POSIX] (sys/types.h): Likewise.
17595 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17597 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17599 * conform/data/signal.h-data (SIGIO): Remove expectation.
17600 [XPG3] (SIGBUS): Do not expect.
17601 [POSIX || XPG3] (SIGPOLL): Likewise.
17602 [POSIX || XPG3] (SIGPROF): Likewise.
17603 [POSIX || XPG3] (SIGSYS): Likewise.
17604 [XPG3] (SIGTRAP): Likewise.
17605 [POSIX || XPG3] (SIGURG): Likewise.
17606 [POSIX || XPG3] (SIGVTALRM): Likewise.
17607 [POSIX || XPG3] (SIGXCPU): Likewise.
17608 [POSIX || XPG3] (SIGXFSZ): Likewise.
17609 [POSIX] (SA_SIGINFO): Expect.
17610 [XPG3] (siginfo_t): Do not expect type or contents.
17611 [POSIX] (si_pid): Do not expect element.
17612 [POSIX] (si_uid): Likewise.
17613 [POSIX] (si_addr): Likewise.
17614 [POSIX] (si_status): Likewise.
17615 [POSIX] (si_band): Likewise.
17616 [XPG4] (si_value): Likewise.
17617 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17618 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17619 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17620 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17621 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17622 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17623 [POSIX || XPG3] (ILL_COPROC): Likewise.
17624 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17625 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17626 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17627 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17628 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17629 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17630 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17631 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17632 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17633 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17634 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17635 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17636 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17637 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17638 [POSIX || XPG3] (CLD_EXITED): Likewise.
17639 [POSIX || XPG3] (CLD_KILLED): Likewise.
17640 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17641 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17642 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17643 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17644 [POSIX || XPG3] (POLL_IN): Likewise.
17645 [POSIX || XPG3] (POLL_OUT): Likewise.
17646 [POSIX || XPG3] (POLL_MSG): Likewise.
17647 [POSIX || XPG3] (POLL_ERR): Likewise.
17648 [POSIX || XPG3] (POLL_PRI): Likewise.
17649 [POSIX || XPG3] (POLL_HUP): Likewise.
17650 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17651 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17652 (SIG*): Do not allow.
17653 [XPG3] (si_*): Likewise.
17654 [XPG3] (SI_*): Likewise.
17655 [XPG3 || XPG4] (sigev_*): Likewise.
17656 [XPG3 || XPG4] (SIGEV_*): Likewise.
17657 [XPG3 || XPG4] (sival_*): Likewise.
17658 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17659 [POSIX || XPG3] (BUS_*): Likewise.
17660 [POSIX || XPG3] (CLD_*): Likewise.
17661 [POSIX || XPG3] (FPE_*): Likewise.
17662 [POSIX || XPG3] (ILL_*): Likewise.
17663 [POSIX || XPG3] (POLL_*): Likewise.
17664 [POSIX || XPG3] (SEGV_*): Likewise.
17665 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17666 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17667 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17668 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17669 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17670 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17671 Specify type and value.
17672 (TVERSLEN): Likewise.
17673 (REGTYPE): Likewise.
17674 (AREGTYPE): Likewise.
17675 (LNKTYPE): Likewise.
17676 (SYMTYPE): Likewise.
17677 (CHRTYPE): Likewise.
17678 (BLKTYPE): Likewise.
17679 (DIRTYPE): Likewise.
17680 (FIFOTYPE): Likewise.
17681 (CONTTYPE): Likewise.
17685 (TUREAD): Likewise.
17686 (TUWRITE): Likewise.
17687 (TUEXEC): Likewise.
17688 (TGREAD): Likewise.
17689 (TGWRITE): Likewise.
17690 (TGEXEC): Likewise.
17691 (TOREAD): Likewise.
17692 (TOWRITE): Likewise.
17693 (TOEXEC): Likewise.
17694 [POSIX] (TSVTX): Expect constant.
17696 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17698 * Makefile (tests): Change dependencies to ....
17699 (tests-special): ... additions to this variable.
17700 (tests): Depend on $(tests-special).
17701 * Makerules (check-abi-list): New variable.
17702 (check-abi): Depend on $(check-abi-list).
17703 [$(subdir) = elf] (tests-special): Add
17704 $(objpfx)check-abi-libc.out.
17705 [$(build-shared) = yes && subdir] (tests-special): Add
17707 [$(build-shared) = yes && subdir] (tests): Do not depend on
17709 * Rules (tests): Depend on $(tests-special).
17710 (xtests): Depend on $(xtests-special).
17711 * catgets/Makefile (tests): Change dependencies to ....
17712 (tests-special): ... additions to this variable.
17713 * conform/Makefile (tests): Change dependencies to ....
17714 (tests-special): ... additions to this variable.
17715 * elf/Makefile (tests): Change dependencies to ....
17716 (tests-special): ... additions to this variable.
17717 * grp/Makefile (tests): Change dependencies to ....
17718 (tests-special): ... additions to this variable.
17719 * iconv/Makefile (xtests): Change dependencies to ....
17720 (xtests-special): ... additions to this variable.
17721 * iconvdata/Makefile (tests): Change dependencies to ....
17722 (tests-special): ... additions to this variable.
17723 * intl/Makefile (tests): Change dependencies to ....
17724 (tests-special): ... additions to this variable. Also add
17725 $(objpfx)tst-gettext.out.
17726 * io/Makefile (tests): Change dependencies to ....
17727 (tests-special): ... additions to this variable.
17728 * libio/Makefile (tests): Change dependencies to ....
17729 (tests-special): ... additions to this variable.
17730 * malloc/Makefile (tests): Change dependencies to ....
17731 (tests-special): ... additions to this variable.
17732 * misc/Makefile (tests): Change dependencies to ....
17733 (tests-special): ... additions to this variable.
17734 * nptl/Makefile (tests): Change dependencies to ....
17735 (tests-special): ... additions to this variable.
17736 * nptl_db/Makefile (tests): Change dependencies to ....
17737 (tests-special): ... additions to this variable.
17738 * posix/Makefile (tests): Change dependencies to ....
17739 (tests-special): ... additions to this variable.
17740 (xtests): Change dependencies to ....
17741 (xtests-special): ... additions to this variable.
17742 * resolv/Makefile (tests): Change dependencies to ....
17743 (tests-special): ... additions to this variable.
17744 (xtests): Change dependencies to ....
17745 (xtests-special): ... additions to this variable.
17746 * stdio-common/Makefile (tests): Change dependencies to ....
17747 (tests-special): ... additions to this variable.
17748 (do-tst-unbputc): Remove target.
17749 (do-tst-printf): Likewise.
17750 * stdlib/Makefile (tests): Change dependencies to ....
17751 (tests-special): ... additions to this variable.
17752 * string/Makefile (tests): Change dependencies to ....
17753 (tests-special): ... additions to this variable.
17754 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17755 (tests-special): ... additions to this variable.
17757 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17759 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17761 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17762 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17764 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17765 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17766 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17767 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17768 * conform/data/libgen.h-data [XPG3]: Likewise.
17769 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17770 * conform/data/ndbm.h-data [XPG3]: Likewise.
17771 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17772 * conform/data/netdb.h-data [XPG3]: Likewise.
17773 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17774 * conform/data/poll.h-data [XPG3]: Likewise.
17775 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17776 * conform/data/strings.h-data [XPG3]: Likewise.
17777 * conform/data/stropts.h-data [XPG3]: Likewise.
17778 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17779 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17780 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17782 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17783 * conform/data/sys/time.h-data [XPG3]: Likewise.
17784 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17785 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17786 * conform/data/sys/un.h-data [XPG3]: Likewise.
17787 * conform/data/syslog.h-data [XPG3]: Likewise.
17788 * conform/data/ucontext.h-data [XPG3]: Likewise.
17789 * conform/data/utmpx.h-data [XPG3]: Likewise.
17790 * conform/data/varargs.h-data [UNIX98]: Enable file.
17792 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17794 * math/libm-test.inc (struct test_f_f_data): Move expected results
17795 into structure for each rounding mode.
17796 (struct test_ff_f_data): Likewise.
17797 (struct test_ff_f_data_nexttoward): Likewise.
17798 (struct test_fi_f_data): Likewise.
17799 (struct test_fl_f_data): Likewise.
17800 (struct test_if_f_data): Likewise.
17801 (struct test_fff_f_data): Likewise.
17802 (struct test_c_f_data): Likewise.
17803 (struct test_f_f1_data): Likewise.
17804 (struct test_fF_f1_data): Likewise.
17805 (struct test_ffI_f1_data): Likewise.
17806 (struct test_c_c_data): Likewise.
17807 (struct test_cc_c_data): Likewise.
17808 (struct test_f_i_data): Likewise.
17809 (struct test_ff_i_data): Likewise.
17810 (struct test_f_l_data): Likewise.
17811 (struct test_f_L_data): Likewise.
17812 (struct test_fFF_11_data): Likewise.
17814 (RM_FE_DOWNWARD): Likewise.
17815 (RM_FE_TONEAREST): Likewise.
17816 (RM_FE_TOWARDZERO): Likewise.
17817 (RM_FE_UPWARD): Likewise.
17818 (RUN_TEST_LOOP_f_f): Update references to expected results.
17819 (RUN_TEST_LOOP_2_f): Likewise.
17820 (RUN_TEST_LOOP_fff_f): Likewise.
17821 (RUN_TEST_LOOP_c_f): Likewise.
17822 (RUN_TEST_LOOP_f_f1): Likewise.
17823 (RUN_TEST_LOOP_fF_f1): Likewise.
17824 (RUN_TEST_LOOP_fI_f1): Likewise.
17825 (RUN_TEST_LOOP_ffI_f1): Likewise.
17826 (RUN_TEST_LOOP_c_c): Likewise.
17827 (RUN_TEST_LOOP_cc_c): Likewise.
17828 (RUN_TEST_LOOP_f_i): Likewise.
17829 (RUN_TEST_LOOP_f_i_tg): Likewise.
17830 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17831 (RUN_TEST_LOOP_f_b): Likewise.
17832 (RUN_TEST_LOOP_f_b_tg): Likewise.
17833 (RUN_TEST_LOOP_f_l): Likewise.
17834 (RUN_TEST_LOOP_f_L): Likewise.
17835 (RUN_TEST_LOOP_fFF_11): Likewise.
17836 * math/gen-libm-test.pl (parse_args): Output four copies of
17837 expected results for each test.
17839 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17840 (__ASSUME_UTIMES): Remove.
17841 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17842 (__ASSUME_UTIMES): Likewise.
17844 * math/gen-auto-libm-tests.c: Update comment on output format.
17845 (output_for_one_input_case): Generate before-rounding and
17846 after-rounding information as conditions on output flags not
17847 floating-point format.
17848 * math/auto-libm-test-out: Regenerated.
17849 * math/gen-libm-test.pl (cond_value): New function.
17850 (or_cond_value): Use cond_value.
17851 (generate_testfile): Handle conditional exceptions.
17853 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17855 * math/libm-test.inc (max_valid_error): New variable.
17856 (init_max_error): Take new argument specifying whether function
17857 results are exactly determined. Set max_valid_error and bound
17858 other variables for errors based on this argument.
17859 (set_max_error): Do not record results above max_valid_error.
17860 (check_float_internal): Only accept errors of up to 0.5ulps if
17861 also at most max_valid_error.
17862 (START): Take new argument EXACT and pass it to init_max_error.
17863 (acos_test): Update call to START.
17864 (acos_test_tonearest): Likewise.
17865 (acos_test_towardzero): Likewise.
17866 (acos_test_downward): Likewise.
17867 (acos_test_upward): Likewise.
17868 (acosh_test): Likewise.
17869 (asin_test): Likewise.
17870 (asin_test_tonearest): Likewise.
17871 (asin_test_towardzero): Likewise.
17872 (asin_test_downward): Likewise.
17873 (asin_test_upward): Likewise.
17874 (asinh_test): Likewise.
17875 (atan_test): Likewise.
17876 (atanh_test): Likewise.
17877 (atan2_test): Likewise.
17878 (cabs_test): Likewise.
17879 (cacos_test): Likewise.
17880 (cacosh_test): Likewise.
17881 (carg_test): Likewise.
17882 (casin_test): Likewise.
17883 (casinh_test): Likewise.
17884 (catan_test): Likewise.
17885 (catanh_test): Likewise.
17886 (cbrt_test): Likewise.
17887 (ccos_test): Likewise.
17888 (ccosh_test): Likewise.
17889 (ceil_test): Likewise.
17890 (cexp_test): Likewise.
17891 (cimag_test): Likewise.
17892 (clog_test): Likewise.
17893 (clog10_test): Likewise.
17894 (conj_test): Likewise.
17895 (copysign_test): Likewise.
17896 (cos_test): Likewise.
17897 (cos_test_tonearest): Likewise.
17898 (cos_test_towardzero): Likewise.
17899 (cos_test_downward): Likewise.
17900 (cos_test_upward): Likewise.
17901 (cosh_test): Likewise.
17902 (cosh_test_tonearest): Likewise.
17903 (cosh_test_towardzero): Likewise.
17904 (cosh_test_downward): Likewise.
17905 (cosh_test_upward): Likewise.
17906 (cpow_test): Likewise.
17907 (cproj_test): Likewise.
17908 (creal_test): Likewise.
17909 (csin_test): Likewise.
17910 (csinh_test): Likewise.
17911 (csqrt_test): Likewise.
17912 (ctan_test): Likewise.
17913 (ctan_test_tonearest): Likewise.
17914 (ctan_test_towardzero): Likewise.
17915 (ctan_test_downward): Likewise.
17916 (ctan_test_upward): Likewise.
17917 (ctanh_test): Likewise.
17918 (ctanh_test_tonearest): Likewise.
17919 (ctanh_test_towardzero): Likewise.
17920 (ctanh_test_downward): Likewise.
17921 (ctanh_test_upward): Likewise.
17922 (erf_test): Likewise.
17923 (erfc_test): Likewise.
17924 (exp_test): Likewise.
17925 (exp_test_tonearest): Likewise.
17926 (exp_test_towardzero): Likewise.
17927 (exp_test_downward): Likewise.
17928 (exp_test_upward): Likewise.
17929 (exp10_test): Likewise.
17930 (exp10_test_tonearest): Likewise.
17931 (exp10_test_towardzero): Likewise.
17932 (exp10_test_downward): Likewise.
17933 (exp10_test_upward): Likewise.
17934 (pow10_test): Likewise.
17935 (exp2_test): Likewise.
17936 (expm1_test): Likewise.
17937 (expm1_test_tonearest): Likewise.
17938 (expm1_test_towardzero): Likewise.
17939 (expm1_test_downward): Likewise.
17940 (expm1_test_upward): Likewise.
17941 (fabs_test): Likewise.
17942 (fdim_test): Likewise.
17943 (floor_test): Likewise.
17944 (fma_test): Likewise.
17945 (fma_test_towardzero): Likewise.
17946 (fma_test_downward): Likewise.
17947 (fma_test_upward): Likewise.
17948 (fmax_test): Likewise.
17949 (fmin_test): Likewise.
17950 (fmod_test): Likewise.
17951 (fpclassify_test): Likewise.
17952 (frexp_test): Likewise.
17953 (hypot_test): Likewise.
17954 (ilogb_test): Likewise.
17955 (isfinite_test): Likewise.
17956 (finite_test): Likewise.
17957 (isgreater_test): Likewise.
17958 (isgreaterequal_test): Likewise.
17959 (isinf_test): Likewise.
17960 (isless_test): Likewise.
17961 (islessequal_test): Likewise.
17962 (islessgreater_test): Likewise.
17963 (isnan_test): Likewise.
17964 (isnormal_test): Likewise.
17965 (issignaling_test): Likewise.
17966 (isunordered_test): Likewise.
17967 (j0_test): Likewise.
17968 (j1_test): Likewise.
17969 (jn_test): Likewise.
17970 (ldexp_test): Likewise.
17971 (lgamma_test): Likewise.
17972 (gamma_test): Likewise.
17973 (lrint_test): Likewise.
17974 (lrint_test_tonearest): Likewise.
17975 (lrint_test_towardzero): Likewise.
17976 (lrint_test_downward): Likewise.
17977 (lrint_test_upward): Likewise.
17978 (llrint_test): Likewise.
17979 (llrint_test_tonearest): Likewise.
17980 (llrint_test_towardzero): Likewise.
17981 (llrint_test_downward): Likewise.
17982 (llrint_test_upward): Likewise.
17983 (log_test): Likewise.
17984 (log10_test): Likewise.
17985 (log1p_test): Likewise.
17986 (log2_test): Likewise.
17987 (logb_test): Likewise.
17988 (logb_test_downward): Likewise.
17989 (lround_test): Likewise.
17990 (llround_test): Likewise.
17991 (modf_test): Likewise.
17992 (nearbyint_test): Likewise.
17993 (nextafter_test): Likewise.
17994 (nexttoward_test): Likewise.
17995 (pow_test): Likewise.
17996 (pow_test_tonearest): Likewise.
17997 (pow_test_towardzero): Likewise.
17998 (pow_test_downward): Likewise.
17999 (pow_test_upward): Likewise.
18000 (remainder_test): Likewise.
18001 (drem_test): Likewise.
18002 (remainder_test_tonearest): Likewise.
18003 (drem_test_tonearest): Likewise.
18004 (remainder_test_towardzero): Likewise.
18005 (drem_test_towardzero): Likewise.
18006 (remainder_test_downward): Likewise.
18007 (drem_test_downward): Likewise.
18008 (remainder_test_upward): Likewise.
18009 (drem_test_upward): Likewise.
18010 (remquo_test): Likewise.
18011 (rint_test): Likewise.
18012 (rint_test_tonearest): Likewise.
18013 (rint_test_towardzero): Likewise.
18014 (rint_test_downward): Likewise.
18015 (rint_test_upward): Likewise.
18016 (round_test): Likewise.
18017 (scalb_test): Likewise.
18018 (scalbn_test): Likewise.
18019 (scalbln_test): Likewise.
18020 (signbit_test): Likewise.
18021 (sin_test): Likewise.
18022 (sin_test_tonearest): Likewise.
18023 (sin_test_towardzero): Likewise.
18024 (sin_test_downward): Likewise.
18025 (sin_test_upward): Likewise.
18026 (sincos_test): Likewise.
18027 (sinh_test): Likewise.
18028 (sinh_test_tonearest): Likewise.
18029 (sinh_test_towardzero): Likewise.
18030 (sinh_test_downward): Likewise.
18031 (sinh_test_upward): Likewise.
18032 (sqrt_test): Likewise.
18033 (sqrt_test_tonearest): Likewise.
18034 (sqrt_test_towardzero): Likewise.
18035 (sqrt_test_downward): Likewise.
18036 (sqrt_test_upward): Likewise.
18037 (tan_test): Likewise.
18038 (tan_test_tonearest): Likewise.
18039 (tan_test_towardzero): Likewise.
18040 (tan_test_downward): Likewise.
18041 (tan_test_upward): Likewise.
18042 (tanh_test): Likewise.
18043 (tgamma_test): Likewise.
18044 (trunc_test): Likewise.
18045 (y0_test): Likewise.
18046 (y1_test): Likewise.
18047 (yn_test): Likewise.
18048 (significand_test): Likewise.
18050 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18051 individual tests in comment.
18052 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18053 (prev_max_error): New variable.
18054 (prev_real_max_error): Likewise.
18055 (prev_imag_max_error): Likewise.
18056 (compare_ulp_data): Don't refer to test names in comment.
18057 (find_test_ulps): Remove function.
18058 (find_function_ulps): Likewise.
18059 (find_complex_function_ulps): Likewise.
18060 (init_max_error): Take function name as argument. Look up ulps
18062 (print_ulps): Remove function.
18063 (print_max_error): Use prev_max_error instead of calling
18064 find_function_ulps.
18065 (print_complex_max_error): Use prev_real_max_error and
18066 prev_imag_max_error instead of calling find_complex_function_ulps.
18067 (check_float_internal): Take max_ulp parameter instead of calling
18068 find_test_ulps. Don't call print_ulps.
18069 (check_float): Update call to check_float_internal.
18070 (check_complex): Update calls to check_float_internal.
18071 (START): Pass argument to init_max_error.
18072 * math/gen-libm-test.pl (%results): Don't include "kind"
18074 (parse_ulps): Don't handle ulps of individual tests.
18075 (print_ulps_file): Likewise.
18076 (output_ulps): Likewise.
18077 * math/README.libm-test: Update.
18078 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18080 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18081 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18082 * sysdeps/arm/libm-test-ulps: Likewise.
18083 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18084 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18085 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18086 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18087 * sysdeps/microblaze/libm-test-ulps: Likewise.
18088 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18089 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18091 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18092 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18093 * sysdeps/sh/libm-test-ulps: Likewise.
18094 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18095 * sysdeps/tile/libm-test-ulps: Likewise.
18096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18098 2014-03-04 Joseph Myers <joseph@codesourcery.com>
18100 * math/libm-test.inc (print_complex_max_error): Check separately
18101 whether real and imaginary errors are within allowed range and
18102 pass 0 to print_complex_function_ulps instead of value within
18105 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18107 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18109 (get_handles_fopen): Likewise.
18110 (do_write_test): Likewise.
18112 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18114 * libio/fileops.c (do_ftell): Use cached offset when
18116 * libio/iofwide.c (do_ftell_wide): Likewise.
18117 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18119 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18122 * libio/libioP.h (get_file_offset): New function.
18123 * libio/fileops.c (get_file_offset): Likewise.
18124 (do_ftell): Likewise.
18125 (_IO_new_file_seekoff): Split out ftell logic.
18126 * libio/wfileops.c (do_ftell_wide): Likewise.
18127 (_IO_wfile_seekoff): Split out ftell logic.
18128 * libio/tst-ftell-active-handler.c: New test case.
18129 * libio/Makefile (tests): Add it.
18131 2014-03-03 Roland McGrath <roland@hack.frob.com>
18133 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18134 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18136 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18139 * nscd/connections.c (nscd_init): Call do_exit.
18140 (start_threads): Call do_exit and notify_parent.
18141 (begin_drop_privileges): Call do_exit.
18142 (finish_drop_privileges): Likewise.
18143 * nscd/selinux.c (preserve_capabilities): Likewise.
18144 (install_real_capabilities): Likewise.
18145 (nscd_selinux_enabled): Likewise.
18146 (avc_create_thread): Likewise.
18147 (avc_alloc_lock): Likewise.
18148 (nscd_avc_init): Likewise.
18149 * nscd/nscd.c (parent_fd): New static variable.
18150 (main): Create a pipe between parent and child processes.
18151 Skip closing parent_fd.
18152 (monitor_child): New function.
18153 (do_exit): Likewise.
18154 (notify_parent): Likewise.
18155 * nscd/nscd.h (notify_parent): Likewise.
18156 (do_exit): Likewise.
18158 2014-03-03 Carlos O'Donell <carlos@redhat.com>
18160 * malloc/malloc.c (__libc_calloc): Revert last change.
18162 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18166 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18168 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18172 (__libc_ifunc_impl_list): Likewise.
18173 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18174 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18175 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18176 * string/strrchr.c: Define STRRCHR.
18178 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
18180 * benchtest/bench-strtok.c (simple_strtok): Delete.
18181 (strtok_string): Use as benchmark.
18182 * string/strtok (STRTOK): New macro.
18184 2014-02-28 Carlos O'Donell <carlos@redhat.com>
18186 * manual/threads.texi: Add header and standard comments to all
18189 * elf/dl-lookup.c (check_match): New function.
18190 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18191 (do_lookup_x): Remove nested function check_match. Use non-nested
18192 function check_match.
18194 2014-02-28 Roland McGrath <roland@hack.frob.com>
18196 * csu/Makefile (generated, before-compile): Use += rather than =.
18197 * catgets/Makefile (generated, generated-dirs): Likewise.
18198 * debug/Makefile (generated): Likewise.
18199 * dlfcn/Makefile (generated): Likewise.
18200 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18201 * iconvdata/Makefile (before-compile, generated): Likewise.
18202 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18203 * libio/Makefile (generated): Likewise.
18204 * malloc/Makefile (generated): Likewise.
18205 * manual/Makefile (generated, generated-dirs): Likewise.
18206 * misc/Makefile (generated): Likewise.
18207 * posix/Makefile (generated): Likewise.
18208 * resolv/Makefile (generated): Likewise.
18209 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18210 * timezone/Makefile (generated, generated-dirs): Likewise.
18212 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18214 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18217 power8 implementation.
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18219 file: POWER8 llround ifunc implementation.
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18221 (__lllround): Add POWER8 implementation.
18222 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18223 POWER8 llround implementation.
18225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18226 power8 implementation.
18227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18228 file: POWER8 llrint ifunc implementation.
18229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18230 Add POWER8 implementation.
18231 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18232 POWER8 llrint implementation.
18234 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18235 power8 implementation.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18237 file: POWER8 finite ifunc implementation.
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18239 Add POWER8 implementation.
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18242 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18243 POWER8 finite implementation.
18244 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18247 power8 implementation.
18248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18249 file: POWER8 isinf ifunc implementation.
18250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18251 POWER8 implementation.
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18254 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18255 isinf implementation.
18256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18258 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18259 (INIT_ARCH): Add hwcap2 initialization.
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18261 power8 implementation.
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18263 file: POWER8 isnan ifunc implementation.
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18265 POWER8 implementation.
18266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18268 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18269 isnan implementation.
18270 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18272 2014-02-27 Joey Ye <joey.ye@arm.com>
18274 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18275 (_FP_NANFRAC_Q): Set to zero.
18277 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18280 * math/auto-libm-test-in: New test inputs.
18281 * math/auto-libm-test-out: Regenerate.
18282 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18285 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18287 2014-02-27 Joseph Myers <joseph@codesourcery.com>
18289 * scripts/evaluate-test.sh: Take new argument indicating whether
18290 failure is expected.
18291 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18292 indicating whether failure is expected.
18293 * conform/Makefile (test-xfail-run-conformtest): New variable.
18294 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18296 * posix/Makefile (test-xfail-annexc): New variable.
18297 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18299 2014-02-26 Joseph Myers <joseph@codesourcery.com>
18301 * argp/Makefile: Include Makeconfig immediately after defining
18303 * assert/Makefile: Likewise.
18304 * benchtests/Makefile: Likewise.
18305 * catgets/Makefile: Likewise.
18306 * conform/Makefile: Likewise.
18307 * crypt/Makefile: Likewise.
18308 * csu/Makefile: Likewise.
18309 (all): Remove target.
18310 * ctype/Makefile: Include Makeconfig immediately after defining
18312 * debug/Makefile: Likewise.
18313 * dirent/Makefile: Likewise.
18314 * dlfcn/Makefile: Likewise.
18315 * gmon/Makefile: Likewise.
18316 * gnulib/Makefile: Likewise.
18317 * grp/Makefile: Likewise.
18318 * gshadow/Makefile: Likewise.
18319 * hesiod/Makefile: Likewise.
18320 * hurd/Makefile: Likewise.
18321 (all): Remove target.
18322 * iconvdata/Makefile: Include Makeconfig immediately after
18324 * inet/Makefile: Likewise.
18325 * intl/Makefile: Likewise.
18326 * io/Makefile: Likewise.
18327 * libio/Makefile: Likewise.
18328 (all): Remove target.
18329 * locale/Makefile: Include Makeconfig immediately after defining
18331 * login/Makefile: Likewise.
18332 * mach/Makefile: Likewise.
18333 (all): Remove target.
18334 * malloc/Makefile: Include Makeconfig immediately after defining
18336 (all): Remove target.
18337 * manual/Makefile: Include Makeconfig immediately after defining
18339 * math/Makefile: Likewise.
18340 * misc/Makefile: Likewise.
18341 * nis/Makefile: Likewise.
18342 * nss/Makefile: Likewise.
18343 * po/Makefile: Likewise.
18344 (all): Remove target.
18345 * posix/Makefile: Include Makeconfig immediately after defining
18347 * pwd/Makefile: Likewise.
18348 * resolv/Makefile: Likewise.
18349 * resource/Makefile: Likewise.
18350 * rt/Makefile: Likewise.
18351 * setjmp/Makefile: Likewise.
18352 * shadow/Makefile: Likewise.
18353 * signal/Makefile: Likewise.
18354 * socket/Makefile: Likewise.
18355 * soft-fp/Makefile: Likewise.
18356 * stdio-common/Makefile: Likewise.
18357 * stdlib/Makefile: Likewise.
18358 * streams/Makefile: Likewise.
18359 * string/Makefile: Likewise.
18360 * sunrpc/Makefile: Likewise.
18361 (all): Remove target.
18362 * sysvipc/Makefile: Include Makeconfig immediately after defining
18364 * termios/Makefile: Likewise.
18365 * time/Makefile: Likewise.
18366 * timezone/Makefile: Likewise.
18367 (all): Remove target.
18368 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18370 * wctype/Makefile: Likewise.
18372 2014-02-26 Steve Ellcey <sellcey@mips.com>
18374 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18375 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18376 (libc_feholdexcept_setround_mips): Ditto.
18377 (libc_feholdsetround): New.
18378 (libc_feholdsetroundf): New.
18379 (libc_feholdsetroundl): New.
18380 (libc_feupdateenv_test_mips): New.
18381 (libc_feupdateenv_test): New.
18382 (libc_feupdateenv_testf): New.
18383 (libc_feupdateenv_testl): New.
18384 (libc_feresetround): New.
18385 (libc_feresetroundf): New.
18386 (libc_feresetroundl): New.
18387 (libc_fetestexcept_mips): New.
18388 (libc_fetestexcept): New.
18389 (libc_fetestexceptf): New.
18390 (libc_fetestexceptl): New.
18391 (HAVE_RM_CTX): New.
18392 (libc_feholdexcept_setround_mips_ctx): New.
18393 (libc_feholdexcept_setround_ctx): New.
18394 (libc_feholdexcept_setroundf_ctx): New.
18395 (libc_feholdexcept_setroundl_ctx): New.
18396 (libc_fesetenv_mips_ctx): New.
18397 (libc_fesetenv_ctx): New.
18398 (libc_fesetenv_ctxf): New.
18399 (libc_fesetenv_ctxl): New.
18400 (libc_feupdateenv_mips_ctx): New.
18401 (libc_feupdateenv_ctx): New.
18402 (libc_feupdateenvf_ctx): New.
18403 (libc_feupdateenvl_ctx): New.
18404 (libc_feholdsetround_mips_ctx): New.
18405 (libc_feholdsetround_ctx): New.
18406 (libc_feholdsetroundf_ctx): New.
18407 (libc_feholdsetroundl_ctx): New.
18408 (libc_feresetround_mips_ctx): New.
18409 (libc_feresetround_ctx): New.
18410 (libc_feresetroundf_ctx): New.
18411 (libc_feresetroundl_ctx): New.
18413 2014-02-26 Carlos O'Donell <carlos@redhat.com>
18415 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18417 * manual/ipc.texi: New file.
18418 * manual/Makefile (chapters): Add ipc.
18419 * manual/job.texi: Add "Inter-Process Communication" to next.
18420 * manual/process.texi: Add "Inter-Process Communication" to prev.
18422 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18426 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18428 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18430 * manual/arith.texi: Fix spaces after sentences.
18431 * manual/charset.texi: Likewise.
18432 * manual/errno.texi: Likewise.
18433 * manual/install.texi: Likewise.
18434 * manual/llio.texi: Likewise.
18435 * manual/locale.texi: Likewise.
18436 * manual/maint.texi: Likewise.
18437 * manual/math.texi: Likewise.
18438 * manual/memory.texi: Likewise.
18439 * manual/message.texi: Likewise.
18440 * manual/probes.texi: Likewise.
18441 * manual/resource.texi: Likewise.
18442 * manual/signal.texi: Likewise.
18443 * manual/socket.texi: Likewise.
18444 * manual/stdio.texi: Likewise.
18445 * manual/string.texi: Likewise.
18446 * manual/time.texi: Likewise.
18447 * manual/users.texi: Likewise.
18449 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18452 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18453 _DEFAULT_SOURCE is defined.
18455 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18456 Carlos O'Donell <carlos@redhat.com>
18459 * elf/dl-tls.c (_dl_count_modids): New function.
18460 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18461 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18462 audit library and increment generation counter.
18463 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18464 * elf/tst-audit9.c: New file.
18465 * elf/tst-auditmod9a.c: New file.
18466 * elf/tst-auditmod9b.c: New file.
18467 * elf/Makefile: Add rules to build and run tst-audit9.
18469 2014-02-25 Florian Weimer <fweimer@redhat.com>
18472 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18474 2014-02-25 Will Newton <will.newton@linaro.org>
18476 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18477 (__longjmp): Restore sp and lr before restoring callee
18478 saved registers. Add longjmp and longjmp_target
18479 SystemTap probe point.
18480 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18481 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18482 Define to zero to match jmpbuf layout.
18483 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18484 (__sigsetjmp): Save sp and lr before saving callee
18485 saved registers. Add setjmp SystemTap probe point.
18487 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18489 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18491 2014-02-24 Andreas Schwab <schwab@suse.de>
18494 * elf/pldd.c (wait_for_ptrace_stop): New function.
18495 (main): Call it after attaching.
18497 2014-02-22 Roland McGrath <roland@hack.frob.com>
18499 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18500 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18501 Versions files is now verboten.
18502 * hurd/Versions (libc: GLIBC_2.0):
18503 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18504 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18505 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18506 * mach/Versions: Likewise.
18508 * csu/Versions: Remove unused %include.
18509 * resolv/Versions: Likewise.
18511 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18513 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18514 ($(objpfx)check-local-headers.out): Likewise.
18515 ($(objpfx)begin-end-check.out): Likewise.
18516 * Makerules (check-abi-%.out): Likewise.
18517 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18518 ($(objpfx)test2.cat): Likewise.
18519 ($(objpfx)de/libc.cat): Likewise.
18520 ($(objpfx)test-gencat.out): Likewise.
18521 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18522 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18523 ($(objpfx)noload-mem): Likewise.
18524 ($(objpfx)tst-pathopt.out): Likewise.
18525 ($(objpfx)tst-rtld-load-self.out): Likewise.
18526 ($(objpfx)tst-array1-cmp.out): Likewise.
18527 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18528 ($(objpfx)tst-array2-cmp.out): Likewise.
18529 ($(objpfx)tst-array3-cmp.out): Likewise.
18530 ($(objpfx)tst-array4-cmp.out): Likewise.
18531 ($(objpfx)tst-array5-cmp.out): Likewise.
18532 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18533 ($(objpfx)check-textrel.out): Likewise.
18534 ($(objpfx)check-execstack.out): Likewise.
18535 ($(objpfx)check-localplt.out): Likewise.
18536 ($(objpfx)order2-cmp.out): Likewise.
18537 ($(objpfx)tst-leaks1-mem): Likewise.
18538 ($(objpfx)tst-leaks1-static-mem): Likewise.
18539 ($(objpfx)tst-initorder-cmp.out): Likewise.
18540 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18541 ($(objpfx)tst-unused-dep.out): Likewise.
18542 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18543 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18544 * iconv/Makefile (test-iconvconfig): Likewise.
18545 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18546 ($(objpfx)iconv-test.out): Likewise.
18547 ($(objpfx)tst-tables.out): Likewise.
18548 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18549 ($(objpfx)tst-gettext.out): Likewise.
18550 ($(objpfx)tst-translit.out): Likewise.
18551 ($(objpfx)tst-gettext2.out): Likewise.
18552 ($(objpfx)tst-gettext4.out): Likewise.
18553 ($(objpfx)tst-gettext6.out): Likewise.
18554 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18555 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18556 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18557 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18558 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18559 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18560 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18561 ($(objpfx)wordexp-tst.out): Likewise.
18562 ($(objpfx)annexc.out): Likewise.
18563 ($(objpfx)tst-fnmatch-mem): Likewise.
18564 ($(objpfx)bug-regex2-mem): Likewise.
18565 ($(objpfx)bug-regex14-mem): Likewise.
18566 ($(objpfx)bug-regex21-mem): Likewise.
18567 ($(objpfx)bug-regex31-mem): Likewise.
18568 ($(objpfx)tst-vfork3-mem): Likewise.
18569 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18570 ($(objpfx)tst-pcre-mem): Likewise.
18571 ($(objpfx)tst-boost-mem): Likewise.
18572 ($(objpfx)tst-getconf.out): Likewise.
18573 ($(objpfx)bug-ga2-mem): Likewise.
18574 ($(objpfx)bug-glob2-mem): Likewise.
18575 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18576 ($(objpfx)mtrace-tst-leaks2): Likewise.
18577 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18578 ($(objpfx)tst-printf.out): Likewise.
18579 ($(objpfx)tst-setvbuf1.out): Likewise.
18580 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18581 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18582 ($(objpfx)tst-fmtmsg.out): Likewise.
18583 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18584 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18586 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18587 * bits/sigaction.h [__USE_MISC]: Likewise.
18588 * bits/waitstatus.h: Update #endif comments.
18589 * ctype/ctype.h: Likewise.
18590 * dirent/dirent.h: Likewise.
18591 [__USE_MISC]: Remove redundant conditionals.
18592 * grp/grp.h: Update #endif comments.
18593 [__USE_GNU]: Remove redundant conditionals.
18594 [__USE_MISC]: Likewise.
18595 * inet/netinet/in.h [__USE_GNU]: Likewise.
18596 * io/sys/stat.h [__USE_MISC]: Likewise.
18597 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18598 * libio/bits/stdio.h: Update #endif comments.
18599 [__USE_MISC]: Remove redundant conditionals.
18600 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18601 * libio/stdio.h: Update #endif comments.
18602 [__USE_MISC]: Remove redundant conditionals.
18603 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18604 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18605 * math/math.h: Update #else and #endif comments.
18606 [__USE_MISC]: Remove redundant conditionals.
18607 * misc/sys/uio.h: Update #endif comments.
18608 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18609 * posix/glob.h [__USE_MISC]: Likewise.
18610 * posix/sys/types.h: Update #endif comments.
18611 [__USE_MISC]: Remove redundant conditionals.
18612 * posix/sys/wait.h: Update #endif comments.
18613 [__USE_MISC]: Remove redundant conditionals.
18614 * posix/unistd.h: Update #endif comments.
18615 [__USE_MISC]: Remove redundant conditionals.
18616 * pwd/pwd.h [__USE_GNU]: Likewise.
18617 [__USE_MISC]: Likewise.
18618 * resolv/netdb.h [__USE_GNU]: Likewise.
18619 * signal/signal.h: Update #endif comments.
18620 [__USE_MISC]: Remove redundant conditionals.
18621 * stdlib/stdlib.h: Update #else and #endif comments.
18622 [__USE_MISC]: Remove redundant conditionals.
18623 [__USE_GNU]: Likewise.
18624 * string/bits/string2.h [__USE_MISC]: Likewise.
18625 * string/string.h: Update #endif comments.
18626 [__USE_MISC]: Remove redundant conditionals.
18627 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18629 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18630 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18631 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18633 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18635 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18637 [__USE_MISC]: Remove redundant conditionals.
18638 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18639 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18640 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18641 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18642 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18644 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18645 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18647 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18648 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18650 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18652 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18653 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18655 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18657 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18658 * sysdeps/x86/bits/string.h: Update #endif comments.
18659 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18661 * time/sys/time.h: Update #endif comments.
18662 * time/time.h: Likewise.
18663 [__USE_MISC]: Remove redundant conditionals.
18665 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18668 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18670 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18672 * Versions.def (librt): Add GLIBC_2.17.
18674 2014-02-21 Adam Conrad <adconrad@0c3.net>
18676 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18677 synonym for _SYS_AUXV_H to allow direct inclusion.
18678 * sysdeps/sparc/bits/hwcap.h: Likewise.
18679 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18680 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18681 * sysdeps/sparc/sysdep.h: Likewise.
18683 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18685 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18687 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18689 * benchtests/bench-strrchr.c: Print length instead of position.
18691 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18694 * sysdeps/unix/sysv/linux/kernel-features.h
18695 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18696 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18697 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18698 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18700 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18701 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18702 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18703 (__ASSUME_SENDMMSG): Define instead of using previous
18704 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18705 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18706 (__ASSUME_SENDMMSG_SYSCALL): Define.
18707 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18708 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18710 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18711 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18713 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18714 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18716 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18717 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18718 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18719 [__ASSUME_SENDMMSG]: Change conditionals to
18720 [__ASSUME_SENDMMSG_SOCKETCALL].
18721 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18722 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18724 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18725 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18727 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18728 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18729 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18730 [!__ASSUME_SENDMMSG]: Change conditional to
18731 [!__ASSUME_SENDMMSG_SOCKETCALL].
18732 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18733 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18737 * sysdeps/unix/sysv/linux/kernel-features.h
18738 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18739 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18740 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18741 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18742 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18743 [__i386__ || __sparc__]
18744 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18745 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18746 (__ASSUME_RECVMMSG): Define instead of using previous
18747 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18748 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18749 (__ASSUME_RECVMMSG_SYSCALL): Define.
18750 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18751 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18753 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18754 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18756 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18757 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18759 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18760 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18761 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18762 [__ASSUME_RECVMMSG]: Change condition to
18763 [__ASSUME_RECVMMSG_SOCKETCALL].
18764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18765 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18767 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18769 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18771 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18772 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18773 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18774 [!__ASSUME_RECVMMSG]: Change condition to
18775 [!__ASSUME_RECVMMSG_SOCKETCALL].
18776 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18777 (__ASSUME_RECVMMSG_SYSCALL): Define.
18780 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18781 __powerpc__ || __s390__ || __sh__ || __sparc__]
18782 (__ASSUME_SOCKETCALL): Define.
18783 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18784 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18785 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18786 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18787 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18788 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18789 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18790 (__ASSUME_ACCEPT4): Define instead of using previous
18791 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18792 __powerpc__ || __sparc__ || __s390__)] condition.
18793 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18794 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18795 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18796 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18797 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18798 [!__ASSUME_ACCEPT4]: Change condition to
18799 [!__ASSUME_ACCEPT4_SOCKETCALL].
18800 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18801 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18802 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18804 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18805 __ASSUME_ACCEPT4_SYSCALL.
18806 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18807 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18808 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18809 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18810 __ASSUME_ACCEPT4_SYSCALL.
18811 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18812 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18813 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18814 [__ASSUME_ACCEPT4]: Change condition to
18815 [__ASSUME_ACCEPT4_SOCKETCALL].
18816 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18817 (__ASSUME_SOCKETCALL): Define.
18818 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18820 (__ASSUME_SOCKETCALL): Define.
18821 (__ASSUME_ACCEPT4): Remove.
18822 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18824 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18825 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18827 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18828 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18830 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18832 (HWCAP_ARM_LPAE): Likewise.
18833 (HWCAP_ARM_EVTSTRM): Likewise.
18834 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18835 Add vpfd32, lpae and evtstrm.
18836 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18839 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18841 * math/auto-libm-test-in: Add tests of clog10.
18842 * math/auto-libm-test-out: Regenerated.
18843 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18844 * sysdeps/i386/fpu/libm-test-ulps: Update.
18845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847 2014-02-18 Andreas Schwab <schwab@suse.de>
18850 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18851 Store non-zero if the second buffer was newly allocated.
18852 (send_dg): Likewise.
18853 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18854 to send_vc and send_dg.
18855 (res_nsend): Pass NULL for ansp2_malloced.
18856 * resolv/res_query.c (__libc_res_nquery): Add parameter
18857 answerp2_malloced and pass it down to __libc_res_nsend.
18858 (res_nquery): Pass additional NULL to __libc_res_nquery.
18859 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18860 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18861 second answer buffer if answerp2_malloced was set.
18862 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18863 (__libc_res_nquerydomain): Add parameter
18864 answerp2_malloced and pass it down to __libc_res_nquery.
18865 (res_nquerydomain): Pass additional NULL to
18866 __libc_res_nquerydomain.
18867 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18868 additional NULL to __libc_res_nsend and __libc_res_nquery.
18869 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18870 additional NULL to __libc_res_nsearch.
18871 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18872 parameter of __libc_res_nsearch to check for separately allocated
18874 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18876 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18877 additional NULL to __libc_res_nquery.
18878 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18879 __libc_res_nsearch.
18880 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18881 * include/resolv.h: Update prototypes of __libc_res_nquery,
18882 __libc_res_nsearch, __libc_res_nsend.
18884 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18886 * math/auto-libm-test-in: Add tests of fma.
18887 * math/auto-libm-test-out: Regenerated.
18888 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18889 (fma_towardzero_test_data): Likewise.
18890 (fma_downward_test_data): Likewise.
18891 (fma_upward_test_data): Likewise.
18892 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18894 (rounding_modes): Add values for new field.
18895 (func_calc_method): Add value mpfr_fff_f.
18896 (func_calc_desc): Add mpfr_fff_f union field.
18897 (test_function): Add field exact_args.
18898 (FUNC): Add macro argument EXACT_ARGS.
18899 (FUNC_mpfr_f_f): Update call to FUNC.
18900 (FUNC_mpfr_f_f): Likewise.
18901 (FUNC_mpfr_ff_f): Likewise.
18902 (FUNC_mpfr_if_f): Likewise.
18903 (FUNC_mpc_c_f): Likewise.
18904 (FUNC_mpc_c_c): Likewise.
18905 (test_functions): Add fma. Update calls to FUNC.
18906 (handle_input_arg): Add argument exact_args.
18907 (add_test): Update call to handle_input_arg.
18908 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18909 (output_for_one_input_case): Update call to calc_generic_results.
18910 Recalculate exact zero results in each rounding mode.
18912 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18913 non-negative before setting low bit.
18914 * math/auto-libm-test-in: Mark one asin test possibly having
18915 spurious underflow.
18916 * math/auto-libm-test-out: Regenerated.
18917 * sysdeps/i386/fpu/libm-test-ulps: Update.
18918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18920 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18922 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18923 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18924 ports/sysdeps/unix/sysv/linux/microblaze.
18925 * README: Add missing listing for microblaze*-*-linux-gnu.
18927 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18929 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18932 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18934 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18935 * sysdeps/unix/sysv/linux/ia64: Move directory from
18936 ports/sysdeps/unix/sysv/linux/ia64.
18937 * README: Update listing for ia64-*-linux-gnu.
18939 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18940 Joseph Myers <joseph@codesourcery.com>
18942 * Makeconfig (test-name): New variable.
18943 (evaluate-test): Likewise.
18944 * Makerules (do-test-clean): Remove .test-result files.
18945 (common-mostlyclean): Likewise.
18946 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18947 * scripts/evaluate-test.sh: New file.
18949 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18951 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18952 separate $(objpfx)tst-fopenloc-cmp.out and
18953 $(objpfx)tst-fopenloc-mem.out targets.
18954 (tests): Update dependencies.
18955 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18956 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18957 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18958 (tst-rxspencer-no-utf8-ARGS): New variable.
18959 (tst-rxspencer-no-utf8-ENV): Likewise.
18960 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18961 instead of $(objpfx)tst-rxspencer-mem.
18962 ($(objpfx)tst-rxspencer-mem): Change target to
18963 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18964 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18965 * posix/tst-rxspencer-no-utf8.c: New file.
18967 * elf/Makefile ($(objpfx)order.out): Remove rule.
18968 [$(run-built-tests) = yes] (tests): Depend on
18969 $(objpfx)order-cmp.out.
18970 ($(objpfx)order-cmp.out): New rule.
18971 [$(run-built-tests) = yes] (tests): Depend on
18972 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18973 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18974 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18975 $(objpfx)tst-array5-static-cmp.out.
18976 ($(objpfx)tst-array1.out): Remove rule.
18977 ($(objpfx)tst-array1-cmp.out): New rule.
18978 ($(objpfx)tst-array1-static.out): Remove rule.
18979 ($(objpfx)tst-array1-static-cmp.out): New rule.
18980 ($(objpfx)tst-array2.out): Remove rule.
18981 ($(objpfx)tst-array2-cmp.out): New rule.
18982 ($(objpfx)tst-array3.out): Remove rule.
18983 ($(objpfx)tst-array3-cmp.out): New rule.
18984 ($(objpfx)tst-array4.out): Remove rule.
18985 ($(objpfx)tst-array4-cmp.out): New rule.
18986 ($(objpfx)tst-array5.out): Remove rule.
18987 ($(objpfx)tst-array5-cmp.out): New rule.
18988 ($(objpfx)tst-array5-static.out): Remove rule.
18989 ($(objpfx)tst-array5-static-cmp.out): New rule.
18990 [$(run-built-tests) = yes] (tests): Depend on
18991 $(objpfx)order2-cmp.out.
18992 ($(objpfx)order2.out): Remove rule.
18993 ($(objpfx)order2-cmp.out): New rule.
18994 ($(objpfx)tst-initorder.out): Remove rule.
18995 [$(run-built-tests) = yes] (tests): Depend on
18996 $(objpfx)tst-initorder-cmp.out.
18997 ($(objpfx)tst-initorder-cmp.out): New rule.
18998 ($(objpfx)tst-initorder2.out): Remove rule.
18999 [$(run-built-tests) = yes] (tests): Depend on
19000 $(objpfx)tst-initorder2-cmp.out.
19001 ($(objpfx)tst-initorder2-cmp.out): New rule.
19002 [$(run-built-tests) = yes] (tests): Depend on
19003 $(objpfx)tst-unused-dep-cmp.out.
19004 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19005 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19006 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19007 on $(objpfx)tst-setvbuf1-cmp.out.
19008 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19009 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19010 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19011 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19012 ($(objpfx)tst-svc.out): Remove rule.
19013 ($(objpfx)tst-svc-cmp.out): New rule.
19015 2014-02-13 Joseph Myers <joseph@codesourcery.com>
19017 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19018 * ctype/ctype.h [__USE_MISC]: Likewise.
19019 * dirent/dirent.h [__USE_MISC]: Likewise.
19020 * grp/grp.h [__USE_MISC]: Likewise.
19021 * io/fcntl.h [__USE_MISC]: Likewise.
19022 * io/sys/stat.h [__USE_MISC]: Likewise.
19023 * libio/stdio.h [__USE_MISC]: Likewise.
19024 * posix/unistd.h [__USE_MISC]: Likewise.
19025 * pwd/pwd.h [__USE_MISC]: Likewise.
19026 * stdlib.h [__USE_MISC]: Likewise.
19027 * string/bits/string2.h [__USE_MISC]: Likewise.
19028 * string/string.h [__USE_MISC]: Likewise.
19029 * time/time.h [__USE_MISC]: Likewise.
19031 2014-02-13 Andreas Schwab <schwab@suse.de>
19034 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19035 second answer buffer if it was separately allocated.
19037 2014-02-12 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/mips/math-tests.h: Include <features.h>.
19040 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19041 (ROUNDING_TESTS_long_double): Do not define.
19042 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19043 (EXCEPTION_TESTS_long_double): Likewise.
19044 * sysdeps/mips/mips64/libm-test-ulps: Update.
19046 * include/features.h (__USE_BSD): Remove macro definitions.
19047 (__USE_SVID): Likewise.
19048 (_BSD_SOURCE): Likewise.
19049 (_SVID_SOURCE): Likewise.
19050 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19051 from definition of _DEFAULT_SOURCE.
19052 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19054 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19055 * bits/mman.h [__USE_BSD]: Likewise.
19056 * bits/termios.h [__USE_BSD]: Likewise.
19057 * bits/waitstatus.h [__USE_BSD]: Likewise.
19058 * ctype/ctype.h [__USE_SVID]: Likewise.
19059 * dirent/dirent.h [__USE_BSD]: Likewise.
19060 * grp/grp.h [__USE_SVID]: Likewise.
19061 [__USE_BSD]: Likewise.
19062 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19063 * io/fcntl.h [__USE_BSD]: Likewise.
19064 * io/ftw.h [__USE_BSD]: Likewise.
19065 * io/sys/stat.h [__USE_BSD]: Likewise.
19066 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19067 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19068 * libio/stdio.h [__USE_SVID]: Likewise.
19069 [__USE_BSD]: Likewise.
19070 * math/math.h [__USE_SVID]: Likewise.
19071 [__USE_BSD]: Likewise.
19072 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19073 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19074 * misc/search.h [__USE_SVID]: Likewise.
19075 * misc/sys/mman.h [__USE_BSD]: Likewise.
19076 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19077 * misc/sys/uio.h [__USE_BSD]: Likewise.
19078 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19079 * posix/glob.h [__USE_BSD]: Likewise.
19080 * posix/regex.h [__USE_BSD]: Likewise.
19081 * posix/sys/types.h [__USE_BSD]: Likewise.
19082 [__USE_SVID]: Likewise.
19083 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19084 * posix/sys/wait.h [__USE_BSD]: Likewise.
19085 [__USE_SVID]: Likewise.
19086 * posix/unistd.h [__USE_BSD]: Likewise.
19087 [__USE_SVID]: Likewise.
19088 * pwd/pwd.h [__USE_SVID]: Likewise.
19089 * resolv/netdb.h [__USE_BSD]: Likewise.
19090 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19091 * signal/signal.h [__USE_BSD]: Likewise.
19092 [__USE_SVID]: Likewise.
19093 * socket/sys/socket.h [__USE_BSD]: Likewise.
19094 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19095 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19096 [__USE_SVID]: Likewise.
19097 * string/bits/string2.h [__USE_BSD]: Likewise.
19098 [__USE_SVID]: Likewise.
19099 * string/bits/string3.h [__USE_BSD]: Likewise.
19100 * string/endian.h [__USE_BSD]: Likewise.
19101 * string/string.h [__USE_SVID]: Likewise.
19102 [__USE_BSD]: Likewise.
19103 * string/strings.h [__USE_BSD]: Likewise.
19104 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19105 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19106 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19107 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19108 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19109 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19113 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19114 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19116 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19117 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19119 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19121 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19122 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19123 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19125 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19127 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19128 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19129 * termios/termios.h [__USE_BSD]: Likewise.
19130 * time/sys/time.h [__USE_BSD]: Likewise.
19131 * time/time.h [__USE_BSD]: Likewise.
19132 [__USE_SVID]: Likewise.
19134 * Makefile (subdir_targets): Remove subdir_lint.out.
19136 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19137 (do-tst-printf): Likewise.
19138 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19139 $(objpfx)tst-printf.out.
19141 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19143 * Makerules (check-abi-%): Change target to
19144 $(objpfx)check-abi-%.out.
19145 (check-abi target): Update dependencies.
19146 (check-abi-pattern variable): Redirect output of diff to $@.
19147 (check-abi variable): Likewise.
19148 * elf/Makefile (check-abi): Update dependencies.
19150 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19152 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19153 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19155 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19156 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19157 value has largest subnormal exponent.
19158 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19159 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19160 * sysdeps/aarch64/soft-fp/sfp-machine.h
19161 (_FP_TININESS_AFTER_ROUNDING): New macro.
19162 * sysdeps/alpha/soft-fp/sfp-machine.h
19163 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19164 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19166 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19167 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19168 * sysdeps/mips/soft-fp/sfp-machine.h
19169 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19170 * sysdeps/powerpc/soft-fp/sfp-machine.h
19171 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19172 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19175 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19177 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19178 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19181 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
19184 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19187 2014-02-12 Richard Henderson <rth@redhat.com>
19189 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19190 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19191 * sysdeps/unix/sysv/linux/alpha: Move directory from
19192 ports/sysdeps/unix/sysv/linux/alpha.
19193 * README: Update listing for alpha-*-linux-gnu.
19195 2014-02-11 Joseph Myers <joseph@codesourcery.com>
19197 * include/features.h: Update comment documenting feature test
19199 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19201 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19202 (_SVID_SOURCE): Likewise.
19203 (_DEFAULT_SOURCE): Update description of default features.
19204 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19206 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19207 (S_ISVTX): Likewise.
19208 * manual/math.texi (Mathematical Constants): Likewise.
19209 * manual/signal.texi (Interrupted Primitives): Likewise.
19210 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19211 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19212 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19213 Don't refer to _SVID_SOURCE in warning text.
19215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19217 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19219 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19220 * sysdeps/mips/dl-lookup.c: Remove.
19221 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19223 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19226 * math/auto-libm-test-in: Add testcase for expl.
19227 * math/auto-libm-test-out: Regenerate.
19228 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19229 calculation of unsafe.
19230 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19232 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19234 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19235 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19236 ports/sysdeps/unix/sysv/linux/aarch64.
19237 * README: Update listing for aarch64*-*-linux-gnu.
19239 2014-02-11 Will Newton <will.newton@linaro.org>
19241 * manual/probes.texi (Mathematical Function Probes): Use
19242 "triggered" instead of "hit".
19244 * manual/probes.texi (Internal Probes): Add documentation
19245 of setjmp, longjmp and longjmp_target probes.
19247 * include/stap-probe.h: Add comment about probe argument
19250 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19251 definition. (tr_where, tr_freehook, tr_mallochook,
19252 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19254 2014-02-11 David S. Miller <davem@davemloft.net>
19256 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19257 processing int_tests.
19259 2014-02-10 Joseph Myers <joseph@codesourcery.com>
19261 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19262 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19263 * sysdeps/unix/sysv/linux/mips: Move directory from
19264 ports/sysdeps/unix/sysv/linux/mips.
19265 * README: Update listing for mips-*-linux-gnu and
19266 mips64-*-linux-gnu.
19268 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19270 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19271 * sysdeps/unix/sysv/linux/m68k: Move directory from
19272 ports/sysdeps/unix/sysv/linux/m68k.
19273 * README: Update listing for m68k-*-linux-gnu.
19275 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19277 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19278 * sysdeps/unix/sysv/linux/generic: Move directory from
19279 ports/sysdeps/unix/sysv/linux/generic.
19280 * sysdeps/unix/sysv/linux/tile: Move directory from
19281 ports/sysdeps/unix/sysv/linux/tile.
19282 * README: Update listing for tile*-*-linux-gnu.
19284 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
19286 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19288 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19289 * catgets/open_catalog.c (__open_catalog): Likewise.
19290 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19291 * debug/confstr_chk.c: Likewise.
19292 * debug/fread_chk.c (__fread_chk): Likewise.
19293 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19294 * debug/getgroups_chk.c: Likewise.
19295 * debug/mbsnrtowcs_chk.c: Likewise.
19296 * debug/mbsrtowcs_chk.c: Likewise.
19297 * debug/mbstowcs_chk.c: Likewise.
19298 * debug/memcpy_chk.c: Likewise.
19299 * debug/memmove_chk.c: Likewise.
19300 * debug/mempcpy_chk.c: Likewise.
19301 * debug/memset_chk.c: Likewise.
19302 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19303 * debug/strcat_chk.c (__strcat_chk): Likewise.
19304 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19305 * debug/strncat_chk.c (__strncat_chk): Likewise.
19306 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19307 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19308 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19309 * debug/wcpncpy_chk.c: Likewise.
19310 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19311 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19312 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19313 * debug/wcsncpy_chk.c: Likewise.
19314 * debug/wcsnrtombs_chk.c: Likewise.
19315 * debug/wcsrtombs_chk.c: Likewise.
19316 * debug/wcstombs_chk.c: Likewise.
19317 * debug/wmemcpy_chk.c: Likewise.
19318 * debug/wmemmove_chk.c: Likewise.
19319 * debug/wmempcpy_chk.c: Likewise.
19320 * debug/wmemset_chk.c: Likewise.
19321 * dirent/scandirat.c (SCANDIRAT): Likewise.
19322 * dlfcn/dladdr1.c (dladdr1): Likewise.
19323 * dlfcn/dladdr.c (dladdr): Likewise.
19324 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19325 * dlfcn/dlerror.c (__dlerror): Likewise.
19326 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19327 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19328 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19329 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19330 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19331 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19332 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19333 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19335 * elf/dl-conflict.c: Likewise.
19336 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19337 * elf/dl-dst.h: Likewise.
19338 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19339 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19340 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19341 * elf/dl-init.c (call_init, _dl_init): Likewise.
19342 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19343 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19344 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19346 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19348 * elf/dl-minimal.c (__libc_memalign): Likewise.
19349 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19350 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19351 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19352 * elf/dl-sym.c (do_sym): Likewise.
19353 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19354 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19355 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19356 * elf/dl-writev.h (_dl_writev): Likewise.
19357 * elf/ldconfig.c (search_dir): Likewise.
19358 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19359 (dl_main): Likewise.
19360 * elf/setup-vdso.h (setup_vdso): Likewise.
19361 * grp/compat-initgroups.c (compat_call): Likewise.
19362 * grp/fgetgrent.c (fgetgrent): Likewise.
19363 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19364 * grp/putgrent.c (putgrent): Likewise.
19365 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19367 * hurd/hurdinit.c: Likewise.
19368 * iconvdata/8bit-gap.c (struct): Likewise.
19369 * iconvdata/ansi_x3.110.c : Likewise.
19370 * iconvdata/big5.c : Likewise.
19371 * iconvdata/big5hkscs.c : Likewise.
19372 * iconvdata/cp1255.c: Likewise.
19373 * iconvdata/cp1258.c : Likewise.
19374 * iconvdata/cp932.c : Likewise.
19375 * iconvdata/euc-cn.c: Likewise.
19376 * iconvdata/euc-jisx0213.c : Likewise.
19377 * iconvdata/euc-jp.c: Likewise.
19378 * iconvdata/euc-jp-ms.c : Likewise.
19379 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19380 * iconvdata/gb18030.c : Likewise.
19381 * iconvdata/gbbig5.c (const): Likewise.
19382 * iconvdata/gbgbk.c: Likewise.
19383 * iconvdata/gbk.c : Likewise.
19384 * iconvdata/ibm1364.c : Likewise.
19385 * iconvdata/ibm930.c : Likewise.
19386 * iconvdata/ibm932.c: Likewise.
19387 * iconvdata/ibm933.c : Likewise.
19388 * iconvdata/ibm935.c : Likewise.
19389 * iconvdata/ibm937.c : Likewise.
19390 * iconvdata/ibm939.c : Likewise.
19391 * iconvdata/ibm943.c: Likewise.
19392 * iconvdata/iso_11548-1.c: Likewise.
19393 * iconvdata/iso-2022-cn.c : Likewise.
19394 * iconvdata/iso-2022-cn-ext.c : Likewise.
19395 * iconvdata/iso-2022-jp-3.c: Likewise.
19396 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19397 * iconvdata/iso-2022-kr.c : Likewise.
19398 * iconvdata/iso646.c (gconv_end): Likewise.
19399 * iconvdata/iso_6937-2.c : Likewise.
19400 * iconvdata/iso_6937.c : Likewise.
19401 * iconvdata/iso8859-1.c: Likewise.
19402 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19403 * iconvdata/shift_jisx0213.c : Likewise.
19404 * iconvdata/sjis.c : Likewise.
19405 * iconvdata/t.61.c : Likewise.
19406 * iconvdata/tcvn5712-1.c : Likewise.
19407 * iconvdata/tscii.c: Likewise.
19408 * iconvdata/uhc.c : Likewise.
19409 * iconvdata/unicode.c (gconv_end): Likewise.
19410 * iconvdata/utf-16.c (gconv_end): Likewise.
19411 * iconvdata/utf-32.c (gconv_end): Likewise.
19412 * iconvdata/utf-7.c (base64): Likewise.
19413 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19414 * iconv/gconv_close.c (__gconv_close): Likewise.
19415 * iconv/gconv_open.c (__gconv_open): Likewise.
19416 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19417 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19418 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19419 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19420 (ucs4le_internal_loop_single): Likewise.
19421 * iconv/iconv.c (iconv): Likewise.
19422 * iconv/iconv_close.c: Likewise.
19423 * iconv/loop.c (SINGLE): Likewise.
19424 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19425 * include/atomic.h: Likewise.
19426 * inet/inet6_option.c (option_alloc): Likewise.
19427 * intl/bindtextdom.c (set_binding_values): Likewise.
19428 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19429 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19430 * intl/localealias.c (read_alias_file): Likewise.
19431 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19432 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19433 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19434 * libio/fmemopen.c (fmemopen): Likewise.
19435 * libio/iofgets.c (_IO_fgets): Likewise.
19436 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19437 * libio/iofgetws.c (fgetws): Likewise.
19438 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19439 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19440 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19441 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19442 * locale/findlocale.c (_nl_find_locale): Likewise.
19443 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19444 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19446 * locale/setlocale.c (setlocale): Likewise.
19447 * login/programs/pt_chown.c (main): Likewise.
19448 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19449 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19450 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19451 (mmap, mmap64, mremap, munmap): Likewise.
19452 * math/e_exp2l.c: Likewise.
19453 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19454 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19455 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19456 * math/s_catan.c (__catan): Likewise.
19457 * math/s_catanf.c (__catanf): Likewise.
19458 * math/s_catanh.c (__catanh): Likewise.
19459 * math/s_catanhf.c (__catanhf): Likewise.
19460 * math/s_catanhl.c (__catanhl): Likewise.
19461 * math/s_catanl.c (__catanl): Likewise.
19462 * math/s_ccosh.c (__ccosh): Likewise.
19463 * math/s_ccoshf.c (__ccoshf): Likewise.
19464 * math/s_ccoshl.c (__ccoshl): Likewise.
19465 * math/s_cexp.c (__cexp): Likewise.
19466 * math/s_cexpf.c (__cexpf): Likewise.
19467 * math/s_cexpl.c (__cexpl): Likewise.
19468 * math/s_clog10.c (__clog10): Likewise.
19469 * math/s_clog10f.c (__clog10f): Likewise.
19470 * math/s_clog10l.c (__clog10l): Likewise.
19471 * math/s_clog.c (__clog): Likewise.
19472 * math/s_clogf.c (__clogf): Likewise.
19473 * math/s_clogl.c (__clogl): Likewise.
19474 * math/s_csin.c (__csin): Likewise.
19475 * math/s_csinf.c (__csinf): Likewise.
19476 * math/s_csinh.c (__csinh): Likewise.
19477 * math/s_csinhf.c (__csinhf): Likewise.
19478 * math/s_csinhl.c (__csinhl): Likewise.
19479 * math/s_csinl.c (__csinl): Likewise.
19480 * math/s_csqrt.c (__csqrt): Likewise.
19481 * math/s_csqrtf.c (__csqrtf): Likewise.
19482 * math/s_csqrtl.c (__csqrtl): Likewise.
19483 * math/s_ctan.c (__ctan): Likewise.
19484 * math/s_ctanf.c (__ctanf): Likewise.
19485 * math/s_ctanh.c (__ctanh): Likewise.
19486 * math/s_ctanhf.c (__ctanhf): Likewise.
19487 * math/s_ctanhl.c (__ctanhl): Likewise.
19488 * math/s_ctanl.c (__ctanl): Likewise.
19489 * math/w_pow.c: Likewise.
19490 * math/w_powf.c: Likewise.
19491 * math/w_powl.c: Likewise.
19492 * math/w_scalb.c (sysv_scalb): Likewise.
19493 * math/w_scalbf.c (sysv_scalbf): Likewise.
19494 * math/w_scalbl.c (sysv_scalbl): Likewise.
19495 * misc/error.c (error_tail): Likewise.
19496 * misc/pselect.c (__pselect): Likewise.
19497 * nis/nis_callback.c (__nis_create_callback): Likewise.
19498 * nis/nis_call.c (__nisfind_server): Likewise.
19499 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19500 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19501 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19502 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19503 * nis/nis_lookup.c (nis_lookup): Likewise.
19504 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19505 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19506 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19507 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19508 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19509 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19510 * nis/nss_compat/compat-initgroups.c (add_group)
19511 (internal_getgrent_r): Likewise.
19512 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19513 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19514 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19515 (internal_getspnam_r): Likewise.
19516 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19517 (_nss_nis_getaliasbyname_r): Likewise.
19518 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19519 (_nss_nis_getntohost_r): Likewise.
19520 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19521 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19522 (_nss_nis_getgrgid_r): Likewise.
19523 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19524 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19525 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19526 (_nss_nis_gethostbyname4_r): Likewise.
19527 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19528 (initgroups_netid): Likewise.
19529 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19530 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19531 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19532 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19533 (_nss_nis_getprotobynumber_r): Likewise.
19534 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19535 (_nss_nis_getsecretkey): Likewise.
19536 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19537 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19538 (_nss_nis_getpwuid_r): Likewise.
19539 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19540 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19541 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19542 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19543 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19544 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19545 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19547 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19548 (_nss_nisplus_getntohost_r): Likewise.
19549 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19550 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19551 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19552 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19554 * nis/nss_nisplus/nisplus-initgroups.c
19555 (_nss_nisplus_initgroups_dyn): Likewise.
19556 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19557 (_nss_nisplus_getnetbyaddr_r): Likewise.
19558 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19559 (_nss_nisplus_getprotobynumber_r): Likewise.
19560 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19561 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19562 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19564 * nis/nss_nisplus/nisplus-service.c
19565 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19566 (_nss_nisplus_getservbyport_r): Likewise.
19567 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19568 (_nss_nisplus_getspnam_r): Likewise.
19569 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19571 * nscd/aicache.c (addhstaiX): Likewise.
19572 * nscd/cache.c (cache_search, prune_cache): Likewise.
19573 * nscd/connections.c (register_traced_file, send_ro_fd)
19574 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19575 (main_loop_epoll): Likewise.
19576 * nscd/grpcache.c (addgrbyX): Likewise.
19577 * nscd/hstcache.c (addhstbyX): Likewise.
19578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19579 * nscd/mem.c (gc, mempool_alloc): Likewise.
19580 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19581 (addinnetgrX): Likewise.
19582 * nscd/nscd-client.h (__nscd_acquire_maplock)
19583 (__nscd_drop_map_ref): Likewise.
19584 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19585 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19586 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19588 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19589 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19590 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19591 (__nscd_get_map_ref): Likewise.
19592 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19593 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19595 * nscd/pwdcache.c (addpwbyX): Likewise.
19596 * nscd/selinux.c (preserve_capabilities): Likewise.
19597 * nscd/servicescache.c (addservbyX): Likewise.
19598 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19599 * posix/fnmatch.c (fnmatch): Likewise.
19600 * posix/getopt.c (_getopt_internal_r): Likewise.
19601 * posix/glob.c (glob, glob_in_dir): Likewise.
19602 * posix/wordexp.c (exec_comm_child): Likewise.
19603 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19604 (getanswer_r, gaih_getanswer_slice): Likewise.
19605 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19606 * resolv/res_init.c: Likewise.
19607 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19608 * resolv/res_query.c (__libc_res_nquery): Likewise.
19609 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19611 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19612 * stdio-common/perror.c (perror): Likewise.
19613 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19614 * stdio-common/tmpnam.c (tmpnam): Likewise.
19615 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19616 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19617 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19619 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19620 * stdlib/putenv.c (putenv): Likewise.
19621 * stdlib/setenv.c (__add_to_environ): Likewise.
19622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19623 * stdlib/strtol_l.c (INTERNAL): Likewise.
19624 * string/memmem.c (memmem): Likewise.
19625 * string/strerror.c (strerror): Likewise.
19626 * string/strnlen.c (__strnlen): Likewise.
19627 * string/test-memmem.c (simple_memmem): Likewise.
19628 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19629 * sunrpc/pm_getport.c (__get_socket): Likewise.
19630 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19631 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19632 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19633 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19635 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19636 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19637 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19638 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19639 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19640 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19642 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19644 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19645 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19647 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19648 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19650 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19651 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19652 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19653 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19654 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19655 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19657 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19659 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19661 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19665 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19666 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19667 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19668 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19669 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19670 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19671 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19674 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19676 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19678 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19680 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19682 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19684 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19686 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19688 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19689 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19690 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19691 * sysdeps/posix/sleep.c: Likewise.
19692 * sysdeps/posix/tempname.c: Likewise.
19693 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19694 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19696 * sysdeps/powerpc/powerpc32/dl-machine.h
19697 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19698 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19700 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19701 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19703 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19704 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19705 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19706 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19707 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19708 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19709 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19710 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19712 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19713 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19714 (elf_machine_lazy_rel): Likewise.
19715 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19717 (elf_machine_lazy_rel): Likewise.
19718 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19719 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19720 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19721 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19722 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19723 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19724 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19727 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19728 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19729 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19730 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19731 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19732 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19733 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19734 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19736 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19737 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19739 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19740 (__posix_fallocate64_l64): Likewise.
19741 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19742 (posix_fallocate): Likewise.
19743 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19745 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19746 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19747 (getifaddrs_internal): Likewise.
19748 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19749 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19750 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19751 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19752 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19753 (__posix_fallocate64_l64): Likewise.
19754 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19756 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19757 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19758 (__get_clockfreq): Likewise.
19759 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19760 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19761 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19764 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19765 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19766 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19768 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19769 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19770 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19771 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19772 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19773 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19774 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19776 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19777 (posix_fallocate): Likewise.
19778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19779 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19780 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19781 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19782 (elf_machine_rela, elf_machine_rela_relative)
19783 (elf_machine_lazy_rel): Likewise.
19784 * time/asctime.c (asctime_internal): Likewise.
19785 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19786 * time/tzset.c (__tzset_parse_tz): Likewise.
19787 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19788 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19789 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19790 * wcsmbs/wcsmbsload.h: Likewise.
19793 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19795 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19796 (arena_get2): Remove THREAD_STATS conditionals.
19797 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19798 (__malloc_stats, int): Likewise.
19800 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19802 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19803 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19805 * manual/setjmp.texi: Fix typos/grammar errors.
19807 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19808 Only return early when n is <= 0. Delete unused return statement.
19810 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19811 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19812 * debug/tst-longjmp_chk3.c: New file.
19814 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19815 (test_main): Replace code with set_fortify_handler call.
19816 * debug/test-strcpy_chk.c: Likewise.
19817 * debug/tst-chk1.c: Likewise.
19818 * debug/tst-longjmp_chk.c: Likewise.
19819 * test-skeleton.c: Include fcntl.h & paths.h
19820 (set_fortify_handler): Define.
19822 * debug/tst-longjmp_chk.c: Add header comment and include
19823 ../test-skeleton.c.
19824 (do_test): Mark static.
19825 (TEST_FUNCTION): Define.
19827 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19828 (IP_PMTUDISC_INTERFACE): Likewise.
19829 (IP_MULTICAST_IF): Likewise.
19830 (IP_MULTICAST_TTL): Likewise.
19831 (IP_MULTICAST_LOOP): Likewise.
19832 (IP_ADD_MEMBERSHIP): Likewise.
19833 (IP_DROP_MEMBERSHIP): Likewise.
19834 (IP_UNBLOCK_SOURCE): Likewise.
19835 (IP_BLOCK_SOURCE): Likewise.
19836 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19837 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19838 (IP_MSFILTER): Likewise.
19839 (MCAST_JOIN_GROUP): Likewise.
19840 (MCAST_BLOCK_SOURCE): Likewise.
19841 (MCAST_UNBLOCK_SOURCE): Likewise.
19842 (MCAST_LEAVE_GROUP): Likewise.
19843 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19844 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19845 (MCAST_MSFILTER): Likewise.
19846 (IP_MULTICAST_ALL): Likewise.
19847 (IP_UNICAST_IF): Likewise.
19849 * timezone/Makefile: Delete $(have-ksh) check.
19850 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19851 * timezone/tzselect.ksh: Add +x mode bits.
19853 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19854 (ANON_INODE_FS_MAGIC): Likewise.
19855 (BDEVFS_MAGIC): Likewise.
19856 (BINFMTFS_MAGIC): Likewise.
19857 (BTRFS_TEST_MAGIC): Likewise.
19858 (CRAMFS_MAGIC_WEND): Likewise.
19859 (DEBUGFS_MAGIC): Likewise.
19860 (ECRYPTFS_SUPER_MAGIC): Likewise.
19861 (EXT3_SUPER_MAGIC): Likewise.
19862 (EXT4_SUPER_MAGIC): Likewise.
19863 (FUTEXFS_SUPER_MAGIC): Likewise.
19864 (HOSTFS_SUPER_MAGIC): Likewise.
19865 (HUGETLBFS_MAGIC): Likewise.
19866 (MINIX3_SUPER_MAGIC): Likewise.
19867 (MTD_INODE_FS_MAGIC): Likewise.
19868 (NILFS_SUPER_MAGIC): Likewise.
19869 (OPENPROM_SUPER_MAGIC): Likewise.
19870 (PIPEFS_MAGIC): Likewise.
19871 (PSTOREFS_MAGIC): Likewise.
19872 (QNX6_SUPER_MAGIC): Likewise.
19873 (RAMFS_MAGIC): Likewise.
19874 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19875 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19876 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19877 (SECURITYFS_MAGIC): Likewise.
19878 (SELINUX_MAGIC): Likewise.
19879 (SMACK_MAGIC): Likewise.
19880 (SOCKFS_MAGIC): Likewise.
19881 (SQUASHFS_MAGIC): Likewise.
19882 (STACK_END_MAGIC): Likewise.
19883 (TMPFS_MAGIC): Likewise.
19884 (USBDEVICE_SUPER_MAGIC): Likewise.
19885 (V9FS_MAGIC): Likewise.
19886 (XENFS_SUPER_MAGIC): Likewise.
19887 (CRAMFS_MAGIC): Fix typo in comment.
19888 (EXT2_SUPER_MAGIC): Update comment.
19889 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19891 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19893 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19894 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19895 * sysdeps/unix/sysv/linux/arm: Move directory from
19896 ports/sysdeps/unix/sysv/linux/arm.
19897 * README: Update listing for arm-*-linux-gnueabi.
19899 * README: Remove mention of am33.
19901 2014-02-07 Roland McGrath <roland@hack.frob.com>
19903 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19904 than the comma operator, to avoid "rhs of comma has no effect"
19906 (__sigfillset, __sigandset, __sigorset): Likewise.
19907 * include/signal.h (__sigemptyset): Likewise.
19908 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19910 2014-02-07 Allan McRae <allan@archlinux.org>
19912 * version.h (RELEASE): Set to "development".
19913 (VERSION): Set to "2.19.90"
19914 * NEWS: Add 2.20 section.
19916 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19919 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19921 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19923 * manual/contrib.texi: Update entry for Carlos O'Donell,
19924 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19926 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19928 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19930 * sysdeps/unix/sysv/linux/kernel-features.h
19931 [__LINUX_KERNEL_VERSION >= 0x020621]
19932 (__ASSUME_PROC_PID_TASK_COMM): Define.
19934 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19937 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19938 conversion when destination buffer does not have enough space.
19939 * libio/tst-ftell-partial-wide.c: New test case.
19940 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19942 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19943 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19944 Leonard and Allan McRae.
19946 2014-02-04 David S. Miller <davem@davemloft.net>
19948 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19951 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19980 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19982 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19983 * shlib-versions: Likewise.
19985 2014-02-04 Roland McGrath <roland@hack.frob.com>
19986 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19988 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19989 (abilist-pattern): New variable, set to %-le.abilist.
19991 * Makerules (abilist-pattern): New variable.
19992 (vpath): Use $(abilist-pattern) in place of %.abilist.
19993 (check-abi-% pattern rule): Likewise.
19994 (check-abi, update-abi): Likewise.
19996 2014-02-04 Eric Wong <normalperson@yhbt.net>
19998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20000 2014-02-03 Carlos O'Donell <carlos@redhat.com>
20002 * manual/startup.texi: Add next, previous, and top entries for
20003 the `Program Arguments' and `Environment Variables' nodes.
20005 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
20007 * manual/macros.texi: Add comments before MTASC-safety macros.
20009 * manual/users.texi: Document MTASC-safety properties.
20011 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20012 (pthread_getspecific, pthread_setspecific): Format with
20013 @deftypefun, and add @safety note.
20014 * manual/signal.texi: Move comments that analyze the above
20015 functions to their home place.
20017 2014-02-03 Allan McRae <allan@archlinux.org>
20019 * po/sl.po: Update Slovenian translation from translation project.
20021 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
20023 * manual/time.texi (timegm): Add missing blank after @c.
20024 Reported by Joseph Myers <joseph@codesourcery.com>.
20026 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
20028 * manual/check-safety.sh: New.
20029 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20031 * manual/terminal.texi: Document MTASC-safety properties.
20033 * manual/filesys.texi: Document MTASC-safety properties.
20035 * manual/errno.texi: Document MTASC-safety properties.
20037 * manual/intro.texi: Document safety identifiers and
20040 * manual/string.texi (wcstok): Fix prototype.
20041 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20043 * manual/time.texi: Document MTASC-safety properties.
20045 * manual/string.texi: Document MTASC-safety properties.
20047 * manual/threads.texi: Document MTASC-safety properties.
20049 * manual/stdio.texi: Document MTASC-safety properties.
20051 * manual/syslog.texi: Document MTASC-safety properties.
20053 * manual/sysinfo.texi: Document MTASC-safety properties.
20055 * manual/startup.texi: Document MTASC-safety properties.
20057 * manual/socket.texi: Document MTASC-safety properties.
20059 * manual/signal.texi: Document MTASC-safety properties.
20061 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
20063 * manual/setjmp.texi: Document MTASC-safety properties.
20065 * manual/search.texi: Document MTASC-safety properties.
20067 * manual/resource.texi: Document MTASC-safety properties.
20069 * manual/process.texi: Document MTASC-safety properties.
20071 * manual/platform.texi: Document MTASC-safety properties.
20073 * manual/pipe.texi: Document MTASC-safety properties.
20075 * manual/pattern.texi: Document MTASC-safety properties.
20077 * manual/message.texi: Document MTASC-safety properties.
20080 * manual/memory.texi: Document MTASC-safety properties.
20082 * manual/math.texi: Document MTASC-safety properties.
20084 * manual/locale.texi: Document MTASC-safety properties.
20086 * manual/llio.texi: Document MTASC-safety properties.
20088 * manual/libdl.texi: New.
20090 * manual/lang.texi: Document MTASC-safety properties.
20092 * manual/job.texi: Document MTASC-safety properties.
20094 * manual/getopt.texi: Document MTASC-safety properties.
20096 * manual/ctype.texi: Document MTASC-safety properties.
20098 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20101 * csu/libc-tls.c (static_map): Remove variable.
20102 (__libc_setup_tls): Use main executable's link map for TLS data.
20103 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20104 casing for LM_ID_BASE and GL(dl_nns).
20105 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20106 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20107 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20108 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20109 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20111 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20114 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
20116 * manual/debug.texi: Document MTASC-safety properties.
20118 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20121 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20122 of __x86_64__ when disabling x87 inline functions.
20124 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
20126 * manual/charset.texi: Document MTASC-safety properties.
20128 * manual/crypt.texi: Document MTASC-safety properties.
20130 * manual/conf.texi: Document MTASC-safety properties.
20132 * manual/arith.texi: Document MTASC-safety properties.
20134 * manual/argp.texi: Document MTASC-safety properties.
20136 * manual/macros.texi: Introduce macros to document multi
20137 thread, asynchronous signal and asynchronous cancellation
20139 * manual/intro.texi: Introduce the properties themselves.
20141 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20143 * sysdeps/sh/sh4/Makefile: New file.
20145 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20147 * math/gen-libm-test.pl ($srcdir): New variable.
20148 ($auto_input): Use it.
20150 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20153 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20154 access beyond array bounds when parsing netgroups file.
20156 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20157 the old buffer before realloc.
20159 2014-01-27 Allan McRae <allan@archlinux.org>
20161 * po/fr.po: Update French translation from translation project.
20163 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20165 * sysdeps/sh/libm-test-ulps: Regenerate.
20167 2014-01-24 David S. Miller <davem@davemloft.net>
20169 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20171 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20174 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20176 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20179 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20180 string pointers after reallocation.
20182 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20184 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20185 __SH4A__ instead of __SH_FPU_ANY__.
20187 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20189 * sysdeps/sh/fpu_control.h: New file.
20190 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20191 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20192 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20193 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20194 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20195 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20196 * sysdeps/sh/sys/ucontext.h: Remove.
20197 * sysdeps/sh/sys: Remove directory.
20199 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20201 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20202 s390/sys/ucontext.h.
20203 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20204 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20206 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20209 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20211 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20215 Adjust the vDSO correctly for internal calls.
20216 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20218 2014-01-20 Allan McRae <allan@archlinux.org>
20220 * po/ca.po: Update Catalan translation from translation project.
20222 2014-01-16 Mike Frysinger <vapier@gentoo.org>
20224 * sysdeps/s390/sotruss-lib.c: New file.
20226 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20229 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20230 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20231 local calls issues by not having a PLT stub required for IFUNC calls.
20232 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20234 2014-01-16 Joseph Myers <joseph@codesourcery.com>
20236 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20237 * math/test-fpucw-static.c: Likewise.
20239 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20242 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20244 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20246 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20247 implementation for powerpc.
20249 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
20252 * sysdeps/posix/system.c (__libc_system): Do not enable
20253 asynchronous cancellation.
20255 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20258 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20259 handling only for numbers special also in the IEEE case.
20261 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20263 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20265 2014-01-11 Allan McRae <allan@archlinux.org>
20267 * po/bg.po: Update Bulgarian translation from translation project.
20269 * po/de.po: Update German translation from translation project.
20271 2014-01-10 Roland McGrath <roland@hack.frob.com>
20273 * sysdeps/generic/gcc-compat.h: New file.
20275 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20277 * benchtests/asin-inputs: Correct slow inputs.
20278 * benchtests/acos-inputs: Likewise.
20280 2014-01-10 Allan McRae <allan@archlinux.org>
20282 * po:sv.po: Update Swedish translation from translation project.
20284 * po/vi.po: Update Vietnamese translation from translation project.
20286 * po/eo.po: Update Esperanto translation from translation project.
20288 * po/cs.po: Update Czech translation from translation project.
20290 * po/nl.po: Update Dutch translation from translation project.
20292 * po/pl.po: Update Polish translation from translation project.
20294 * po/ru.po: Update Russian translation from translation project.
20296 * po/uk.po: Update Ukrainian translation from translation project.
20298 2014-01-08 Brooks Moses <bmoses@google.com>
20300 * elf/dl-load.c: Fix comment typo.
20302 2014-01-08 Carlos O'Donell <carlos@redhat.com>
20304 * po/header.pot: Rename to...
20305 * po/pot.header: ... this.
20306 * po/Makefile: Use pot.header.
20308 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20309 Maxim Kuvyrkov <maxim@kugelworks.com>
20312 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20313 SRC and DEST against LEN.
20315 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20318 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20320 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20322 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20326 2014-01-08 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20330 for large positive arguments.
20332 2014-01-07 Joseph Myers <joseph@codesourcery.com>
20334 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20336 * math/auto-libm-test-in: Mark various tests with
20337 xfail-rounding:ldbl-128ibm.
20338 * math/auto-libm-test-out: Regenerated.
20341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20342 Increase overflow threshold.
20344 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
20347 * stdio-common/vfprintf.c: Check for integer overflow.
20349 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20351 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20352 the first argument and return value of __tls_get_addr_internal.
20354 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20356 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20357 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20359 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20361 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20362 * sysdeps/s390/rtld-global-offsets.sym: New file.
20363 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20365 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20367 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20369 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20370 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20376 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20377 halfs of GPRs for high_gprs contexts.
20378 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20379 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20381 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20383 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20385 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20386 for high GPRs (uc_high_gprs) and for future extensions
20388 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20389 for future extensions (__reserved).
20390 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20392 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20393 SC_HIGHGPRS offset definition.
20394 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20395 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20397 * Versions.def: Add GLIBC_2.19 for libpthread.
20398 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20399 siglongjmp for libpthread with GLIBC_2.19 symver.
20400 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20401 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20402 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20403 * sysdeps/s390/__longjmp.c: New file.
20404 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20405 * sysdeps/s390/longjmp.c: New file.
20406 * sysdeps/s390/setjmp.S: New file.
20407 * sysdeps/s390/sigjmp.S: New file.
20408 * sysdeps/s390/v1-longjmp.c: New file.
20409 * sysdeps/s390/v1-setjmp.h: New file.
20410 * sysdeps/s390/v1-sigjmp.c: New file.
20411 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20412 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20413 GLIBC_2.19 version.
20414 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20415 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20416 versioned symbols for ____longjmp_chk.
20417 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20427 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20428 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20429 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20430 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20431 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20432 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20433 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20434 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20435 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20436 * sysdeps/s390/rtld-__longjmp.c: New file.
20437 * sysdeps/s390/rtld-setjmp.S: New file.
20439 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20442 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20443 Return -__logl (x) for small positive arguments without evaluating
20446 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20448 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20450 (__ptrace_peeksiginfo_args): ... this.
20451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20455 2014-01-06 Allan McRae <allan@archlinux.org>
20457 * inet/netinet/in.h: Fix typo in comment.
20459 2014-01-05 Andreas Jaeger <aj@suse.de>
20461 * sysdeps/i386/fpu/libm-test-ulps: Update.
20463 2014-01-05 Allan McRae <allan@archlinux.org>
20465 * po/libc.pot: Regenerated.
20467 * malloc/memusagestat.c: Fix gettext call formatting.
20469 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20471 * nscd/nscd.c: Improve usage() output.
20473 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20475 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20476 * sysdeps/unix/sysv/linux/configure: Regenerated.
20477 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20478 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20480 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20483 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20484 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20486 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20488 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20489 extra tokens at end of #undef directive.
20490 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20491 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20492 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20494 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20496 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20498 * math/auto-libm-test-in: Mark various tests with
20499 xfail-rounding:ldbl-128ibm.
20500 * math/auto-libm-test-out: Regenerated.
20502 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20505 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20506 numbers with subnormal high part when calculating exponent.
20509 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20515 (__ieee754_acoshl): Use __log1pl not __log1p.
20517 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20519 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20520 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20521 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20522 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20523 (reused_arena, arena_get2): Convert to GNU style.
20524 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20525 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20526 (memalign_check, __malloc_set_state): Likewise.
20527 * malloc/mallocbug.c (main): Likewise.
20528 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20529 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20530 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20531 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20532 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20533 (__posix_memalign, malloc_info): Likewise.
20534 * malloc/malloc.h: Likewise.
20535 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20536 (mallochook, memalignhook, reallochook, mabort): Likewise.
20537 * malloc/mcheck.h: Likewise.
20538 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20539 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20540 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20541 * malloc/morecore.c (__default_morecore): Likewise.
20542 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20543 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20544 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20545 (print_and_abort): Likewise.
20546 * malloc/obstack.h: Likewise.
20547 * malloc/set-freeres.c (__libc_freeres): Likewise.
20548 * malloc/tst-mallocstate.c (main): Likewise.
20549 * malloc/tst-mtrace.c (main): Likewise.
20550 * malloc/tst-realloc.c (do_test): Likewise.
20552 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20555 * nscd/netgroupcache.c (do_notfound): New function.
20556 (addgetnetgrentX): Use it.
20559 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20560 NSS_STATUS_NOTFOUND.
20562 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20564 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20567 2014-01-01 Allan McRae <allan@archlinux.org>
20569 * scripts/update-copyrights: Update configure input file suffix.
20571 * NEWS: Update copyright year.
20572 * catgets/gencat.c: Likewise.
20573 * csu/version.c: Likewise.
20574 * debug/catchsegv.sh: Likewise.
20575 * debug/pcprofiledump.c: Likewise.
20576 * debug/xtrace.sh: Likewise.
20577 * elf/ldconfig.c: Likewise.
20578 * elf/ldd.bash.in: Likewise.
20579 * elf/pldd.c: Likewise.
20580 * elf/sotruss.ksh: Likewise.
20581 * elf/sprof.c: Likewise.
20582 * iconv/iconv_prog.c: Likewise.
20583 * iconv/iconvconfig.c: Likewise.
20584 * locale/programs/locale.c: Likewise.
20585 * locale/programs/localedef.c: Likewise.
20586 * login/programs/pt_chown.c: Likewise.
20587 * malloc/memusage.sh: Likewise.
20588 * malloc/memusagestat.c: Likewise.
20589 * malloc/mtrace.pl: Likewise.
20590 * manual/libc.texinfo: Likewise.
20591 * nscd/nscd.c: Likewise.
20592 * nss/getent.c: Likewise.
20593 * nss/makedb.c: Likewise.
20594 * posix/getconf.c: Likewise.
20595 * scripts/test-installation.pl: Likewise.
20597 * All files with FSF copyright notices: Update copyright dates
20598 using scripts/update-copyrights.
20599 * intl/plural.c: Regenerated.
20600 * locale/programs/charmap-kw.h: Likewise.
20601 * locale/programs/locfile-kw.h: Likewise.
20603 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20605 * sysdeps/unix/sysv/linux/configure: Regenerated.
20606 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20607 the linux/fanotify.h header.
20608 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20609 HAVE_LINUX_FANOTIFY_H is defined.
20611 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20613 * benchtests/cos-inputs: New inputs.
20614 * benchtests/sin-inputs: Likewise.
20616 * benchtests/atan-inputs: New inputs. Fix name of multiple
20617 precision fallback inputs.
20619 * benchtests/atanh-inputs: New inputs.
20620 * benchtests/tanh-inputs: Likewise.
20622 * benchtests/acosh-inputs: New inputs.
20623 * benchtests/asinh-inputs: Likewise.
20625 * benchtests/cosh-inputs: New inputs.
20626 * benchtests/sinh-inputs: Likewise.
20628 * benchtests/acos-inputs: Add more inputs.
20629 * benchtests/asin-inputs: Likewise.
20631 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20634 * manual/arith.texi: Fix spelling.
20635 * manual/charset.texi: Likewise.
20636 * manual/errno.texi: Likewise.
20637 * manual/filesys.texi: Likewise.
20638 * manual/lang.texi: Likewise.
20639 * manual/llio.texi: Likewise.
20640 * manual/locale.texi: Likewise.
20641 * manual/message.texi: Likewise.
20642 * manual/resource.texi: Likewise.
20643 * manual/search.texi: Likewise.
20644 * manual/setjmp.texi: Likewise.
20645 * manual/stdio.texi: Likewise.
20646 * manual/string.texi: Likewise.
20647 * manual/sysinfo.texi: Likewise.
20648 * manual/time.texi: Likewise.
20650 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20652 * po/sl.po: New file.
20654 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20656 * .gitignore: Add core/.gdbinit/.gdb_history.
20658 2013-12-27 Allan McRae <allan@archlinux.org>
20661 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20662 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20664 2013-12-24 Brooks Moses <bmoses@google.com>
20666 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20667 all compilers that claim C++98 compliance, not just GCC.
20668 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20671 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20673 * NEWS: Restore accidentally deleted bug-fix entries.
20675 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20676 Ondřej Bílka <neleai@seznam.cz>
20679 * malloc/malloc.c (_int_free): Perform sanity check only if we
20682 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20685 * manual/stdio.texi (String Input Conversions): Clarify that character
20686 classes are not supported.
20688 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20692 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20695 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20696 Calculate results for small negative arguments directly rather
20697 than using reflection formula with special underflow handling.
20699 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20700 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20701 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20702 (fchflags): Likewise.
20703 (revoke): Likewise.
20704 (setlogin): Likewise.
20705 (sigaltstack): Likewise.
20707 (sigblock): Remove.
20708 (sigsetmask): Likewise.
20710 (waitpid): Likewise.
20711 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20712 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20714 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20715 * sysdeps/unix/bsd/Makefile: ... here.
20716 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20717 * sysdeps/unix/bsd/Versions: ... here.
20718 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20719 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20720 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20721 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20722 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20723 * sysdeps/unix/bsd/sigblock.c: ... here.
20724 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20725 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20726 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20727 * sysdeps/unix/bsd/sigvec.c: ... here.
20728 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20729 * sysdeps/unix/bsd/tcdrain.c: ... here.
20730 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20731 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20732 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20733 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20734 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20735 * sysdeps/unix/bsd/wait.c: ... here.
20736 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20737 * sysdeps/unix/bsd/wait3.c: ... here.
20738 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20739 * sysdeps/unix/bsd/waitpid.c: ... here.
20741 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20744 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20745 round-to-nearest for [!USE_AS_EXPM1L].
20746 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20747 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20748 more tests of exp and exp10. Expect some exp10 tests to miss
20749 exceptions or fail in directed rounding modes.
20750 * math/auto-libm-test-out: Regenerated.
20751 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20752 (exp10_test_tonearest): New function.
20753 (exp10_towardzero_test_data): New array.
20754 (exp10_test_towardzero): New function.
20755 (exp10_downward_test_data): New array.
20756 (exp10_test_downward): New function.
20757 (exp10_upward_test_data): New array.
20758 (exp10_test_upward): New function.
20759 (main): Call the new functions.
20760 * sysdeps/i386/fpu/libm-test-ulps: Update.
20761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20763 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20765 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20766 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20767 * math/auto-libm-test-out: Regenerated.
20768 * math/libm-test.inc (acosh_test_data): Add more tests.
20769 (atanh_test_data): Likewise.
20770 (ceil_test_data): Likewise.
20771 (copysign_test_data): Likewise.
20772 * sysdeps/i386/fpu/libm-test-ulps: Update.
20773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20775 * timezone/checktab.awk: Update from tzcode 2013i.
20776 * timezone/private.h: Likewise.
20777 * timezone/scheck.c: Likewise.
20778 * timezone/tzfile.h: Likewise.
20779 * timezone/tzselect.ksh: Likewise.
20780 * timezone/zdump.c: Likewise.
20781 * timezone/zic.c: Likewise.
20783 * math/auto-libm-test-in: Add tests of cpow.
20784 * math/auto-libm-test-out: Regenerated.
20785 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20786 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20788 (func_calc_desc): Add mpc_cc_c union field.
20789 (test_functions): Add cpow.
20790 (special_fill_2pi): New function.
20791 (special_real_inputs): Add 2pi.
20792 (calc_generic_results): Handle mpc_cc_c.
20793 * sysdeps/i386/fpu/libm-test-ulps: Update.
20794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20796 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20797 csqrt, ctan and ctanh.
20798 * math/auto-libm-test-out: Regenerated.
20799 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20800 (TEST_COND_x86): Likewise.
20801 (ccos_test_data): Use AUTO_TESTS_c_c.
20802 (ccosh_test_data): Likewise.
20803 (cexp_test_data): Likewise.
20804 (clog_test_data): Likewise.
20805 (csqrt_test_data): Likewise.
20806 (ctan_test_data): Likewise.
20807 (ctan_tonearest_test_data): Likewise.
20808 (ctan_towardzero_test_data): Likewise.
20809 (ctan_downward_test_data): Likewise.
20810 (ctan_upward_test_data): Likewise.
20811 (ctanh_test_data): Likewise.
20812 (ctanh_tonearest_test_data): Likewise.
20813 (ctanh_towardzero_test_data): Likewise.
20814 (ctanh_downward_test_data): Likewise.
20815 (ctanh_upward_test_data): Likewise.
20816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20818 (func_calc_desc): Add mpc_c_c union field.
20819 (FUNC_mpc_c_c): New macro.
20820 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20821 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20823 (special_fill_min_subnorm_p120): New function.
20824 (special_real_inputs): Add min_subnorm_p120.
20825 (calc_generic_results): Handle mpc_c_c.
20826 * sysdeps/i386/fpu/libm-test-ulps: Update.
20827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20829 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20831 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20832 (do_sin_slow): New functions.
20833 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20834 (cslow2, csloww1, csloww2): Use the new functions.
20836 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20837 Use M to change sign of result instead of X. Assume X is
20839 (csloww1): Likewise.
20843 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20844 arguments A and DA.
20848 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20850 (sloww1): Don't adjust sign of DX.
20851 (csloww1): Likewise.
20852 (sloww2): Use X directly and don't adjust sign of DX.
20853 (csloww2): Likewise.
20855 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20857 * math/auto-libm-test-in: Add tests of cabs and carg.
20858 * math/auto-libm-test-out: Regenerated.
20859 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20860 (carg_test_data): Likewise.
20861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20863 (func_calc_desc): Add mpc_c_f union field.
20864 (test_functions): Add cabs and carg.
20865 (calc_generic_results): Handle mpc_c_f.
20867 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20868 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20869 as a macro and a compat symbol.
20870 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20871 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20872 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20873 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20874 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20875 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20877 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20879 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20881 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20883 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20887 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20888 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20891 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20895 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20897 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20898 trailing whitespace removed.
20899 * scripts/config.guess: Update to version 2013-11-29.
20900 * scripts/config.sub: Update to version 2013-10-01.
20902 * math/auto-libm-test-in: Add tests of sincos.
20903 * math/auto-libm-test-out: Regenerated.
20904 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20907 (func_calc_desc): Add mpfr_f_11 union field.
20908 (test_functions): Add sincos.
20909 (calc_generic_results): Handle mpfr_f_11.
20910 * sysdeps/i386/fpu/libm-test-ulps: Update.
20911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20913 2013-12-19 Andreas Schwab <schwab@suse.de>
20915 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20917 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20918 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20919 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20921 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20923 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20924 * sysdeps/i386/fpu/libm-test-ulps: Update.
20925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20928 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20929 round-to-nearest mode when using frndint.
20930 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20931 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20934 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20936 * math/auto-libm-test-out: Regenerated.
20937 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20938 (TEST_COND_x86): Likewise.
20939 (expm1_tonearest_test_data): New array.
20940 (expm1_test_tonearest): New function.
20941 (expm1_towardzero_test_data): New array.
20942 (expm1_test_towardzero): New function.
20943 (expm1_downward_test_data): New array.
20944 (expm1_test_downward): New function.
20945 (expm1_upward_test_data): New array.
20946 (expm1_test_upward): New function.
20947 (main): Run the new test functions.
20948 * sysdeps/i386/fpu/libm-test-ulps: Update.
20949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20951 * include/features.h: Update comment documenting feature test
20952 macros. Mention _DEFAULT_SOURCE in comment.
20953 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20954 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20955 _BSD_SOURCE and _SVID_SOURCE.
20956 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20957 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20958 !_SVID_SOURCE]: Likewise.
20959 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20960 (__USE_POSIX_IMPLICITLY): Define.
20961 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20962 (_POSIX_SOURCE): Undefine and redefine.
20963 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20964 (_POSIX_C_SOURCE): Likewise.
20965 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20966 (Feature Test Macros): Update documentation of default features.
20968 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20970 * benchtests/Makefile: Add bench-strtok.
20971 * benchtests/bench-strtok.c: New file: strtok benchtest.
20973 2013-12-19 Allan McRae <allan@archlinux.org>
20975 * manual/install.texi: Suppress menu for plain text output.
20976 * INSTALL: Regenerated.
20978 2013-12-18 Brooks Moses <bmoses@google.com>
20981 * misc/getauxval.c: Include errno.h.
20982 (__getauxval): Set errno to ENOENT if the requested type is not
20984 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20985 don't declare with __attribute_const__.
20986 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20987 * manual/startup.texi: Document that getauxval sets errno.
20989 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20991 * math/auto-libm-test-in: Add tests of jn and yn.
20992 * math/auto-libm-test-out: Regenerated.
20993 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20994 (yn_test_data): Likewise.
20995 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20997 (func_calc_desc): Add mpfr_if_f union field.
20998 (FUNC_mpfr_if_f): New macro.
20999 (test_functions): Add jn and yn.
21000 (calc_generic_results): Assert type of second input for
21001 mpfr_ff_f. Handle mpfr_if_f.
21002 (output_for_one_input_case): Disable all checking for arguments
21003 fitting floating-point types in case of an integer argument.
21004 * sysdeps/i386/fpu/libm-test-ulps: Update.
21005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21008 Don't expect fegetround reference in libm.so.
21010 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21012 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21013 $(config-cflags-nofma).
21015 2013-12-18 Joseph Myers <joseph@codesourcery.com>
21017 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21018 * math/auto-libm-test-out: Regenerated.
21021 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21022 to determine exponent and adjust argument to have exponent of -1.
21023 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21025 * math/auto-libm-test-out: Regenerated.
21026 * sysdeps/i386/fpu/libm-test-ulps: Update.
21027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21029 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
21031 * manual/probes.texi: Remove cases when per-thread arenas are
21034 2013-12-18 Andreas Schwab <schwab@suse.de>
21036 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21037 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21038 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21039 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21040 * sysdeps/i386/i686/multiarch/Makefile: Update.
21041 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21043 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21045 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21046 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21048 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21051 Support TZ transition times < 00:00:00.
21052 This is needed for version-3 tz-format files; it supports time
21053 stamps past 2037 for America/Godthab (the only entry in the tz
21054 database for which this change is relevant).
21055 * manual/time.texi (TZ Variable): Document transition times
21056 from -167:59:59 through -00:00:01.
21057 * time/tzset.c (tz_rule): Time of day is now signed.
21058 (__tzset_parse_tz): Parse negative time of day.
21060 Document TZ transition times >= 25:00:00.
21061 * manual/time.texi (TZ Variable): Document transition times from
21062 25:00:00 through 167:59:59. These are already supported, and this
21063 support will help with version-3 tz-format files.
21065 * manual/time.texi (TZ Variable): Modernize North America example
21066 to reflect current (i.e., 2007-and-later) daylight saving rules.
21068 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21070 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21072 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21073 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21075 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21076 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21077 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21078 * sysdeps/unix/bsd/clock.c: Likewise.
21079 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21080 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21081 * sysdeps/unix/bsd/init-posix.c: Likewise.
21082 * sysdeps/unix/bsd/poll.c: Likewise.
21083 * sysdeps/unix/bsd/ptsname.c: Likewise.
21084 * sysdeps/unix/bsd/seekdir.c: Likewise.
21085 * sysdeps/unix/bsd/setegid.c: Likewise.
21086 * sysdeps/unix/bsd/seteuid.c: Likewise.
21087 * sysdeps/unix/bsd/setgid.c: Likewise.
21088 * sysdeps/unix/bsd/setrgid.c: Likewise.
21089 * sysdeps/unix/bsd/setruid.c: Likewise.
21090 * sysdeps/unix/bsd/setsid.c: Likewise.
21091 * sysdeps/unix/bsd/setuid.c: Likewise.
21092 * sysdeps/unix/bsd/sigaction.c: Likewise.
21093 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21094 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21095 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21096 * sysdeps/unix/bsd/telldir.c: Likewise.
21097 * sysdeps/unix/bsd/times.c: Likewise.
21098 * sysdeps/unix/bsd/usleep.c: Likewise.
21100 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21101 ($(objpfx)libbsd-compat.a): Remove rule.
21103 * include/features.h (__FAVOR_BSD): Do not define.
21104 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21105 features conflicting with POSIX.
21106 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21107 (_BSD_SOURCE): Remove description of not being a subset of other
21108 feature test macros.
21109 * manual/job.texi (getpgrp): Do not document BSD version.
21110 (getpgid): Do not document by reference to BSD getpgrp.
21111 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21112 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21113 * signal/signal.h [__FAVOR_BSD]: Likewise.
21114 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21115 instead of making contents conditional on [__FAVOR_BSD].
21116 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21118 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21122 2013-12-17 Joseph Myers <joseph@codesourcery.com>
21125 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21126 values below 2**-450, not 2**-500.
21127 * math/auto-libm-test-in: Don't allow spurious underflow from
21129 * math/auto-libm-test-out: Regenerated.
21133 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21134 values of ha and hb and sort them after adjusting subnormal
21136 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21138 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21139 values of ea and eb and sort them after adjusting subnormal
21141 * math/auto-libm-test-in: Do not expect some hypot tests of
21142 subnormals to fail. Add more hypot tests.
21143 * math/auto-libm-test-out: Regenerated.
21145 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21148 * sysdeps/sh/s_fma.c: New file.
21149 * sysdeps/sh/s_fmaf.c: New file.
21150 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21152 * sysdeps/sh/Implies: Add sh/soft-fp.
21154 2013-12-16 Roland McGrath <roland@hack.frob.com>
21156 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21157 level of indirection to members `objname', `errstring', `malloced'.
21158 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21159 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21160 it as the __longjmp argument (just pass 1 instead).
21161 (_dl_catch_error): Initialize C with argument pointers and address of
21162 volatile local ERRCODE rather than copying values out of C at return.
21164 2013-12-16 Joseph Myers <joseph@codesourcery.com>
21166 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21167 * math/auto-libm-test-out: Regenerated.
21168 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21169 (hypot_test_data): Likewise.
21170 (pow_test_data): Likewise.
21171 (pow_tonearest_test_data): Likewise.
21172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21174 (func_calc_desc): Add mpfr_ff_f union field.
21175 (FUNC_mpfr_ff_f): New macro.
21176 (test_functions): Add atan2, hypot and pow.
21177 (special_fill_min): New function.
21178 (special_fill_minus_min): Likewise.
21179 (special_fill_min_subnorm): Likewise.
21180 (special_fill_minus_min_subnorm): Likewise.
21181 (special_real_inputs): Add min, -min, min_subnorm and
21183 (calc_generic_results): Handle mpfr_ff_f.
21184 * sysdeps/i386/fpu/libm-test-ulps: Update.
21185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21187 2013-12-16 Will Newton <will.newton@linaro.org>
21189 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21190 (Aligned Memory Blocks): Add documentation for aligned_alloc
21191 and suggest it as an alternative to posix_memalign.
21192 (Hooks for Malloc): Document __memalign_hook is also called
21193 for aligned_alloc. (Summary of Malloc): Add summary for
21194 aligned alloc. Document __memalign_hook is also called
21197 2013-12-16 Will Newton <will.newton@linaro.org>
21199 * manual/memory.texi (Malloc Examples): Clarify default
21200 alignment documentation. Suggest posix_memalign rather
21201 than memalign or valloc.
21202 (Aligned Memory Blocks): Remove suggestion to use memalign
21203 or valloc. Remove obsolete comment about BSD.
21204 Document memalign errno values and mark the function obsolete.
21205 Document posix_memalign returned error codes. Mark valloc
21206 as obsolete. (Hooks for Malloc): __memalign_hook is also
21207 called for posix_memalign and valloc.
21208 (Summary of Malloc): Add posix_memalign to function summary.
21209 __memalign_hook is also called for posix_memalign and valloc.
21211 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21213 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21217 (sloww): Use mynumber union. Expand ternary operator into
21218 if-else statements.
21219 (cslow): use mynumber union.
21221 2013-12-16 Allan McRae <allan@archlinux.org>
21223 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21224 * configure: Regenerated.
21226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21229 * configure.ac: Added --enable-maintainer-mode. Check for
21230 autoconf when enabled.
21231 * configure: Regenerated.
21233 * nscd/nscd.service: New file.
21234 * nscd/nscd.tmpfiles: New file.
21236 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
21239 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21240 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21241 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21242 (strstr): Add __strstr_sse2_unaligned ifunc.
21243 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21244 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21245 (strcasestr): Remove __strcasestr_sse42 ifunc.
21246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21248 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21250 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21252 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21253 * sysdeps/sh/bits/fenv.h: ... here.
21254 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21256 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21258 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21261 hypotf multiarch implementations.
21262 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21263 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21264 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21265 multiarch hypot for PPC64.
21266 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21269 multiarch hypotf for PPC64.
21271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21272 modff multiarch implementations.
21273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21276 multiarch modf for PPC64.
21277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21280 multiarch modff for PPC64.
21282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21283 and logl multiarch implementations.
21284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21287 multiarch logb for PPC64.
21288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21291 multiarch logb for PPC64.
21292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21295 multiarch logb for PPC64.
21297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21298 isinff multiarch implementation.
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21303 multiarch isinf for PPC64.
21304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21307 multiarch isinff for PPC64.
21309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21310 finitef multiarch implementation.
21311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21315 multiarch finite for PPC64.
21316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21319 multiarch finitef for PPC64.
21321 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21322 lrint multiarch implementation.
21323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21327 multiarch llrint for PPC64.
21328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21329 multiarch lrint for PPC64.
21331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21332 copysignf multiarch implementation.
21333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21338 multiarch copysign for PPC64.
21339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21340 multiarch copysignf for PPC64.
21342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21343 multiarch implementation.
21344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21352 multiarch llround for PPC64.
21353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21354 multiarch trunc for PPC64.
21355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21356 multiarch truncf for PPC64.
21358 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21359 multiarch implementation.
21360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21368 multiarch llround for PPC64.
21369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21370 multiarch round for PPC64.
21371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21372 multiarch roundf for PPC64.
21374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21375 multiarch implementation.
21376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21384 multiarch llround for PPC64.
21385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21386 multiarch floor for PPC64.
21387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21388 multiarch floorf for PPC64.
21390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21391 multiarch implementation.
21392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21400 multiarch llround for PPC64.
21401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21402 multiarch ceil for PPC64.
21403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21404 multiarch ceilf for PPC64.
21406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21407 multiarch implementation.
21408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21415 multiarch llround for PPC64.
21416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21417 multiarch lround for PPC64.
21419 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21420 multiarch implementation.
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21428 multiarch isnan for PPC64.
21429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21430 multiarch isnanf for PPC64.
21432 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21433 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21434 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21435 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21436 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21439 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21440 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21442 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21445 multiarch implementations.
21446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21447 (__libc_ifunc_impl_list): Likewise.
21448 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21449 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21450 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21451 multiarch stpcpy for PPC64.
21453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21454 multiarch implementations.
21455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21456 (__libc_ifunc_impl_list): Likewise.
21457 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21458 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21459 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21460 multiarch strcpy for PPC64.
21462 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21463 redefine function name.
21464 (_wordcopy_fwd_dest_aligned): Likewise.
21465 (_wordcopy_bwd_aligned): Likewise.
21466 (_wordcopy_bwd_dest_aligned): Likewise.
21467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21468 multiarch implementations.
21469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21470 (__libc_ifunc_impl_list): Likewise.
21471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21472 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21473 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21474 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21475 multiarch wcscpy for PPC64.
21477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21478 multiarch implementations.
21479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21480 (__libc_ifunc_impl_list): Likewise.
21481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21482 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21483 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21484 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21485 multiarch wcscpy for PPC64.
21487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21488 multiarch implementations.
21489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21490 (__libc_ifunc_impl_list): Likewise.
21491 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21492 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21493 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21494 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21495 multiarch wcsrchr for PPC64.
21497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21498 multiarch implementations.
21499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21500 (__libc_ifunc_impl_list): Likewise.
21501 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21502 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21503 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21504 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21505 multiarch wcschr for PPC64.
21507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21508 multiarch implementations.
21509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21510 (__libc_ifunc_impl_list): Likewise.
21511 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21512 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21513 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21514 multiarch strchrnul for PPC64.
21516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21519 (__libc_ifunc_impl_list): Likewise.
21520 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21521 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21522 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21523 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21529 (__libc_ifunc_impl_list): Likewise.
21530 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21531 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21532 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21533 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21537 multiarch implementations.
21538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21539 (__libc_ifunc_impl_list): Likewise.
21540 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21541 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21542 strncasecmp for PPC64.
21543 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21544 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21545 multiarch strncasecmp_l for PPC64.
21547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21548 multiarch implementations.
21549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21550 (__libc_ifunc_impl_list): Likewise.
21551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21552 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21553 multiarch strcasecmp for PPC64.
21554 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21557 multiarch strcasecmp_l for PPC64.
21559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21562 (__libc_ifunc_impl_list): Likewise.
21563 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21564 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21565 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21571 (__libc_ifunc_impl_list): Likewise.
21572 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21573 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21574 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21580 (__libc_ifunc_impl_list): Likewise.
21581 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21583 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21584 rawmemrchr for PPC64.
21586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21589 (__libc_ifunc_impl_list): Likewise.
21590 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21591 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21592 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21598 (__libc_ifunc_impl_list): Likewise.
21599 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21600 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21601 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21607 (__libc_ifunc_impl_list): Likewise.
21608 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21609 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21610 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21613 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21614 avoid cretion of __bzero symbol.
21615 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21617 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21619 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21622 multiarch implementations.
21623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21624 (__libc_ifunc_impl_list): Likewise.
21625 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21626 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21627 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21628 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21630 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21631 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21632 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21633 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21634 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21636 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21638 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21642 (__libc_ifunc_impl_list): Likewise.
21643 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21644 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21645 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21646 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21650 multiarch for POWER/PPC64.
21651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21652 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21653 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21654 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21655 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21657 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21658 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21659 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21662 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21663 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21664 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21665 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21666 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21667 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21668 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21669 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21670 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21671 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21672 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21673 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21674 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21675 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21676 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21685 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21687 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21689 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21691 * benchtests/Makefile (bench): Add exp2 and log2.
21692 (LDLIBS-bench-exp2): Add -lm.
21693 (LDLIBS-bench-log2): Likewise.
21694 * benchtests/exp2-inputs: New inputs file.
21695 * benchtests/log2-inputs: New inputs file.
21696 * benchtests/log-inputs: Add new inputs.
21697 * benchtests/tan-inputs: Likewise.
21699 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21701 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21703 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21704 (csloww2): ... from here.
21706 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21707 instead of structures.
21708 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21709 (POLYNOMIAL): Likewise.
21710 (TAYLOR_SLOW): Likewise.
21716 (sloww1); Likewise.
21717 (sloww2): Likewise.
21718 (bsloww1): Likewise.
21719 (bsloww2): Likewise.
21720 (cslow2): Likewise.
21721 (csloww): Likewise.
21722 (csloww1): Likewise.
21723 (csloww2): Likewise.
21725 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21727 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21728 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21729 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21730 * malloc/hooks.c (realloc_check): Likewise.
21732 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21733 * malloc/arena.c: Remove PER_THREAD conditional.
21734 [!PER_THREAD]: Remove code.
21735 (ptmalloc_unlock_all2): Likewise.
21736 (ptmalloc_init): Likewise.
21737 (_int_new_arena): Likewise.
21738 (arena_get2): Likewise.
21739 * malloc/hooks.c (__malloc_get_state): Likewise.
21740 (__malloc_set_state): Likewise.
21741 * malloc/malloc.c: Likewise.
21742 (struct malloc_state): Likewise.
21743 (struct malloc_par): Likewise.
21744 (__libc_realloc): Likewise.
21745 (__libc_mallopt): Likewise.
21747 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21749 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21751 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21753 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21754 macro to a function. Check for zero perturb_byte.
21755 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21757 * malloc/malloc.c: (force_reg): Remove.
21758 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21759 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21760 force_reg by atomic_forced_read.
21761 * malloc/arena.c (ptmalloc_init): Likewise.
21762 * malloc/hooks.c (top_check): Likewise.
21764 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21768 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21772 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21774 * math/auto-libm-test-in: Add tests of lgamma.
21775 * math/auto-libm-test-out: Regenerated.
21776 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21777 (M_LOG_2_SQRT_PIl): Likewise.
21778 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21779 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21781 (func_calc_desc): Add mpfr_f_f1 union field.
21782 (ARGS1): New macro.
21790 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21791 (test_functions): Add lgamma.
21792 (calc_generic_results): Handle mpfr_f_f1.
21793 * sysdeps/i386/fpu/libm-test-ulps: Update.
21794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21799 __mpn_add_n for PowerPC64/POWER7.
21800 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21801 __mpn_sub_n for PowerPC64/POWER7.
21803 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21804 __mpn_addmul_1 for PowerPC64.
21805 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21806 __mpn_submul_1 for PowerPC64.
21807 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21809 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21812 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21815 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21817 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21819 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21821 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21822 add multiarch folders.
21823 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21824 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21825 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21826 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21827 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21828 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21829 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21830 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21831 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21832 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21833 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21842 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21848 multiarch __ieee754_hypot for PowerPC32.
21849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21854 multiarch __ieee754_hypotf for PowerPC32.
21856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21857 long_double_symbol only if __logbl is defined.
21858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21859 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21861 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21863 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21865 path for implementation.
21866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21869 logb, and logbl multiarch implementations for PowerPC32.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21875 multiarch logb for PowerPC32.
21876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21881 multiarch logbf for PowerPC32.
21882 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21886 multiarch logbl implementation for PowerPC32.
21888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21889 and modff multiarch implementations.
21890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21895 multiarch modf for PowerPC32.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21901 multiarch modff for PowerPC32.
21903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21904 and lrintf multiarch implementations.
21905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21910 multiarch lrint for PowerPC32.
21911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21912 file: multiarch lrintf for PowerPC32.
21914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21915 and lroundf multiarch implementations.
21916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21923 multiarch lround for PowerPC32.
21924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21925 file: multiarch lroundf for PowerPC32.
21927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21928 copysign and copysignf multiarch implementations.
21929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21934 file: multiarch copysign for PowerPC32.
21935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21936 file: multiarch copysignf for PowerPC32.
21938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21939 and truncf multiarch implementations.
21940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21945 multiarch trunc for PowerPC32.
21946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21951 multiarch truncf for PowerPC32.
21953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21954 and roundf multiarch implementations.
21955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21960 multiarch round for PowerPC32.
21961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21966 multiarch roundf for PowerPC32.
21968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21969 and floorf multiarch implementations.
21970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21975 multiarch floor for PowerPC32.
21976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21981 multiarch floorf for PowerPC32.
21983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21984 and ceilf multiarch implementations.
21985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21990 multiarch ceil for PowerPC32.
21991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21996 multiarch ceilf for PowerPC32.
21998 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22000 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22001 FINITEF is defined.
22002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22003 and finitef multiarch implementations.
22004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22009 multiarch finite for PowerPC32.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22013 file: multiarch finitef for PowerPC32.
22015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22016 and isinff multiarch implementations.
22017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22022 multiarch isinf for PowerPC32.
22023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22026 multiarch isinff for PowerPC32.
22028 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22029 alias when __isnan is defined.
22030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22031 and isnanf multiarch implementations.
22032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22041 multiarch isnan for PowerPC32.
22042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22047 multiarch isnanf for PowerPC32.
22049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22050 and sqrtf multiarch implementations.
22051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22056 multiarch sqrt for PowerPC32.
22057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22062 multiarch sqrtf for PowerPC32.
22064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22065 and llroundf multiarch implementations.
22066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22073 file: multiarch llround for PowerPC32.
22074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22075 file: multiarch llroundf for PowerPC32.
22077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22078 multiarch PowerPC32 fpu implementations.
22079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22084 multiarch llrint for PowerPC32.
22085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22094 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22096 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22098 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22100 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22101 multiarch wordcopy for PPC32.
22102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22105 (__libc_ifunc_impl_list): Likewise.
22106 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22107 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22108 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22109 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22110 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22111 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22113 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22121 multiarch wcscpy for PPC32.
22122 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22124 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22125 (__libc_ifunc_impl_list): Likewise.
22126 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22127 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22128 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22129 sysdeps/powerpc/power6/wcscpy.c.
22131 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22132 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22139 multiarch wcsrchr for PPC32.
22140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22143 (__libc_ifunc_impl_list): Likewise.
22144 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22145 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22146 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22147 sysdeps/powerpc/power6/wcsrchr.c.
22149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22155 multiarch wcschr for PPc32.
22156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22159 (__libc_ifunc_impl_list): Likewise.
22160 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22161 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22162 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22163 sysdeps/powerpc/power6/wcschr.c.
22165 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22166 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22168 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22169 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22170 file: multiarch strchr for PPC32.
22171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22174 (__libc_ifunc_impl_list): Likewise.
22176 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22178 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22180 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22182 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22183 multiarch strchrnul for PPC32.
22184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22187 (__libc_ifunc_impl_list): Likewise.
22189 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22191 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22192 multiarch strncasecmp for PPC32.
22193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22196 multiarch strncasecmp_l for PPC32.
22197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22198 strncasecmp multiarch objects.
22199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22200 (__libc_ifunc_impl_list): Likewise.
22202 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22204 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22205 multiarch strncasecmp for PPC32.
22206 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22209 multiarch strcasecmp_l for PPC32.
22210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22213 (__libc_ifunc_impl_list): Likewise.
22215 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22220 multiarch strncmp for PPC32.
22221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22224 (__libc_ifunc_impl_list): Likewise.
22226 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22227 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22229 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22230 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22234 (__libc_ifunc_impl_list): Likewise.
22236 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22238 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22240 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22244 (__libc_ifunc_impl_list): Likewise.
22246 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22248 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22250 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22251 multiarch rawmemchr for PPC32.
22252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22255 (__libc_ifunc_impl_list): Likewise.
22257 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22259 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22261 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22262 file: memrchr multiarch for PPC32.
22263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22266 (__libc_ifunc_impl_list): Likewise.
22268 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22269 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22271 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22272 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22273 multiarch memchr for PPC32.
22274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22277 (__libc_ifunc_impl_list): Likewise.
22279 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22280 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22282 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22284 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22285 file: multiarch mempcpy for PPC32.
22286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22289 (__libc_ifunc_impl_list): Likewise.
22291 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22292 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22293 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22294 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22295 multiarch bzero for PPC32.
22296 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22298 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22300 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22301 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22302 file: multiarch memset for PPC32.
22303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22305 memset multiarch objects.
22306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22307 (__libc_ifunc_impl_list): Likewise.
22309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22312 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22314 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22318 (__libc_ifunc_impl_list): Likewise.
22320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22321 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22328 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22329 multiarch memcpy for PPC32.
22330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22333 (__libc_ifunc_impl_list): Likewise.
22335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22336 support multiarch for POWER/PPC32.
22337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22339 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22341 Implies file to make multiarch folder appers before the fpu and
22342 default folder for power4 configuration.
22344 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22346 * scripts/bench.pl: Append volatile keyword to type.
22348 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22350 * sysdeps/sh/sotruss-lib.c: New file.
22351 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22353 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22357 2013-12-05 Joseph Myers <joseph@codesourcery.com>
22360 * math/w_tgamma.c: Include <errno.h>.
22361 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22362 * math/w_tgammaf.c: Include <errno.h>.
22363 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22364 * math/w_tgammal.c: Include <errno.h>.
22365 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22366 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22367 underflow. Add more tgamma tests.
22368 * math/auto-libm-test-out: Regenerated.
22369 * sysdeps/i386/fpu/libm-test-ulps: Update.
22370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22372 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22373 sin, sinh, tan, tanh, tgamma, y0 and y1.
22374 * math/auto-libm-test-out: Regenerated.
22375 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22376 (TEST_COND_x86): Likewise.
22377 (M_E2l): Remove macro.
22379 (M_2_SQRT_PIl): Likewise.
22380 (M_SQRT_PIl): Likewise.
22381 (M_1_DIV_El): Likewise.
22382 (log_test_data): Use AUTO_TESTS_f_f.
22383 (log10_test_data): Likewise.
22384 (log1p_test_data): Likewise.
22385 (log2_test_data): Likewise.
22386 (sin_test_data): Likewise.
22387 (sin_tonearest_test_data): Likewise.
22388 (sin_towardzero_test_data): Likewise.
22389 (sin_downward_test_data): Likewise.
22390 (sin_upward_test_data): Likewise.
22391 (sinh_test_data): Likewise.
22392 (sinh_tonearest_test_data): Likewise.
22393 (sinh_towardzero_test_data): Likewise.
22394 (sinh_downward_test_data): Likewise.
22395 (sinh_upward_test_data): Likewise.
22396 (tan_test_data): Likewise.
22397 (tan_tonearest_test_data): Likewise.
22398 (tan_towardzero_test_data): Likewise.
22399 (tan_downward_test_data): Likewise.
22400 (tan_upward_test_data): Likewise.
22401 (tanh_test_data): Likewise.
22402 (tgamma_test_data): Likewise.
22403 (y0_test_data): Likewise.
22404 (y1_test_data): Likewise.
22405 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22406 (special_real_inputs): Add pi/4.
22407 * sysdeps/i386/fpu/libm-test-ulps: Update.
22408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22410 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22412 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22413 "longjmp_target" static probes.
22414 (__longjmp): Rename to __longjmp_symbol.
22415 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22416 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22417 on which longjmp to generate.
22418 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22419 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22422 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22423 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22424 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22425 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22426 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22428 __longjmp_symbol based on which __longjmp to generate.
22429 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22431 (setjmp): Rename to setjmp_symbol.
22432 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22433 (_setjmp): Rename to _setjmp_symbol.
22434 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22435 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22436 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22437 which setjmp to generate.
22438 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22439 "longjmp_target" static probes.
22441 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22443 * benchtests/README: Add note about output arguments.
22444 * benchtests/bench-sincos.c: Remove file.
22445 * benchtests/sincos-inputs: New file.
22446 * scripts/bench.pl: Identify output arguments and define
22447 static variables for them.
22449 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22452 * Makefile (INSTALL): Add install-plain.texi as the primary
22454 * manual/install-plain.texi: New file.
22455 * manual/install.texi: Include node directive only for
22456 non-plaintext output.
22458 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22460 * stdlib/longlong.h: Update from GCC.
22464 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22465 * math/w_j0f.c (y0f): Likewise.
22466 * math/w_j0l.c (__y0l): Likewise.
22467 * math/w_j1.c (y1): Likewise.
22468 * math/w_j1f.c (y1f): Likewise.
22469 * math/w_j1l.c (__y1l): Likewise
22470 * math/w_jn.c (yn): Likewise.
22471 * math/w_jnf.c (ynf): Likewise.
22472 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22473 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22474 value for Bessel function domain errors outside _SVID_ mode.
22475 Adjust sign of return value for yn (negative integer, 0).
22476 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22477 by zero in return for negative x and set sign appropriately for
22479 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22480 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22481 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22482 expectations in error cases.
22483 (y1_test_data): Likewise.
22484 (yn_test_data): Likewise.
22485 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22488 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22490 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22491 "64" to "64-v1". Add "64-v2".
22492 (abi-64-options): Rename to ...
22493 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22494 (abi-64-condition): Rename to ...
22495 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22496 (abi-64-ld-soname): Rename to ...
22497 (abi-64-v1-ld-soname): ... this.
22498 (abi-64-v2-options): Define.
22499 (abi-64-v2-condition): Likewise.
22500 (abi-64-v2-ld-soname): Likewise.
22501 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22502 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22507 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22508 Alan Modra <amodra@gmail.com>
22510 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22511 New versions for use with the ELFv2 ABI.
22512 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22513 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22515 (struct La_ppc64v2_retval): Likewise.
22516 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22517 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22518 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22519 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22520 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22521 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22522 Do not save or restore CR.
22523 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22524 (_dl_profile_resolve): Do no save or restore CR. Support extended
22525 return values for ELFv2 ABI. Fix location of FPR return registers.
22526 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22527 updated values for _CALL_ELF == 2.
22528 (La_regs, La_retval, int_retval): Likewise.
22530 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22532 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22533 (FRAME_MIN_SIZE_PARM): Likewise.
22534 (FRAME_BACKCHAIN): Likewise.
22535 (FRAME_CR_SAVE): Likewise.
22536 (FRAME_LR_SAVE): Likewise.
22537 (FRAME_TOC_SAVE): Likewise.
22538 (FRAME_PARM_SAVE): Likewise.
22539 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22540 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22541 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22542 (call_mcount_parm_offset): New macro.
22543 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22544 (PROF): Use symbolic stack frame offsets.
22545 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22546 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22547 Redefine in terms of FRAME_MIN_SIZE.
22548 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22549 (_dl_profile_resolve): Likewise. Update comment.
22550 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22551 symbols stack frame offsets.
22552 (__sigsetjmp): Likewise.
22553 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22554 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22555 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22556 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22559 (FRAME_BACKCHAIN): Remove.
22560 (FRAME_CR_SAVE): Likewise.
22561 (FRAME_LR_SAVE): Likewise.
22562 (FRAME_COMPILER_DW): Likewise.
22563 (FRAME_LINKER_DW): Likewise.
22564 (FRAME_TOC_SAVE): Likewise.
22565 (FRAME_PARM_SAVE): Likewise.
22566 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22567 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22568 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22570 (CHECK_SP): Use symbolic stack frame offsets.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22572 zone" instead of caller's parameter save area for temp storage.
22573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22574 Likewise. Also, use symbolic stack frame offsets.
22575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22576 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22577 our own stack frame instead of the caller's.
22578 (__socket): Use symbolic stack frame offsets.
22580 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22581 Alan Modra <amodra@gmail.com>
22583 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22585 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22586 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22587 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22589 (elf_machine_fixup_plt): Call it.
22590 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22592 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22593 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22594 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22595 r2 before calling target.
22597 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22598 Alan Modra <amodra@gmail.com>
22600 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22601 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22602 versions of macros to support ELFv2 ABI.
22603 (LOCALENTRY): New macro.
22604 (ENTRY, EALIGN): Use it.
22605 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22606 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22607 fall through into ENTRY entry point.
22608 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22609 Only define if _CALL_ELF != 2.
22611 (elf_machine_matches_host): Verify ABI version matches.
22612 (RTLD_START): Use LOCALENTRY.
22613 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22614 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22615 (PLT_ENTRY_WORDS): New macro.
22616 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22617 (elf_machine_runtime_setup): Support ELFv2 ABI.
22618 (elf_machine_fixup_plt): Likewise.
22619 (elf_machine_plt_conflict): Likewise.
22620 (resolve_ifunc): Likewise.
22621 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22622 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22625 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22627 (makecontext): Support ELFv2 ABI.
22628 * elf/elf.h (EF_PPC64_ABI): Define.
22630 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22632 * sysdeps/powerpc/powerpc64/sysdep.h
22633 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22634 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22635 (ENTRY) [ASSEMBLER]: ... but instead here ...
22636 (EALIGN) [ASSEMBLER]: ... and here.
22637 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22638 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22639 (ENTRY_2) [!ASSEMBLER]: Use it.
22640 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22641 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22643 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22644 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22646 Use PPC64_LOAD_FUNCPTR.
22648 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22650 2013-12-04 Alan Modra <amodra@gmail.com>
22652 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22653 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22654 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22655 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22658 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22659 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22660 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22661 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22662 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22667 (__makecontext): Fix incorrect CFI when backtracing out of
22668 context created via makecontext.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22670 (__setcontext): Fix incorrect CFI during switch to new context.
22671 (__novec_setcontext): Likewise.
22673 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22676 * time/strptime_l.c (__strptime_internal): Allow modifiers
22678 * time/tst-strptime.c (day_tests): Add testcase.
22680 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22682 * scripts/bench.pl: Skip over blank lines.
22684 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22687 * manual/time.texi (Calendar Time): Clarify what timezone functions
22690 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22694 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22696 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22698 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22699 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22700 * debug/memset_chk.c (__memset_chk): Likewise.
22701 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22702 * debug/strncpy_chk.c: Likewise.
22704 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22708 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22709 (__ieee754_exp): For possibly underflowing results, check size of
22710 result and force underflow exception if required.
22711 * math/auto-libm-test-in: Add more tests of exp.
22712 * math/auto-libm-test-out: Regenerated.
22713 * sysdeps/i386/fpu/libm-test-ulps: Update.
22714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22717 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22718 * math/w_exp2f.c (__exp2f): Likewise.
22719 * math/w_exp2l.c (__exp2l): Likewise.
22720 * math/auto-libm-test-in: Do not allow missing errno on exp2
22722 * math/auto-libm-test-out: Regenerated.
22724 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22727 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22728 handle filename validation.
22729 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22732 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22735 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22736 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22737 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22739 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22740 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22741 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22743 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22745 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22746 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22747 Add more erfc tests.
22748 * math/auto-libm-test-out: Regenerated.
22749 * sysdeps/i386/fpu/libm-test-ulps: Update.
22750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22752 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22753 exp2, expm1, j0 and j1.
22754 * math/auto-libm-test-out: Regenerated.
22755 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22756 (erfc_test_data): Likewise.
22757 (exp_test_data): Likewise.
22758 (exp_tonearest_test_data): Likewise.
22759 (exp_towardzero_test_data): Likewise.
22760 (exp_downward_test_data): Likewise.
22761 (exp_upward_test_data): Likewise.
22762 (exp10_test_data): Likewise.
22763 (exp2_test_data): Likewise.
22764 (expm1_test_data): Likewise.
22765 (j0_test_data): Likewise.
22766 (j1_test_data): Likewise.
22767 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22768 (input_flag_type): Add flag_xfail_rounding.
22769 (input_flags): Add xfail-rounding.
22770 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22771 (output_for_one_input_case): Handle flag_xfail_rounding.
22772 * sysdeps/i386/fpu/libm-test-ulps: Update.
22773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22775 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22778 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22781 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22784 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22785 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22786 (STAP_PROBE0): New macro.
22787 (STAP_PROBE1): Likewise.
22788 (STAP_PROBE2): Likewise.
22789 (STAP_PROBE3): Likewise.
22790 (STAP_PROBE4): Likewise.
22792 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22794 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22796 2013-12-02 Steve Ellcey <sellcey@mips.com>
22798 * benchtests/Makefile (bench): Add sqrt.
22799 (LDLIBS-bench-sqrt): New.
22800 * benchtests/sqrt-input: New.
22802 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22804 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22805 (GAIH_EAI): Likewise.
22806 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22807 (gaih_inet): Likewise.
22808 (getaddrinfo): Don't use GAIH_EAI.
22810 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22811 (struct gaih): Remove definition.
22813 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22815 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22816 Use HERRNOP directly.
22818 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22822 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22824 * math/gen-auto-libm-tests.c (test_functions): Add more
22825 single-argument functions.
22826 (special_fill_pi_2): New function.
22827 (special_fill_minus_pi_2): Likewise.
22828 (special_fill_pi_6): Likewise.
22829 (special_fill_minus_pi_6): Likewise.
22830 (special_fill_pi_3): Likewise.
22831 (special_fill_2pi_3): Likewise.
22832 (special_fill_e): Likewise.
22833 (special_fill_1_e): Likewise.
22834 (special_fill_e_minus_1): Likewise.
22835 (special_real_inputs): Add more special inputs.
22836 (output_for_one_input_case): Do not require ERANGE on underflow to
22837 zero if round-to-nearest result does not underflow to zero, unless
22838 exact results required.
22839 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22840 atan, atanh, cbrt, cos and cosh.
22841 * math/auto-libm-test-out: Regenerated.
22842 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22843 (acos_tonearest_test_data): Likewise.
22844 (acos_towardzero_test_data): Likewise.
22845 (acos_downward_test_data): Likewise.
22846 (acos_upward_test_data): Likewise.
22847 (acosh_test_data): Likewise.
22848 (asin_test_data): Likewise.
22849 (asin_tonearest_test_data): Likewise.
22850 (asin_towardzero_test_data): Likewise.
22851 (asin_upward_test_data): Likewise.
22852 (asinh_test_data): Likewise.
22853 (atan_test_data): Likewise.
22854 (atanh_test_data): Likewise.
22855 (cbrt_test_data): Likewise.
22856 (cos_test_data): Likewise.
22857 (cos_tonearest_test_data): Likewise.
22858 (cos_towardzero_test_data): Likewise.
22859 (cos_downward_test_data): Likewise.
22860 (cos_upward_test_data): Likewise.
22861 (cosh_test_data): Likewise.
22862 (cosh_tonearest_test_data): Likewise.
22863 (cosh_towardzero_test_data): Likewise.
22864 (cosh_downward_test_data): Likewise.
22865 (cosh_upward_test_data): Likewise.
22866 * sysdeps/i386/fpu/libm-test-ulps: Update.
22867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22869 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22872 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22873 * math/w_exp10f.c (__exp10f): Likewise.
22874 * math/w_exp10l.c (__exp10l): Likewise.
22875 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22876 errno settings in existing tests.
22879 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22880 precision control set to double precision.
22881 * sysdeps/i386/fpu/w_sqrt.c: New file.
22882 * math/auto-libm-test-in: Add more tests.
22883 * math/auto-libm-test-out: Update.
22885 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22886 (sqrt_test_tonearest): New function.
22887 (sqrt_towardzero_test_data): New variable.
22888 (sqrt_test_towardzero): New function.
22889 (sqrt_downward_test_data): New variable.
22890 (sqrt_test_downward): New function.
22891 (sqrt_upward_test_data): New variable.
22892 (sqrt_test_upward): New function.
22893 (main): Call the new functions.
22895 * math/gen-auto-libm-tests.c: New file.
22896 * math/auto-libm-test-in: Likewise.
22897 * math/auto-libm-test-out: New generated file.
22898 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22900 (%beautify): Add generated representations of zero.
22901 (top level): Set $auto_input and call parse_auto_input.
22902 (beautify): Remove trailing "f" from hex float constants.
22903 (parse_args): Handle XFAIL_TEST.
22904 (convert_condition): New function.
22905 (or_value): Likewise.
22906 (or_cond_value): Likewise.
22907 (generate_testfile): Handle AUTO_TESTS_* lines.
22908 (parse_auto_input): New function.
22909 * math/libm-test.inc (XFAIL_TEST): New macro.
22910 (ERRNO_UNCHANGED): Update value.
22911 (ERRNO_EDOM): Likewise.
22912 (ERRNO_ERANGE): Likewise.
22913 (IGNORE_RESULT): Likewise.
22914 (TEST_COND_flt_32): New macro.
22915 (TEST_COND_dbl_64): Likewise.
22916 (TEST_COND_ldbl_96_intel): Likewise.
22917 (TEST_COND_ldbl_96_m68k): Likewise.
22918 (TEST_COND_ldbl_128): Likewise.
22919 (TEST_COND_ldbl_128ibm): Likewise.
22920 (TEST_COND_long32): Likewise.
22921 (TEST_COND_long64): Likewise.
22922 (TEST_COND_before_rounding): Likewise.
22923 (TEST_COND_after_rounding): Likewise.
22924 (enable_test): Handle XFAIL_TEST flag.
22925 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22926 with finite results.
22927 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22928 auto-libm-test-out.
22930 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22931 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22934 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22935 __tls_get_addr_internal instead of __tls_get_offset in order to
22936 avoid GOT pointer dependency. Make rtld export
22937 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22938 __tls_get_addr since we are a __tls_get_offset platform.
22939 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22940 GOT pointer being set up before.
22941 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22943 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22945 * manual/math.texi (Errors in Math Functions): Document accuracy
22949 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22950 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22951 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22953 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22954 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22955 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22956 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22957 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22958 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22959 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22960 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22961 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22962 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22963 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22964 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22966 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22967 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22968 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22969 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22970 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22972 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22974 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22976 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22977 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22978 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22979 atomic-feupdateenv and flt-rounds.
22980 * sysdeps/powerpc/nofpu/Versions (libc): Add
22981 __atomic_feholdexcept, __atomic_feclearexcept,
22982 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22983 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22984 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22985 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22986 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22991 * manual/arith.texi (FP Exceptions): Document that exceptions may
22992 not be raised when matherr is used.
22993 (Math Error Reporting): Document overflow in directed rounding
22994 modes. Document that errno may not be set when finite values are
22995 returned on overflow. Document intent to set errno on underflow
22996 only for underflow to zero.
22999 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23000 round-to-nearest then adjust result for other rounding modes.
23001 * include/fenv.h (fegetround): Use libm_hidden_proto.
23002 * math/fegetround.c (fegetround): Use libm_hidden_def.
23003 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23004 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23005 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23006 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23008 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23009 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23010 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23011 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23013 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23016 * nss/Versions (libnss_files): Add
23017 _nss_files_gethostbyname3_r.
23018 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23020 (HOST_DB_LOOKUP): Remove macro.
23021 (_nss_files_gethostbyname_r): Implement function without the
23022 HOST_DB_LOOKUP macro.
23023 (_nss_files_gethostbyname2_r): Likewise.
23025 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
23027 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23029 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
23031 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23032 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23035 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23037 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23038 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23039 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23040 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23041 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23042 __fe_nomask_env_priv and attribute_hidden.
23043 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23044 (libc_feupdateenv_test_ppc): Likewise.
23045 (libc_feresetround_ppc): Likewise.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23047 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23048 compat_symbol macro.
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23050 (__fe_nomask_env): Likewise.
23051 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23053 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23055 * string/Makefile: Remove ifunc tests.
23056 * string/test-string.h: Define TEST_IFUNC.
23057 * string/test-bcopy-ifunc.c: Remove.
23058 * string/test-bzero-ifunc.c: Likewise.
23059 * string/test-memccpy-ifunc.c: Likewise.
23060 * string/test-memchr-ifunc.c: Likewise.
23061 * string/test-memcmp-ifunc.c: Likewise.
23062 * string/test-memcpy-ifunc.c: Likewise.
23063 * string/test-memmem-ifunc.c: Likewise.
23064 * string/test-memmove-ifunc.c: Likewise.
23065 * string/test-mempcpy-ifunc.c: Likewise.
23066 * string/test-memrchr-ifunc.c: Likewise.
23067 * string/test-memset-ifunc.c: Likewise.
23068 * string/test-rawmemchr-ifunc.c: Likewise.
23069 * string/test-stpcpy-ifunc.c: Likewise.
23070 * string/test-stpncpy-ifunc.c: Likewise.
23071 * string/test-strcasecmp-ifunc.c: Likewise.
23072 * string/test-strcasestr-ifunc.c: Likewise.
23073 * string/test-strcat-ifunc.c: Likewise.
23074 * string/test-strchr-ifunc.c: Likewise.
23075 * string/test-strchrnul-ifunc.c: Likewise.
23076 * string/test-strcmp-ifunc.c: Likewise.
23077 * string/test-strcpy-ifunc.c: Likewise.
23078 * string/test-strcspn-ifunc.c: Likewise.
23079 * string/test-strlen-ifunc.c: Likewise.
23080 * string/test-strncasecmp-ifunc.c: Likewise.
23081 * string/test-strncat-ifunc.c: Likewise.
23082 * string/test-strncmp-ifunc.c: Likewise.
23083 * string/test-strncpy-ifunc.c: Likewise.
23084 * string/test-strnlen-ifunc.c: Likewise.
23085 * string/test-strpbrk-ifunc.c: Likewise.
23086 * string/test-strrchr-ifunc.c: Likewise.
23087 * string/test-strspn-ifunc.c: Likewise.
23088 * string/test-strstr-ifunc.c: Likewise.
23090 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23092 * benchtests/Makefile: Remove ifunc tests.
23093 * benchtests/bench-string.h: Define TEST_IFUNC.
23094 * benchtests/bench-bcopy-ifunc.c: Remove.
23095 * benchtests/bench-bzero-ifunc.c: Likewise.
23096 * benchtests/bench-memccpy-ifunc.c: Likewise.
23097 * benchtests/bench-memchr-ifunc.c: Likewise.
23098 * benchtests/bench-memcmp-ifunc.c: Likewise.
23099 * benchtests/bench-memcpy-ifunc.c: Likewise.
23100 * benchtests/bench-memmem-ifunc.c: Likewise.
23101 * benchtests/bench-memmove-ifunc.c: Likewise.
23102 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23103 * benchtests/bench-memrchr-ifunc.c: Likewise.
23104 * benchtests/bench-memset-ifunc.c: Likewise.
23105 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23106 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23107 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23108 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23109 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23110 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23111 * benchtests/bench-strcat-ifunc.c: Likewise.
23112 * benchtests/bench-strchr-ifunc.c: Likewise.
23113 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23114 * benchtests/bench-strcmp-ifunc.c: Likewise.
23115 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23116 * benchtests/bench-strcpy-ifunc.c: Likewise.
23117 * benchtests/bench-strcspn-ifunc.c: Likewise.
23118 * benchtests/bench-strlen-ifunc.c: Likewise.
23119 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23120 * benchtests/bench-strncat-ifunc.c: Likewise.
23121 * benchtests/bench-strncmp-ifunc.c: Likewise.
23122 * benchtests/bench-strncpy-ifunc.c: Likewise.
23123 * benchtests/bench-strnlen-ifunc.c: Likewise.
23124 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23125 * benchtests/bench-strrchr-ifunc.c: Likewise.
23126 * benchtests/bench-strsep-ifunc.c: Likewise.
23127 * benchtests/bench-strspn-ifunc.c: Likewise.
23128 * benchtests/bench-strstr-ifunc.c: Likewise.
23130 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23132 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23134 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
23136 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23137 * rt/aio.h: Likewise.
23138 * sysdeps/gnu/bits/utmp.h: Likewise.
23139 * sysdeps/gnu/bits/utmpx.h: Likewise.
23140 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23141 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23142 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23143 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23144 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23145 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23146 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23147 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23148 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23149 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23150 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23151 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23152 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23154 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23155 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23156 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23157 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23158 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23159 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23160 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23161 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23162 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23163 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23164 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23165 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23166 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23167 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23168 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23169 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23170 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23171 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23172 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23174 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23175 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23176 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23177 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23178 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23179 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23180 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23181 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23183 2013-11-25 Carlos O'Donell <carlos@redhat.com>
23186 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23187 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23189 2013-11-25 Joseph Myers <joseph@codesourcery.com>
23191 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23192 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23195 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23197 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23198 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23199 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23200 (__fesetround): Remove define.
23201 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23202 rounding and exceptions handling.
23203 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23204 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23205 (__fe_nomask_env): Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23207 __fegetround instead of fegetround.
23208 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23211 2013-11-21 Roland McGrath <roland@hack.frob.com>
23213 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23216 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23218 2013-11-21 Meador Inge <meadori@codesourcery.com>
23221 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23222 (encrypt_r): Likewise.
23223 * malloc/obstack.h (obstack_free): Likewise.
23224 * posix/unistd.h (encrypt): Likewise.
23226 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23228 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23229 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23230 DL_CALL_DT_FINI() that call the functions directly.
23231 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23232 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23233 * elf/dl-fini.c: Likewise.
23235 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
23237 * malloc/hooks.c (memalign_check): Add alignment rounding.
23238 * malloc/malloc.c (_mid_memalign): New function.
23239 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23240 Implement by calling _mid_memalign.
23241 * manual/probes.texi (Memory Allocation Probes): Remove
23242 memory_valloc_retry and memory_pvalloc_retry.
23244 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23246 * locale/programs/locarchive.c (open_archive): Add const
23247 qualifier to ARCHIVEFNAME and copy default fname to
23251 * libio/tst-widetext.input: Rename Oriya to Odia.
23252 * locale/iso-639.def: Likewise.
23254 * manual/probes.texi (Mathematical Function Probes): Add
23255 documentation for sin, cos, asin and acos probes.
23256 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23257 (__sin32): Add slowasin probe.
23258 (__cos32): Add slowacos probe.
23259 (__mpsin): Add slowsin probe.
23260 (__mpcos): Add slowcos probe.
23262 2013-11-19 Joseph Myers <joseph@codesourcery.com>
23265 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23266 thread-local __sim_exceptions_thread and global
23267 __sim_exceptions_global.
23268 (__sim_disabled_exceptions): Change to thread-local
23269 __sim_disabled_exceptions_thread and global
23270 __sim_disabled_exceptions_global.
23271 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23272 and global __sim_round_mode_global.
23273 (__simulate_exceptions): Use thread-local floating-point state and
23274 set global state from it as needed.
23275 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23276 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23277 __sim_round_mode_thread.
23278 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23279 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23280 and global __sim_exceptions_global.
23281 (__sim_disabled_exceptions): Change to thread-local
23282 __sim_disabled_exceptions_thread and global
23283 __sim_disabled_exceptions_global.
23284 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23285 and global __sim_round_mode_global.
23286 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23287 (SIM_SET_GLOBAL): Likewise.
23288 * sysdeps/powerpc/soft-fp/sfp-machine.h
23289 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23290 __sim_round_mode_thread.
23291 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23292 __sim_disabled_exceptions_thread.
23293 (__sim_exceptions): Change to __sim_exceptions_thread.
23294 (__sim_disabled_exceptions): Change to
23295 __sim_disabled_exceptions_thread.
23296 (__sim_round_mode): Change to __sim_round_mode_thread.
23297 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23298 thread-local floating-point state and set global state from it as
23300 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23301 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23302 (__sim_disabled_exceptions): Remove extern declaration.
23303 (feenableexcept): Use thread-local floating-point state and set
23304 global state from it as needed.
23305 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23306 extern declaration.
23307 (__sim_disabled_exceptions): Likewise.
23308 (__sim_round_mode): Likewise.
23309 (__fegetenv): Use thread-local floating-point state.
23310 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23311 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23312 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23313 floating-point state and set global state from it as needed.
23314 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23315 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23316 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23318 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23319 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23321 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23322 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23323 Use __sim_round_mode_thread.
23324 * math/test-fenv-tls.c: New file.
23325 * math/Makefile (tests): Add test-fenv-tls.
23326 ($(objpfx)test-fenv-tls): Depend on
23327 $(common-objpfx)nptl/libpthread.so.
23329 2013-11-19 Andreas Schwab <schwab@suse.de>
23331 * locale/programs/locale.c (show_info): Decode wordarray elements.
23332 * locale/categories.def (LC_MONETARY): Add element for
23333 _NL_MONETARY_CRNCYSTR.
23334 * locale/C-monetary.c (conversion_rate): New variable.
23335 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23338 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23340 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23341 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23343 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23345 * elf/Makefile (tst-auxv): New test.
23346 * elf/tst-auxv.c: New
23347 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23349 2013-11-18 Joseph Myers <joseph@codesourcery.com>
23351 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23352 (hidden_proto): Caller changed.
23353 (hidden_tls_proto): New macro.
23354 (libc_hidden_tls_proto): Likewise.
23355 (rtld_hidden_tls_proto): Likewise.
23356 (libm_hidden_tls_proto): Likewise.
23357 (libresolv_hidden_tls_proto): Likewise.
23358 (librt_hidden_tls_proto): Likewise.
23359 (libdl_hidden_tls_proto): Likewise.
23360 (libnss_files_hidden_tls_proto): Likewise.
23361 (libnsl_hidden_tls_proto): Likewise.
23362 (libnss_nisplus_hidden_tls_proto): Likewise.
23363 (libutil_hidden_tls_proto): Likewise.
23365 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
23368 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23369 (decompose_rpath): Defer expansion to fillin_rpath.
23370 (_dl_init_paths): Pass linkmap to fillin_rpath.
23372 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23374 * benchtests/Makefile: Add strsep.
23375 * benchtests/bench-strsep.c: New file: strsep benchtest.
23376 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23378 2013-11-18 Andreas Schwab <schwab@suse.de>
23380 * locale/programs/locale.c (show_info) [case byte]: Check for
23381 '\377' instead of '\177'.
23382 * locale/C-monetary.c (not_available): Always use "\377".
23383 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23384 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23385 detect unavailable sign_posn locale elements.
23386 * locale/localeconv.c (__localeconv): For grouping and
23387 mon_grouping handle "\177" and "\377" like no grouping.
23388 (INT_ELEM): New macro. Use it to set all numeric members.
23389 * locale/programs/ld-monetary.c (monetary_read)
23390 <tok_mon_grouping>: Normalize single -1 to the empty string.
23391 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23394 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23397 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23398 when we match (nil).
23399 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23401 2013-11-16 Joseph Myers <joseph@codesourcery.com>
23403 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23404 (NO_TEST_INLINE): Update value.
23405 (ERRNO_UNCHANGED): Likewise.
23406 (ERRNO_EDOM): Likewise.
23407 (ERRNO_ERANGE): Likewise.
23408 (IGNORE_RESULT): Likewise.
23409 (check_float_internal): Check signs of NaN results if
23410 TEST_NAN_SIGN used.
23411 (check_complex): Pass TEST_NAN_SIGN flag through to second
23412 check_float_internal call.
23413 (copysign_test_data): Add tests with quiet NaNs as second
23414 argument. Use TEST_NAN_SIGN.
23415 (fabs_test_data): Add test of negative quiet NaN argument. Use
23417 (signbit_test_data): Add tests of quiet NaN argument.
23418 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23420 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23422 (parse_args): Handle function results specified as IGNORE.
23423 * math/libm-test.inc (IGNORE_RESULT): New macro.
23424 (check_float_internal): Do not check numerical result if flag
23426 (check_complex): Pass through IGNORE_RESULT to second
23427 check_float_internal call.
23428 (check_int): Do not check numerical result if flag IGNORE_RESULT
23430 (check_long): Likewise.
23431 (check_bool): Likewise.
23432 (check_longlong): Likewise.
23433 (lrint_test_data): Add tests of infinite and NaN arguments.
23434 (lrint_tonearest_test_data): Likewise.
23435 (lrint_towardzero_test_data): Likewise.
23436 (lrint_downward_test_data): Likewise.
23437 (lrint_upward_test_data): Likewise.
23438 (llrint_test_data): Likewise.
23439 (llrint_tonearest_test_data): Likewise.
23440 (llrint_towardzero_test_data): Likewise.
23441 (llrint_downward_test_data): Likewise.
23442 (llrint_upward_test_data): Likewise.
23443 (lround_test_data): Likewise.
23444 (llround_test_data): Likewise.
23446 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23447 (ERRNO_UNCHANGED): Update value.
23448 (ERRNO_EDOM): Likewise.
23449 (ERRNO_ERANGE): Likewise.
23450 (NO_TEST_INLINE_FLOAT): New macro.
23451 (NO_TEST_INLINE_DOUBLE): Likewise.
23452 (enable_test): New function.
23453 (RUN_TEST_f_f): Check enable_test before running test.
23454 (RUN_TEST_2_f): Likewise.
23455 (RUN_TEST_fff_f): Likewise.
23456 (RUN_TEST_c_f): Likewise.
23457 (RUN_TEST_f_f1): Likewise.
23458 (RUN_TEST_fF_f1): Likewise.
23459 (RUN_TEST_fI_f1): Likewise.
23460 (RUN_TEST_ffI_f1): Likewise.
23461 (RUN_TEST_c_c): Likewise.
23462 (RUN_TEST_cc_c): Likewise.
23463 (RUN_TEST_f_i): Likewise.
23464 (RUN_TEST_f_i_tg): Likewise.
23465 (RUN_TEST_ff_i_tg): Likewise.
23466 (RUN_TEST_f_b): Likewise.
23467 (RUN_TEST_f_b_tg): Likewise.
23468 (RUN_TEST_f_l): Likewise.
23469 (RUN_TEST_f_L): Likewise.
23470 (RUN_TEST_fFF_11): Likewise.
23471 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23473 (cosh_test_data): Likewise.
23474 (exp_test_data): Likewise.
23475 (expm1_test_data): Likewise.
23476 (hypot_test_data): Likewise.
23477 (pow_test_data): Likewise.
23478 (sinh_test_data): Likewise.
23479 (tanh_test_data): Likewise.
23480 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23483 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23484 tests with quiet NaN input and output.
23485 (acosh_test_data): Likewise.
23486 (asin_test_data): Likewise.
23487 (asinh_test_data): Likewise.
23488 (atan_test_data): Likewise.
23489 (atanh_test_data): Likewise.
23490 (atan2_test_data): Likewise.
23491 (cbrt_test_data): Likewise.
23492 (cos_test_data): Likewise.
23493 (cosh_test_data): Likewise.
23494 (erf_test_data): Likewise.
23495 (erfc_test_data): Likewise.
23496 (exp_test_data): Likewise.
23497 (exp10_test_data): Likewise.
23498 (exp2_test_data): Likewise.
23499 (expm1_test_data): Likewise.
23500 (hypot_test_data): Likewise.
23501 (j0_test_data): Likewise.
23502 (j1_test_data): Likewise.
23503 (jn_test_data): Likewise.
23504 (lgamma_test_data): Likewise.
23505 (log_test_data): Likewise.
23506 (log10_test_data): Likewise.
23507 (log1p_test_data): Likewise.
23508 (log2_test_data): Likewise.
23509 (pow_test_data): Likewise.
23510 (scalb_test_data): Likewise.
23511 (sin_test_data): Likewise.
23512 (sincos_test_data): Likewise.
23513 (sinh_test_data): Likewise.
23514 (tan_test_data): Likewise.
23515 (tanh_test_data): Likewise.
23516 (tgamma_test_data): Likewise.
23517 (y0_test_data): Likewise.
23518 (y1_test_data): Likewise.
23519 (yn_test_data): Likewise.
23522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23523 argument being NaN and avoid computations with second argument in
23525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23526 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23527 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23529 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23531 * locale/iso-639.def: Add Chitwani Tharu (the).
23533 2013-11-14 Andreas Schwab <schwab@suse.de>
23535 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23536 word instead of empty string.
23538 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23541 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23543 (__fe_nomask_env): Likewise.
23545 2013-11-13 Steve Ellcey <sellcey@mips.com>
23547 * benchtests/bench-timing.h: Include time.h.
23549 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23552 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23554 * sysdeps/unix/sysv/linux/configure: Regenerated.
23556 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23559 * stdlib/strtod_l.c (round_and_return): Do not consider
23560 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23561 exponent one less than half the least subnormal exponent.
23562 * stdlib/test-strtod-round-data: Add more tests.
23563 * stdlib/tst-strtod-round.c (tests): Regenerated.
23565 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23568 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23569 (__fe_mask_env): Likewise.
23570 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23571 libm_hidden_proto and add function prototype.
23572 (__fe_mask_env): Add function prototype.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23574 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23576 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23578 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23580 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23582 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23583 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23585 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23587 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23588 of htab_find_slot().
23590 2013-11-11 David S. Miller <davem@davemloft.net>
23593 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23594 symbol in the non-vis3 case in static builds.
23595 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23596 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23597 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23598 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23600 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23603 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23606 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23608 * benchtests/Makefile: Add bench-strtod.
23609 * benchtests/bench-strtod.c: New file: strtod benchtest
23611 2013-11-11 Andreas Schwab <schwab@suse.de>
23614 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23615 terminating NUL in key length.
23617 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23619 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23620 Add artificial ODP entry for vDSO symbol for PPC64.
23621 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23622 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23624 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23627 * nss/getent.c (services_keys): Recognize services starting with digit.
23629 2013-11-06 David S. Miller <davem@davemloft.net>
23632 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23633 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23635 2013-11-06 Will Newton <will.newton@linaro.org>
23637 * manual/memory.texi (Malloc Examples): Remove register
23638 keyword from examples.
23640 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23642 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23644 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23647 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23648 depending on [__GCC_IEC_559 > 0].
23649 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23650 depending on [__GCC_IEC_559_COMPLEX > 0].
23652 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23654 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23657 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23659 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23661 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23664 * malloc/malloc (malloc_info): Do not handle first bin as
23667 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23669 * locale/iso-639.def: Add Central Nahuatl (nhn).
23671 2013-11-01 Bruno Haible <bruno@clisp.org>
23674 * manual/math.texi (BSD Random): Specify range upper bound as
23677 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23679 * locale/iso-639.def: Add Meadow Mari (mhr).
23681 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23683 [BZ #14752], [BZ #15763]
23684 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23686 * rt/tst_shm.c: Add test for escaping directory.
23688 2013-10-31 Andreas Schwab <schwab@suse.de>
23691 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23692 followed by 'x' as part of digit sequence.
23693 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23695 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23698 * configure.ac: allow GNU Make 4.0 and greater.
23699 * configure: Regenerated.
23701 2013-10-30 Will Newton <will.newton@linaro.org>
23704 * malloc/hooks.c (memalign_check): Limit alignment to the
23705 maximum representable power of two.
23706 * malloc/malloc.c (__libc_memalign): Likewise.
23707 * malloc/tst-memalign.c (do_test): Add test for very
23708 large alignment values.
23709 * malloc/tst-posix_memalign.c (do_test): Likewise.
23711 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23714 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23715 (munmap_chunk): Likewise.
23716 (mremap_chunk): Likewise.
23718 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23721 * stdlib/div.c (div): Remove obsolete code.
23722 * stdlib/ldiv.c (ldiv): Likewise.
23723 * stdlib/lldiv.c (lldiv): Likewise.
23725 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23728 * nss/nss_files/files-XXX.c (get_contents_ret): New
23730 (get_contents): New function.
23731 (internal_getent): Use it. Expand size of LINEBUFLEN.
23733 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23735 * configure.in: Moved to ...
23736 * configure.ac: ... here. Change reference to configure.in
23738 * sysdeps/arm/preconfigure.ac: ... here.
23739 configure.in to configure.ac.
23740 * sysdeps/gnu/configure.in: Moved to ...
23741 * sysdeps/gnu/configure.ac: ... here.
23742 * sysdeps/i386/configure.in: Moved to ...
23743 * sysdeps/i386/configure.ac: ... here.
23744 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23745 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23746 * sysdeps/mach/configure.in: Moved to ...
23747 * sysdeps/mach/configure.ac: ... here.
23748 * sysdeps/mach/hurd/configure.in: Moved to ...
23749 * sysdeps/mach/hurd/configure.ac: ... here.
23750 * sysdeps/powerpc/configure.in: Moved to ...
23751 * sysdeps/powerpc/configure.ac: ... here.
23752 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23753 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23754 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23755 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23756 * sysdeps/s390/s390-32/configure.in: Moved to ...
23757 * sysdeps/s390/s390-32/configure.ac: ... here.
23758 * sysdeps/s390/s390-64/configure.in: Moved to ...
23759 * sysdeps/s390/s390-64/configure.ac: ... here.
23760 * sysdeps/sh/configure.in: Moved to ...
23761 * sysdeps/sh/configure.ac: ... here.
23762 * sysdeps/sparc/configure.in: Moved to ...
23763 * sysdeps/sparc/configure.ac: ... here.
23764 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23765 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23766 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23767 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23768 * sysdeps/x86_64/configure.in: Moved to ...
23769 * sysdeps/x86_64/configure.ac: ... here.
23770 * sysdeps/x86_64/preconfigure.in: Moved to ...
23771 * sysdeps/x86_64/preconfigure.ac: ... here.
23772 * aclocal.m4: Change reference to configure.in to configure.ac.
23773 * config.h.in: Likewise.
23774 * manual/install.texi: Likewise.
23775 * manual/maint.texi: Likewise.
23776 * Makefile: Likewise.
23777 * malloc/Makefile: Likewise.
23778 * nscd/Makefile: Likewise.
23779 * Makeconfig: Change reference to configure.in and
23780 preconfigure.in to configure.ac and preconfigure.ac
23782 * INSTALL: Regenerated.
23783 * configure: Likewise.
23784 * sysdeps/gnu/configure: Likewise.
23785 * sysdeps/i386/configure: Likewise.
23786 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23787 * sysdeps/mach/configure: Likewise.
23788 * sysdeps/mach/hurd/configure: Likewise.
23789 * sysdeps/powerpc/configure: Likewise.
23790 * sysdeps/powerpc/powerpc32/configure: Likewise.
23791 * sysdeps/powerpc/powerpc64/configure: Likewise.
23792 * sysdeps/s390/s390-32/configure: Likewise.
23793 * sysdeps/s390/s390-64/configure: Likewise.
23794 * sysdeps/sh/configure: Likewise.
23795 * sysdeps/sparc/configure: Likewise.
23796 * sysdeps/unix/sysv/linux/configure: Likewise.
23797 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23798 * sysdeps/x86_64/configure: Likewise.
23799 * sysdeps/x86_64/preconfigure: Likewise.
23801 2013-10-29 Andreas Schwab <schwab@suse.de>
23803 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23805 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23807 * benchtests/pow-inputs: Add new inputs.
23809 * benchtests/exp-inputs: Add new inputs.
23811 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23812 conditional check for return value.
23813 (__cos32): Likewise.
23815 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23817 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23818 to provide a boost for large inputs with word alignment.
23819 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23820 implementation based on optimized PPC64 strcpy.
23821 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23822 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23823 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23824 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23826 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23829 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23831 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23834 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23835 * time/tst-strptime.c (day_tests): Add testcase.
23837 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23840 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23842 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23845 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23846 MAP_FAILED on error.
23848 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23851 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23852 heap for large requests.
23854 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23857 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23858 result if the result has no associated interface.
23859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23860 interface for all 127.X.Y.Z addresses.
23862 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23864 * locale/iso-639.def: Add Ligurian (lij)
23866 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23869 * sunrpc/rpc_main.c: Document rpcgen -5.
23871 2013-10-19 Michael Stahl <mstahl@redhat.com>
23873 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23875 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23878 * posix/glob.c: Match only directories when trailing slash is present.
23879 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23880 (main): Add testcase.
23882 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23885 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23887 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23889 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23890 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23891 AUTH_DES and cindex for FIPS 140-2.
23892 (DES Encryption): Add cindex FIPS 46-3.
23894 * locale/locarchive.h (struct locarhandle): Add fname.
23895 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23896 if an optional argument was specified to --list-archive,
23898 * locale/programs/locarchive.c (show_archive_content): Take new
23899 argument fname and pass it via ah.fname to open_archive.
23900 * locale/programs/localedef.h: Update decl.
23901 (open_archive): If AH->fname is non-null, open that file
23902 rather than the default file name, and don't ignore ENOENT.
23903 (create_archive): Set AH.fname to NULL.
23904 (delete_locales_from_archive): Likewise.
23905 (add_locales_to_archive): Likewise.
23906 * locale/programs/locfile.c (write_all_categories): Likewise.
23908 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23909 Aldy Hernandez <aldyh@redhat.com>
23911 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23912 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23913 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23914 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23915 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23916 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23919 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23920 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23922 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23923 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23924 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23925 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23927 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23929 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23931 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23933 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23934 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23936 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23937 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23938 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23939 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23941 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23942 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23943 * sysdeps/powerpc/preconfigure: Likewise.
23944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23946 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23947 Replace contents of file by #include of <fenv_libc.h>.
23948 * sysdeps/powerpc/soft-fp/sfp-machine.h
23949 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23951 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23952 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23964 Allow copysignl PLT reference to be missing.
23966 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23967 Joseph Myers <joseph@codesourcery.com
23970 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23972 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23974 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23976 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23977 * elf/tst-tls1.c: Likewise.
23978 * elf/tst-tls10.h: Likewise.
23979 * elf/tst-tls14.c: Likewise.
23980 * elf/tst-tls2.c: Likewise.
23981 * elf/tst-tls3.c: Likewise.
23982 * elf/tst-tls4.c: Likewise.
23983 * elf/tst-tls5.c: Likewise.
23984 * elf/tst-tls6.c: Likewise.
23985 * elf/tst-tls7.c: Likewise.
23986 * elf/tst-tls8.c: Likewise.
23987 * elf/tst-tls9.c: Likewise.
23988 * elf/tst-tlsmod1.c: Likewise.
23989 * elf/tst-tlsmod13.c: Likewise.
23990 * elf/tst-tlsmod13a.c: Likewise.
23991 * elf/tst-tlsmod14a.c: Likewise.
23992 * elf/tst-tlsmod16a.c: Likewise.
23993 * elf/tst-tlsmod16b.c: Likewise.
23994 * elf/tst-tlsmod2.c: Likewise.
23995 * elf/tst-tlsmod3.c: Likewise.
23996 * elf/tst-tlsmod4.c: Likewise.
23997 * elf/tst-tlsmod5.c: Likewise.
23998 * elf/tst-tlsmod6.c: Likewise.
24000 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
24003 * malloc/malloc.c: remove checks for statistics.
24005 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24008 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24009 * inet/tst-network.c: Add testcase.
24011 2013-10-17 Andreas Schwab <schwab@suse.de>
24014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24015 to determine canonical name.
24017 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
24019 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24020 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24029 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24042 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24043 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24044 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24049 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24055 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24056 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24057 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24058 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24059 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24060 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24062 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24063 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24064 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24065 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24066 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24067 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24078 2013-10-17 Joseph Myers <joseph@codesourcery.com>
24081 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24082 make result into a quiet NaN.
24084 2013-10-16 Joseph Myers <joseph@codesourcery.com>
24086 * soft-fp/adddf3.c: Fix horizontal whitespace.
24087 * soft-fp/addsf3.c: Likewise.
24088 * soft-fp/addtf3.c: Likewise.
24089 * soft-fp/divdf3.c: Likewise.
24090 * soft-fp/divsf3.c: Likewise.
24091 * soft-fp/divtf3.c: Likewise.
24092 * soft-fp/double.h: Likewise.
24093 * soft-fp/eqdf2.c: Likewise.
24094 * soft-fp/eqsf2.c: Likewise.
24095 * soft-fp/eqtf2.c: Likewise.
24096 * soft-fp/extenddftf2.c: Likewise.
24097 * soft-fp/extended.h: Likewise.
24098 * soft-fp/extendsfdf2.c: Likewise.
24099 * soft-fp/extendsftf2.c: Likewise.
24100 * soft-fp/extendxftf2.c: Likewise.
24101 * soft-fp/fixdfdi.c: Likewise.
24102 * soft-fp/fixdfsi.c: Likewise.
24103 * soft-fp/fixdfti.c: Likewise.
24104 * soft-fp/fixsfdi.c: Likewise.
24105 * soft-fp/fixsfsi.c: Likewise.
24106 * soft-fp/fixsfti.c: Likewise.
24107 * soft-fp/fixtfdi.c: Likewise.
24108 * soft-fp/fixtfsi.c: Likewise.
24109 * soft-fp/fixtfti.c: Likewise.
24110 * soft-fp/fixunsdfdi.c: Likewise.
24111 * soft-fp/fixunsdfsi.c: Likewise.
24112 * soft-fp/fixunsdfti.c: Likewise.
24113 * soft-fp/fixunssfdi.c: Likewise.
24114 * soft-fp/fixunssfsi.c: Likewise.
24115 * soft-fp/fixunssfti.c: Likewise.
24116 * soft-fp/fixunstfdi.c: Likewise.
24117 * soft-fp/fixunstfsi.c: Likewise.
24118 * soft-fp/fixunstfti.c: Likewise.
24119 * soft-fp/floatdidf.c: Likewise.
24120 * soft-fp/floatdisf.c: Likewise.
24121 * soft-fp/floatditf.c: Likewise.
24122 * soft-fp/floatsidf.c: Likewise.
24123 * soft-fp/floatsisf.c: Likewise.
24124 * soft-fp/floatsitf.c: Likewise.
24125 * soft-fp/floattidf.c: Likewise.
24126 * soft-fp/floattisf.c: Likewise.
24127 * soft-fp/floattitf.c: Likewise.
24128 * soft-fp/floatundidf.c: Likewise.
24129 * soft-fp/floatundisf.c: Likewise.
24130 * soft-fp/floatunditf.c: Likewise.
24131 * soft-fp/floatunsidf.c: Likewise.
24132 * soft-fp/floatunsisf.c: Likewise.
24133 * soft-fp/floatunsitf.c: Likewise.
24134 * soft-fp/floatuntidf.c: Likewise.
24135 * soft-fp/floatuntisf.c: Likewise.
24136 * soft-fp/floatuntitf.c: Likewise.
24137 * soft-fp/fmadf4.c: Likewise.
24138 * soft-fp/fmasf4.c: Likewise.
24139 * soft-fp/fmatf4.c: Likewise.
24140 * soft-fp/gedf2.c: Likewise.
24141 * soft-fp/gesf2.c: Likewise.
24142 * soft-fp/getf2.c: Likewise.
24143 * soft-fp/ledf2.c: Likewise.
24144 * soft-fp/lesf2.c: Likewise.
24145 * soft-fp/letf2.c: Likewise.
24146 * soft-fp/muldf3.c: Likewise.
24147 * soft-fp/mulsf3.c: Likewise.
24148 * soft-fp/multf3.c: Likewise.
24149 * soft-fp/negdf2.c: Likewise.
24150 * soft-fp/negsf2.c: Likewise.
24151 * soft-fp/negtf2.c: Likewise.
24152 * soft-fp/op-1.h: Likewise.
24153 * soft-fp/op-2.h: Likewise.
24154 * soft-fp/op-4.h: Likewise.
24155 * soft-fp/op-8.h: Likewise.
24156 * soft-fp/op-common.h: Likewise.
24157 * soft-fp/quad.h: Likewise.
24158 * soft-fp/single.h: Likewise.
24159 * soft-fp/soft-fp.h: Likewise.
24160 * soft-fp/sqrtdf2.c: Likewise.
24161 * soft-fp/sqrtsf2.c: Likewise.
24162 * soft-fp/sqrttf2.c: Likewise.
24163 * soft-fp/subdf3.c: Likewise.
24164 * soft-fp/subsf3.c: Likewise.
24165 * soft-fp/subtf3.c: Likewise.
24166 * soft-fp/truncdfsf2.c: Likewise.
24167 * soft-fp/trunctfdf2.c: Likewise.
24168 * soft-fp/trunctfsf2.c: Likewise.
24169 * soft-fp/trunctfxf2.c: Likewise.
24170 * soft-fp/unorddf2.c: Likewise.
24171 * soft-fp/unordsf2.c: Likewise.
24172 * soft-fp/unordtf2.c: Likewise.
24174 2013-10-15 Joseph Myers <joseph@codesourcery.com>
24176 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24177 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24179 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
24181 * elf/dl-libc.c: Clear initfini list after freeing.
24183 2013-10-14 Joseph Myers <joseph@codesourcery.com>
24185 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24186 * soft-fp/addsf3.c: Likewise.
24187 * soft-fp/addtf3.c: Likewise.
24188 * soft-fp/divdf3.c: Likewise.
24189 * soft-fp/divsf3.c: Likewise.
24190 * soft-fp/divtf3.c: Likewise.
24191 * soft-fp/double.h: Likewise.
24192 * soft-fp/eqdf2.c: Likewise.
24193 * soft-fp/eqsf2.c: Likewise.
24194 * soft-fp/eqtf2.c: Likewise.
24195 * soft-fp/extenddftf2.c: Likewise.
24196 * soft-fp/extended.h: Likewise.
24197 * soft-fp/extendsfdf2.c: Likewise.
24198 * soft-fp/extendsftf2.c: Likewise.
24199 * soft-fp/extendxftf2.c: Likewise.
24200 * soft-fp/fixdfdi.c: Likewise.
24201 * soft-fp/fixdfsi.c: Likewise.
24202 * soft-fp/fixdfti.c: Likewise.
24203 * soft-fp/fixsfdi.c: Likewise.
24204 * soft-fp/fixsfsi.c: Likewise.
24205 * soft-fp/fixsfti.c: Likewise.
24206 * soft-fp/fixtfdi.c: Likewise.
24207 * soft-fp/fixtfsi.c: Likewise.
24208 * soft-fp/fixtfti.c: Likewise.
24209 * soft-fp/fixunsdfdi.c: Likewise.
24210 * soft-fp/fixunsdfsi.c: Likewise.
24211 * soft-fp/fixunsdfti.c: Likewise.
24212 * soft-fp/fixunssfdi.c: Likewise.
24213 * soft-fp/fixunssfsi.c: Likewise.
24214 * soft-fp/fixunssfti.c: Likewise.
24215 * soft-fp/fixunstfdi.c: Likewise.
24216 * soft-fp/fixunstfsi.c: Likewise.
24217 * soft-fp/fixunstfti.c: Likewise.
24218 * soft-fp/floatdidf.c: Likewise.
24219 * soft-fp/floatdisf.c: Likewise.
24220 * soft-fp/floatditf.c: Likewise.
24221 * soft-fp/floatsidf.c: Likewise.
24222 * soft-fp/floatsisf.c: Likewise.
24223 * soft-fp/floatsitf.c: Likewise.
24224 * soft-fp/floattidf.c: Likewise.
24225 * soft-fp/floattisf.c: Likewise.
24226 * soft-fp/floattitf.c: Likewise.
24227 * soft-fp/floatundidf.c: Likewise.
24228 * soft-fp/floatundisf.c: Likewise.
24229 * soft-fp/floatunsidf.c: Likewise.
24230 * soft-fp/floatunsisf.c: Likewise.
24231 * soft-fp/floatuntidf.c: Likewise.
24232 * soft-fp/floatuntisf.c: Likewise.
24233 * soft-fp/floatuntitf.c: Likewise.
24234 * soft-fp/fmadf4.c: Likewise.
24235 * soft-fp/fmasf4.c: Likewise.
24236 * soft-fp/fmatf4.c: Likewise.
24237 * soft-fp/gedf2.c: Likewise.
24238 * soft-fp/gesf2.c: Likewise.
24239 * soft-fp/getf2.c: Likewise.
24240 * soft-fp/ledf2.c: Likewise.
24241 * soft-fp/lesf2.c: Likewise.
24242 * soft-fp/letf2.c: Likewise.
24243 * soft-fp/muldf3.c: Likewise.
24244 * soft-fp/mulsf3.c: Likewise.
24245 * soft-fp/multf3.c: Likewise.
24246 * soft-fp/negdf2.c: Likewise.
24247 * soft-fp/negsf2.c: Likewise.
24248 * soft-fp/negtf2.c: Likewise.
24249 * soft-fp/op-1.h: Likewise.
24250 * soft-fp/op-2.h: Likewise.
24251 * soft-fp/op-4.h: Likewise.
24252 * soft-fp/op-8.h: Likewise.
24253 * soft-fp/op-common.h: Likewise.
24254 * soft-fp/quad.h: Likewise.
24255 * soft-fp/single.h: Likewise.
24256 * soft-fp/soft-fp.h: Likewise.
24257 * soft-fp/sqrtdf2.c: Likewise.
24258 * soft-fp/sqrtsf2.c: Likewise.
24259 * soft-fp/sqrttf2.c: Likewise.
24260 * soft-fp/subdf3.c: Likewise.
24261 * soft-fp/subsf3.c: Likewise.
24262 * soft-fp/subtf3.c: Likewise.
24263 * soft-fp/truncdfsf2.c: Likewise.
24264 * soft-fp/trunctfdf2.c: Likewise.
24265 * soft-fp/trunctfsf2.c: Likewise.
24266 * soft-fp/trunctfxf2.c: Likewise.
24267 * soft-fp/unorddf2.c: Likewise.
24268 * soft-fp/unordsf2.c: Likewise.
24269 * soft-fp/unordtf2.c: Likewise.
24271 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
24274 * misc/error.c (error_tail): Fix possible buffer overflow.
24276 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24279 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24282 2013-10-14 P. J. McDermott <pj@pehjota.net>
24285 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24286 testing pipefail option.
24288 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24290 * soft-fp/double.h: Indent preprocessor directives inside #if.
24291 * soft-fp/extended.h: Likewise.
24292 * soft-fp/op-2.h: Likewise.
24293 * soft-fp/op-4.h: Likewise.
24294 * soft-fp/op-common.h: Likewise.
24295 * soft-fp/quad.h: Likewise.
24296 * soft-fp/single.h: Likewise.
24297 * soft-fp/soft-fp.h: Likewise.
24299 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24301 * iconv/iconv_prog.c: Fix typos.
24302 * stdio-common/psiginfo-data.h: Likewise.
24304 2013-10-12 Reuben Thomas <rrt@sc3d.org>
24307 * locale/setlocale.c: Fix typo.
24309 2013-10-12 Joseph Myers <joseph@codesourcery.com>
24312 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24313 signaling NaN arguments.
24314 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24315 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24318 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24319 unordered operands.
24320 * soft-fp/gesf2.c (__gesf2): Likewise.
24321 * soft-fp/getf2.c (__getf2): Likewise.
24322 * soft-fp/ledf2.c (__ledf2): Likewise.
24323 * soft-fp/lesf2.c (__lesf2): Likewise.
24324 * soft-fp/letf2.c (__letf2): Likewise.
24326 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24327 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24328 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24329 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24330 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24331 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24332 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24333 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24334 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24335 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24336 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24337 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24338 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24339 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24340 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24341 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24342 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24343 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24344 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24345 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24346 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24347 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24348 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24349 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24350 * soft-fp/floattidf.c (__floattidf): Likewise.
24351 * soft-fp/floattisf.c (__floattisf): Likewise.
24352 * soft-fp/floattitf.c (__floattitf): Likewise.
24353 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24354 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24355 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24356 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24357 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24358 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24359 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24360 * soft-fp/gesf2.c (__gesf2): Likewise.
24361 * soft-fp/getf2.c (__getf2): Likewise.
24362 * soft-fp/ledf2.c (__ledf2): Likewise.
24363 * soft-fp/lesf2.c (__lesf2): Likewise.
24364 * soft-fp/letf2.c (__letf2): Likewise.
24366 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24367 Undefine and redefine.
24368 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24369 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24370 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24371 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24372 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24373 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24374 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24375 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24376 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24377 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24378 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24379 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24380 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24381 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24382 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24385 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24386 without decrementing exponent if mantissa >= that for the
24387 denominator, not >.
24388 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24389 denominator, not >. Decrement exponent in < case instead of
24390 incrementing in >= case.
24391 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24392 without decrementing exponent if mantissa >= that for the
24393 denominator, not >.
24395 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24396 computing saturated result for unsigned overflow.
24398 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24399 Jeff Law <law@redhat.com>
24401 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24402 (atan2Mp): Add systemtap probe marker.
24403 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24404 (__ieee754_log): Add systemtap probe marker.
24405 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24406 (atanMp): Add systemtap probe marker.
24407 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24408 (tanMp): Add systemtap probe marker.
24409 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24410 (__slowexp): Add systemtap probe marker.
24411 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24412 (__slowpow): Add systemtap probe marker.
24413 * manual/probes.texi: Document probes.
24415 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
24418 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24420 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24422 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24423 written to buffer but not flushed.
24424 * libio/iofwrite_u.c: Likewise.
24425 * libio/iopadn.c: Return bytes returned even if EOF was
24427 * libio/iowpadn.c: Likewise.
24428 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24429 if _IO_padn does not write the whole buffer.
24430 [!COMPILE_WPRINTF] (PAD): Likewise.
24432 2013-10-10 David S. Miller <davem@davemloft.net>
24434 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24437 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24439 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24440 instead of FSF address.
24441 * soft-fp/fixdfti.c: Likewise.
24442 * soft-fp/fixsfti.c: Likewise.
24443 * soft-fp/fixtfti.c: Likewise.
24444 * soft-fp/fixunsdfti.c: Likewise.
24445 * soft-fp/fixunssfti.c: Likewise.
24446 * soft-fp/fixunstfti.c: Likewise.
24447 * soft-fp/floattidf.c: Likewise.
24448 * soft-fp/floattisf.c: Likewise.
24449 * soft-fp/floattitf.c: Likewise.
24450 * soft-fp/floatuntidf.c: Likewise.
24451 * soft-fp/floatuntisf.c: Likewise.
24452 * soft-fp/floatuntitf.c: Likewise.
24453 * soft-fp/trunctfxf2.c: Likewise.
24455 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24456 * soft-fp/fixdfti.c: Likewise.
24457 * soft-fp/fixsfti.c: Likewise.
24458 * soft-fp/fixtfti.c: Likewise.
24459 * soft-fp/fixunsdfti.c: Likewise.
24460 * soft-fp/fixunssfti.c: Likewise.
24461 * soft-fp/fixunstfti.c: Likewise.
24462 * soft-fp/floattidf.c: Likewise.
24463 * soft-fp/floattisf.c: Likewise.
24464 * soft-fp/floattitf.c: Likewise.
24465 * soft-fp/floatuntidf.c: Likewise.
24466 * soft-fp/floatuntisf.c: Likewise.
24467 * soft-fp/floatuntitf.c: Likewise.
24468 * soft-fp/trunctfxf2.c: Likewise.
24470 2013-10-10 David S. Miller <davem@davemloft.net>
24472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24474 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24476 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24477 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24478 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24479 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24480 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24481 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24482 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24484 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24485 for NaNs before doing comparisons on argument.
24486 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24489 2013-10-10 Will Newton <will.newton@linaro.org>
24491 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24492 passed to _int_memalign does not overflow.
24494 2013-10-10 Torvald Riegel <triegel@redhat.com>
24496 * scripts/bench.pl: Add include-sources directive.
24497 * benchtests/README: Update documentation.
24499 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24501 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24502 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24503 instead of FP_INIT_ROUNDMODE.
24504 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24505 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24508 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24509 copy class of input value.
24510 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24511 not handle exceptions.
24512 * soft-fp/negsf2.c (__negsf2): Likewise.
24513 * soft-fp/negtf2.c (__negtf2): Likewise.
24514 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24516 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24518 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24519 semicolon. From Linux kernel.
24521 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24523 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24525 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24528 * manual/socket.texi: Added statement about buffer
24529 for gethostbyname2_r.
24531 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24533 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24534 Use .p2align directive instead, throughout.
24535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24536 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24537 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24538 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24540 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24541 * sysdeps/x86_64/strchr.S: Likewise.
24542 * sysdeps/x86_64/strrchr.S: Likewise.
24544 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24546 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24548 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24550 * sysdeps/generic/math_private.h (__mpsin1): Remove
24552 (__mpcos1): Likewise.
24553 (__mpsin): New argument __range_reduce.
24554 (__mpcos): Likewise.
24555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24556 (slow): Use __mpsin and __mpcos.
24560 (sloww1): Likewise.
24561 (sloww2): Likewise.
24562 (bsloww): Likewise.
24563 (bsloww1): Likewise.
24564 (bsloww2): Likewise.
24565 (cslow2): Likewise.
24566 (csloww): Likewise.
24567 (csloww1): Likewise.
24568 (csloww2): Likewise.
24569 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24570 range_reduce. Merge in __mpsin1.
24571 (__mpcos): Likewise.
24572 (__mpsin1): Remove.
24573 (__mpcos1): Likewise.
24575 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24577 * locale/loadlocale.c (_nl_intern_locale_data): Use
24579 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24580 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24581 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24582 obstack data is appropriately aligned.
24583 (obstack_int32_grow_fast): Likewise.
24584 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24585 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24586 (add_locale_uint32_array): Likewise.
24588 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24590 * benchtests/Makefile: Remove ARGLIST and RET variables.
24591 ($(objpfx)bench-%.c): Pass only function name to the script.
24592 * benchtests/README: Update documentation.
24593 * benchtests/acos-inputs: Add new directives.
24594 * benchtests/acosh-inputs: Likewise.
24595 * benchtests/asin-inputs: Likewise.
24596 * benchtests/asinh-inputs: Likewise.
24597 * benchtests/atan-inputs: Likewise.
24598 * benchtests/atanh-inputs: Likewise.
24599 * benchtests/cos-inputs: Likewise.
24600 * benchtests/cosh-inputs: Likewise.
24601 * benchtests/exp-inputs: Likewise.
24602 * benchtests/log-inputs: Likewise.
24603 * benchtests/pow-inputs: Likewise.
24604 * benchtests/rint-inputs: Likewise.
24605 * benchtests/sin-inputs: Likewise.
24606 * benchtests/sinh-inputs: Likewise.
24607 * benchtests/tan-inputs: Likewise.
24608 * benchtests/tanh-inputs: Likewise.
24609 * scripts/bench.pl: Add support for new directives.
24611 2013-10-07 Alan Modra <amodra@gmail.com>
24613 * README: Fix careless merge.
24615 2013-10-05 Alan Modra <amodra@gmail.com>
24617 * NEWS: Mention powerpc64le support and bugs fixed.
24618 * README: Both big-endian and little-endian powerpc64 supported.
24620 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24622 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24623 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24624 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24625 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24627 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24629 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24632 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24634 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24635 Move -mhard-float appending from
24636 ports/sysdeps/powerpc/powerpc32/Makefile.
24637 [$(with-fp) = yes] (ASFLAGS): Likewise.
24638 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24639 * sysdeps/powerpc/nofpu: Move directory from
24640 ports/sysdeps/powerpc/nofpu.
24641 * sysdeps/powerpc/soft-fp: Move directory from
24642 ports/sysdeps/powerpc/soft-fp.
24643 * sysdeps/powerpc/powerpc32/405: Move directory from
24644 ports/sysdeps/powerpc/powerpc32/405.
24645 * sysdeps/powerpc/powerpc32/440: Move directory from
24646 ports/sysdeps/powerpc/powerpc32/440.
24647 * sysdeps/powerpc/powerpc32/464: Move directory from
24648 ports/sysdeps/powerpc/powerpc32/464.
24649 * sysdeps/powerpc/powerpc32/476: Move directory from
24650 ports/sysdeps/powerpc/powerpc32/476.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24652 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24654 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24656 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24658 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24660 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24661 * README: Update for powerpc-*-linux-gnu software floating point
24664 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24665 case to powerpc/powerpc32*.
24666 * sysdeps/unix/sysv/linux/configure: Regenerated.
24668 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24669 (_FPU_MASK_OM): Define as 0x04.
24670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24678 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24681 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24684 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24685 and setcontext_e500.
24687 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24689 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24691 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24693 * manual/threads.texi (Default Thread Attributes): Fix typo.
24695 2013-10-04 Will Newton <will.newton@linaro.org>
24697 * malloc/Makefile: Add tst-memalign.
24698 * malloc/tst-memalign.c: New file.
24700 * malloc/tst-posix_memalign.c: Add comments.
24701 (do_test): Add comments and call free on all potentially
24702 allocated pointers. Add space after cast.
24704 * malloc/tst-pvalloc.c: Add comments.
24705 (do_test): Add comments and call free on all potentially
24706 allocated pointers. Remove duplicate check for NULL pointer.
24707 Add space after cast.
24709 * malloc/tst-valloc.c: Add comments.
24710 (do_test): Add comments and call free on all potentially
24711 allocated pointers. Remove duplicate check for NULL pointer.
24712 Add space after cast.
24714 2013-10-04 Alan Modra <amodra@gmail.com>
24716 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24717 Use stdint types in rather than __attribute__((mode())).
24718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24720 2013-10-04 Alan Modra <amodra@gmail.com>
24722 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24723 Correct handling of unaligned relocs for little-endian.
24724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24726 2013-10-04 Alan Modra <amodra@gmail.com>
24728 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24729 * configure: Regenerate.
24730 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24731 * shlib-versions: Likewise.
24733 2013-10-04 Alan Modra <amodra@gmail.com>
24735 * string/tester.c (test_memrchr): Increment reported test cycle.
24737 2013-10-04 Alan Modra <amodra@gmail.com>
24739 * string/test-memcpy.c (do_one_test): When reporting errors, print
24740 string address and don't overrun end of string.
24742 2013-10-04 Alan Modra <amodra@gmail.com>
24744 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24745 insrdi. Make better use of reg selection to speed exit slightly.
24746 Schedule entry path a little better. Remove useless "are we done"
24747 checks on entry to main loop. Handle wrapping around zero address.
24748 Correct main loop count. Handle single left-over word from main
24749 loop inline rather than by using loop_small. Remove extra word
24750 case in loop_small caused by wrong loop count. Add little-endian
24752 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24755 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24757 support. Avoid rlwimi.
24758 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24760 2013-10-04 Alan Modra <amodra@gmail.com>
24762 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24763 insrdi. Formatting.
24764 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24767 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24768 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24769 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24771 2013-10-04 Alan Modra <amodra@gmail.com>
24773 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24775 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24776 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24782 use of regs. Use power7 mtocrf. Tidy function tails.
24784 2013-10-04 Alan Modra <amodra@gmail.com>
24786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24787 Formatting. Consistently use rXXX register defines or rN defines.
24788 Use early exit labels that avoid restoring unused non-volatile regs.
24789 Make cr field use more consistent with rWORDn compares. Rename
24790 regs used as shift registers for unaligned loop, using rN defines
24791 for short lifetime/multiple use regs.
24792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24793 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24794 addi 1,1,64 to pop stack frame. Simplify return value code.
24795 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24797 2013-10-04 Alan Modra <amodra@gmail.com>
24799 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24800 support. Correct typos, formatting. Optimize tail. Use insrdi
24801 rather than rlwimi.
24802 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24803 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24804 little-endian support. Correct typos.
24805 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24806 rather than rlwimi.
24807 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24808 in loop and entry code to keep "and." results.
24809 (strchr): Add little-endian support. Comment. Move cntlzd
24811 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24813 2013-10-04 Alan Modra <amodra@gmail.com>
24815 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24816 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24818 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24820 2013-10-04 Alan Modra <amodra@gmail.com>
24822 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24823 (rTMP): Define as r11.
24824 (strcmp): Add little-endian support. Optimise tail.
24825 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24826 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24827 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24829 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24830 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24833 2013-10-04 Alan Modra <amodra@gmail.com>
24835 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24836 little-endian support. Remove unnecessary "are we done" tests.
24837 Handle "s" wrapping around zero and extremely large "size".
24838 Correct main loop count. Handle single left-over word from main
24839 loop inline rather than by using small_loop. Correct comments.
24840 Delete "zero" tail, use "end_max" instead.
24841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24843 2013-10-04 Alan Modra <amodra@gmail.com>
24845 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24846 support. Don't branch over align.
24847 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24848 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24849 support. Rearrange tmp reg use to suit. Comment.
24850 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24852 2013-10-04 Alan Modra <amodra@gmail.com>
24854 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24856 2013-10-04 Alan Modra <amodra@gmail.com>
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24859 conditional form of branch and link when obtaining pc.
24860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24862 2013-10-04 Alan Modra <amodra@gmail.com>
24864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24869 2013-10-04 Alan Modra <amodra@gmail.com>
24871 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24872 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24873 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24874 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24875 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24876 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24877 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24878 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24879 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24880 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24882 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24883 Alistair Popple <alistair@ozlabs.au.ibm.com>
24884 Alan Modra <amodra@gmail.com>
24887 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24888 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24889 _dl_hwcap access for little-endian.
24890 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24891 destroy vmx regs when saving unaligned.
24892 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24893 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24894 destroy vmx regs when saving unaligned.
24896 2013-10-04 Alan Modra <amodra@gmail.com>
24898 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24899 Don't use a union to pack hi/low value.
24901 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24903 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24905 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24907 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24908 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24909 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24911 2013-10-04 Alan Modra <amodra@gmail.com>
24913 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24914 constants to usual value for .cst8 section, and remove redundant
24916 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24917 constant for 0x1p52. Load little-endian words of double from
24918 correct stack offsets.
24920 2013-10-04 Alan Modra <amodra@gmail.com>
24922 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24923 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24924 words of double from correct stack offsets.
24925 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24926 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24927 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24930 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24932 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24933 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24934 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24937 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24938 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24940 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24941 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24943 2013-10-04 Alan Modra <amodra@gmail.com>
24945 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24946 64-bit int/double union.
24947 (_FPU_SETCW): Likewise.
24948 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24949 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24951 2013-10-04 Alan Modra <amodra@gmail.com>
24953 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24954 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24956 2013-10-04 Alan Modra <amodra@gmail.com>
24958 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24959 use vector int constants.
24960 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24962 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24964 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24965 array with long long.
24966 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24967 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24968 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24969 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24970 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24971 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24972 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24973 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24974 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24975 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24976 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24977 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24978 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24980 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24982 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24983 (__signbit): Likewise. Correct for little-endian.
24984 (__signbitl): Call __signbit.
24985 (lrint): Correct for little-endian.
24986 (lrintf): Call lrint.
24988 2013-10-04 Alan Modra <amodra@gmail.com>
24990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24991 union 32-bit int array member with 64-bit int array.
24992 (t515, tm256): Double rather than long double.
24993 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24995 2013-10-04 Alan Modra <amodra@gmail.com>
24997 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24999 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25001 version of math_ldbl.h.
25003 2013-10-04 Alan Modra <amodra@gmail.com>
25005 [BZ #15734], [BZ #15735]
25006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25007 all uses of ieee875 long double macros and unions. Simplify test
25008 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25009 ldbl_extract_mantissa value for ix,iy exponents. Properly
25010 normalize after ldbl_extract_mantissa, and don't add hidden bit
25011 already handled. Don't treat low word of ieee854 mantissa like
25012 low word of IBM long double and mask off bit when testing for
25014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25015 all uses of ieee875 long double macros and unions. Simplify tests
25016 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25017 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25018 two1022, instead use their values. Recognise that tests for large
25019 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25021 Rewrite all uses of ieee875 long double macros and unions. Simplify
25022 test for 0.0L and nan. Correct negation.
25023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25024 ieee875 long double macros and unions. Correct output for large
25025 magnitude x. Correct absolute value calculation.
25026 (__erfcl): Likewise.
25027 * math/libm-test.inc: Add tests for errors discovered in IBM long
25028 double versions of fmodl, remainderl, erfl and erfcl.
25030 2013-10-04 Alan Modra <amodra@gmail.com>
25032 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25033 all uses of ieee854 long double macros and unions. Simplify tests
25034 for long doubles that are fully specified by the high double.
25035 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25037 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25038 Remove dead code too.
25039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25040 (__ieee754_ynl): Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25044 Remove dead code too.
25045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25047 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25048 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25050 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25055 Comment on variable precision.
25056 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25059 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25063 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25065 2013-10-04 Alan Modra <amodra@gmail.com>
25067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25068 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25069 all uses of ieee854 long double macros and unions.
25070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25077 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25080 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25083 Simplify sign and nan test too.
25084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25085 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25086 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25087 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25089 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25090 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25094 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25095 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25097 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25099 2013-10-04 Alan Modra <amodra@gmail.com>
25101 * stdio-common/printf_size.c (__printf_size): Don't use
25102 union ieee854_long_double in fpnum union.
25103 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25104 signbit macro to retrieve sign from long double.
25105 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25106 retrieve sign from long double.
25107 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25108 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25109 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25110 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25111 * math/test-misc.c (main): Don't use union ieee854_long_double.
25113 2013-10-04 Alan Modra <amodra@gmail.com>
25116 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25117 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25118 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25119 calculation. Remove unnecessary test for denormal exponent.
25120 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25121 Correct handling of denormals. Avoid undefined shift behaviour.
25122 Correct normalisation of low mantissa when low double is denormal.
25123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25124 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25125 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25126 Correct normalisation of low mantissa. Test for overflow of high
25127 mantissa and normalise.
25128 (ldbl_nearbyint): Use more readable constant for two52.
25129 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25130 (__mpn_construct_long_double): Fix test for overflow of high
25131 mantissa and correct normalisation. Avoid undefined shift.
25133 2013-10-04 Alan Modra <amodra@gmail.com>
25135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25136 (union ibm_extended_long_double): Define as an array of ieee754_double.
25137 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25139 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25140 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25142 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25144 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25145 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25146 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25147 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25149 2013-10-03 Joseph Myers <joseph@codesourcery.com>
25151 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25152 page size instead of calling getpagesize.
25154 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25155 (LOCFILE_ALIGN_MASK): Likewise.
25156 (LOCFILE_ALIGN_UP): Likewise.
25157 (LOCFILE_ALIGNED_P): Likewise.
25158 * locale/programs/ld-collate.c (collate_output): Use the new
25159 macros instead of __alignof__ (int32_t).
25160 * locale/weight.h (findidx): Likewise.
25162 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
25165 * manual/string.texi: Fix strncat and wcsncat.
25167 2013-10-03 Brooks Moses <bmoses@google.com>
25170 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25171 * Makerules: ...here, and adjust associated comments.
25173 2013-10-02 Will Newton <will.newton@linaro.org>
25175 * malloc/Makefile: Add tst-pvalloc.
25176 * malloc/tst-pvalloc.c: New file.
25178 2013-10-02 Will Newton <will.newton@linaro.org>
25180 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25181 improve test coverage.
25183 2013-10-02 Will Newton <will.newton@linaro.org>
25185 * malloc/Makefile: Add tst-posix_memalign.
25186 * malloc/tst-posix_memalign.c: New file.
25188 2013-10-01 Eric Blake <eblake@redhat.com>
25190 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25191 Use __THROWNL rather than __THROW on static functions.
25193 2013-09-30 Petr Machata <pmachata@redhat.com>
25195 * elf/elf.h (R_AARCH64_ABS16): New macro.
25196 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25197 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25198 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25199 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25200 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25201 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25202 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25203 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25204 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25205 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25206 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25207 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25208 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25209 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25210 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25211 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25212 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25213 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25214 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25215 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25216 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25217 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25218 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25219 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25220 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25221 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25222 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25223 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25224 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25225 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25226 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25228 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25230 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25231 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25233 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25235 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25237 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25239 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25241 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25243 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25245 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25246 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25247 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25248 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25249 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25250 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25251 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25252 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25253 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25254 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25255 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25256 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25258 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25260 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25262 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25264 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25266 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25267 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25268 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25269 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25270 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25271 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25272 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25273 (R_AARCH64_TLSDESC_LDR): Likewise.
25274 (R_AARCH64_TLSDESC_ADD): Likewise.
25275 (R_AARCH64_TLSDESC_CALL): Likewise.
25277 2013-09-30 Andreas Schwab <schwab@suse.de>
25280 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25281 the nss database lookup.
25282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25285 2013-09-28 Mike Frysinger <vapier@gentoo.org>
25287 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25289 2013-09-28 P. J. McDermott <pj@pehjota.net>
25291 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25292 ${Bash-specific parameter/pattern/string} parameter expansion.
25293 * sysdeps/unix/make-syscalls.sh: Likewise.
25295 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25297 * sysdeps/sh/stackguard-macros.h: New file.
25299 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
25301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25303 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25304 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25306 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25308 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25310 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25311 Fix thread ID register.
25313 2013-09-25 Joseph Myers <joseph@codesourcery.com>
25315 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25316 [POSIX || UNIX98]: Require rather than permitting all symbols from
25318 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25319 element of struct sched_param.
25320 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25321 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25322 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25323 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25326 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25328 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25329 argument calculation.
25331 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25333 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25335 [POSIX] (pthread_attr_t): Do not require type.
25336 [POSIX] (pthread_cond_t): Likewise.
25337 [POSIX] (pthread_condattr_t): Likewise.
25338 [POSIX] (pthread_key_t): Likewise.
25339 [POSIX] (pthread_mutex_t): Likewise.
25340 [POSIX] (pthread_mutexattr_t): Likewise.
25341 [POSIX] (pthread_once_t): Likewise.
25342 [POSIX] (pthread_t): Likewise.
25343 [POSIX-based standards] (pthread_atfork): Expect function.
25345 2013-09-24 Joseph Myers <joseph@codesourcery.com>
25346 Richard Sandiford <richard@codesourcery.com>
25348 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25349 (swap_endianness_p): New extern variable.
25350 (set_big_endian): New inline function.
25351 (maybe_swap_uint32): Likewise.
25352 (maybe_swap_uint32_array): Likewise.
25353 (maybe_swap_uint32_obstack): Likewise.
25354 * locale/programs/locfile.c: Include <stdbool.h>.
25355 (swap_endianness_p): New variable.
25356 (add_locale_uint32): Call maybe_swap_uint32.
25357 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25358 (write_locale_data): Call maybe_swap_uint32_array.
25359 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25361 (obstack_int32_grow_fast): Likewise.
25362 (output_weightwc): Call maybe_swap_uint32_obstack.
25363 (collate_output): Likewise.
25364 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25365 (OPT_LITTLE_ENDIAN): Likewise.
25366 (options): Add --little-endian and --big-endian options.
25367 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25368 * locale/programs/locarchive.c: Include "locfile.h".
25372 (create_archive): Use the new macros to access fields of
25373 structures directly mapped from or written to locale archives.
25374 (oldlocrecentcmp): Likewise.
25375 (enlarge_archive): Likewise.
25376 (insert_name): Likewise.
25377 (add_alias): Likewise.
25378 (add_locale): Likewise.
25379 (delete_locales_from_archive): Likewise.
25380 (show_archive_content): Likewise.
25381 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25384 2013-09-24 Roland McGrath <roland@hack.frob.com>
25386 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25387 http://www.gnu.org/doc/freemanuals.texi.
25388 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25390 2013-09-24 Will Newton <will.newton@linaro.org>
25392 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25395 2013-09-23 Joseph Myers <joseph@codesourcery.com>
25397 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25400 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25402 * manual/threads.texi (POSIX Threads): Fix a typo.
25404 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25407 * string/tst-strcoll-overflow.c: New test case.
25408 * string/Makefile (xtests): Add tst-strcoll-overflow.
25409 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25410 cache if string sizes may cause integer overflow.
25413 * string/strcoll_l.c (coll_seq): New members rule, idx,
25414 save_idx and back_us.
25415 (get_next_seq_nocache): New function.
25416 (do_compare_nocache): New function.
25417 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25420 2013-09-23 Carlos O'Donell <carlos@redhat.com>
25423 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25424 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25425 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25428 * elf/Makefile (tests): Add tst-ptrguard1.
25429 (tests-static): Add tst-ptrguard1-static.
25430 (tst-ptrguard1-ARGS): Define.
25431 (tst-ptrguard1-static-ARGS): Define.
25432 * elf/tst-ptrguard1.c: New file.
25433 * elf/tst-ptrguard1-static.c: New file.
25434 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25435 * sysdeps/i386/stackguard-macros.h: Likewise.
25436 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25437 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25438 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25439 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25440 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25441 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25443 2013-09-23 Hector Marco <hecmargi@upv.es>
25444 Ismael Ripoll <iripoll@disca.upv.es>
25445 Carlos O'Donell <carlos@redhat.com>
25448 * sysdeps/generic/stackguard-macros.h: Define
25449 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25450 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25451 Define __pointer_chk_guard_local.
25452 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25453 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25455 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25458 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25460 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25462 * include/string.h (__ffs): Declare as hidden.
25463 * string/ffs.c (__ffs): Define as hidden.
25464 * sysdeps/i386/ffs.c (__ffs): Likewise.
25465 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25466 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25467 * sysdeps/s390/ffs.c (__ffs): Likewise.
25468 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25470 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25472 * NEWS: Mention malloc probes.
25474 * malloc/arena.c (new_heap): New memory_heap_new probe.
25475 (grow_heap): New memory_heap_more probe.
25476 (shrink_heap): New memory_heap_less probe.
25477 (heap_trim): New memory_heap_free probe.
25478 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25479 (systrim): New memory_sbrk_less probe.
25480 * manual/probes.texi: Document them.
25482 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25483 * manual/probes.texi: Document it.
25485 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25486 (__libc_realloc): Add memory_realloc_retry probe.
25487 (__libc_memalign): Add memory_memalign_retry probe.
25488 (__libc_valloc): Add memory_valloc_retry probe.
25489 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25490 (__libc_calloc): Add memory_calloc_retry probe.
25491 * manual/probes.texi: Document them.
25493 * malloc/arena.c (get_free_list): Add probe
25494 memory_arena_reuse_free_list.
25495 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25496 and memory_arena_reuse.
25497 (arena_get2) [!PER_THREAD]: Likewise.
25498 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25499 memory_arena_reuse_realloc.
25500 * manual/probes.texi: Document them.
25502 * malloc/malloc.c (__libc_free): Add
25503 memory_mallopt_free_dyn_thresholds probe.
25504 (__libc_mallopt): Add multiple memory_mallopt probes.
25505 * manual/probes.texi: Document them.
25507 * malloc/malloc.c: Include stap-probe.h.
25508 (__libc_mallopt): Add memory_mallopt probe.
25509 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25510 * manual/probes.texi: New.
25511 * manual/Makefile (chapters): Add probes.
25512 * manual/threads.texi: Set next node.
25514 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25516 [BZ #15963, #13985]
25517 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25518 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25519 Add `Chinese' to `nan' entry name.
25521 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25523 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25524 (POLYNOMIAL): Likewise.
25525 (TAYLOR_SINCOS): Likewise.
25526 (TAYLOR_SLOW): Likewise.
25527 (__sin): Use TAYLOR_SINCOS.
25529 (slow): Use TAYLOR_SLOW.
25531 (bsloww): Likewise.
25532 (csloww): Likewise.
25534 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25536 * stdlib/strtod_l.c: Fix buffer overrun.
25538 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25540 * benchtests/Makefile (bench): Add sincos.
25541 * benchtests/bench-sincos.c: New file.
25543 * math/libm-test.inc (cos_test_data): New test inputs.
25544 (sin_test_data): Likewise.
25546 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25552 (sloww1): Likewise.
25553 (sloww2): Likewise.
25554 (bsloww1): Likewise.
25555 (bsloww2): Likewise.
25556 (cslow2): Likewise.
25557 (csloww1): Likewise.
25558 (csloww2): Likewise.
25560 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25565 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25569 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25571 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25572 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25573 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25574 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25575 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25576 * elf/cache.c (print_entry): Handle the new cache flags.
25578 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25579 Aldy Hernandez <aldyh@redhat.com>
25581 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25582 Change condition to [_SOFT_FLOAT].
25583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25595 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25598 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25601 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25603 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25604 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25605 (__longjmp): Use LOAD_GP to load saved GPRs.
25606 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25607 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25608 (__sigsetjmp): Use SAVE_GP to save GPRs.
25610 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25611 Do not append -msoft-float.
25612 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25614 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25616 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25618 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25621 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25622 (_FPU_GETCW): Use initial "__" on variable and field names but not
25623 on macro parameter name.
25624 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25625 parentheses around reference to macro parameter.
25627 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25629 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25631 (ctype_startup): Use uint32_t in cast and sizeof for
25634 2013-09-11 Jia Liu <proljc@gmail.com>
25636 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25638 [__FreeBSD__]: Likewise.
25640 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25642 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25643 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25644 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25645 (strchr): Remove __strchr_sse42 ifunc selection.
25646 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25647 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25649 2013-09-11 Will Newton <will.newton@linaro.org>
25651 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25652 parameter to RES. Remove hardcoded 1000 value.
25653 * benchtests/bench-skeleton.c (main): Pass RES parameter
25654 to TIMING_INIT and multiply result by 1000.
25656 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25660 2013-09-11 Andreas Schwab <schwab@suse.de>
25662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25664 (O_TMPFILE) [__USE_GNU]: Define.
25665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25668 2013-09-11 Will Newton <will.newton@linaro.org>
25671 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25674 2013-09-11 Will Newton <will.newton@linaro.org>
25677 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25680 2013-09-11 Will Newton <will.newton@linaro.org>
25683 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25686 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25688 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25689 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25694 2013-09-10 Allan McRae <allan@archlinux.org>
25697 * manual/arith.texi (Parsing of Floats): Clarify
25701 * manual/install.texi (Running make install): Mention
25703 * INSTALL: Regenerated.
25705 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25707 * csu/init-first.c (_init): Remove the !SHARED condition around
25708 FPU control word initialization.
25709 * elf/dl-support.c (_dl_fpu_control): New variable.
25710 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25711 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25712 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25713 * math/test-fpucw-static.c: New file.
25714 * math/test-fpucw-ieee.c: New file.
25715 * math/test-fpucw-ieee-static.c: New file.
25716 * math/Makefile (tests): Add `test-fpucw-ieee' and
25718 (tests-static): New variable.
25719 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25721 [($(build-shared),yes)]
25722 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25724 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25727 2013-09-09 Allan McRae <allan@archlinux.org>
25730 * manual/string.texi (Collation Functions): Fix typo in
25732 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25735 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25738 * libio/memstream.c (open_memstream): Fix memory leak.
25739 * libio/wmemstream.c (open_wmemstream): Likewise.
25742 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25744 2013-09-09 Will Newton <will.newton@linaro.org>
25746 * malloc/Makefile: Add tst-realloc to tests.
25747 * malloc/tst-realloc.c: New file.
25749 2013-09-09 Allan McRae <allan@archlinux.org>
25752 * COPYING: Update from GNU website to fix FSF address.
25753 * COPYING.LIB: Likewise.
25755 2013-09-06 David S. Miller <davem@davemloft.net>
25757 * po/zh_TW.po: Update Chinese (traditional) translation from
25758 translation project.
25760 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25761 Joseph Myers <joseph@codesourcery.com>
25763 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25765 (obstack_chunk_alloc): New macro.
25766 (obstack_chunk_free): Likewise.
25767 (record_offset): New function.
25768 (init_locale_data): Likewise.
25769 (align_locale_data): Likewise.
25770 (add_locale_empty): Likewise.
25771 (add_locale_raw_data): Likewise.
25772 (add_locale_raw_obstack): Likewise.
25773 (add_locale_string): Likewise.
25774 (add_locale_wstring): Likewise.
25775 (add_locale_uint32): Likewise.
25776 (add_locale_uint32_array): Likewise.
25777 (add_locale_char): Likewise.
25778 (start_locale_structure): Likewise.
25779 (end_locale_structure): Likewise.
25780 (start_locale_prelude): Likewise.
25781 (end_locale_prelude): Likewise.
25782 (write_locale_data): Take locale_file structure rather than an
25784 * locale/programs/locfile.h: Include "obstack.h".
25785 (struct locale_file): Change to store locale file contents instead
25787 (init_locale_data): New prototype.
25788 (align_locale_data): Likewise.
25789 (add_locale_empty): Likewise.
25790 (add_locale_raw_data): Likewise.
25791 (add_locale_raw_obstack): Likewise.
25792 (add_locale_string): Likewise.
25793 (add_locale_wstring): Likewise.
25794 (add_locale_uint32): Likewise.
25795 (add_locale_uint32_array): Likewise.
25796 (add_locale_char): Likewise.
25797 (start_locale_structure): Likewise.
25798 (end_locale_structure): Likewise.
25799 (start_locale_prelude): Likewise.
25800 (end_locale_prelude): Likewise.
25801 (write_locale_data): Update prototype.
25802 * locale/programs/3level.h (struct TABLE): Remove result field.
25803 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25804 Use new locale_file interface.
25805 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25806 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25807 * locale/programs/ld-address.c (address_output): Use new
25808 locale_file interface.
25809 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25811 (collate_finish): Don't call collseq_table_finalize.
25812 (collate_output): Use new locale_file interface.
25813 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25815 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25816 (TABLE): Move defines earlier in file.
25817 (ELEMENT): Likewise.
25818 (DEFAULT): Likewise.
25819 (wctrans_table_add): Move macro and inline function earlier in
25821 (struct wctype_table): Move type earlier in file.
25822 (add_locale_wctype_table): New static prototype.
25823 (struct locale_ctype_t): Use logical types instead of struct iovec
25824 pointers for members.
25825 (ctype_output): Use new locale_file interface.
25826 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25827 new locale_file interface.
25828 (allocate_arrays): Update for use of new locale_file interface.
25829 * locale/programs/ld-identification.c (identification_output): Use
25830 new locale_file interface.
25831 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25832 * locale/programs/ld-messages.c (messages_output): Likewise.
25833 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25834 * locale/programs/ld-name.c (name_output): Likewise.
25835 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25836 * locale/programs/ld-paper.c (paper_output): Likewise.
25837 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25838 * locale/programs/ld-time.c (time_output): Likewise.
25840 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842 * benchtests/Makefile: Add memrchr benchmark.
25843 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25844 benchmark as memrchr.
25845 * benchtests/bench-memrchr-ifunc.c: New file.
25846 * benchtests/bench-memrchr.c: New file.
25848 2013-09-06 Will Newton <will.newton@linaro.org>
25850 * benchtests/Makefile (string-bench): Add memcpy.
25852 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25853 Cong Wang <amwang@redhat.com>
25856 * sysdeps/unix/sysv/linux/bits/in.h
25857 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25858 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25859 before __USE_KERNEL_IPV6_DEFS uses.
25860 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25862 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25863 sockaddr_in6, or ipv6_mreq.
25865 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25867 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25868 memory access for final bytes in some large inputs.
25869 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25871 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25873 * string/test-memrchr.c: New file.
25874 * string/test-memrchr-ifunc.c: New file.
25875 * string/Makefile: Add new memrchr testcase.
25877 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25879 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25880 fanotify_init returns EPERM.
25882 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25884 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25886 (top level): Treat second token from macro or constant entries for
25887 allowed headers as allowed.
25888 * include/complex.h: Condition internal declarations on
25890 * include/fenv.h: Condition include of <stdbool.h> and internal
25891 declarations on [!_ISOMAC].
25893 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25896 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25898 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25900 * configure.in (--enable-versioning): Remove configure option.
25901 (libc_cv_asm_symver_directive): Remove configure test.
25902 (libc_cv_ld_version_script_option): Likewise.
25903 (VERSIONING): Remove variable and AC_SUBST.
25904 (DO_VERSIONING): Remove AC_DEFINE.
25905 * configure: Regenerated.
25906 * config.h.in (DO_VERSIONING): Remove macro.
25907 * Makerules [$(versioning) = yes]: Change conditionals to
25908 [$(build-shared) = yes].
25909 * config.make.in (versioning): Remove variable.
25910 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25911 [$(build-shared) = yes].
25912 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25913 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25914 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25915 [$(build-shared) = yes].
25916 * extra-lib.mk [$(versioning) = yes]: Likewise.
25917 * hurd/Makefile [$(versioning) = yes]: Likewise.
25918 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25920 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25922 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25923 [SHARED && !NO_HIDDEN].
25924 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25926 [SHARED && DO_VERSIONING]: Likewise..
25927 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25928 [$(build-shared) = yes].
25929 * manual/install.texi (--disable-versioning): Remove
25931 * INSTALL: Regenerated.
25932 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25934 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25935 [$(build-shared) = yes].
25936 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25937 * sysdeps/i386/i686/multiarch/strstr-c.c
25938 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25939 [SHARED && !NO_HIDDEN].
25940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25941 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25942 * sysdeps/powerpc/powerpc32/dl-machine.c
25943 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25944 * sysdeps/powerpc/powerpc32/sysdep.h
25945 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25946 to [SHARED && PIC && !NO_HIDDEN].
25947 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25948 conditional to [SHARED].
25950 2013-09-04 Will Newton <will.newton@linaro.org>
25952 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25953 * benchtests/bench-string.h: Include bench-timing.h instead
25954 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25955 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25956 call to HP_TIMING_DIFF_INIT.
25957 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25958 instead of hp-timing.h macros.
25959 * benchtests/bench-memchr.c: Likewise.
25960 * benchtests/bench-memcmp.c: Likewise.
25961 * benchtests/bench-memcpy.c: Likewise.
25962 * benchtests/bench-memmem.c: Likewise.
25963 * benchtests/bench-memmove.c: Likewise.
25964 * benchtests/bench-memset.c: Likewise.
25965 * benchtests/bench-rawmemchr.c: Likewise.
25966 * benchtests/bench-strcasecmp.c: Likewise.
25967 * benchtests/bench-strcasestr.c: Likewise.
25968 * benchtests/bench-strcat.c: Likewise.
25969 * benchtests/bench-strchr.c: Likewise.
25970 * benchtests/bench-strcmp.c: Likewise.
25971 * benchtests/bench-strcpy.c: Likewise.
25972 * benchtests/bench-strcpy_chk.c: Likewise.
25973 * benchtests/bench-strlen.c: Likewise.
25974 * benchtests/bench-strncasecmp.c: Likewise.
25975 * benchtests/bench-strncat.c: Likewise.
25976 * benchtests/bench-strncmp.c: Likewise.
25977 * benchtests/bench-strncpy.c: Likewise.
25978 * benchtests/bench-strnlen.c: Likewise.
25979 * benchtests/bench-strpbrk.c: Likewise.
25980 * benchtests/bench-strrchr.c: Likewise.
25981 * benchtests/bench-strspn.c: Likewise.
25982 * benchtests/bench-strstr.c: Likewise.
25984 2013-09-04 Will Newton <will.newton@linaro.org>
25986 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25988 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25991 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25992 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25993 * math/libm-test.inc (lgamma_test_data): Add more tests.
25994 * sysdeps/i386/fpu/libm-test-ulps: Update.
25995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25997 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25999 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26003 Add strcmp-sse2-unaligned
26004 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26006 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26008 * Versions.def (libc): Add GLIBC_2.19.
26010 2013-09-02 Mike Frysinger <vapier@gentoo.org>
26012 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26013 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26015 2013-09-02 Joseph Myers <joseph@codesourcery.com>
26018 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26019 intermediate calculations in recurrence.
26020 (__ieee754_ynf): Likewise.
26021 * math/libm-test.inc (jn_test_data): Do not allow spurious
26022 underflow exception. Add more tests.
26023 (yn_test_data): Add more tests.
26024 * sysdeps/i386/fpu/libm-test-ulps: Update.
26025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26027 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
26029 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26031 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26033 * csu/init-first.c: Fix then/than typos.
26034 * locale/programs/ld-collate.c: Likewise.
26035 * locale/programs/linereader.h: Likewise.
26036 * manual/charset.texi: Likewise.
26037 * manual/filesys.texi: Likewise.
26038 * manual/stdio.texi: Likewise.
26039 * manual/string.texi: Likewise.
26040 * stdlib/fmtmsg.c: Likewise.
26041 * sysdeps/i386/stpncpy.S: Likewise.
26042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26043 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26044 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26045 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26047 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26049 * elf/dl-open.c: Fix typos.
26050 * iconvdata/gbbig5.c: Likewise.
26051 * iconvdata/iso-2022-jp.c: Likewise.
26052 * iconv/gconv_int.h: Likewise.
26053 * iconv/loop.c: Likewise.
26054 * nis/rpcsvc/nis.h: Likewise.
26055 * resolv/ns_name.c: Likewise.
26056 * stdio-common/vfscanf.c: Likewise.
26057 * streams/stropts.h: Likewise.
26058 * sunrpc/rpc_thread.c: Likewise.
26059 * sysdeps/i386/strpbrk.S: Likewise.
26060 * sysdeps/ieee754/k_standard.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26063 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26064 * sysdeps/mach/hurd/profil.c: Likewise.
26065 * sysdeps/s390/dl-procinfo.h: Likewise.
26066 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26067 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26068 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26069 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26072 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
26074 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26077 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26079 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26080 aix specific files.
26081 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26084 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26085 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26086 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26087 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26088 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26090 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26091 Roland McGrath <roland@hack.frob.com>
26093 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26094 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26096 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26098 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26099 __executable_start symbol instead of _start.
26101 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26103 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26104 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26106 * sysdeps/gnu/ldsodefs.h: ... this new file.
26108 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26109 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26110 instead of ELFOSABI_LINUX.
26112 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26113 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26114 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26115 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26117 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26118 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26119 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26121 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26122 (ibm_extended_long_double): Add ieee_nan member.
26123 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26124 (do_test): New function.
26126 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26128 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26129 functions, renamed from truncdfsf_test, trunctfsf_test,
26131 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26133 (do_test): Run all these.
26135 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
26137 * argp/argp-help.c: Fix typos.
26138 * argp/argp-parse.c: Likewise.
26139 * debug/backtracesyms.c: Likewise.
26140 * elf/elf.h: Likewise.
26141 * malloc/malloc.c: Likewise.
26142 * nis/nis_print.c: Likewise.
26143 * resolv/res_comp.c: Likewise.
26144 * stdlib/stdlib.h: Likewise.
26145 * sunrpc/clnt_tcp.c: Likewise.
26146 * sunrpc/clnt_udp.c: Likewise.
26147 * sunrpc/clnt_unix.c: Likewise.
26148 * sysdeps/unix/bsd/ptsname.c: Likewise.
26149 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26150 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26157 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26159 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26161 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26164 2013-08-27 Mike Frysinger <vapier@gentoo.org>
26167 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26168 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26169 ($(objpfx)bug-dl-leaf): New rule.
26170 ($(objpfx)bug-dl-leaf.so): Likewise.
26171 ($(objpfx)bug-dl-leaf.out): Likewise.
26172 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26173 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26174 * dlfcn/bug-dl-leaf.c: New test.
26175 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26176 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26177 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26178 (dlclose): Likewise.
26179 (dlmopen): Likewise.
26181 2013-08-27 Roland McGrath <roland@hack.frob.com>
26183 * include/netdb.h [!_ISOMAC]:
26184 Don't include <tls.h>.
26185 (h_errno, __libc_h_errno): Move declaration and macros out of
26188 * include/resolv.h [_RESOLV_H_]:
26189 Don't include <tls.h>.
26190 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26191 * resolv/res_libc.c: Don't include <tls.h>.
26192 (_res): Use __attribute__ ((nocommon)) in place of
26193 __attribute__ ((section (".bss"))).
26195 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26196 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26198 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26200 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26201 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26203 * resolv/res_mkquery.c: Include <sys/time.h>.
26205 * inet/ifreq.c: Moved to ...
26206 * sysdeps/unix/ifreq.c: ... here.
26207 * inet/ifreq.c: New file, true stub version.
26209 * socket/sa_len.c: New file.
26210 * socket/Makefile (aux): Add it.
26211 * sysdeps/unix/sysv/linux/Makefile
26212 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26213 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26214 and #include <socket/sa_len.c>.
26215 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26216 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26218 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26219 * bits/socket.h: ... here.
26221 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26222 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26223 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26225 2013-08-27 Andreas Schwab <schwab@suse.de>
26228 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26229 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26230 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26231 * string/test-strcasecmp.c (test_main): Run tests in several
26233 * string/test-strncasecmp.c (test_main): Likewise.
26235 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26236 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26237 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26239 (__strncasecmp_ssse3) [PIC]: Likewise.
26241 2013-08-26 Roland McGrath <roland@hack.frob.com>
26243 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26245 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26246 instead of explicitly declaring xdecrypt.
26247 * nis/nss_nis/nis-publickey.c: Likewise.
26249 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26252 * nscd/aicache.c: Include res_hconf.h.
26253 (addhstaiX): Initialize res_hconf.
26255 2013-08-26 Andreas Schwab <schwab@suse.de>
26257 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26258 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26260 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26262 * nscd/aicache.c (addhstaiX): Fix indentation.
26264 2013-08-25 Mike Frysinger <vapier@gentoo.org>
26266 * configure.ac: Quote $build_pt_chown test.
26267 * configure: Regenerated.
26269 2013-08-23 Joseph Myers <joseph@codesourcery.com>
26272 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26273 * math/s_cexpf.c (__cexpf): Likewise.
26274 * math/s_cexpl.c (__cexpl): Likewise.
26275 * math/libm-test.inc (cexp_test_data): Correct expected return
26276 value for NaN + i0. Add another test.
26278 2013-08-22 David S. Miller <davem@davemloft.net>
26280 * po/ca.po: Update Catalan translation from translation project.
26281 * po/uk.po: Add Ukrainian translations from translation project.
26283 2013-08-21 Joseph Myers <joseph@codesourcery.com>
26286 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26287 is infinite, not alongside NaN test.
26288 * math/s_fdimf.c (__fdimf): Likewise.
26289 * math/s_fdiml.c (__fdiml): Likewise.
26290 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26291 errno is unchanged.
26293 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
26295 * argp/argp-help.c: Fix typos.
26296 * crypt/speeds.c: Likewise.
26297 * csu/check_fds.c: Likewise.
26298 * elf/dl-load.c: Likewise.
26299 * elf/dl-open.c: Likewise.
26300 * elf/reldep3.c: Likewise.
26301 * elf/reldep.c: Likewise.
26302 * elf/sprof.c: Likewise.
26303 * iconv/iconv_charmap.c: Likewise.
26304 * iconv/skeleton.c: Likewise.
26305 * iconv/strtab.c: Likewise.
26306 * io/lockf64.c: Likewise.
26307 * libio/libioP.h: Likewise.
26308 * resolv/gai_notify.c: Likewise.
26309 * resolv/ns_name.c: Likewise.
26310 * resolv/ns_samedomain.c: Likewise.
26311 * resolv/res_send.c: Likewise.
26312 * stdlib/random.c: Likewise.
26313 * sunrpc/rpc/xdr.h: Likewise.
26314 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26318 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26319 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26322 * sysdeps/mach/hurd/check_fds.c: Likewise.
26323 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26324 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26327 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26328 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26329 * sysdeps/pthread/aio_notify.c: Likewise.
26330 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26331 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26332 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26333 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26334 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26336 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26338 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26339 version if bit_Slow_SSE4_2 is set.
26340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26343 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26346 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26347 trampoline stack frame information.
26348 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26349 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26350 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26351 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26352 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26353 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26354 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26355 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26357 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26358 interrupting a syscall and set with option SA_SIGINFO.
26360 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26363 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26364 argument is infinite.
26365 * math/s_cprojf.c (__cprojf): Likewise.
26366 * math/s_cprojl.c (__cprojl): Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26368 * math/libm-test.inc (cproj_test_data): Add more tests.
26370 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26372 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26373 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26374 size. Use __ffs to determine corresponding shift.
26376 2013-08-20 Joseph Myers <joseph@codesourcery.com>
26377 Roland McGrath <roland@hack.frob.com>
26379 * Makefile (INSTALL): Remove trailing blank lines from output of
26382 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26384 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26385 Align 32 bit compat elf_greg to 8 bytes.
26387 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26389 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26391 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26393 * string/strcoll_l.c (coll_seq): New structure.
26394 (get_next_seq_cached): New function.
26395 (get_next_seq): New function.
26396 (do_compare): New function.
26397 (STRCOLL): Use GNU style definition. Simplify implementation
26398 by using get_next_seq, get_next_seq_cached and do_compare.
26400 2013-08-16 Florian Weimer <fweimer@redhat.com>
26404 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26406 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26408 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26409 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26410 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26412 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26413 GETDENTS_64BIT_ALIGNED.
26414 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26415 * manual/filesys.texi (Reading/Closing Directory): Document
26416 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26418 * manual/conf.texi (Limits for Files): Add portability note to
26419 NAME_MAX, PATH_MAX.
26420 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26422 2013-08-13 Andreas Schwab <schwab@suse.de>
26425 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26427 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26428 LDBL_MAX_EXP >= 16384]: Add tests for it.
26430 2013-08-12 David S. Miller <davem@davemloft.net>
26432 * version.h (RELEASE): Set to "development".
26433 (VERSION): Set to "2.18.90".
26434 * NEWS: Add 2.19 section.
26436 2013-08-03 David S. Miller <davem@davemloft.net>
26438 * po/ko.po: Update Korean translation from translation project.
26440 2013-08-01 David S. Miller <davem@davemloft.net>
26442 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26443 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26446 2013-07-30 David S. Miller <davem@davemloft.net>
26448 * po/fr.po: Update French translation from translation project.
26450 2013-07-28 David S. Miller <davem@davemloft.net>
26452 * po/cs.po: Update Czech translation from translation project.
26454 * po/sv.po: Update Swedish translation from translation project.
26456 2013-07-27 David S. Miller <davem@davemloft.net>
26458 * po/eo.po: Update Esperanto translation from translation project.
26460 * po/vi.po: Update Vietnamese translation from translation project.
26462 * po/de.po: Update German translation from translation project.
26464 2013-07-26 David S. Miller <davem@davemloft.net>
26466 * po/bg.po: Update Bulgarian translation from translation project.
26468 * po/nl.po: Update Dutch translation from translation project.
26469 * po/pl.po: Update Polish translation from translation project.
26470 * po/ru.po: Update Russian translation from translation project.
26472 2013-07-24 David S. Miller <davem@davemloft.net>
26474 * po/libc.pot: Update.
26476 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26478 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26479 variable page size.
26480 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26481 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26482 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26484 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26486 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26488 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26489 Andreas Schwab <schwab@suse.de>
26490 Roland McGrath <roland@hack.frob.com>
26491 Joseph Myers <joseph@codesourcery.com>
26492 Carlos O'Donell <carlos@redhat.com>
26495 * config.h.in: Define HAVE_PT_CHOWN.
26496 * config.make.in (build-pt-chown): New variable.
26497 * configure.in (--enable-pt_chown): New configure option.
26498 * configure: Regenerate.
26499 * login/Makefile: Include Makeconfig. Build pt_chown only if
26500 build-pt-chown is enabled.
26501 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26502 pt_chown to fix pty ownership.
26503 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26505 * manual/install.texi (Configuring and compiling): Mention
26506 --enable-pt_chown. Add @findex for grantpt.
26507 * INSTALL: Regenerate.
26509 2013-07-20 David S. Miller <davem@davemloft.net>
26511 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26512 difference between 32-bit and 64-bit.
26514 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26517 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26518 Avoid system header dependency with -ffreestanding.
26519 ($(objpfx)bits/syscall%d): Likewise.
26521 2013-07-13 David S. Miller <davem@davemloft.net>
26523 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26524 underflows from atanl/atan2l due to bug 15319.
26525 (casinh_test_data): Likewise.
26527 2013-07-07 David S. Miller <davem@davemloft.net>
26529 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26531 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26533 * sysdeps/i386/fpu/libm-test-ulps: Update.
26534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26536 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26538 * configure.in (--enable-lock-elision): Fix message text.
26539 * INSTALL: Regenerate.
26540 * configure: Regenerate.
26542 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26546 2013-07-03 Andreas Jaeger <aj@suse.de>
26548 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26550 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26551 (ptrace_peeksiginfo_args): Add.
26552 (__ptrace_peeksiginfo_flags): Add.
26553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26555 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26557 2013-07-03 Allan McRae <allan@archlinux.org>
26559 * sysdeps/i386/fpu/libm-test-ulps: Update.
26561 2013-07-02 David S. Miller <davem@davemloft.net>
26563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26565 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26569 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26571 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26574 2013-07-02 Andi Kleen <ak@linux.intel.com>
26576 * config.h.in (ENABLE_LOCK_ELISION): Add.
26577 * configure.in (--enable-lock-elision): Add option.
26578 * manual/install.texi: Document --enable lock elision.
26579 * configure: Regenerate
26580 * INSTALL: Regenerate.
26582 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26584 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26585 SSE4.2 strcasecmp for libc.a.
26586 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26588 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26591 * soft-fp/op-common.h (_FP_FMA): New macro.
26592 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26593 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26594 (_FP_MUL_MEAT_1_imm): ... here.
26595 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26596 (_FP_MUL_MEAT_1_wide): ... here.
26597 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26598 (_FP_MUL_MEAT_1_hard): ... here.
26599 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26600 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26601 (_FP_MUL_MEAT_2_wide): ... here.
26602 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26603 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26604 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26605 (_FP_MUL_MEAT_2_gmp): ... here.
26606 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26607 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26608 (_FP_MUL_MEAT_4_wide): ... here.
26609 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26610 (_FP_MUL_MEAT_4_gmp): ... here.
26611 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26612 (_FP_WFRACBITS_DW_S): Likewise.
26613 (_FP_WFRACXBITS_DW_S): Likewise.
26614 (_FP_HIGHBIT_DW_S): Likewise.
26615 (FP_FMA_S): Likewise.
26616 (_FP_FRAC_HIGH_DW_S): Likewise.
26617 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26618 (_FP_WFRACBITS_DW_D): Likewise.
26619 (_FP_WFRACXBITS_DW_D): Likewise.
26620 (_FP_HIGHBIT_DW_D): Likewise.
26621 (FP_FMA_D): Likewise.
26622 (_FP_FRAC_HIGH_DW_D): Likewise.
26623 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26624 (_FP_WFRACBITS_DW_E): Likewise.
26625 (_FP_WFRACXBITS_DW_E): Likewise.
26626 (_FP_HIGHBIT_DW_E): Likewise.
26627 (FP_FMA_E): Likewise.
26628 (_FP_FRAC_HIGH_DW_E): Likewise.
26629 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26630 (_FP_WFRACBITS_DW_Q): Likewise.
26631 (_FP_WFRACXBITS_DW_Q): Likewise.
26632 (_FP_HIGHBIT_DW_Q): Likewise.
26633 (FP_FMA_Q): Likewise.
26634 (_FP_FRAC_HIGH_DW_Q): Likewise.
26635 * soft-fp/fmasf4.c: New file.
26636 * soft-fp/fmadf4.c: Likewise.
26637 * soft-fp/fmatf4.c: Likewise.
26639 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26642 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26644 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26646 (index_Slow_SSE4_2): Likewise.
26647 (index_Prefer_PMINUB_for_stringop): Likewise.
26648 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26649 bit_Slow_SSE4_2 is set.
26650 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26651 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26653 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26655 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26656 rtld_global._dl_hwcap2.
26657 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26659 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26660 POWER8 feature descriptions defined in _dl_hwcap2.
26661 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26662 string handling for POWER8 feature bits.
26663 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26664 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26665 _dl_powerpc_cap_flags.
26666 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26667 * sysdeps/powerpc/rtld-global-offsets.sym
26668 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26669 _dl_hwcap2 in the rtld_global_ro structure.
26671 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26673 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26674 hardware capabilities in support of AT_HWCAP2.
26675 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26676 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26678 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26679 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26680 explicitly the unknown a_type display mechanism is used.
26681 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26682 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26684 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26685 to macro prototype for AT_HWCAP2 support.
26686 * sysdeps/i386/dl-procinfo.h: Likewise.
26687 * sysdeps/s390/dl-procinfo.h: Likewise.
26688 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26689 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26690 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26691 return -1 for unknown a_type display fallback.
26692 * sysdeps/sparc/dl-procinfo.h: Likewise.
26693 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26694 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26696 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26698 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26699 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26701 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26704 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26705 mprotect making __stack_prot writable.
26707 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26708 Joseph Myers <joseph@codesourcery.com>
26710 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26711 as being properly aligned.
26713 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26715 * dlfcn/modstatic5.c: New file.
26716 * dlfcn/tststatic5.c: New file.
26717 * dlfcn/Makefile (tests): Add tststatic5.
26718 (tests-static): Likewise.
26719 (modules-names): Add modstatic5.
26720 (tststatic5-ENV): New variable.
26721 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26724 * elf/dl-support.c (_dl_main_map): New variable.
26725 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26726 (_dl_nns, _dl_load_adds): Set to 1.
26727 (_dl_initial_searchlist): Refer to _dl_main_map.
26728 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26729 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26730 call to _dl_get_origin.
26731 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26733 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26734 * dlfcn/modstatic3.c: New file.
26735 * dlfcn/tststatic3.c: New file.
26736 * dlfcn/tststatic4.c: New file.
26737 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26738 (tests-static): Likewise.
26739 (modules-names): Add modstatic3.
26740 (tststatic3-ENV, tststatic4-ENV): New variables.
26741 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26742 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26744 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26746 * configure.in (CC): Require GCC version 4.4 or later.
26747 * configure: Regenerated.
26748 * manual/install.texi (Tools for Compilation): Update GCC version
26750 * INSTALL: Regenerated.
26752 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26755 * string/test-memcmp.c (check2): New.
26756 (main): Call check2.
26758 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26760 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26763 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26765 (dl_open_worker) [!SHARED]: ... here.
26767 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26769 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26771 2013-06-25 Richard Henderson <rth@redhat.com>
26773 * locale/programs/locarchive.c: Include <libc-internal.h>
26775 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26777 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26778 trailing whitespace removed.
26780 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26783 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26784 * locale/programs/locarchive.c: Include libc-mmap.h.
26785 (prepare_address_space): Take two new outputs (the mmap base and len).
26786 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26788 (create_archive): Declare new mmap base and len values for
26789 prepare_address_space, and store the result in ah.
26790 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26791 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26792 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26793 Declare new mmap base and len values for
26794 prepare_address_space, and store the result in new_ah.
26795 (open_archive): Declare new mmap base and len values for
26796 prepare_address_space, and store the result in ah.
26797 (close_archive): If ah->mmap_base is not NULL, use that and
26798 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26799 * sysdeps/generic/libc-mmap.h: New file.
26801 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26803 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26804 (ALIGN_UP): Likewise.
26805 (PTR_ALIGN_DOWN): Likewise.
26806 (PTR_ALIGN_UP): Likewise.
26808 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26810 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26811 entry mapped to PPC_PLATFORM_POWER8.
26812 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26814 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26815 (_dl_string_platform): Add case for exporting platform position for
26817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26818 search path to sysdeps/powerpc/powerpc32/power8 directory.
26819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26820 search path to sysdeps/powerpc/powerpc64/power8 directory.
26821 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26822 power7 directories.
26823 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26824 power7 directories.
26826 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26828 * INSTALL: Regenerate.
26830 * nscd/connections.c (nscd_init): Fix comment.
26832 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26834 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26837 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26838 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26840 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26842 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26844 (DL_DST_REQ_STATIC): Remove macro.
26846 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26849 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26850 with a shift of 0 bits.
26852 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26854 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26857 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26860 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26862 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26864 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26865 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26866 accepts -fno-tree-loop-distribute-patterns.
26867 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26868 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26870 * string/memset.c (memset): Likewise.
26871 * string/test-memmove.c (simple_memmove): Disable loop transformation
26873 * string/test-memset.c (simple_memset): Likewise.
26874 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26875 * benchtests/bench-memset.c (simple_memset): Likewise.
26876 * configure: Regenerated.
26878 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26880 * math/test-misc.c (main): Ignore fesetround failure when failures
26881 of subsequent rounding tests would be ignored.
26884 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26885 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26886 * math/fegetenv.c (__fegetenv): Return 0.
26887 * math/fegetexcept.c (fegetexcept): Return 0.
26888 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26890 * math/feholdexcpt.c (feholdexcept): Return 0.
26891 * math/fesetenv.c (__fesetenv): Return 0.
26892 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26893 argument FE_TONEAREST.
26894 * math/feupdateenv.c (__feupdateenv): Return 0.
26895 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26897 2013-06-18 Roland McGrath <roland@hack.frob.com>
26899 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26900 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26901 ($(objpfx)rtld-%.os rules): Use them.
26903 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26905 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26908 2013-06-17 Roland McGrath <roland@hack.frob.com>
26910 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26911 length of target pattern, then descending length of dependency pattern.
26912 * configure.in (AWK): Require gawk 3.1.2 or newer.
26913 * manual/install.texi (Tools for Compilation): Say that we do.
26914 * configure: Regenerated.
26916 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26917 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26918 * scripts/sysd-rules.awk: ... this new script.
26919 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26920 than a glob-style pattern.
26922 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26924 * math/test-misc.c (main): Do not treat incorrectly rounded
26925 conversions as failure unless ROUNDING_TESTS passes.
26927 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26930 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26931 restore exception state around main square root computation, then
26932 check for inexactness explicitly.
26934 * math/libm-test.inc (fma_test_data): Add another test.
26936 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26938 * manual/threads.texi (Non-POSIX Extensions): New document
26939 node. Document pthread_getattr_default_np and
26940 pthread_setattr_default_np.
26942 * Versions.def (libpthread): Add GLIBC_2.18.
26943 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26952 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26963 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26965 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26966 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26968 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26969 H.J. Lu <hjl.tools@gmail.com>
26972 * sysdeps/x86_64/rtld-memset.c: Remove file.
26973 * sysdeps/x86_64/rtld-memset.S: New file.
26975 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26977 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26978 (test_in_one_mode): Take arguments for whether the rounding mode
26979 is supported for each floating-point type.
26980 (do_test): Pass new arguments to test_in_one_mode using
26983 2013-06-13 Roland McGrath <roland@hack.frob.com>
26985 * posix/tst-waitid.c (do_test): Distinguish different instances of
26986 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26987 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26988 before entering the kernel for waitpid.
26990 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26992 * NEWS: Fix note on clock function precision. Text by Roland
26995 2013-06-13 Roland McGrath <roland@hack.frob.com>
26997 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26998 it into place only when and if the sanity check passes.
27000 2013-06-13 Joseph Myers <joseph@codesourcery.com>
27002 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27003 output for whether conversion result is exact. Take argument
27004 indicating whether type is IBM long double.
27005 (round_for_all): Change need_exact field to ibm_ld.
27006 * stdlib/tst-strtod-round.c (struct exactness): New type.
27007 (struct test): Change bool ld_ok field to struct exactness exact.
27008 (TEST): Update all definitions for change to field.
27009 (tests): Regenerate array contents.
27010 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27011 field value. Check for IBM long double here.
27012 (do_test): Update calls to test_in_one_mode.
27014 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27018 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27020 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27023 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27024 generated by the compiler on loop optimizations.
27025 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27026 general definitions.
27028 2013-06-12 Joseph Myers <joseph@codesourcery.com>
27030 * math/bug-nextafter.c: Include <math-tests.h>.
27031 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27033 * math/bug-nexttoward.c: Include <math-tests.h>.
27034 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27036 * math/test-misc.c: Include <math-tests.h>.
27037 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27040 2013-06-12 Andreas Jaeger <aj@suse.de>
27042 * po/ia.po: Update Interlingua translation from translation
27045 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27047 * include/fenv.h: Include stdbool.h.
27048 (struct rm_ctx): New structure.
27049 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27051 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27052 (SET_RESTORE_ROUNDF): Likewise.
27053 (SET_RESTORE_ROUNDL): Likewise.
27054 (SET_RESTORE_ROUND_NOEX): Likewise.
27055 (SET_RESTORE_ROUND_NOEXF): Likewise.
27056 (SET_RESTORE_ROUND_NOEXL): Likewise.
27057 (SET_RESTORE_ROUND_53BIT): Likewise.
27058 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27059 (libc_feresetround_noexf_ctx): Likewise.
27060 (libc_feresetround_noexl_ctx): Likewise.
27061 (libc_feholdsetround_53bit_ctx): Likewise.
27062 (libc_feresetround_53bit_ctx): Likewise.
27063 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27064 (libc_feholdexcept_setround_sse_ctx): New function.
27065 (libc_fesetenv_sse_ctx): Likewise.
27066 (libc_feupdateenv_sse_ctx): Likewise.
27067 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27068 (libc_feholdexcept_setround_387_ctx): Likewise.
27069 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27070 (libc_feholdsetround_387_prec_ctx): Likewise.
27071 (libc_feholdsetround_387_ctx): Likewise.
27072 (libc_feholdsetround_387_53bit_ctx): Likewise.
27073 (libc_feholdsetround_sse_ctx): Likewise.
27074 (libc_feresetround_sse_ctx): Likewise.
27075 (libc_feresetround_387_ctx): Likewise.
27076 (libc_feupdateenv_387_ctx): Likewise.
27077 (libc_feholdexcept_setroundf_ctx): Define macro.
27078 (libc_fesetenvf_ctx): Likewise.
27079 (libc_feupdateenvf_ctx): Likewise.
27080 (libc_feholdsetroundf_ctx): Likewise.
27081 (libc_feresetroundf_ctx): Likewise.
27082 (libc_feholdexcept_setround_ctx): Likewise.
27083 (libc_fesetenv_ctx): Likewise.
27084 (libc_feupdateenv_ctx): Likewise.
27085 (libc_feholdsetround_ctx): Likewise.
27086 (libc_feresetround_ctx): Likewise.
27087 (libc_feholdexcept_setroundl_ctx): Likewise.
27088 (libc_feupdateenvl_ctx): Likewise.
27089 (libc_feholdsetroundl_ctx): Likewise.
27090 (libc_feresetroundl_ctx): Likewise.
27091 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27092 (libc_feresetround_53bit_ctx): Likewise.
27094 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27096 * locale/iso-639.def: Convert to UTF-8.
27098 2013-06-11 Joseph Myers <joseph@codesourcery.com>
27100 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27101 (EXCEPTION_TESTS_double): Likewise.
27102 (EXCEPTION_TESTS_long_double): Likewise.
27103 (EXCEPTION_TESTS): Likewise.
27104 * math/libm-test.inc (test_exceptions): Only test exceptions if
27105 EXCEPTION_TESTS (FLOAT).
27107 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27109 * benchtests/Makefile (string-bench): Add strcpy_chk and
27111 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27112 * benchtests/bench-stpcpy_chk.c: New file.
27113 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27114 * benchtests/bench-strcpy_chk.c: New file.
27115 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27117 (do_test): Likewise.
27119 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27121 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27122 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27123 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27124 with tabs where appropriate.
27125 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27127 [PPC_PLATFORM_PPC440]: Likewise.
27128 [PPC_PLATFORM_PPC464]: Likewise.
27129 [PPC_PLATFORM_PPC476]: Likewise.
27130 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27131 ppc464, and ppc476 platform strings merging from ports/
27134 2013-06-11 Andreas Schwab <schwab@suse.de>
27137 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27138 (from_ucs4_idx): Regenerate.
27139 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27140 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27141 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27142 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27143 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27144 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27145 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27146 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27147 from FROM_LOOP and TO_LOOP specific macros.
27148 (BODY): Handle combining characters.
27149 * iconvdata/BIG5HKSCS.irreversible: Update.
27150 * iconvdata/BIG5HKSCS.precomposed: New file.
27151 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27153 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27155 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27157 * include/sys/time.h: Fix indentation and add copyright header.
27159 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27160 (do_test): Likewise.
27161 * string/test-memchr.c (do_one_test): Likewise.
27162 (do_test): Likewise.
27163 * string/test-memcmp.c (do_one_test): Likewise.
27164 (do_test): Likewise.
27165 * string/test-memcpy.c (do_one_test): Likewise.
27166 (do_test): Likewise.
27167 * string/test-memmem.c (do_one_test): Likewise.
27168 (do_test): Likewise.
27169 (do_random_tests): Likewise.
27170 * string/test-memmove.c (do_one_test): Likewise.
27171 (do_test): Likewise.
27172 * string/test-memset.c (do_one_test): Likewise.
27173 (do_test): Likewise.
27174 * string/test-rawmemchr.c (do_one_test): Likewise.
27175 (do_test): Likewise.
27176 * string/test-strcasecmp.c (do_one_test): Likewise.
27177 (do_test): Likewise.
27178 * string/test-strcasestr.c (do_one_test): Likewise.
27179 (do_test): Likewise.
27180 * string/test-strcat.c (do_one_test): Likewise.
27181 (do_test): Likewise.
27182 * string/test-strchr.c (do_one_test): Likewise.
27183 (do_test): Likewise.
27184 * string/test-strcmp.c (do_one_test): Likewise.
27185 (do_test): Likewise.
27186 * string/test-strcpy.c (do_one_test): Likewise.
27187 (do_test): Likewise.
27188 * string/test-string.h: Likewise.
27189 (test_init): Likewise.
27190 * string/test-strlen.c (do_one_test): Likewise.
27191 (do_test): Likewise.
27192 * string/test-strncasecmp.c (do_one_test): Likewise.
27193 (do_test): Likewise.
27194 * string/test-strncat.c (do_one_test): Likewise.
27195 (do_test): Likewise.
27196 * string/test-strncmp.c (do_one_test): Likewise.
27197 (do_test_limit): Likewise.
27198 (do_test): Likewise.
27199 * string/test-strncpy.c (do_one_test): Likewise.
27200 (do_test): Likewise.
27201 * string/test-strnlen.c (do_one_test): Likewise.
27202 (do_test): Likewise.
27203 * string/test-strpbrk.c (do_one_test): Likewise.
27204 (do_test): Likewise.
27205 * string/test-strrchr.c (do_one_test): Likewise.
27206 (do_test): Likewise.
27207 * string/test-strspn.c (do_one_test): Likewise.
27208 (do_test): Likewise.
27209 * string/test-strstr.c (do_one_test): Likewise.
27210 (do_test): Likewise.
27212 * benchtests/Makefile (string-bench): Add string benchmarks.
27213 * benchtests/bench-bcopy-ifunc.c: New file.
27214 * benchtests/bench-bcopy.c: New file.
27215 * benchtests/bench-bzero-ifunc.c: New file.
27216 * benchtests/bench-bzero.c: New file.
27217 * benchtests/bench-memccpy-ifunc.c: New file.
27218 * benchtests/bench-memccpy.c: New file.
27219 * benchtests/bench-memchr-ifunc.c: New file.
27220 * benchtests/bench-memchr.c: New file.
27221 * benchtests/bench-memcmp-ifunc.c: New file.
27222 * benchtests/bench-memcmp.c: New file.
27223 * benchtests/bench-memmem-ifunc.c: New file.
27224 * benchtests/bench-memmem.c: New file.
27225 * benchtests/bench-memmove-ifunc.c: New file.
27226 * benchtests/bench-memmove.c: New file.
27227 * benchtests/bench-mempcpy-ifunc.c: New file.
27228 * benchtests/bench-mempcpy.c: New file.
27229 * benchtests/bench-memset-ifunc.c: New file.
27230 * benchtests/bench-memset.c: New file.
27231 * benchtests/bench-rawmemchr-ifunc.c: New file.
27232 * benchtests/bench-rawmemchr.c: New file.
27233 * benchtests/bench-stpcpy-ifunc.c: New file.
27234 * benchtests/bench-stpcpy.c: New file.
27235 * benchtests/bench-stpncpy-ifunc.c: New file.
27236 * benchtests/bench-stpncpy.c: New file.
27237 * benchtests/bench-strcasecmp-ifunc.c: New file.
27238 * benchtests/bench-strcasecmp.c: New file.
27239 * benchtests/bench-strcasestr-ifunc.c: New file.
27240 * benchtests/bench-strcasestr.c: New file.
27241 * benchtests/bench-strcat-ifunc.c: New file.
27242 * benchtests/bench-strcat.c: New file.
27243 * benchtests/bench-strchr-ifunc.c: New file.
27244 * benchtests/bench-strchr.c: New file.
27245 * benchtests/bench-strchrnul-ifunc.c: New file.
27246 * benchtests/bench-strchrnul.c: New file.
27247 * benchtests/bench-strcmp-ifunc.c: New file.
27248 * benchtests/bench-strcmp.c: New file.
27249 * benchtests/bench-strcpy-ifunc.c: New file.
27250 * benchtests/bench-strcpy.c: New file.
27251 * benchtests/bench-strcspn-ifunc.c: New file.
27252 * benchtests/bench-strcspn.c: New file.
27253 * benchtests/bench-strlen-ifunc.c: New file.
27254 * benchtests/bench-strlen.c: New file.
27255 * benchtests/bench-strncasecmp-ifunc.c: New file.
27256 * benchtests/bench-strncasecmp.c: New file.
27257 * benchtests/bench-strncat-ifunc.c: New file.
27258 * benchtests/bench-strncat.c: New file.
27259 * benchtests/bench-strncmp-ifunc.c: New file.
27260 * benchtests/bench-strncmp.c: New file.
27261 * benchtests/bench-strncpy-ifunc.c: New file.
27262 * benchtests/bench-strncpy.c: New file.
27263 * benchtests/bench-strnlen-ifunc.c: New file.
27264 * benchtests/bench-strnlen.c: New file.
27265 * benchtests/bench-strpbrk-ifunc.c: New file.
27266 * benchtests/bench-strpbrk.c: New file.
27267 * benchtests/bench-strrchr-ifunc.c: New file.
27268 * benchtests/bench-strrchr.c: New file.
27269 * benchtests/bench-strspn-ifunc.c: New file.
27270 * benchtests/bench-strspn.c: New file.
27271 * benchtests/bench-strstr-ifunc.c: New file.
27272 * benchtests/bench-strstr.c: New file.
27274 * benchtests/Makefile: Disable parallel execution of targets.
27275 (string-bench): Add memcpy.
27276 (benchset): New variable to store a list of benchmark sets.
27277 (bench-func): Renamed from bench.
27278 (bench-set): New target.
27279 (bench): Depend on bench-func and bench-set.
27280 * benchtests/README: Add section on benchmark sets.
27281 * benchtests/bench-memcpy-ifunc.c: New file.
27282 * benchtests/bench-memcpy.c: New file.
27283 * benchtests/bench-string.h: New file.
27285 2013-06-11 Andreas Schwab <schwab@suse.de>
27288 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27289 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27290 values in the triple.
27291 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27292 terminator in the group key.
27294 2013-06-11 Andreas Jaeger <aj@suse.de>
27296 * po/zh_TW.po: Update Chinese (traditional) translation from
27297 translation project.
27299 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27301 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27302 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27303 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27304 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27305 (clock_getcpuclockid): Likewise.
27306 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27307 Add weak_alias and libc_hidden_def.
27308 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27309 * rt/clock_gettime.c (clock_gettime): Rename to
27310 __clock_gettime. Add weak_alias and libc_hidden_def.
27311 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27312 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27313 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27314 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27315 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27317 * rt/clock_settime.c (clock_settime): Rename to
27318 __clock_settime. Add weak_alias and libc_hidden_def.
27319 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27321 2013-06-10 Joseph Myers <joseph@codesourcery.com>
27323 * mach/err_boot.sub: Remove trailing whitespace.
27324 * mach/err_ipc.sub: Likewise.
27325 * mach/err_mach.sub: Likewise.
27327 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27328 (ROUNDING_TESTS_double): Likewise.
27329 (ROUNDING_TESTS_long_double): Likewise.
27330 (ROUNDING_TESTS): Likewise.
27331 * math/libm-test.inc: Include <math-tests.h>.
27332 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27333 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27334 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27335 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27337 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27339 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27342 2013-06-08 Joseph Myers <joseph@codesourcery.com>
27344 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27345 otherwise empty TRANS lines.
27346 * sysdeps/gnu/errlist.c: Regenerated.
27348 * catgets/gencat.c (error_print): Use (void) in function
27350 * crypt/crypt_util.c (__init_des): Likewise.
27351 * crypt/speeds.c (Stop): Likewise.
27353 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27354 * inet/ruserpass.c (token): Likewise.
27355 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27356 * intl/localealias.c (extend_alias_table): Likewise.
27357 * intl/plural-exp.c (init_germanic_plural): Likewise.
27358 * libio/fcloseall.c (__fcloseall): Likewise.
27359 * libio/genops.c (_IO_flush_all): Likewise.
27360 (_IO_flush_all_linebuffered): Likewise.
27361 (_IO_cleanup): Likewise.
27362 (_IO_iter_begin): Likewise.
27363 (_IO_iter_end): Likewise.
27364 (_IO_list_lock): Likewise.
27365 (_IO_list_unlock): Likewise.
27366 (_IO_list_resetlock): Likewise.
27367 * libio/getchar.c (getchar): Likewise.
27368 * libio/getchar_u.c (getchar_unlocked): Likewise.
27369 * libio/getwchar.c (getwchar): Likewise.
27370 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27371 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27372 * login/getpt.c (__getpt): Likewise.
27373 * login/tst-utmp.c (main): Likewise.
27374 * malloc/hooks.c (__malloc_check_init): Likewise.
27375 * malloc/malloc.c (__malloc_stats): Likewise.
27376 * malloc/mtrace.c (tr_break): Likewise.
27377 (mtrace): Likewise.
27378 (muntrace): Likewise.
27379 * misc/fstab.c (endfsent): Likewise.
27380 * misc/getclktck.c (__getclktck): Likewise.
27381 * misc/getdtsz.c (__getdtablesize): Likewise.
27382 * misc/gethostid.c (gethostid): Likewise.
27383 * misc/getpagesize.c (__getpagesize): Likewise.
27384 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27385 (__get_nprocs): Likewise.
27386 (__get_phys_pages): Likewise.
27387 (__get_avphys_pages): Likewise.
27388 * misc/getttyent.c (getttyent): Likewise.
27389 (setttyent): Likewise.
27390 (endttyent): Likewise.
27391 * misc/getusershell.c (getusershell): Likewise.
27392 (endusershell): Likewise.
27393 (setusershell): Likewise.
27394 (initshells): Likewise.
27395 * misc/hsearch.c (__hdestroy): Likewise.
27396 * misc/sync.c (sync): Likewise.
27397 * misc/syslog.c (closelog_internal): Likewise.
27398 (closelog): Likewise.
27399 * misc/ttyslot.c (ttyslot): Likewise.
27400 * misc/vhangup.c (vhangup): Likewise.
27401 * posix/fork.c (__fork): Likewise.
27402 * posix/getegid.c (__getegid): Likewise.
27403 * posix/geteuid.c (__geteuid): Likewise.
27404 * posix/getgid.c (__getgid): Likewise.
27405 * posix/getpid.c (__getpid): Likewise.
27406 * posix/getppid.c (__getppid): Likewise.
27407 * posix/getuid.c (__getuid): Likewise.
27408 * posix/pause.c (pause): Likewise.
27409 * posix/setpgrp.c (setpgrp): Likewise.
27410 * posix/setsid.c (__setsid): Likewise.
27411 * posix/test-vfork.c (noop): Likewise.
27412 * resolv/gethnamaddr.c (_endhtent): Likewise.
27413 (_gethtent): Likewise.
27414 (ht_endhostent): Likewise.
27415 (gethostent): Likewise.
27416 (dns_service): Likewise.
27417 * stdlib/drand48.c (drand48): Likewise.
27418 * stdlib/lrand48.c (lrand48): Likewise.
27419 * stdlib/mrand48.c (mrand48): Likewise.
27420 * stdlib/rand.c (rand): Likewise.
27421 * stdlib/random.c (__random): Likewise.
27422 * stdlib/setenv.c (clearenv): Likewise.
27423 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27424 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27425 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27426 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27427 (__get_nprocs): Likewise.
27428 (__get_phys_pages): Likewise.
27429 (__get_avphys_pages): Likewise.
27430 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27431 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27432 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27433 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27434 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27435 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27436 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27437 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27438 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27439 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27440 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27441 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27442 * sysdeps/posix/clock.c (clock): Likewise.
27443 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27444 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27445 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27446 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27447 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27448 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27449 (__get_nprocs_conf): Likewise.
27450 (__get_phys_pages): Likewise.
27451 (__get_avphys_pages): Likewise.
27452 * time/clock.c (clock): Likewise.
27453 * time/tzset.c (__tzname_max): Likewise.
27455 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27457 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27458 (__bswap_32): Do not use "register".
27459 * crypt/crypt.c (_ufc_doit_r): Likewise.
27460 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27461 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27462 * gmon/gmon.c (__monstartup): Likewise.
27463 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27464 * hurd/hurdmalloc.c (more_memory): Likewise.
27465 (malloc): Likewise.
27467 (realloc): Likewise.
27468 (malloc_fork_prepare): Likewise.
27469 (malloc_fork_parent): Likewise.
27470 (malloc_fork_child): Likewise.
27471 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27472 (_svcauth_des): Likewise.
27473 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27474 * inet/inet_net.c (inet_network): Likewise.
27475 * inet/inet_netof.c (inet_netof): Likewise.
27476 * inet/rcmd.c (__validuser2_sa): Likewise.
27477 * io/fts.c (fts_open): Likewise.
27478 (fts_load): Likewise.
27479 (fts_close): Likewise.
27480 (fts_read): Likewise.
27481 (fts_children): Likewise.
27482 (fts_build): Likewise.
27483 (fts_stat): Likewise.
27484 (fts_sort): Likewise.
27485 (fts_alloc): Likewise.
27486 (fts_lfree): Likewise.
27487 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27488 (_IO_file_xsgetn): Likewise.
27489 (_IO_file_xsgetn_mmap): Likewise.
27490 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27491 (_IO_cookie_write): Likewise.
27492 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27493 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27494 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27495 * malloc/obstack.c (_obstack_begin): Likewise.
27496 (_obstack_begin_1): Likewise.
27497 (_obstack_newchunk): Likewise.
27498 (_obstack_allocated_p): Likewise.
27499 (obstack_free): Likewise.
27500 (_obstack_memory_used): Likewise.
27501 * misc/getttyent.c (getttynam): Likewise.
27502 (getttyent): Likewise.
27505 * misc/getusershell.c (initshells): Likewise.
27506 * misc/syslog.c (__vsyslog_chk): Likewise.
27507 * misc/ttyslot.c (ttyslot): Likewise.
27508 * nis/nis_hash.c (__nis_hash): Likewise.
27509 * posix/fnmatch_loop.c (FCT): Likewise.
27510 * posix/getconf.c (print_all): Likewise.
27512 * posix/getopt.c (exchange): Likewise.
27513 * posix/glob.c (globfree): Likewise.
27514 (prefix_array): Likewise.
27515 (__glob_pattern_type): Likewise.
27516 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27517 (NS_GET32): Likewise.
27518 (NS_PUT16): Likewise.
27519 (NS_PUT32): Likewise.
27520 * resolv/gethnamaddr.c (getanswer): Likewise.
27521 (gethostbyname2): Likewise.
27522 (gethostbyaddr): Likewise.
27523 (_gethtent): Likewise.
27524 (_gethtbyname2): Likewise.
27525 (_gethtbyaddr): Likewise.
27526 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27527 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27528 * resolv/res_init.c (__res_vinit): Likewise.
27529 (net_mask): Likewise.
27530 * resolv/res_mkquery.c (outchar): Likewise.
27532 * stdio-common/printf_fp.c (outchar): Likewise.
27534 * stdio-common/printf_fphex.c (outchar): Likewise.
27536 * stdio-common/printf_size.c (outchar): Likewise.
27538 * stdio-common/test_rdwr.c (main): Likewise.
27539 * stdio-common/tfformat.c (matches): Likewise.
27540 * stdio-common/vfprintf.c (outchar): Likewise.
27541 (printf_unknown): Likewise.
27542 (buffered_vfprintf): Likewise.
27543 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27544 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27545 (ReadFile): Likewise.
27546 * stdlib/qsort.c (SWAP): Likewise.
27547 (_quicksort): Likewise.
27548 * stdlib/setenv.c (__add_to_environ): Likewise.
27549 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27550 * stdlib/strtol_l.c (__strtol_l): Likewise.
27551 * stdlib/tst-strtod.c (main): Likewise.
27552 * stdlib/tst-strtol.c (main): Likewise.
27553 * stdlib/tst-strtoll.c (main): Likewise.
27554 * string/bits/string2.h (__strcmp_cc): Likewise.
27555 (__strcmp_cg): Likewise.
27556 (__strcspn_c1): Likewise.
27557 (__strcspn_c2): Likewise.
27558 (__strcspn_c3): Likewise.
27559 (__strspn_c1): Likewise.
27560 (__strspn_c2): Likewise.
27561 (__strspn_c3): Likewise.
27562 (__strsep_1c): Likewise.
27563 (__strsep_2c): Likewise.
27564 (__strsep_3c): Likewise.
27565 * string/memccpy.c (__memccpy): Likewise.
27566 * string/stpcpy.c (__stpcpy): Likewise.
27567 * string/strcmp.c (strcmp): Likewise.
27568 * string/strrchr.c (strrchr): Likewise.
27569 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27571 * sysdeps/mach/hurd/getcwd.c
27572 (_hurd_canonicalize_directory_name_internal): Likewise.
27573 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27574 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27575 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27576 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27577 Likewise, in both definitions.
27578 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27580 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27581 64] (__bswap_64): Likewise.
27582 * time/test_time.c (main): Likewise.
27583 * time/tzfile.c (__tzfile_read): Likewise.
27584 (__tzfile_compute): Likewise.
27585 * time/tzset.c (__tzset_parse_tz): Likewise.
27586 (tzset_internal): Likewise.
27587 (compute_change): Likewise.
27588 * wcsmbs/wcscat.c (__wcscat): Likewise.
27589 * wcsmbs/wcschr.c (wcschr): Likewise.
27590 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27591 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27592 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27593 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27594 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27595 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27596 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27597 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27598 * wcsmbs/wmemset.c (wmemset): Likewise.
27600 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27602 * scripts/config.guess: Update to version 2013-05-16.
27603 * scripts/config.sub: Update to version 2013-04-24.
27604 * scripts/install-sh: Update to version 2011-11-20.07.
27605 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27606 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27608 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27610 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27611 * elf/sln.c: Likewise.
27612 * hurd/hurd/ioctl.h: Likewise.
27613 * hurd/hurdmalloc.c: Likewise.
27614 * hurd/xattr.c: Likewise.
27615 * include/shlib-compat.h: Likewise.
27616 * inet/ruserpass.c: Likewise.
27617 * libio/iofgets_u.c: Likewise.
27618 * libio/iofgetws_u.c: Likewise.
27619 * locale/programs/ld-identification.c: Likewise.
27620 * locale/programs/ld-time.c: Likewise.
27621 * mach/msg-destroy.c: Likewise.
27622 * nss/nss_files/files-netgrp.c: Likewise.
27623 * resolv/res_data.c: Likewise.
27624 * soft-fp/op-1.h: Likewise.
27625 * soft-fp/op-2.h: Likewise.
27626 * soft-fp/op-4.h: Likewise.
27627 * soft-fp/op-common.h: Likewise.
27628 * stdio-common/printf_fphex.c: Likewise.
27629 * stdlib/strtod_l.c: Likewise.
27630 * sunrpc/rpc/clnt.h: Likewise.
27631 * sysdeps/generic/framestate.c: Likewise.
27632 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27633 * sysdeps/i386/bsd-setjmp.S: Likewise.
27634 * sysdeps/i386/__longjmp.S: Likewise.
27635 * sysdeps/i386/setjmp.S: Likewise.
27636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27638 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27654 * sysdeps/ieee754/support.c: Likewise.
27655 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27656 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27657 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27658 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27659 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27660 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27661 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27662 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27663 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27664 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27665 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27666 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27667 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27670 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27671 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27674 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27676 * posix/transbug.c: Remove executable mode.
27678 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27680 * crypt/speeds.c: Remove trailing whitespace.
27681 * dlfcn/default.c: Likewise.
27682 * elf/ifuncdep2.c: Likewise.
27683 * elf/ifuncmain1.c: Likewise.
27684 * elf/ifuncmain1vis.c: Likewise.
27685 * elf/testobj.h: Likewise.
27686 * elf/tst-stackguard1.c: Likewise.
27687 * gmon/sys/gmon.h: Likewise.
27688 * hurd/hurdmsg.c: Likewise.
27689 * hurd/new-fd.c: Likewise.
27690 * hurd/ports-get.c: Likewise.
27691 * iconvdata/ibm1008_420.c: Likewise.
27692 * inet/tst-getni1.c: Likewise.
27693 * inet/tst-getni2.c: Likewise.
27694 * libio/ioungetc.c: Likewise.
27695 * libio/wfiledoalloc.c: Likewise.
27696 * manual/libm-err-tab.pl: Likewise.
27697 * math/w_dremf.c: Likewise.
27698 * misc/ftruncate.c: Likewise.
27699 * posix/bug-glob2.c: Likewise.
27700 * posix/tst-pcre.c: Likewise.
27701 * posix/wait4.c: Likewise.
27702 * resolv/README: Likewise.
27703 * resolv/res_debug.h: Likewise.
27704 * resolv/tst-inet_ntop.c: Likewise.
27705 * setjmp/bug269-setjmp.c: Likewise.
27706 * soft-fp/extended.h: Likewise.
27707 * soft-fp/op-1.h: Likewise.
27708 * soft-fp/op-2.h: Likewise.
27709 * soft-fp/op-4.h: Likewise.
27710 * soft-fp/op-8.h: Likewise.
27711 * soft-fp/testit.c: Likewise.
27712 * stdio-common/bug16.c: Likewise.
27713 * stdlib/random.c: Likewise.
27714 * sunrpc/rpcsvc/rquota.x: Likewise.
27715 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27716 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27718 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27719 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27720 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27721 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27722 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27724 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27725 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27744 * sysdeps/ieee754/s_lib_version.c: Likewise.
27745 * sysdeps/mach/hurd/check_fds.c: Likewise.
27746 * sysdeps/mach/hurd/getsockname.c: Likewise.
27747 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27748 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27749 * sysdeps/powerpc/bits/link.h: Likewise.
27750 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27751 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27752 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27753 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27754 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27755 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27756 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27757 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27758 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27759 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27760 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27761 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27762 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27763 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27764 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27765 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27771 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27773 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27774 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27775 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27777 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27783 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27784 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27785 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27786 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27787 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27788 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27789 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27790 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27791 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27792 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27793 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27794 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27795 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27796 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27797 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27798 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27799 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27803 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27804 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27805 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27806 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27809 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27812 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27813 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27814 * sysdeps/powerpc/sysdep.h: Likewise.
27815 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27816 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27817 * sysdeps/sh/dl-trampoline.S: Likewise.
27818 * sysdeps/sh/memset.S: Likewise.
27819 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27820 * sysdeps/sh/strlen.S: Likewise.
27821 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27822 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27823 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27824 * sysdeps/sparc/sparc32/rem.S: Likewise.
27825 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27826 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27827 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27828 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27829 * sysdeps/sparc/sparc32/urem.S: Likewise.
27830 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27831 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27832 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27833 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27835 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27836 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27837 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27838 * sysdeps/unix/bsd/times.c: Likewise.
27839 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27840 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27844 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27845 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27846 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27847 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27848 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27849 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27850 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27851 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27853 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27854 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27855 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27856 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27857 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27858 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27859 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27860 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27861 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27862 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27863 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27864 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27865 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27866 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27867 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27868 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27869 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27870 * sysdeps/x86_64/strcspn.S: Likewise.
27872 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27874 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27875 generated file. Regenerate properly from gen-translit.pl.
27876 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27877 locale/C-translit.h.
27879 2013-06-05 Andreas Schwab <schwab@suse.de>
27882 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27883 week as 6 instead of -1.
27884 * time/tst-strptime.c (day_tests): Add test case.
27886 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27888 * sysdeps/generic/math_private.h
27889 (libc_feholdexcept_setround_53bit): Replace with
27890 libc_feholdsetround_53bit.
27891 (libc_feupdateenv_53bit): Replace with
27892 libc_feresetround_53bit.
27893 (SET_RESTORE_ROUND_53BIT): Adjust.
27895 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27897 * string/test-strchrnul.c: Add copyright header.
27899 * posix/tst-getaddrinfo4.c: Increase test timeout.
27901 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27904 * math/libm-test.inc (MAX_EXP): Remove
27906 (ulp): Use MIN_EXP - MANT_DIG.
27907 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27909 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27911 * po/be.po: Revert last change.
27912 * po/zh_CN.po: Likewise.
27913 * po/header.pot: Likewise.
27915 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27917 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27918 link-libc-deps to empty as target-specific variable.
27919 * Makerules (link-libc-args): New variable.
27920 (libc-for-link): Likewise.
27921 (link-libc-deps): Likewise.
27922 (lib%.so): Depend on $(link-libc-deps). Link with
27924 (build-module): Link with $(link-libc-args).
27925 (build-module-asneeded): Likewise.
27926 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27928 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27929 target-specific variable.
27930 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27931 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27932 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27934 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27936 ($(objpfx)libpcprofile.so): Likewise.
27937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27939 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27940 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27941 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27943 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27944 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27945 * login/Makefile ($(objpfx)libutil.so): Likewise.
27946 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27947 * math/Makefile ($(objpfx)libm.so): Likewise.
27948 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27949 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27950 variable instead of depending directly on libc.
27951 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27952 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27954 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27956 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27957 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27958 ($(objpfx)libanl.so): Likewise.
27959 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27961 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27963 * sysdeps/i386/fpu/Makefile: Remove file.
27964 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27965 ($(objpfx)libm.so): Remove dependency on ld.so.
27967 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27970 * nis/yp_xdr.c (XDRMAXNAME): Define.
27971 (XDRMAXRECORD): Define.
27972 (xdr_domainname): Use XDRMAXNAME.
27973 (xdr_mapname): Likewise.
27974 (xdr_peername): Likewise.
27975 (xdr_keydat): Use XDRMAXRECORD.
27976 (xdr_valdat): Likewise.
27978 2013-05-30 Jeff Law <law@redhat.com>
27981 * manual/errno.texi (ESTALE): Update to account for more than
27982 just NFS file systems.
27983 * sysdeps/gnu/errlist.c: Regenerated.
27985 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27988 * elf/Makefile (tests): Add tst-null-argv.
27989 (modules-names): Add tst-null-argv-lib.
27990 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27991 (tst-null-argv-ENV): Set environment for tst-null-argv.
27992 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27993 (RTLD_PROGNAME): New macro.
27994 * elf/tst-null-argv.c: New test case.
27995 * elf/tst-null-argv-lib.c: Library for test case.
27996 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27997 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27998 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27999 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28000 * elf/dl-init.c (call_init): Likewise.
28001 (_dl_init): Likewise.
28002 * elf/dl-load.c (print_search_path): Likewise.
28003 (_dl_map_object): Likewise.
28004 * elf/dl-lookup.c (do_lookup_x): Likewise.
28005 (add_dependency): Likewise.
28006 (_dl_lookup_symbol_x): Likewise.
28007 (_dl_debug_bindings): Likewise.
28008 * elf/dl-open.c (_dl_show_scope): Likewise.
28009 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28010 * elf/dl-version.c (match_symbol): Likewise.
28011 (_dl_check_map_versions): Likewise.
28012 * elf/rtld.c (dl_main): Likewise.
28013 (print_unresolved): Use RTLD_PROGNAME.
28014 (print_missing_version): Likewise.
28015 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28016 (elf_machine_rela): Likewise.
28017 * sysdeps/powerpc/powerpc32/dl-machine.c
28018 (__process_machine_rela): Likewise.
28019 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28021 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28023 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28025 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28028 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28030 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28032 2013-05-28 Carlos O'Donell <carlos@redhat.com>
28034 * po/be.po: Add descriptive title.
28035 * po/zh_CN.po: Likewise.
28036 * po/header.pot: Likewise.
28038 2013-05-28 Mike Frysinger <vapier@gentoo.org>
28040 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28042 (enlarge_archive): Likewise.
28044 2013-05-28 Ben North <ben@redfrontdoor.org>
28046 * manual/arith.texi (frexp): It is the magnitude of the return
28047 value which lies in [0.5, 1), not the return value itself.
28049 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28053 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28055 * stdio-common/bug26.c (main): Correct fscanf template.
28057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28058 declare _dl_skip_args.
28060 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28063 * manual/platform.texi: Add missing @end deftypefun.
28065 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28068 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28069 bit of mantissa of 2^16382.
28070 * math/libm-test.inc (hypot_test_data): Add more tests.
28072 * math/libm-test.inc: Add drem and pow10 to list of tested
28074 (pow10_test): New function.
28075 (drem_test): Likewise.
28076 (drem_test_tonearest): Likewise.
28077 (drem_test_towardzero): Likewise.
28078 (drem_test_downward): Likewise.
28079 (drem_test_upward): Likewise.
28080 (main): Call the new functions.
28082 * math/libm-test.inc (finite_test_data): Remove.
28083 (finite_test): Run tests from isfinite_test_data.
28084 (gamma_test_data): Remove.
28085 (gamma_test): Run tests from lgamma_test_data.
28086 * sysdeps/i386/fpu/libm-test-ulps: Update.
28087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28089 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28091 * manual/platform.texi: Add PowerPC PPR function set documentation.
28092 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28095 2013-05-24 Carlos O'Donell <carlos@redhat.com>
28097 * math/libm-test.inc (MAX_EXP): Define.
28099 (ulp): New function.
28100 (check_float_internal): Use ULPDIFF.
28101 (cpow_test): Disable failing test.
28102 (check_ulp): Test ulp() implemetnation.
28103 (main): Call check_ulp before starting tests.
28105 2013-05-24 Joseph Myers <joseph@codesourcery.com>
28107 * math/gen-libm-test.pl (generate_testfile): Do not handle
28108 START_DATA and END_DATA.
28109 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28111 (acos_tonearest_test_data): Likewise.
28112 (acos_towardzero_test_data): Likewise.
28113 (acos_downward_test_data): Likewise.
28114 (acos_upward_test_data): Likewise.
28115 (acosh_test_data): Likewise.
28116 (asin_test_data): Likewise.
28117 (asin_tonearest_test_data): Likewise.
28118 (asin_towardzero_test_data): Likewise.
28119 (asin_downward_test_data): Likewise.
28120 (asin_upward_test_data): Likewise.
28121 (asinh_test_data): Likewise.
28122 (atan_test_data): Likewise.
28123 (atanh_test_data): Likewise.
28124 (atan2_test_data): Likewise.
28125 (cabs_test_data): Likewise.
28126 (cacos_test_data): Likewise.
28127 (cacosh_test_data): Likewise.
28128 (carg_test_data): Likewise.
28129 (casin_test_data): Likewise.
28130 (casinh_test_data): Likewise.
28131 (catan_test_data): Likewise.
28132 (catanh_test_data): Likewise.
28133 (cbrt_test_data): Likewise.
28134 (ccos_test_data): Likewise.
28135 (ccosh_test_data): Likewise.
28136 (ceil_test_data): Likewise.
28137 (cexp_test_data): Likewise.
28138 (cimag_test_data): Likewise.
28139 (clog_test_data): Likewise.
28140 (clog10_test_data): Likewise.
28141 (conj_test_data): Likewise.
28142 (copysign_test_data): Likewise.
28143 (cos_test_data): Likewise.
28144 (cos_tonearest_test_data): Likewise.
28145 (cos_towardzero_test_data): Likewise.
28146 (cos_downward_test_data): Likewise.
28147 (cos_upward_test_data): Likewise.
28148 (cosh_test_data): Likewise.
28149 (cosh_tonearest_test_data): Likewise.
28150 (cosh_towardzero_test_data): Likewise.
28151 (cosh_downward_test_data): Likewise.
28152 (cosh_upward_test_data): Likewise.
28153 (cpow_test_data): Likewise.
28154 (cproj_test_data): Likewise.
28155 (creal_test_data): Likewise.
28156 (csin_test_data): Likewise.
28157 (csinh_test_data): Likewise.
28158 (csqrt_test_data): Likewise.
28159 (ctan_test_data): Likewise.
28160 (ctan_tonearest_test_data): Likewise.
28161 (ctan_towardzero_test_data): Likewise.
28162 (ctan_downward_test_data): Likewise.
28163 (ctan_upward_test_data): Likewise.
28164 (ctanh_test_data): Likewise.
28165 (ctanh_tonearest_test_data): Likewise.
28166 (ctanh_towardzero_test_data): Likewise.
28167 (ctanh_downward_test_data): Likewise.
28168 (ctanh_upward_test_data): Likewise.
28169 (erf_test_data): Likewise.
28170 (erfc_test_data): Likewise.
28171 (exp_test_data): Likewise.
28172 (exp_tonearest_test_data): Likewise.
28173 (exp_towardzero_test_data): Likewise.
28174 (exp_downward_test_data): Likewise.
28175 (exp_upward_test_data): Likewise.
28176 (exp10_test_data): Likewise.
28177 (exp2_test_data): Likewise.
28178 (expm1_test_data): Likewise.
28179 (fabs_test_data): Likewise.
28180 (fdim_test_data): Likewise.
28181 (finite_test_data): Likewise.
28182 (floor_test_data): Likewise.
28183 (fma_test_data): Likewise.
28184 (fma_towardzero_test_data): Likewise.
28185 (fma_downward_test_data): Likewise.
28186 (fma_upward_test_data): Likewise.
28187 (fmax_test_data): Likewise.
28188 (fmin_test_data): Likewise.
28189 (fmod_test_data): Likewise.
28190 (fpclassify_test_data): Likewise.
28191 (frexp_test_data): Likewise.
28192 (gamma_test_data): Likewise.
28193 (hypot_test_data): Likewise.
28194 (ilogb_test_data): Likewise.
28195 (isfinite_test_data): Likewise.
28196 (isgreater_test_data): Likewise.
28197 (isgreaterequal_test_data): Likewise.
28198 (isinf_test_data): Likewise.
28199 (isless_test_data): Likewise.
28200 (islessequal_test_data): Likewise.
28201 (islessgreater_test_data): Likewise.
28202 (isnan_test_data): Likewise.
28203 (isnormal_test_data): Likewise.
28204 (issignaling_test_data): Likewise.
28205 (isunordered_test_data): Likewise.
28206 (j0_test_data): Likewise.
28207 (j1_test_data): Likewise.
28208 (jn_test_data): Likewise.
28209 (ldexp_test_data): Likewise.
28210 (lgamma_test_data): Likewise.
28211 (lrint_test_data): Likewise.
28212 (lrint_tonearest_test_data): Likewise.
28213 (lrint_towardzero_test_data): Likewise.
28214 (lrint_downward_test_data): Likewise.
28215 (lrint_upward_test_data): Likewise.
28216 (llrint_test_data): Likewise.
28217 (llrint_tonearest_test_data): Likewise.
28218 (llrint_towardzero_test_data): Likewise.
28219 (llrint_downward_test_data): Likewise.
28220 (llrint_upward_test_data): Likewise.
28221 (log_test_data): Likewise.
28222 (log10_test_data): Likewise.
28223 (log1p_test_data): Likewise.
28224 (log2_test_data): Likewise.
28225 (logb_test_data): Likewise.
28226 (logb_downward_test_data): Likewise.
28227 (lround_test_data): Likewise.
28228 (llround_test_data): Likewise.
28229 (modf_test_data): Likewise.
28230 (nearbyint_test_data): Likewise.
28231 (nextafter_test_data): Likewise.
28232 (nexttoward_test_data): Likewise.
28233 (pow_test_data): Likewise.
28234 (pow_tonearest_test_data): Likewise.
28235 (pow_towardzero_test_data): Likewise.
28236 (pow_downward_test_data): Likewise.
28237 (pow_upward_test_data): Likewise.
28238 (remainder_test_data): Likewise.
28239 (remainder_tonearest_test_data): Likewise.
28240 (remainder_towardzero_test_data): Likewise.
28241 (remainder_downward_test_data): Likewise.
28242 (remainder_upward_test_data): Likewise.
28243 (remquo_test_data): Likewise.
28244 (rint_test_data): Likewise.
28245 (rint_tonearest_test_data): Likewise.
28246 (rint_towardzero_test_data): Likewise.
28247 (rint_downward_test_data): Likewise.
28248 (rint_upward_test_data): Likewise.
28249 (round_test_data): Likewise.
28250 (scalb_test_data): Likewise.
28251 (scalbn_test_data): Likewise.
28252 (scalbln_test_data): Likewise.
28253 (signbit_test_data): Likewise.
28254 (sin_test_data): Likewise.
28255 (sin_tonearest_test_data): Likewise.
28256 (sin_towardzero_test_data): Likewise.
28257 (sin_downward_test_data): Likewise.
28258 (sin_upward_test_data): Likewise.
28259 (sincos_test_data): Likewise.
28260 (sinh_test_data): Likewise.
28261 (sinh_tonearest_test_data): Likewise.
28262 (sinh_towardzero_test_data): Likewise.
28263 (sinh_downward_test_data): Likewise.
28264 (sinh_upward_test_data): Likewise.
28265 (sqrt_test_data): Likewise.
28266 (tan_test_data): Likewise.
28267 (tan_tonearest_test_data): Likewise.
28268 (tan_towardzero_test_data): Likewise.
28269 (tan_downward_test_data): Likewise.
28270 (tan_upward_test_data): Likewise.
28271 (tanh_test_data): Likewise.
28272 (tgamma_test_data): Likewise.
28273 (trunc_test_data): Likewise.
28274 (y0_test_data): Likewise.
28275 (y1_test_data): Likewise.
28276 (yn_test_data): Likewise.
28277 (significand_test_data): Likewise.
28279 * math/gen-libm-test.pl (@functions): Remove variable.
28280 (generate_testfile): Don't handle START and END lines.
28281 * math/libm-test.inc (START): New macro.
28283 (END_COMPLEX): Likewise.
28284 (acos_test): Use END macro without arguments.
28285 (acos_test_tonearest): Likewise.
28286 (acos_test_towardzero): Likewise.
28287 (acos_test_downward): Likewise.
28288 (acos_test_upward): Likewise.
28289 (acosh_test): Likewise.
28290 (asin_test): Likewise.
28291 (asin_test_tonearest): Likewise.
28292 (asin_test_towardzero): Likewise.
28293 (asin_test_downward): Likewise.
28294 (asin_test_upward): Likewise.
28295 (asinh_test): Likewise.
28296 (atan_test): Likewise.
28297 (atanh_test): Likewise.
28298 (atan2_test): Likewise.
28299 (cabs_test): Likewise.
28300 (cacos_test): Use END_COMPLEX macro without arguments.
28301 (cacosh_test): Likewise.
28302 (carg_test): Use END macro without arguments.
28303 (casin_test): Use END_COMPLEX macro without arguments.
28304 (casinh_test): Likewise.
28305 (catan_test): Likewise.
28306 (catanh_test): Likewise.
28307 (cbrt_test): Use END macro without arguments.
28308 (ccos_test): Use END_COMPLEX macro without arguments.
28309 (ccosh_test): Likewise.
28310 (ceil_test): Use END macro without arguments.
28311 (cexp_test): Use END_COMPLEX macro without arguments.
28312 (cimag_test): Use END macro without arguments.
28313 (clog_test): Use END_COMPLEX macro without arguments.
28314 (clog10_test): Likewise.
28315 (conj_test): Likewise.
28316 (copysign_test): Use END macro without arguments.
28317 (cos_test): Likewise.
28318 (cos_test_tonearest): Likewise.
28319 (cos_test_towardzero): Likewise.
28320 (cos_test_downward): Likewise.
28321 (cos_test_upward): Likewise.
28322 (cosh_test): Likewise.
28323 (cosh_test_tonearest): Likewise.
28324 (cosh_test_towardzero): Likewise.
28325 (cosh_test_downward): Likewise.
28326 (cosh_test_upward): Likewise.
28327 (cpow_test): Use END_COMPLEX macro without arguments.
28328 (cproj_test): Likewise.
28329 (creal_test): Use END macro without arguments.
28330 (csin_test): Use END_COMPLEX macro without arguments.
28331 (csinh_test): Likewise.
28332 (csqrt_test): Likewise.
28333 (ctan_test): Likewise.
28334 (ctan_test_tonearest): Likewise.
28335 (ctan_test_towardzero): Likewise.
28336 (ctan_test_downward): Likewise.
28337 (ctan_test_upward): Likewise.
28338 (ctanh_test): Likewise.
28339 (ctanh_test_tonearest): Likewise.
28340 (ctanh_test_towardzero): Likewise.
28341 (ctanh_test_downward): Likewise.
28342 (ctanh_test_upward): Likewise.
28343 (erf_test): Use END macro without arguments.
28344 (erfc_test): Likewise.
28345 (exp_test): Likewise.
28346 (exp_test_tonearest): Likewise.
28347 (exp_test_towardzero): Likewise.
28348 (exp_test_downward): Likewise.
28349 (exp_test_upward): Likewise.
28350 (exp10_test): Likewise.
28351 (exp2_test): Likewise.
28352 (expm1_test): Likewise.
28353 (fabs_test): Likewise.
28354 (fdim_test): Likewise.
28355 (finite_test): Likewise.
28356 (floor_test): Likewise.
28357 (fma_test): Likewise.
28358 (fma_test_towardzero): Likewise.
28359 (fma_test_downward): Likewise.
28360 (fma_test_upward): Likewise.
28361 (fmax_test): Likewise.
28362 (fmin_test): Likewise.
28363 (fmod_test): Likewise.
28364 (fpclassify_test): Likewise.
28365 (frexp_test): Likewise.
28366 (gamma_test): Likewise.
28367 (hypot_test): Likewise.
28368 (ilogb_test): Likewise.
28369 (isfinite_test): Likewise.
28370 (isgreater_test): Likewise.
28371 (isgreaterequal_test): Likewise.
28372 (isinf_test): Likewise.
28373 (isless_test): Likewise.
28374 (islessequal_test): Likewise.
28375 (islessgreater_test): Likewise.
28376 (isnan_test): Likewise.
28377 (isnormal_test): Likewise.
28378 (issignaling_test): Likewise.
28379 (isunordered_test): Likewise.
28380 (j0_test): Likewise.
28381 (j1_test): Likewise.
28382 (jn_test): Likewise.
28383 (ldexp_test): Likewise.
28384 (lgamma_test): Likewise.
28385 (lrint_test): Likewise.
28386 (lrint_test_tonearest): Likewise.
28387 (lrint_test_towardzero): Likewise.
28388 (lrint_test_downward): Likewise.
28389 (lrint_test_upward): Likewise.
28390 (llrint_test): Likewise.
28391 (llrint_test_tonearest): Likewise.
28392 (llrint_test_towardzero): Likewise.
28393 (llrint_test_downward): Likewise.
28394 (llrint_test_upward): Likewise.
28395 (log_test): Likewise.
28396 (log10_test): Likewise.
28397 (log1p_test): Likewise.
28398 (log2_test): Likewise.
28399 (logb_test): Likewise.
28400 (logb_test_downward): Likewise.
28401 (lround_test): Likewise.
28402 (llround_test): Likewise.
28403 (modf_test): Likewise.
28404 (nearbyint_test): Likewise.
28405 (nextafter_test): Likewise.
28406 (nexttoward_test): Likewise.
28407 (pow_test): Likewise.
28408 (pow_test_tonearest): Likewise.
28409 (pow_test_towardzero): Likewise.
28410 (pow_test_downward): Likewise.
28411 (pow_test_upward): Likewise.
28412 (remainder_test): Likewise.
28413 (remainder_test_tonearest): Likewise.
28414 (remainder_test_towardzero): Likewise.
28415 (remainder_test_downward): Likewise.
28416 (remainder_test_upward): Likewise.
28417 (remquo_test): Likewise.
28418 (rint_test): Likewise.
28419 (rint_test_tonearest): Likewise.
28420 (rint_test_towardzero): Likewise.
28421 (rint_test_downward): Likewise.
28422 (rint_test_upward): Likewise.
28423 (round_test): Likewise.
28424 (scalb_test): Likewise.
28425 (scalbn_test): Likewise.
28426 (scalbln_test): Likewise.
28427 (signbit_test): Likewise.
28428 (sin_test): Likewise.
28429 (sin_test_tonearest): Likewise.
28430 (sin_test_towardzero): Likewise.
28431 (sin_test_downward): Likewise.
28432 (sin_test_upward): Likewise.
28433 (sincos_test): Likewise.
28434 (sinh_test): Likewise.
28435 (sinh_test_tonearest): Likewise.
28436 (sinh_test_towardzero): Likewise.
28437 (sinh_test_downward): Likewise.
28438 (sinh_test_upward): Likewise.
28439 (sqrt_test): Likewise.
28440 (tan_test): Likewise.
28441 (tan_test_tonearest): Likewise.
28442 (tan_test_towardzero): Likewise.
28443 (tan_test_downward): Likewise.
28444 (tan_test_upward): Likewise.
28445 (tanh_test): Likewise.
28446 (tgamma_test): Likewise.
28447 (trunc_test): Likewise.
28448 (y0_test): Likewise.
28449 (y1_test): Likewise.
28450 (yn_test): Likewise.
28451 (significand_test): Likewise.
28453 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28456 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28458 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28461 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28462 __ppc_mdoio and __ppc_mdoom.
28463 * manual/platform.texi: Document new functions __ppc_yield,
28464 __ppc_mdoio and __ppc_mdoom.
28466 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28468 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28469 (main): Mention "tls" pseudo-hwcap is legacy.
28470 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28472 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28474 * math/gen-libm-test.pl (parse_args): Output only string of
28475 arguments as text for test name, not full call or descriptions of
28476 tests for extra outputs.
28477 (generate_testfile): Do not pass function name to parse_args.
28478 Generate this_func variable from START.
28479 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28481 (struct test_ff_f_data): Likewise.
28482 (test_ff_f_data_nexttoward): Likewise.
28483 (struct test_fi_f_data): Likewise.
28484 (struct test_fl_f_data): Likewise.
28485 (struct test_if_f_data): Likewise.
28486 (struct test_fff_f_data): Likewise.
28487 (struct test_c_f_data): Likewise.
28488 (struct test_f_f1_data): Likewise. Remove field extra_name.
28489 (struct test_fF_f1_data): Likewise.
28490 (struct test_ffI_f1_data): Likewise.
28491 (struct test_c_c_data): Rename test_name field to arg_str.
28492 (struct test_cc_c_data): Likewise.
28493 (struct test_f_i_data): Likewise.
28494 (struct test_ff_i_data): Likewise.
28495 (struct test_f_l_data): Likewise.
28496 (struct test_f_L_data): Likewise.
28497 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28499 (COMMON_TEST_SETUP): New macro.
28500 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28501 (COMMON_TEST_CLEANUP): Likewise.
28502 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28503 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28505 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28506 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28508 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28509 (RUN_TEST_fff_f): Take argument string. Call new setup and
28511 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28512 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28514 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28515 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28517 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28518 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28520 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28521 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28523 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28524 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28526 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28527 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28529 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28530 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28532 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28533 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28535 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28536 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28538 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28539 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28541 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28542 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28544 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28545 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28547 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28548 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28550 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28551 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28553 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28554 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28556 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28558 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28560 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28561 to _sifields.sigfault.
28562 (si_addr_lsb): Define new macro.
28563 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28564 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28565 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28567 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28570 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28572 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28574 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28575 loading the domain.
28577 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28579 * math/gen-libm-test.pl (parse_args): Do not include expected
28580 result in test name.
28581 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28583 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28584 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28585 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28588 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28590 * benchtests/Makefile: Sort function entries.
28592 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28593 tanh, asinh, acosh, atanh.
28594 * benchtests/acos-inputs: New file.
28595 * benchtests/acosh-inputs: New file.
28596 * benchtests/asin-inputs: New file.
28597 * benchtests/asinh-inputs: New file.
28598 * benchtests/atanh-inputs: New file.
28599 * benchtests/cosh-inputs: New file.
28600 * benchtests/log-inputs: New file.
28601 * benchtests/sinh-inputs: New file.
28602 * benchtests/tanh-inputs: New file.
28604 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28607 * posix/tst-getaddrinfo4.c: New test.
28608 * posix/Makefile (tests): Add it.
28610 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28613 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28614 when no services were used.
28615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28616 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28618 2013-05-21 Andreas Schwab <schwab@suse.de>
28621 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28622 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28624 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28625 redundant variable declarations and reallocation of buffer when
28626 parsing as IPv6 address. Always set NSS status when called from
28627 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28628 buffer too small. Correct computation of needed size.
28629 * nss/Makefile (tests): Add test-digits-dots.
28630 * nss/test-digits-dots.c: New test.
28632 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28634 * benchtests/Makefile: Remove instructions for adding
28636 * benchtests/README: New file to explain how to execute and
28637 enhance the benchmark tests.
28639 2013-05-21 Andreas Schwab <schwab@suse.de>
28642 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28643 * setjmp/tst-sigsetjmp.c: New test.
28645 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28647 * sysdeps/x86_64/memset.S (memset): New implementation.
28648 (__bzero): Likewise.
28649 (__memset_tail): New function.
28651 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28653 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28654 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28655 __memcpy_sse2_unaligned ifunc selection.
28656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28657 Add memcpy-sse2-unaligned.S.
28658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28659 Add: __memcpy_sse2_unaligned.
28661 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28664 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28665 math_force_eval before restoring floating-point envrionment.
28666 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28669 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28671 (__nearbyintl): Use math_force_eval before restoring
28672 floating-point environment.
28673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28675 * math/gen-libm-test.pl (special_functions): Remove.
28676 (parse_args): Don't handle TEST_extra. Handle functions with no
28678 * math/libm-test.inc (struct test_sincos_data): Replace with
28679 struct test_fFF_11_data.
28680 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28681 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28682 (sincos_test_data): Change element type to struct
28683 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28684 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28685 RUN_TEST_LOOP_sincos.
28686 * math/README.libm-test: Don't mention special handling of
28687 individual functions.
28688 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28690 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28691 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28692 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28695 * math/gen-libm-test.pl (get_variable): Remove function.
28696 (parse_args): Don't show pointer parameters to call in test
28697 names. Use "extra output N" in test names for extra outputs
28698 rather than naming variables.
28700 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28703 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28704 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28705 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28707 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28709 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28712 * math/gen-libm-test.pl (@tests): Remove variable.
28713 ($count): Likewise.
28714 (new_test): Remove function.
28715 (show_exceptions): New function.
28716 (special_functions): Use show_exceptions instead of new_test.
28717 (parse_args): Likewise.
28718 (generate_testfile): Pass only function name in generated call to
28719 print_max_error or print_complex_max_error.
28720 (get_ulps): Do not handle complex tests specially.
28721 (output_test): Rename to ...
28722 (get_all_ulps_for_test): ... this. Return a string rather than
28723 printing to a file. Require ulps to be present.
28724 (output_ulps): Generate arrays rather than #defines.
28725 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28726 (struct ulp_data): New type.
28727 (BUILD_COMPLEX_ULP): Remove macro.
28728 (compare_ulp_data): New function.
28729 (find_ulps): Likewise.
28730 (find_test_ulps): Likewise.
28731 (find_function_ulps): Likewise.
28732 (find_complex_function_ulps): Likewise.
28733 (print_max_error): Determine allowed ulps using
28734 find_function_ulps.
28735 (print_complex_max_error): Determine allowed ulps using
28736 find_complex_function_ulps.
28737 (check_float_internal): Determine max ulps using find_test_ulps.
28738 (check_float): Do not take max_ulp parameter. Update call to
28739 check_float_internal.
28740 (check_complex): Likewise.
28741 (check_int): Do not take max_ulp parameter.
28742 (check_long): Likewise.
28743 (check_bool): Likewise.
28744 (check_longlong): Likewise.
28745 (struct test_f_f_data): Remove max_ulp field.
28746 (struct test_ff_f_data): Likewise.
28747 (struct test_ff_f_data_nexttoward): Likewise.
28748 (struct test_fi_f_data): Likewise.
28749 (struct test_fl_f_data): Likewise.
28750 (struct test_if_f_data): Likewise.
28751 (struct test_fff_f_data): Likewise.
28752 (struct test_c_f_data): Likewise.
28753 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28754 (struct test_fF_f1_data): Likewise.
28755 (struct test_ffI_f1_data): Likewise.
28756 (struct test_c_c_data): Remove max_ulp field.
28757 (struct test_cc_c_data): Likewise.
28758 (struct test_f_i_data): Likewise.
28759 (struct test_ff_i_data): Likewise.
28760 (struct test_f_l_data): Likewise.
28761 (struct test_f_L_data): Likewise.
28762 (struct test_sincos_data): Likewise.
28763 (RUN_TEST_f_f): Do not handle ulps.
28764 (RUN_TEST_LOOP_f_f): Likewise.
28765 (RUN_TEST_2_f): Likewise.
28766 (RUN_TEST_LOOP_2_f): Likewise.
28767 (RUN_TEST_fff_f): Likewise.
28768 (RUN_TEST_LOOP_fff_f): Likewise.
28769 (RUN_TEST_c_f): Likewise.
28770 (RUN_TEST_LOOP_c_f): Likewise.
28771 (RUN_TEST_f_f1): Likewise.
28772 (RUN_TEST_LOOP_f_f1): Likewise.
28773 (RUN_TEST_fF_f1): Likewise.
28774 (RUN_TEST_LOOP_fF_f1): Likewise.
28775 (RUN_TEST_fI_f1): Likewise.
28776 (RUN_TEST_LOOP_fI_f1): Likewise.
28777 (RUN_TEST_ffI_f1): Likewise.
28778 (RUN_TEST_LOOP_ffI_f1): Likewise.
28779 (RUN_TEST_c_c): Likewise.
28780 (RUN_TEST_LOOP_c_c): Likewise.
28781 (RUN_TEST_cc_c): Likewise.
28782 (RUN_TEST_LOOP_cc_c): Likewise.
28783 (RUN_TEST_f_i): Likewise.
28784 (RUN_TEST_LOOP_f_i): Likewise.
28785 (RUN_TEST_f_i_tg): Likewise.
28786 (RUN_TEST_LOOP_f_i_tg): Likewise.
28787 (RUN_TEST_ff_i_tg): Likewise.
28788 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28789 (RUN_TEST_f_b): Likewise.
28790 (RUN_TEST_LOOP_f_b): Likewise.
28791 (RUN_TEST_f_b_tg): Likewise.
28792 (RUN_TEST_LOOP_f_b_tg): Likewise.
28793 (RUN_TEST_f_l): Likewise.
28794 (RUN_TEST_LOOP_f_l): Likewise.
28795 (RUN_TEST_f_L): Likewise.
28796 (RUN_TEST_LOOP_f_L): Likewise.
28797 (RUN_TEST_sincos): Likewise.
28798 (RUN_TEST_LOOP_sincos): Likewise.
28800 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28804 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28805 main case of finite arguments, set rounding mode to FE_TONEAREST
28806 and discard exceptions.
28807 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28809 (remainder_tonearest_test_data): New variable.
28810 (remainder_test_tonearest): New function.
28811 (remainder_towardzero_test_data): New variable.
28812 (remainder_test_towardzero): New function.
28813 (remainder_downward_test_data): New variable.
28814 (remainder_test_downward): New function.
28815 (remainder_upward_test_data): New variable.
28816 (remainder_test_upward): New function.
28817 (main): Call the new test functions.
28819 * math/libm-test.inc (struct test_f_f1_data): Remove field
28821 (struct test_fF_f1_data): Likewise.
28822 (struct test_ffI_f1_data): Likewise.
28823 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28824 based on value of EXTRA_EXPECTED.
28825 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28826 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28827 EXTRA_VAR based on value of EXTRA_EXPECTED.
28828 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28829 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28830 EXTRA_VAR based on value of EXTRA_EXPECTED.
28831 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28832 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28833 EXTRA_VAR based on value of EXTRA_EXPECTED.
28834 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28835 * math/gen-libm-test.pl (parse_args): Don't output initializers
28836 for extra output values.
28838 * math/libm-test.inc (check_int): Expect result to be exactly
28839 equal to expected value and do not handle ulps.
28840 (check_long): Likewise.
28841 (check_longlong): Likewise.
28843 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28845 (cimag_test_data): Likewise.
28846 (conj_test_data): Likewise.
28847 (copysign_test_data): Likewise.
28848 (cproj_test_data): Likewise.
28849 (creal_test_data): Likewise.
28850 (fabs_test_data): Likewise.
28851 (fdim_test_data): Likewise.
28852 (finite_test_data): Likewise.
28853 (floor_test_data): Likewise.
28854 (fmax_test_data): Likewise.
28855 (fmin_test_data): Likewise.
28856 (fmod_test_data): Likewise.
28857 (fpclassify_test_data): Likewise.
28858 (frexp_test_data): Likewise.
28859 (ilogb_test_data): Likewise.
28860 (isfinite_test_data): Likewise.
28861 (isgreater_test_data): Likewise.
28862 (isgreaterequal_test_data): Likewise.
28863 (isinf_test_data): Likewise.
28864 (isless_test_data): Likewise.
28865 (islessequal_test_data): Likewise.
28866 (islessgreater_test_data): Likewise.
28867 (isnan_test_data): Likewise.
28868 (isnormal_test_data): Likewise.
28869 (issignaling_test_data): Likewise.
28870 (isunordered_test_data): Likewise.
28871 (ldexp_test_data): Likewise.
28872 (lrint_test_data): Likewise.
28873 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28874 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28875 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28876 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28877 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28878 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28880 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28881 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28882 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28883 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28885 (lrint_downward_test_data): Test for "inexact" exceptions.
28886 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28887 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28888 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28890 (lrint_upward_test_data): Test for "inexact" exceptions.
28891 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28893 (llrint_test_data): Test for "inexact" exceptions.
28894 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28895 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28896 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28897 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28898 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28899 (llrint_downward_test_data): Test for "inexact" exceptions.
28900 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28901 (llrint_upward_test_data): Test for "inexact" exceptions.
28902 (logb_test_data): Likewise.
28903 (logb_downward_test_data): Likewise.
28904 (nextafter_test_data): Likewise.
28905 (nexttoward_test_data): Likewise.
28906 (remainder_test_data): Likewise.
28907 (remquo_test_data): Likewise.
28908 (scalbn_test_data): Likewise.
28909 (scalbln_test_data): Likewise.
28910 (signbit_test_data): Likewise.
28911 (sqrt_test_data): Likewise.
28912 (significand_test_data): Likewise.
28914 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28917 * benchtests/bench-modf.c (struct args): Mark arg0 as
28919 * scripts/bench.pl: Mark members of struct args as volatile.
28921 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28924 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28925 negative infinity on POWER6 or lower.
28926 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28928 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28931 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28932 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28933 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28934 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28935 (_FP_SETQNAN): New macro.
28936 (_FP_SETQNAN_SEMIRAW): Likewise.
28937 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28938 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28939 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28940 (FP_EXTEND): Use _FP_FRAC_SNANP.
28941 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28942 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28944 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28946 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28949 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28951 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28952 with DIVIDE_BY_ZERO_EXCEPTION.
28953 (gamma_test_data): Likewise.
28954 (lgamma_test_data): Likewise.
28955 (log_test_data): Likewise.
28956 (log10_test_data): Likewise.
28957 (log2_test_data): Likewise.
28958 (tgamma_test_data): Likewise.
28960 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28961 (acos_test_tonearest): Likewise.
28962 (acos_test_towardzero): Likewise.
28963 (acos_test_downward): Likewise.
28964 (acos_test_upward): Likewise.
28965 (acosh_test): Likewise.
28966 (asin_test): Likewise.
28967 (asin_test_tonearest): Likewise.
28968 (asin_test_towardzero): Likewise.
28969 (asin_test_downward): Likewise.
28970 (asin_test_upward): Likewise.
28971 (asinh_test): Likewise.
28972 (atan_test): Likewise.
28973 (atanh_test): Likewise.
28974 (atan2_test): Likewise.
28975 (cabs_test): Likewise.
28976 (cacos_test): Likewise.
28977 (cacosh_test): Likewise.
28978 (casin_test): Likewise.
28979 (casinh_test): Likewise.
28980 (catan_test): Likewise.
28981 (catanh_test): Likewise.
28982 (cbrt_test): Likewise.
28983 (ccos_test): Likewise.
28984 (ccosh_test): Likewise.
28985 (cexp_test): Likewise.
28986 (clog_test): Likewise.
28987 (clog10_test): Likewise.
28988 (cos_test): Likewise.
28989 (cos_test_tonearest): Likewise.
28990 (cos_test_towardzero): Likewise.
28991 (cos_test_downward): Likewise.
28992 (cos_test_upward): Likewise.
28993 (cosh_test): Likewise.
28994 (cosh_test_tonearest): Likewise.
28995 (cosh_test_towardzero): Likewise.
28996 (cosh_test_downward): Likewise.
28997 (cosh_test_upward): Likewise.
28998 (cpow_test): Likewise.
28999 (csin_test): Likewise.
29000 (csinh_test): Likewise.
29001 (csqrt_test): Likewise.
29002 (ctan_test): Likewise.
29003 (ctan_test_tonearest): Likewise.
29004 (ctan_test_towardzero): Likewise.
29005 (ctan_test_downward): Likewise.
29006 (ctan_test_upward): Likewise.
29007 (ctanh_test): Likewise.
29008 (ctanh_test_tonearest): Likewise.
29009 (ctanh_test_towardzero): Likewise.
29010 (ctanh_test_downward): Likewise.
29011 (ctanh_test_upward): Likewise.
29012 (erf_test): Likewise.
29013 (erfc_test): Likewise.
29014 (exp_test): Likewise.
29015 (exp_test_tonearest): Likewise.
29016 (exp_test_towardzero): Likewise.
29017 (exp_test_downward): Likewise.
29018 (exp_test_upward): Likewise.
29019 (exp10_test): Likewise.
29020 (exp2_test): Likewise.
29021 (expm1_test): Likewise.
29022 (fmod_test): Likewise.
29023 (gamma_test): Likewise.
29024 (hypot_test): Likewise.
29025 (j0_test): Likewise.
29026 (j1_test): Likewise.
29027 (jn_test): Likewise.
29028 (lgamma_test): Likewise.
29029 (log_test): Likewise.
29030 (log10_test): Likewise.
29031 (log1p_test): Likewise.
29032 (log2_test): Likewise.
29033 (logb_test_downward): Likewise.
29034 (pow_test): Likewise.
29035 (pow_test_tonearest): Likewise.
29036 (pow_test_towardzero): Likewise.
29037 (pow_test_downward): Likewise.
29038 (pow_test_upward): Likewise.
29039 (remainder_test): Likewise.
29040 (remquo_test): Likewise.
29041 (sin_test): Likewise.
29042 (sin_test_tonearest): Likewise.
29043 (sin_test_towardzero): Likewise.
29044 (sin_test_downward): Likewise.
29045 (sin_test_upward): Likewise.
29046 (sincos_test): Likewise.
29047 (sinh_test): Likewise.
29048 (sinh_test_tonearest): Likewise.
29049 (sinh_test_towardzero): Likewise.
29050 (sinh_test_downward): Likewise.
29051 (sinh_test_upward): Likewise.
29052 (sqrt_test): Likewise.
29053 (tan_test): Likewise.
29054 (tan_test_tonearest): Likewise.
29055 (tan_test_towardzero): Likewise.
29056 (tan_test_downward): Likewise.
29057 (tan_test_upward): Likewise.
29058 (tanh_test): Likewise.
29059 (tgamma_test): Likewise.
29060 (y0_test): Likewise.
29061 (y1_test): Likewise.
29062 (yn_test): Likewise.
29064 * math/gen-libm-test.pl (adjust_arg): Remove function.
29065 (special_function): Remove argument $in_func. Only handle
29066 generating output for tables of tests, not inside functions.
29067 (parse_args): Likewise.
29068 (generate_testfile): Remove variable $in_func. Update call to
29070 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29071 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29072 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29073 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29074 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29075 (MAX_VALUE_INIT): Rename macro to max_value.
29076 (MIN_VALUE_INIT): Rename macro to min_value.
29077 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29078 (plus_zero): Remove variable.
29079 (minus_zero): Likewise.
29080 (plus_infty): Likewise.
29081 (minus_infty): Likewise.
29082 (qnan_value): Likewise.
29083 (max_value): Likewise.
29084 (min_value): Likewise.
29085 (min_subnorm_value): Likewise.
29087 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29089 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29090 uint64_t or uint32_t usage.
29091 * crypt/sha256-block.c: Likewise.
29092 * crypt/sha256-crypt.c: Likewise.
29093 * crypt/sha256.c: Likewise.
29094 * crypt/sha512-block.c: Likewise.
29095 * crypt/sha512-crypt.c: Likewise.
29096 * crypt/sha512.c: Likewise.
29097 * debug/backtrace-tst.c: Likewise.
29098 * debug/pcprofiledump.c: Likewise.
29099 * elf/cache.c: Likewise.
29100 * elf/dl-cache.c: Likewise.
29101 * elf/dl-misc.c: Likewise.
29102 * elf/dl-profile.c: Likewise.
29103 * elf/dl-support.c: Likewise.
29104 * elf/ldconfig.c: Likewise.
29105 * elf/sprof.c: Likewise.
29106 * iconv/dummy-repertoire.c: Likewise.
29107 * iconv/iconv_charmap.c: Likewise.
29108 * iconv/skeleton.c: Likewise.
29109 * iconvdata/8bit-generic.c: Likewise.
29110 * iconvdata/cp737.h: Likewise.
29111 * iconvdata/cp775.h: Likewise.
29112 * iconvdata/ibm1008.h: Likewise.
29113 * iconvdata/ibm1025.h: Likewise.
29114 * iconvdata/ibm1046.h: Likewise.
29115 * iconvdata/ibm1097.h: Likewise.
29116 * iconvdata/ibm1112.h: Likewise.
29117 * iconvdata/ibm1122.h: Likewise.
29118 * iconvdata/ibm1123.h: Likewise.
29119 * iconvdata/ibm1124.h: Likewise.
29120 * iconvdata/ibm1129.h: Likewise.
29121 * iconvdata/ibm1130.h: Likewise.
29122 * iconvdata/ibm1132.h: Likewise.
29123 * iconvdata/ibm1133.h: Likewise.
29124 * iconvdata/ibm1137.h: Likewise.
29125 * iconvdata/ibm1140.h: Likewise.
29126 * iconvdata/ibm1141.h: Likewise.
29127 * iconvdata/ibm1142.h: Likewise.
29128 * iconvdata/ibm1143.h: Likewise.
29129 * iconvdata/ibm1144.h: Likewise.
29130 * iconvdata/ibm1145.h: Likewise.
29131 * iconvdata/ibm1146.h: Likewise.
29132 * iconvdata/ibm1147.h: Likewise.
29133 * iconvdata/ibm1148.h: Likewise.
29134 * iconvdata/ibm1149.h: Likewise.
29135 * iconvdata/ibm1153.h: Likewise.
29136 * iconvdata/ibm1154.h: Likewise.
29137 * iconvdata/ibm1155.h: Likewise.
29138 * iconvdata/ibm1156.h: Likewise.
29139 * iconvdata/ibm1157.h: Likewise.
29140 * iconvdata/ibm1158.h: Likewise.
29141 * iconvdata/ibm1160.h: Likewise.
29142 * iconvdata/ibm1161.h: Likewise.
29143 * iconvdata/ibm1162.h: Likewise.
29144 * iconvdata/ibm1163.h: Likewise.
29145 * iconvdata/ibm1164.h: Likewise.
29146 * iconvdata/ibm1166.h: Likewise.
29147 * iconvdata/ibm1167.h: Likewise.
29148 * iconvdata/ibm12712.h: Likewise.
29149 * iconvdata/ibm1390.h: Likewise.
29150 * iconvdata/ibm1399.h: Likewise.
29151 * iconvdata/ibm16804.h: Likewise.
29152 * iconvdata/ibm4517.h: Likewise.
29153 * iconvdata/ibm4899.h: Likewise.
29154 * iconvdata/ibm4909.h: Likewise.
29155 * iconvdata/ibm4971.h: Likewise.
29156 * iconvdata/ibm5347.h: Likewise.
29157 * iconvdata/ibm803.h: Likewise.
29158 * iconvdata/ibm856.h: Likewise.
29159 * iconvdata/ibm901.h: Likewise.
29160 * iconvdata/ibm902.h: Likewise.
29161 * iconvdata/ibm9030.h: Likewise.
29162 * iconvdata/ibm9066.h: Likewise.
29163 * iconvdata/ibm921.h: Likewise.
29164 * iconvdata/ibm922.h: Likewise.
29165 * iconvdata/ibm9448.h: Likewise.
29166 * iconvdata/isiri-3342.h: Likewise.
29167 * iconvdata/jis0201.h: Likewise.
29168 * include/link.h: Likewise.
29169 * include/netdb.h: Likewise.
29170 * inet/check_native.c: Likewise.
29171 * inet/check_pf.c: Likewise.
29172 * inet/getipv4sourcefilter.c: Likewise.
29173 * inet/getnameinfo.c: Likewise.
29174 * inet/getsourcefilter.c: Likewise.
29175 * inet/htonl.c: Likewise.
29176 * inet/setipv4sourcefilter.c: Likewise.
29177 * inet/setsourcefilter.c: Likewise.
29178 * inet/test-inet6_opt.c: Likewise.
29179 * inet/tst-network.c: Likewise.
29180 * locale/C-collate.c: Likewise.
29181 * locale/C-ctype.c: Likewise.
29182 * locale/C-time.c: Likewise.
29183 * locale/C-translit.h: Likewise.
29184 * locale/loadarchive.c: Likewise.
29185 * locale/programs/3level.h: Likewise.
29186 * locale/programs/charmap.c: Likewise.
29187 * locale/programs/charmap.h: Likewise.
29188 * locale/programs/ld-address.c: Likewise.
29189 * locale/programs/ld-collate.c: Likewise.
29190 * locale/programs/ld-ctype.c: Likewise.
29191 * locale/programs/ld-identification.c: Likewise.
29192 * locale/programs/ld-measurement.c: Likewise.
29193 * locale/programs/ld-messages.c: Likewise.
29194 * locale/programs/ld-monetary.c: Likewise.
29195 * locale/programs/ld-name.c: Likewise.
29196 * locale/programs/ld-numeric.c: Likewise.
29197 * locale/programs/ld-paper.c: Likewise.
29198 * locale/programs/ld-telephone.c: Likewise.
29199 * locale/programs/ld-time.c: Likewise.
29200 * locale/programs/linereader.c: Likewise.
29201 * locale/programs/locale.c: Likewise.
29202 * locale/programs/locarchive.c: Likewise.
29203 * locale/programs/locfile.h: Likewise.
29204 * locale/programs/repertoire.c: Likewise.
29205 * locale/programs/simple-hash.c: Likewise.
29206 * locale/programs/simple-hash.h: Likewise.
29207 * malloc/memusage.c: Likewise.
29208 * malloc/memusagestat.c: Likewise.
29209 * nis/nis_defaults.c: Likewise.
29210 * nis/nis_hash.c: Likewise.
29211 * nis/nis_print.c: Likewise.
29212 * nis/nis_xdr.c: Likewise.
29213 * nscd/connections.c: Likewise.
29214 * nscd/hstcache.c: Likewise.
29215 * nscd/nscd_gethst_r.c: Likewise.
29216 * nscd/nscd_getserv_r.c: Likewise.
29217 * nscd/nscd_helper.c: Likewise.
29218 * nscd/servicescache.c: Likewise.
29219 * nss/makedb.c: Likewise.
29220 * nss/nss_db/db-XXX.c: Likewise.
29221 * nss/nss_db/db-initgroups.c: Likewise.
29222 * nss/nss_db/db-netgrp.c: Likewise.
29223 * nss/nss_files/files-network.c: Likewise.
29224 * nss/nss_files/files-parse.c: Likewise.
29225 * posix/bug-regex5.c: Likewise.
29226 * posix/fnmatch_loop.c: Likewise.
29227 * posix/regcomp.c: Likewise.
29228 * posix/regexec.c: Likewise.
29229 * posix/tst-rfc3484-2.c: Likewise.
29230 * posix/tst-rfc3484-3.c: Likewise.
29231 * posix/tst-rfc3484.c: Likewise.
29232 * resolv/nss_dns/dns-canon.c: Likewise.
29233 * resolv/nss_dns/dns-network.c: Likewise.
29234 * resolv/res_init.c: Likewise.
29235 * resolv/res_mkquery.c: Likewise.
29236 * resolv/tst-aton.c: Likewise.
29237 * stdlib/cxa_atexit.c: Likewise.
29238 * stdlib/cxa_finalize.c: Likewise.
29239 * stdlib/gen-fpioconst.c: Likewise.
29240 * stdlib/strtol_l.c: Likewise.
29241 * string/tst-endian.c: Likewise.
29242 * sunrpc/auth_des.c: Likewise.
29243 * sunrpc/clnt_udp.c: Likewise.
29244 * sunrpc/rtime.c: Likewise.
29245 * sunrpc/svcauth_des.c: Likewise.
29246 * sunrpc/xdr.c: Likewise.
29247 * sunrpc/xdr_intXX_t.c: Likewise.
29248 * sunrpc/xdr_rec.c: Likewise.
29249 * sysdeps/generic/ldconfig.h: Likewise.
29250 * sysdeps/generic/ldsodefs.h: Likewise.
29251 * sysdeps/generic/memusage.h: Likewise.
29252 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29255 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29258 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29262 * sysdeps/posix/getaddrinfo.c: Likewise.
29263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29265 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29267 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29268 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29269 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29270 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29271 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29272 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29273 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29274 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29275 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29276 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29278 * sysdeps/x86_64/dl-tls.h: Likewise.
29279 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29280 * time/alt_digit.c: Likewise.
29281 * time/era.c: Likewise.
29282 * wcsmbs/tst-c16c32-1.c: Likewise.
29284 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29286 * math/libm-test.inc (struct test_sincos_data): New type.
29287 (RUN_TEST_LOOP_sincos): New macro.
29288 (sincos_test_data): New variable.
29289 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29291 2013-05-16 Richard Henderson <rth@redhat.com>
29293 * math/atest-exp2.c (LIMB64): New macro.
29294 (CONSTSZ): New macro.
29295 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29297 (print_mpn_fp): ... to function scope.
29298 (read_mpn_hex): Remove.
29299 (get_log2): Remove.
29300 (exp2_mpn): Use mp_log2.
29301 (main): Use mp_exp1.
29303 2013-05-16 Joseph Myers <joseph@codesourcery.com>
29305 * math/libm-test.inc: Remove comment about not testing "inexact"
29307 (INEXACT_EXCEPTION): New macro.
29308 (NO_INEXACT_EXCEPTION): Likewise.
29309 (INVALID_EXCEPTION_OK): Update value.
29310 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29311 (OVERFLOW_EXCEPTION_OK): Likewise.
29312 (UNDERFLOW_EXCEPTION_OK): Likewise.
29313 (IGNORE_ZERO_INF_SIGN): Likewise.
29314 (ERRNO_UNCHANGED): Likewise.
29315 (ERRNO_EDOM): Likewise.
29316 (ERRNO_ERANGE): Likewise.
29317 (test_exceptions): Handle testing "inexact" exceptions.
29318 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29319 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29320 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29321 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29323 (rint_towardzero_test_data): Likewise.
29324 (rint_downward_test_data): Likewise.
29325 (rint_upward_test_data): Likewise.
29327 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29328 with OVERFLOW_EXCEPTION.
29329 (exp10_test_data): Likewise.
29330 (exp2_test_data): Likewise.
29331 (expm1_test_data): Likewise.
29332 (lgamma_test_data): Likewise.
29333 (pow_test_data): Likewise.
29334 (tgamma_test_data): Likewise.
29335 (yn_test_data): Remove duplicate test of overflow.
29337 * math/libm-test.inc (struct test_cc_c_data): New type.
29338 (RUN_TEST_LOOP_cc_c): New macro.
29339 (cpow_test_data): New variable.
29340 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29342 * math/libm-test.inc (struct test_f_L_data): New type.
29343 (RUN_TEST_LOOP_f_L): New macro.
29344 (llrint_test_data): New variable.
29345 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29346 (llrint_tonearest_test_data): New variable.
29347 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29348 (llrint_towardzero_test_data): New variable.
29349 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29350 (llrint_downward_test_data): New variable.
29351 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29352 (llrint_upward_test_data): New variable.
29353 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29354 (llround_test_data): New variable.
29355 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29357 2013-05-13 Peter Collingbourne <pcc@google.com>
29359 * math/atest-exp2.c (get_log2): Remove const attribute.
29361 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29363 * math/libm-test.inc (struct test_f_l_data): New type.
29364 (RUN_TEST_LOOP_f_l): New macro.
29365 (lrint_test_data): New variable.
29366 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29367 (lrint_tonearest_test_data): New variable.
29368 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29369 (lrint_towardzero_test_data): New variable.
29370 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29371 (lrint_downward_test_data): New variable.
29372 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29373 (lrint_upward_test_data): New variable.
29374 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29375 (lround_test_data): New variable.
29376 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29378 2013-05-15 Peter Collingbourne <pcc@google.com>
29380 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29381 (EXTRACT_WORDS64) Use where appropriate.
29382 (INSERT_WORDS64) Likewise.
29384 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29385 constraints with x constraints.
29386 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29388 * malloc/obstack.c (_obstack_compat): Add initializer.
29390 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29392 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29393 si_trapno and add si_addr_lsb to _sifields.sigfault.
29394 (si_trapno): Remove macro.
29395 (si_addr_lsb): Define new macro.
29396 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29398 2013-05-15 Joseph Myers <joseph@codesourcery.com>
29400 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29401 instead of TEST_f_l.
29402 (llrint_test_tonearest): Likewise.
29403 (llrint_test_towardzero): Likewise.
29404 (llrint_test_downward): Likewise.
29405 (llrint_test_upward): Likewise.
29406 (llround_test): Likewise.
29408 * math/libm-test.inc (struct test_f_i_data): Add comment.
29409 (RUN_TEST_LOOP_f_b): New macro.
29410 (RUN_TEST_LOOP_f_b_tg): Likewise.
29411 (finite_test_data): New variable.
29412 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29413 (isfinite_test_data): New variable.
29414 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29415 (isinf_test_data): New variable.
29416 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29417 (isnan_test_data): New variable.
29418 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29419 (isnormal_test_data): New variable.
29420 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29421 (issignaling_test_data): New variable.
29422 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29423 (signbit_test_data): New variable.
29424 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29426 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29427 with INVALID_EXCEPTION.
29428 (acosh_test_data): Likewise.
29429 (asin_test_data): Likewise.
29430 (atanh_test_data): Likewise.
29431 (fmod_test_data): Likewise.
29432 (log_test_data): Likewise.
29433 (log10_test_data): Likewise.
29434 (log2_test_data): Likewise.
29435 (pow_test_data): Likewise.
29436 (sqrt_test_data): Likewise.
29437 (y0_test_data): Likewise.
29438 (y1_test_data): Likewise.
29439 (yn_test_data): Likewise.
29441 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29444 * math/libm-test.inc (struct test_ff_i_data): New type.
29445 (RUN_TEST_LOOP_ff_i_tg): New macro.
29446 (isgreater_test_data): New variable.
29447 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29448 (isgreaterequal_test_data): New variable.
29449 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29450 (isless_test_data): New variable.
29451 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29452 (islessequal_test_data): New variable.
29453 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29454 (islessgreater_test_data): New variable.
29455 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29456 (isunordered_test_data): New variable.
29457 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29459 2013-05-14 David S. Miller <davem@davemloft.net>
29461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29463 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29465 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29467 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29469 (struct test_f_i_data): Change type of max_ulp to int.
29471 * math/libm-test.inc (test_ffI_f1_data): New type.
29472 (RUN_TEST_LOOP_ffI_f1): New macro.
29473 (remquo_test_data): New variable.
29474 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29476 * setjmp/tst-setjmp-fp.c: New file.
29477 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29478 (link-libm): New variable.
29479 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29481 * math/libm-test.inc (struct test_f_i_data): New type.
29482 (RUN_TEST_LOOP_f_i): New macro.
29483 (RUN_TEST_LOOP_f_i_tg): Likewise.
29484 (fpclassify_test_data): New variable.
29485 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29486 (ilogb_test_data): New variable.
29487 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29489 * math/libm-test.inc (scalbln_test): Correct function name in END
29492 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29493 (RUN_TEST_LOOP_fI_f1): New macro.
29494 (frexp_test_data): New variable.
29495 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29497 * math/libm-test.inc (struct test_fF_f1_data): New type.
29498 (RUN_TEST_LOOP_fF_f1): New macro.
29499 (modf_test_data): New variable.
29500 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29502 * math/libm-test.inc (struct test_f_f1_data): New type.
29503 (RUN_TEST_LOOP_f_f1): New macro.
29504 (gamma_test_data): New variable.
29505 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29506 (lgamma_test_data): New variable.
29507 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29509 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29511 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29512 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29513 (main): Comment "tls" pseudo-hwcap.
29515 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29517 * math/libm-test.inc (struct test_fl_f_data): New type.
29518 (RUN_TEST_LOOP_fl_f): New variable.
29519 (scalbln_test_data): New variable.
29520 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29522 * math/libm-test.inc (struct test_fi_f_data): New type.
29523 (RUN_TEST_LOOP_fi_f): New macro.
29524 (ldexp_test_data): New variable.
29525 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29526 (scalbn_test_data): New variable.
29527 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29529 * math/libm-test.inc (struct test_c_f_data): New type.
29530 (RUN_TEST_LOOP_c_f): New macro.
29531 (cabs_test_data): New variable.
29532 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29533 (carg_test_data): New variable.
29534 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29535 (cimag_test_data): New variable.
29536 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29537 (creal_test_data): New variable.
29538 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29540 * math/libm-test.inc (struct test_if_f_data): New type.
29541 (RUN_TEST_LOOP_if_f): New macro.
29542 (jn_test_data): New variable.
29543 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29544 (yn_test_data): New variable.
29545 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29547 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29549 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29551 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29552 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29554 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29556 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29557 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29558 (bench-deps): Add bench-timing.h.
29559 * benchtests-bench-skeleton.c: Include bench-timing.h.
29560 (main): Use TIMING_* macros instead of clock_gettime.
29561 * benchtests/bench-timing.h: New file.
29564 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29565 Renamed from _LIB_VERSION.
29566 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29568 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29570 * math/libm-test.inc (struct test_fff_f_data): New type.
29571 (RUN_TEST_LOOP_fff_f): New macro.
29572 (fma_test_data): New variable.
29573 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29574 (fma_towardzero_test_data): New variable.
29575 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29576 (fma_downward_test_data): New variable.
29577 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29578 (fma_upward_test_data): New variable.
29579 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29581 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29582 (struct test_c_c_data): New type.
29583 (RUN_TEST_LOOP_c_c): New macro.
29584 (cacos_test_data): New variable.
29585 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29586 (cacosh_test_data): New variable.
29587 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29588 (casin_test_data): New variable.
29589 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29590 (casinh_test_data): New variable.
29591 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29592 (catan_test_data): New variable.
29593 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29594 (catanh_test_data): New variable.
29595 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29596 (ccos_test_data): New variable.
29597 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29598 (ccosh_test_data): New variable.
29599 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29600 (cexp_test_data): New variable.
29601 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29602 (clog_test_data): New variable.
29603 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29604 (clog10_test_data): New variable.
29605 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29606 (conj_test_data): New variable.
29607 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29608 (cproj_test_data): New variable.
29609 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29610 (csin_test_data): New variable.
29611 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29612 (csinh_test_data): New variable.
29613 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29614 (csqrt_test_data): New variable.
29615 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29616 (ctan_test_data): New variable.
29617 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29618 (ctan_tonearest_test_data): New variable.
29619 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29620 (ctan_towardzero_test_data): New variable.
29621 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29622 (ctan_downward_test_data): New variable.
29623 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29624 (ctan_upward_test_data): New variable.
29625 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29626 (ctanh_test_data): New variable.
29627 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29628 (ctanh_tonearest_test_data): New variable.
29629 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29630 (ctanh_towardzero_test_data): New variable.
29631 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29632 (ctanh_downward_test_data): New variable.
29633 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29634 (ctanh_upward_test_data): New variable.
29635 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29636 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29639 * math/libm-test.inc (struct test_ff_f_data): New type.
29640 (struct test_ff_f_data_nexttoward): Likewise.
29641 (RUN_TEST_LOOP_2_f): New macro.
29642 (RUN_TEST_LOOP_ff_f): Likewise.
29643 (atan2_test_data): New variable.
29644 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29645 (copysign_test_data): New variable.
29646 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29647 (fdim_test_data): New variable.
29648 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29649 (fmax_test_data): New variable.
29650 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29651 (fmin_test_data): New variable.
29652 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29653 (fmod_test_data): New variable.
29654 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29655 (hypot_test_data): New variable.
29656 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29657 (nextafter_test_data): New variable.
29658 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29659 (nexttoward_test_data): New variable.
29660 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29661 (pow_test_data): New variable.
29662 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29663 (pow_tonearest_test_data): New variable.
29664 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29665 (pow_towardzero_test_data): New variable.
29666 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29667 (pow_downward_test_data): New variable.
29668 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29669 (pow_upward_test_data): New variable.
29670 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29671 (remainder_test_data): New variable.
29672 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29673 (scalb_test_data): New variable.
29674 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29675 * sysdeps/i386/fpu/libm-test-ulps: Update.
29677 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29679 * math/libm-test.inc (fma_test): Use max_value instead of local
29681 (nextafter_test): Likewise.
29683 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29684 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29685 (acos_downward_test_data): New variable.
29686 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29687 (acos_upward_test_data): New variable.
29688 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29689 (acosh_test_data): New variable.
29690 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29691 (asin_test_data): New variable.
29692 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29693 (asin_tonearest_test_data): New variable.
29694 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29695 (asin_towardzero_test_data): New variable.
29696 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29697 (asin_downward_test_data): New variable.
29698 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29699 (asin_upward_test_data): New variable.
29700 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29701 (asinh_test_data): New variable.
29702 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29703 (atan_test_data): New variable.
29704 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29705 (atanh_test_data): New variable.
29706 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29707 (cbrt_test_data): New variable.
29708 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29709 (ceil_test_data): New variable.
29710 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29711 (cos_test_data): New variable.
29712 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29713 (cos_tonearest_test_data): New variable.
29714 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29715 (cos_towardzero_test_data): New variable.
29716 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29717 (cos_downward_test_data): New variable.
29718 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29719 (cos_upward_test_data): New variable.
29720 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29721 (cosh_test_data): New variable.
29722 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29723 (cosh_tonearest_test_data): New variable.
29724 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29725 (cosh_towardzero_test_data): New variable.
29726 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29727 (cosh_downward_test_data): New variable.
29728 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29729 (cosh_upward_test_data): New variable.
29730 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29731 (erf_test_data): New variable.
29732 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29733 (erfc_test_data): New variable.
29734 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29735 (exp_test_data): New variable.
29736 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29737 (exp_tonearest_test_data): New variable.
29738 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29739 (exp_towardzero_test_data): New variable.
29740 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29741 (exp_downward_test_data): New variable.
29742 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29743 (exp_upward_test_data): New variable.
29744 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29745 (exp10_test_data): New variable.
29746 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29747 (exp2_test_data): New variable.
29748 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29749 (expm1_test_data): New variable.
29750 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29751 (fabs_test_data): New variable.
29752 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29753 (floor_test_data): New variable.
29754 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29755 (j0_test_data): New variable.
29756 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29757 (j1_test_data): New variable.
29758 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29759 (log_test_data): New variable.
29760 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29761 (log10_test_data): New variable.
29762 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29763 (log1p_test_data): New variable.
29764 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29765 (log2_test_data): New variable.
29766 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29767 (logb_test_data): New variable.
29768 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29769 (logb_downward_test_data): New variable.
29770 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29771 (nearbyint_test_data): New variable.
29772 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29773 (rint_test_data): New variable.
29774 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29775 (rint_tonearest_test_data): New variable.
29776 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29777 (rint_towardzero_test_data): New variable.
29778 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29779 (rint_downward_test_data): New variable.
29780 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29781 (rint_upward_test_data): New variable.
29782 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29783 (round_test_data): New variable.
29784 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29785 (sin_test_data): New variable.
29786 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29787 (sin_tonearest_test_data): New variable.
29788 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29789 (sin_towardzero_test_data): New variable.
29790 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29791 (sin_downward_test_data): New variable.
29792 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29793 (sin_upward_test_data): New variable.
29794 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29795 (sinh_test_data): New variable.
29796 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29797 (sinh_tonearest_test_data): New variable.
29798 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29799 (sinh_towardzero_test_data): New variable.
29800 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29801 (sinh_downward_test_data): New variable.
29802 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29803 (sinh_upward_test_data): New variable.
29804 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29805 (sqrt_test_data): New variable.
29806 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29807 (tan_test_data): New variable.
29808 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29809 (tan_tonearest_test_data): New variable.
29810 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29811 (tan_towardzero_test_data): New variable.
29812 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29813 (tan_downward_test_data): New variable.
29814 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29815 (tan_upward_test_data): New variable.
29816 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29817 (tanh_test_data): New variable.
29818 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29819 (tgamma_test_data): New variable.
29820 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29821 (trunc_test_data): New variable.
29822 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29823 (y0_test_data): New variable.
29824 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29825 (y1_test_data): New variable.
29826 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29827 (significand_test_data): New variable.
29828 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29830 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29833 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29835 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29837 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29839 2013-05-10 Andreas Jaeger <aj@suse.de>
29842 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29843 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29845 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29847 * math/gen-libm-test.pl (adjust_arg): New function.
29848 (special_functions): Handle generating output in both functions
29850 (parse_args): Likewise.
29851 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29852 $in_func argument to parse_args.
29853 * math/libm-test.inc (struct test_f_f_data): New type.
29854 (IF_ROUND_INIT_): New macro.
29855 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29856 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29857 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29858 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29859 (ROUND_RESTORE_): Likewise.
29860 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29861 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29862 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29863 (ROUND_RESTORE_FE_UPWARD): Likewise.
29864 (RUN_TEST_LOOP_f_f): New macro.
29865 (acos_test_data): New variable.
29866 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29867 (acos_tonearest_test_data): New variable.
29868 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29870 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29872 * benchtests/bench-skeleton.c (startup): Fix coding style.
29874 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29877 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29878 negative infinity argument.
29879 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29880 negative infinity argument.
29881 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29882 negative infinity argument.
29883 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29886 2013-05-10 Florian Weimer <fweimer@redhat.com>
29888 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29889 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29890 * iconv/iconv_prog.c (main): Likewise.
29891 * locale/programs/charmap-dir.c (charmap_readdir)
29892 (fopen_uncompressed): Likewise.
29893 * locale/programs/locfile.c (siblings_uncached)
29894 (write_locale_data): Use lstat64 instead of lstat.
29895 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29898 2013-05-10 Andreas Jaeger <aj@suse.de>
29901 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29903 Include <locale.h>.
29905 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29907 * elf/dl-close.c (_dl_close_worker): Add comments.
29909 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29912 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29914 (__ieee754_rem_pio2l): Update comments.
29917 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29919 (__ieee754_rem_pio2l): Update comments.
29921 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29922 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29924 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29927 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29928 (M_PI_34_LOG10El): Likewise.
29929 (M_PI2_LOG10El): Likewise.
29930 (M_PI4_LOG10El): Likewise.
29931 (M_PI_LOG10El): Likewise.
29933 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29937 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29939 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29940 (MINUS_ZERO_INIT): Likewise.
29941 (PLUS_INFTY_INIT): Likewise.
29942 (MINUS_INFTY_INIT): Likewise.
29943 (QNAN_VALUE_INIT): Likewise.
29944 (MAX_VALUE_INIT): Likewise.
29945 (MIN_VALUE_INIT): Likewise.
29946 (MIN_SUBNORM_VALUE_INIT): Likewise.
29947 (plus_zero): Initialize with PLUS_ZERO_INIT.
29948 (minus_zero): Initialize with MINUS_ZERO_INIT.
29949 (plus_infty): Initialize with PLUS_INFTY_INIT.
29950 (minus_infty): Initialize with MINUS_INFTY_INIT.
29951 (qnan_value): Initialize with QNAN_VALUE_INIT.
29952 (max_value): Initialize with MAX_VALUE_INIT.
29953 (min_value): Initialize with MIN_VALUE_INIT.
29954 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29956 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29957 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29958 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29959 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29961 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29962 (RUN_TEST_2_f): Likewise.
29963 (RUN_TEST_ff_f): Likewise.
29964 (RUN_TEST_fi_f): Likewise.
29965 (RUN_TEST_fl_f): Likewise.
29966 (RUN_TEST_fff_f): Likewise.
29967 (RUN_TEST_c_f): Likewise.
29968 (RUN_TEST_f_f1): Likewise.
29969 (RUN_TEST_fF_f1): Likewise.
29970 (RUN_TEST_fI_f1): Likewise.
29971 (RUN_TEST_ffI_f1): Likewise.
29972 (RUN_TEST_c_c): Likewise.
29973 (RUN_TEST_cc_c): Likewise.
29974 (RUN_TEST_f_i): Likewise.
29975 (RUN_TEST_f_i_tg): Likewise.
29976 (RUN_TEST_ff_i_tg): Likewise.
29977 (RUN_TEST_f_b): Likewise.
29978 (RUN_TEST_f_b_tg): Likewise.
29979 (RUN_TEST_f_l): Likewise.
29980 (RUN_TEST_f_L): Likewise.
29981 (RUN_TEST_sincos): Likewise.
29982 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29983 whether to show exceptions. Do not include ");\n" in return
29985 (special_functions): Output call to RUN_TEST_sincos instead of
29986 check_float calls. Update calls to new_test.
29987 (parse_args): Output call to single RUN_TEST_* macro instead of
29988 check_* calls and other assignments. Update calls to new_test.
29994 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29995 input to result for tgamma overflow.
29996 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29997 (gamma_coeff): New variable.
29998 (NCOEFF): New macro.
29999 (gamma_positive): New function.
30000 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30001 underflow here. Use gamma_positive instead of exp (lgamma) for
30003 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30004 (gamma_coeff): New variable.
30005 (NCOEFF): New macro.
30006 (gammaf_positive): New function.
30007 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30008 underflow here. Use gamma_positive instead of exp (lgamma) for
30010 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30011 (gamma_coeff): New variable.
30012 (NCOEFF): New macro.
30013 (gammal_positive): New function.
30014 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30015 underflow here. Use gamma_positive instead of exp (lgamma) for
30017 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30018 (gamma_coeff): New variable.
30019 (NCOEFF): New macro.
30020 (gammal_positive): New function.
30021 (__ieee754_gammal_r): Handle positive infinity, overflow and
30022 underflow here. Handle NaN the same as positive infinity. Remove
30023 check x < 0xffffffff for negative integers. Use gamma_positive
30024 instead of exp (lgamma) for other arguments.
30025 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30026 (gamma_coeff): New variable.
30027 (NCOEFF): New macro.
30028 (gammal_positive): New function.
30029 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30030 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30034 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30035 * sysdeps/generic/math_private.h (__gamma_productf): New
30037 (__gamma_product): Likewise.
30038 (__gamma_productl): Likewise.
30039 * math/Makefile (libm-calls): Add gamma_product.
30040 * math/libm-test.inc (tgamma_test): Add more tests.
30041 * sysdeps/i386/fpu/libm-test-ulps: Update.
30042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30044 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
30046 * benchtests/bench-skeleton.c (main): Preheat CPU.
30048 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30050 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30052 2013-05-07 Roland McGrath <roland@hack.frob.com>
30054 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30055 and _dl_skip_args_internal.
30057 2013-05-07 Carlos O'Donell <carlos@redhat.com>
30059 * manual/message.texi (Message Translation): Talk about users.
30060 Message to key mapping impacts design.
30062 2013-05-06 Roland McGrath <roland@hack.frob.com>
30064 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30066 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30068 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30069 * sysdeps/wordsize-64/glob64.c: ... here.
30071 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30072 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30075 * debug/getlogin_r_chk.c: Moved to ...
30076 * login/getlogin_r_chk.c: ... here.
30077 * debug/Makefile (routines): Move getlogin_r_chk to ...
30078 * login/Makefile (routines): ... here.
30079 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30080 * login/Versions (libc: GLIBC_2.4): ... here.
30082 * io/poll.c (__poll): Renamed from poll.
30083 Add libc_hidden_def.
30084 (poll): Define as weak alias.
30086 * debug/ptsname_r_chk.c: Moved to ...
30087 * login/ptsname_r_chk.c: ... here.
30088 * debug/Makefile (routines): Move ptsname_r_chk to ...
30089 * login/Makefile (routines): ... here.
30090 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30091 * login/Versions (libc: GLIBC_2.4): ... here.
30093 * posix/getlogin.c: Moved to ...
30094 * login/getlogin.c: ... here.
30095 * posix/getlogin_r.c: Moved to ...
30096 * login/getlogin_r.c: ... here.
30097 * posix/getlogin_r.c: Moved to ...
30098 * login/getlogin_r.c: ... here.
30099 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30100 * login/Makefile (routines): ... here.
30101 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30102 * login/Versions (libc: GLIBC_2.0): ... here.
30104 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30105 (setrlimit): Define as weak alias.
30107 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30108 Call __ names for open, ftruncate, and close.
30109 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30110 (truncate): Define as weak alias.
30112 2013-05-06 Joseph Myers <joseph@codesourcery.com>
30114 * math/gen-libm-test.pl (parse_args): Initialize x before each
30115 test of frexp, modf and remquo.
30117 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30118 test signgam value.
30120 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30124 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30126 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30128 2013-05-06 Roland McGrath <roland@hack.frob.com>
30130 * elf/dl-writev.h: New file.
30131 * elf/dl-misc.c: Include it.
30132 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30133 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30135 2013-05-04 Joseph Myers <joseph@codesourcery.com>
30137 * math/libm-test.inc (noXFails): Remove variable.
30138 (noXPasses): Likewise.
30139 (BUILD_COMPLEX_INT): Remove macro.
30140 (print_screen): Remove xfail argument.
30141 (print_screen_max_error): Likewise.
30142 (update_stats): Likewise.
30143 (print_max_error): Likewise. Update calls to other affected
30145 (print_complex_max_error): Likewise.
30146 (test_single_exception): Update calls to print_screen.
30147 (test_single_errno): Likewise.
30148 (check_float_internal): Remove xfail argument. Update calls to
30149 other affected functions.
30150 (check_float): Likewise.
30151 (check_complex): Likewise.
30152 (check_int): Likewise.
30153 (check_long): Likewise.
30154 (check_bool): Likewise.
30155 (check_longlong): Likewise.
30156 (main): Don't print noXFails and noXPasses.
30157 * math/gen-libm-test.pl (top level): Don't mention expected
30158 failure handling in comment.
30159 (new_test): Don't handle expected failures.
30160 (parse_args): Don't mention expected failure handling in comment.
30161 (generate_testfile): Don't handle expected failures.
30162 (parse_ulps): Likewise.
30163 (print_ulps_file): Likewise.
30164 (get_failure): Remove function.
30165 (output_test): Don't handle expected failures.
30166 * make/README.libm-test: Don't mention expected failure handling.
30168 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30169 (minus_zero): Likewise.
30170 (plus_infty): Likewise.
30171 (minus_infty): Likewise.
30172 (qnan_value): Likewise.
30173 (max_value): Likewise.
30174 (min_value): Likewise.
30175 (min_subnorm_value): Likewise.
30176 (initialize): Do not initialize those variables dynamically.
30178 2013-05-03 Roland McGrath <roland@hack.frob.com>
30180 * io/open.c (__open_2): Moved to ...
30181 * io/open_2.c: ... this new file.
30182 * io/open64.c (__open64_2): Moved to ...
30183 * io/open64_2.c: ... this new file.
30184 * io/openat.c (__openat_2): Moved to ...
30185 * io/openat_2.c: ... this new file.
30186 * io/openat64.c (__openat64_2): Moved to ...
30187 * io/openat64_2.c: ... this new file.
30188 * io/Makefile (routines): Add them.
30189 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30190 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30191 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30192 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30193 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30194 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30195 (__openat64): Add hidden_ver.
30196 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30197 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30199 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30200 Separately conditionalize setting of GLRO(dl_sysinfo) so
30201 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30202 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30204 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30206 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30207 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30209 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30210 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30211 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30212 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30213 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30215 2013-05-03 Joseph Myers <joseph@codesourcery.com>
30217 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30218 test signgam value.
30220 * math/libm-test.inc (hypot_test): Do not use
30221 IGNORE_ZERO_INF_SIGN.
30223 2013-05-03 Andreas Jaeger <aj@suse.de>
30225 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30227 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30228 (PF_MAX): Adjust for VSOCK change.
30230 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30234 2013-05-02 Carlos O'Donell <carlos@redhat.com>
30237 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30238 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30239 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30241 2013-05-02 David S. Miller <davem@davemloft.net>
30243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30245 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
30247 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30249 2013-05-01 Roland McGrath <roland@hack.frob.com>
30251 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30253 2013-05-01 Richard Smith <richard@metafoo.co.uk>
30256 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30257 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30258 Use __attribute__ ((__gnu_inline__)).
30259 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30260 Don't use __attribute__ ((__gnu_inline__)).
30262 2013-05-01 Joseph Myers <joseph@codesourcery.com>
30265 * math/s_catan.c (__catan): Handle small real or imaginary part of
30266 input specially to avoid spurious underflow.
30267 * math/s_catanf.c (__catanf): Likewise.
30268 * math/s_catanh.c (__catanh): Likewise.
30269 * math/s_catanhf.c (__catanhf): Likewise.
30270 * math/s_catanhl.c (__catanhl): Likewise.
30271 * math/s_catanl.c (__catanl): Likewise.
30272 * math/libm-test.inc (catan_test): Add more tests.
30273 (catanh_test): Likewise.
30274 * sysdeps/i386/fpu/libm-test-ulps: Update.
30275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30277 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30281 2013-04-30 Joseph Myers <joseph@codesourcery.com>
30284 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30285 accurately for denominator in atan2.
30286 * math/s_catanf.c (__catanf): Likewise.
30287 * math/s_catanh.c (__catanh): Likewise.
30288 * math/s_catanhf.c (__catanhf): Likewise.
30289 * math/s_catanhl.c (__catanhl): Likewise.
30290 * math/s_catanl.c (__catanl): Likewise.
30291 * math/libm-test.inc (catan_test): Add more tests.
30292 (catanh_test): Likewise.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30296 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30298 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30300 * benchtests/Makefile (bench): Remove slow benchmarks.
30301 * benchtests/atan-inputs: Add slow benchmark inputs.
30302 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30303 (BENCH_FUNC): Accept variant offset.
30305 * benchtests/bench-skeleton.c (main): Run benchmark for each
30307 * benchtests/cos-inputs: Add slow benchmark inputs.
30308 * benchtests/exp-inputs: Likewise.
30309 * benchtests/pow-inputs: Likewise.
30310 * benchtests/sin-inputs: Likewise.
30311 * benchtests/slowatan-inputs: Remove.
30312 * benchtests/slowatan.c: Remove.
30313 * benchtests/slowcos-inputs: Remove.
30314 * benchtests/slowcos.c: Remove.
30315 * benchtests/slowexp-inputs: Remove.
30316 * benchtests/slowexp.c: Remove.
30317 * benchtests/slowpow-inputs: Remove.
30318 * benchtests/slowpow.c: Remove.
30319 * benchtests/slowsin-inputs: Remove.
30320 * benchtests/slowsin.c: Remove.
30321 * benchtests/slowtan-inputs: Remove.
30322 * benchtests/slowtan.c: Remove.
30323 * benchtests/tan-inputs: Add slow benchmark inputs.
30324 * scripts/bench.pl: Parse comments and directives.
30326 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30328 ($(objpfx)bench-%.c): Remove *-ITER.
30329 * benchtests/bench-modf.c: Remove definition of ITER.
30330 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30331 (main): Loop for DURATION seconds instead of fixed number of
30333 * scripts/bench.pl: Don't expect iterations in parameters.
30335 2013-04-29 Roland McGrath <roland@hack.frob.com>
30337 * io/fchdir.c (__fchdir): Renamed from fchdir.
30338 (fchdir): Define as weak alias.
30340 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30342 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30343 (ERRNO_EDOM): Likewise.
30344 (ERRNO_ERANGE): Likewise.
30345 (noErrnoTests): New variable.
30346 (init_max_error): Set errno to 0.
30347 (test_single_errno): New function.
30348 (test_errno): Likewise.
30349 (check_float_internal): Call test_errno. Set errno to 0.
30350 (check_complex): Refer to errno tests in comment.
30351 (check_int): Call test_errno. Set errno to 0.
30352 (check_long): Likewise.
30353 (check_bool): Likewise.
30354 (check_longlong): Likewise.
30355 (cos_test): Use ERRNO_* flags for errno tests instead of
30357 (expm1_test): Likewise.
30358 (fmod_test): Likewise.
30359 (ilogb_test): Likewise.
30360 (lgamma_test): Likewise.
30361 (pow_test): Likewise.
30362 (remainder_test): Likewise.
30363 (sin_test): Likewise.
30364 (tan_test): Likewise.
30365 (yn_test): Likewise.
30366 (initialize): Set errno to 0.
30367 (main): Print number of errno tests.
30368 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30370 2013-04-29 Andreas Jaeger <aj@suse.de>
30373 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30377 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30378 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30382 * stdlib/random.c (__initstate): Return NULL if
30386 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30387 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30390 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30394 2013-04-29 Joseph Myers <joseph@codesourcery.com>
30396 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30397 of individual tests.
30398 (casin_test): Likewise.
30399 (casinh_test): Likewise.
30401 2013-04-27 Joseph Myers <joseph@codesourcery.com>
30404 * math/s_catan.c (__catan): Handle arguments with large real or
30405 imaginary part separately without squaring.
30406 * math/s_catanf.c (__catanf): Likewise.
30407 * math/s_catanh.c (__catanh): Likewise.
30408 * math/s_catanhf.c (__catanhf): Likewise.
30409 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30411 (__catanhl): Handle arguments with large real or imaginary part
30412 separately without squaring.
30413 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30415 (__catanl): Handle arguments with large real or imaginary part
30416 separately without squaring.
30417 * math/libm-test.inc (catan_test): Add more tests.
30418 (catanh_test): Likewise.
30419 * sysdeps/i386/fpu/libm-test-ulps: Update.
30420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30422 2013-04-27 Andreas Jaeger <aj@suse.de>
30425 * stdlib/stdlib.h: Update guards for qecvt.
30426 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30429 2013-04-27 Allan McRae <allan@archlinux.org>
30431 * sysdeps/i386/fpu/libm-test-ulps: Update.
30433 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30436 * math/s_catan.c: Include <float.h>.
30437 (__catan): Ensure underflow exception occurs for underflowed
30439 * math/s_catanf.c: Include <float.h>.
30440 (__catanf): Ensure underflow exception occurs for underflowed
30442 * math/s_catanh.c: Include <float.h>.
30443 (__catanh): Ensure underflow exception occurs for underflowed
30445 * math/s_catanhf.c: Include <float.h>.
30446 (__catanhf): Ensure underflow exception occurs for underflowed
30448 * math/s_catanhl.c: Include <float.h>.
30449 (__catanhl): Ensure underflow exception occurs for underflowed
30451 * math/s_catanl.c: Include <float.h>.
30452 (__catanl): Ensure underflow exception occurs for underflowed
30454 * math/libm-test.inc (catan_test): Add more tests.
30455 (catanh_test): Likewise.
30458 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30459 underflowed result.
30460 * math/s_ccoshf.c (__ccoshf): Likewise.
30461 * math/s_ccoshl.c (__ccoshl): Likewise.
30462 * math/s_csin.c (__csin): Likewise.
30463 * math/s_csinf.c (__csinf): Likewise.
30464 * math/s_csinh.c (__csinh): Likewise.
30465 * math/s_csinhf.c (__csinhf): Likewise.
30466 * math/s_csinhl.c (__csinhl): Likewise.
30467 * math/s_csinl.c (__csinl): Likewise.
30468 * math/libm-test.inc (ccos_test): Add more tests.
30469 (ccosh_test): Likewise.
30470 (csin_test): Likewise.
30471 (csinh_test): Likewise.
30473 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30475 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30476 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30477 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30478 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30479 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30480 powerpc/power5+/fpu folders.
30481 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30484 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30488 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30490 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30491 additions to variable.
30492 [$(config-machine) = x86_64] (modules-names): Likewise.
30493 ($(objpfx)tst-audit3): Remove dependency.
30494 ($(objpfx)tst-audit3.out): Likewise.
30495 ($(objpfx)tst-audit4): Likewise.
30496 ($(objpfx)tst-audit4.out): Likewise.
30497 ($(objpfx)tst-audit5): Likewise.
30498 ($(objpfx)tst-audit5.out): Likewise.
30499 ($(objpfx)tst-audit6): Likewise.
30500 ($(objpfx)tst-audit6.out): Likewise.
30501 ($(objpfx)tst-audit7): Likewise.
30502 ($(objpfx)tst-audit7.out): Likewise.
30503 (tst-audit3-ENV): Remove variable.
30504 (tst-audit4-ENV): Likewise.
30505 (tst-audit5-ENV): Likewise.
30506 (tst-audit6-ENV): Likewise.
30507 (tst-audit7-ENV): Likewise.
30508 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30509 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30510 addition to variable.
30511 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30516 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30517 tst-audit3, tst-audit4 and tst-audit5.
30518 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30519 tst-audit6 and tst-audit7.
30520 [$(subdir) = elf] (modules-names): Add audit modules for those
30522 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30523 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30524 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30525 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30526 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30527 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30528 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30529 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30530 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30531 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30532 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30533 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30534 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30535 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30536 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30537 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30539 [$(subdir) = elf && $(config-cflags-avx) = yes]
30540 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30541 [$(subdir) = elf && $(config-cflags-avx) = yes]
30542 (CFLAGS-tst-auditmod4a.c): Likewise.
30543 [$(subdir) = elf && $(config-cflags-avx) = yes]
30544 (CFLAGS-tst-auditmod4b.c): Likewise.
30545 [$(subdir) = elf && $(config-cflags-avx) = yes]
30546 (CFLAGS-tst-auditmod6b.c): Likewise.
30547 [$(subdir) = elf && $(config-cflags-avx) = yes]
30548 (CFLAGS-tst-auditmod6c.c): Likewise.
30549 [$(subdir) = elf && $(config-cflags-avx) = yes]
30550 (CFLAGS-tst-auditmod7b.c): Likewise.
30551 * elf/tst-audit3.c: Move to ...
30552 * sysdeps/x86_64/tst-audit3.c: ... here.
30553 * elf/tst-audit4.c: Move to ...
30554 * sysdeps/x86_64/tst-audit4.c: ... here.
30555 * elf/tst-audit5.c: Move to ...
30556 * sysdeps/x86_64/tst-audit5.c: ... here.
30557 * elf/tst-audit6.c: Move to ...
30558 * sysdeps/x86_64/tst-audit6.c: ... here.
30559 * elf/tst-audit7.c: Move to ...
30560 * sysdeps/x86_64/tst-audit7.c: ... here.
30561 * elf/tst-auditmod3a.c: Move to ...
30562 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30563 * elf/tst-auditmod3b.c: Move to ...
30564 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30565 * elf/tst-auditmod4a.c: Move to ...
30566 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30567 * elf/tst-auditmod4b.c: Move to ...
30568 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30569 * elf/tst-auditmod5a.c: Move to ...
30570 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30571 * elf/tst-auditmod5b.c: Move to ...
30572 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30573 * elf/tst-auditmod6a.c: Move to ...
30574 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30575 * elf/tst-auditmod6b.c: Move to ...
30576 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30577 * elf/tst-auditmod6c.c: Move to ...
30578 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30579 * elf/tst-auditmod7a.c: Move to ...
30580 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30581 * elf/tst-auditmod7b.c: Move to ...
30582 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30584 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30587 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30588 define unconditionally.
30589 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30590 define unconditionally.
30591 (INT8_C, INT16_C, etc.): Likewise.
30593 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30595 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30596 __ehdr_start with hidden visibility.
30598 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30600 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30602 * math/libm-test.inc (cos_test): Use accurate hex constants.
30603 (sincost_test): Likewise.
30605 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30607 * math/libm-test.inc (catan_test): Add more tests.
30608 (catanh_test): Likewise.
30610 * math/s_catanf.c (__catanf): Use suffixed floating-point
30612 * math/s_catanhf.c (__catanhf): Likewise.
30613 * math/s_catanhl.c (__catanhl): Likewise.
30614 * math/s_catanl.c (__catanl): Likewise.
30617 * math/s_catan.c (__catan): Calculate imaginary part of result
30618 with log1p not log unless computing log of number close to 0.
30619 * math/s_catanf.c (__catanf): Likewise.
30620 * math/s_catanl.c (__catanl): Likewise.
30621 * math/s_catanh.c (__catanh): Calculate real part of result with
30622 log1p not log unless computing log of number close to 0.
30623 * math/s_catanhf.c (__catanhf): Likewise.
30624 * math/s_catanhl.c (__catanhl): Likewise.
30625 * math/libm-test.inc (catan_test): Add more tests.
30626 (catanh_test): Likewise.
30627 * sysdeps/i386/fpu/libm-test-ulps: Update.
30628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30630 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30632 * benchtests/Makefile: Mention files in which fast and slow
30633 paths of math functions are implemented.
30635 2013-04-23 Roland McGrath <roland@hack.frob.com>
30637 * sysdeps/posix/timespec_get.c: New file.
30639 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30641 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30643 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30645 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30646 powerpc/power5/fpu folders.
30647 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30648 * benchtests/Makefile: Add modf testcase.
30649 * benchtests/bench-modf.c: New file: Benchmark test for mo
30651 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30654 * time/Makefile (tests): Add tst-strptime-whitespace.
30655 * time/strptime_l.c (get_number): Use ISSPACE.
30656 (__strptime_internal): Likewise.
30657 * time/tst-strptime-whitespace.c: New test case.
30659 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30661 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30663 (_nss_files_init): Set it here.
30665 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30667 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30668 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30671 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30673 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30675 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30677 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30680 2013-04-21 David S. Miller <davem@davemloft.net>
30682 * po/ru.po: Update Russion translation from translation project.
30684 2013-04-17 Adam Conrad <adconrad@0c3.net>
30686 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30689 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30691 * configure.in: Remove i386 configure warning. Remove i386 case.
30692 * configure: Regenerate.
30693 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30694 Add example to error message.
30695 * sysdeps/i386/configure: Regenerate.
30697 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30699 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30701 * benchtests/cos-inputs: New file.
30702 * benchtests/slowcos-inputs: New file.
30703 * benchtests/slowcos.c: New file.
30704 * benchtests/slowtan-inputs: New file.
30705 * benchtests/slowtan.c: New file.
30706 * benchtests/tan-inputs: New file.
30708 2013-04-16 Roland McGrath <roland@hack.frob.com>
30710 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30713 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30715 * benchtests/Makefile: Include cppflags-iterator.mk to add
30716 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30718 * Makefile.in (bench-clean): New target.
30719 * benchtests/Makefile (bench-clean): Likewise.
30721 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30723 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30725 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30727 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30729 2013-04-15 Andreas Schwab <schwab@suse.de>
30731 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30732 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30733 * nscd/pwdcache.c (cache_addpw): Likewise.
30734 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30737 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30739 * benchtests/Makefile (bench): Write all output to
30740 bench-out.tmp together.
30742 2013-04-15 Andreas Schwab <schwab@suse.de>
30744 * nscd/nscd.c (main): Don't fork again after closing files.
30746 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30748 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30750 * benchtests/Rules (bench-deps): Collect dependencies into a
30751 single variable. Add Makefile to dependencies.
30752 ($(objpfx)bench-%.c): Depend on bench-deps.
30754 2013-04-12 Roland McGrath <roland@hack.frob.com>
30755 Xavier Roche <roche+kml2@exalead.com>
30758 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30759 just that it's a file descriptor.
30760 * manual/llio.texi (Synchronizing AIO Operations): Update description
30761 for EBADF error from aio_fsync.
30763 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30765 * Rules (bench): Move target definition...
30766 * benchtests/Makefile: ... here.
30768 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30770 * math/libm-test.inc (cos_test): Fix PI/2 test.
30771 (sincos_test): Likewise.
30772 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30773 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30775 2013-04-11 Andreas Schwab <schwab@suse.de>
30778 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30779 accept exponent character only when digits were seen.
30780 * stdio-common/Makefile (tests): Add bug26.
30781 * stdio-common/bug26.c: New file.
30784 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30787 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30789 * Makeconfig (rtld-prefix): Define built linker prefix.
30790 * Rules (run-bench): Use it.
30791 * math/Makefile (run-regen-ulps): Likewise.
30793 * Rules (bench): Remove eval.
30795 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30796 Roland McGrath <roland@hack.frob.com>
30797 Ondrej Bilka <neleai@seznam.cz>
30800 * time/getdate.c: Include ctype.h and alloca.h.
30801 (__getdate_r): Trim leading and trailing spaces of input.
30802 * time/tst-getdate.c (tests): Add tests with leading and
30805 2013-04-08 Roland McGrath <roland@hack.frob.com>
30808 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30809 when computing value.
30811 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30813 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30814 Use testrun.sh to run libm tests.
30817 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30819 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30822 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30824 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30826 * Makefile.in (regen-ulps): New target.
30827 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30828 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30829 [ifneq (no,$(PERL)] (regen-ulps): New target.
30830 [ifeq (no,$(PERL)] (regen-ulps): New target.
30831 * math/libm-test.inc (ulps_file_name): Define.
30832 (output_dir): New variable.
30833 (options): Add "output-dir" option.
30834 (parse_opt): Handle 'o' case.
30835 (main): If output_dir is non-NULL use it as a prefix
30837 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30839 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30841 [BZ #10060, #10062]
30842 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30843 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30844 fail configure if __sync_val_compare_and_swap is not inlined.
30845 * sysdeps/i386/configure: Regenerate.
30846 * configure.in: Build for i686 when configured for i386.
30847 * configure: Regenerate.
30848 * README: Remove i386 reference.
30850 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30852 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30855 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30857 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30858 (lmsnanval): New variables.
30859 (F): Add conversion tests.
30860 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30861 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30863 * stdio-common/tstdiomisc.c (F): Properly collect individual
30866 [BZ #14686, #15336]
30867 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30868 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30869 Instead, use input NaN values or generate a qNaN by arithmetic
30870 operation. Also fix bugs to comply with the standard.
30871 * math/libm-test.inc (remainder_test): Add more tests.
30873 [BZ #15335, #15342]
30874 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30875 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30876 input NaN values or generate a qNaN by arithmetic operation.
30878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30881 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30884 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30887 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30888 underflowed result.
30889 * math/s_cexpf.c (__cexpf): Likewise.
30890 * math/s_cexpl.c (__cexpl): Likewise.
30891 * math/libm-test.inc (cexp_test): Add more tests.
30893 2013-04-03 Andreas Schwab <schwab@suse.de>
30896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30897 order arrays from heap if bigger than alloca cutoff.
30899 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30901 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30902 (SNAN_TESTS_double): Refer to GCC PR56831.
30903 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30906 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30908 * Rules (bench): Move bench.out after the run is complete.
30910 * Rules (bench): Echo currently running benchmark.
30912 * benchtests/Makefile (bench): Add atan and slowatan.
30913 * benchtests/atan-inputs: New file.
30914 * benchtests/slowatan-inputs: New file.
30915 * benchtests/slowatan.c: New file.
30917 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30922 * sysdeps/unix/sysv/linux/kernel-features.h
30923 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30924 __ASSUME_XFS_RESTRICTED_CHOWN.
30925 * sysdeps/unix/sysv/linux/pathconf.c
30926 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30927 Save and restore errno.
30929 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30932 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30933 arguments using __kernel_casinh.
30934 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30935 arguments using __kernel_casinhf.
30936 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30937 arguments using __kernel_casinhl.
30938 * math/libm-test.inc (cacosh_test): Add more tests.
30939 * sysdeps/i386/fpu/libm-test-ulps: Update.
30940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30942 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30944 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30947 * bench/Makefile (bench): Add sin and slowsin.
30948 * benchtests/sin-inputs: New file.
30949 * benchtests/slowsin-inputs: New file.
30950 * benchtests/slowsin.c: New file.
30952 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30953 (bench): Add slowexp and slowpow.
30954 (exp-ITER): Increase iterations.
30955 (pow-ITER): Likewise.
30956 * benchtests/exp-inputs: Change input.
30957 * benchtests/pow-inputs: Likewise.
30958 * benchtests/slowexp-inputs: New file.
30959 * benchtests/slowexp.c: New file.
30960 * benchtests/slowpow-inputs: New file.
30961 * benchtests/slowpow.c: New file.
30963 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30965 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30967 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30968 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30969 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30970 * benchtests/Makefile: Add rint benchtest.
30971 * benchtests/rint-inputs: Input for rint benchtest.
30973 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30975 * Versions.def (libm): Add GLIBC_2.18.
30976 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30977 hidden libm prototypes.
30978 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30979 * math/Makefile (libm-calls): Add s_issignaling.
30980 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30981 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30982 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30984 * math/math.h [__USE_GNU] (issignaling): New macro.
30985 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30986 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30988 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30991 * manual/arith.texi (issignaling): New section.
30992 * manual/libm-err-tab.pl (@all_functions): Update comment.
30993 * math/gen-libm-test.pl (parse_args): Apply special handling for
30995 * math/libm-test.inc (print_float, issignaling_test): New
30997 (check_float_internal): Add issignaling checks.
30998 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30999 default definition.
31000 * sysdeps/powerpc/math-tests.h: New file.
31001 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31003 * math/test-snan.c (TEST_FUNC): Likewise.
31005 2013-03-30 David S. Miller <davem@davemloft.net>
31007 * po/de.po: Update from translation team.
31009 2013-03-30 Joseph Myers <joseph@codesourcery.com>
31012 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31013 imaginary part less than 1.0 and real part less than 0.5
31015 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31016 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31017 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31018 (cacos_test): Add more tests.
31019 (casin_test): Likewise.
31020 (casinh_test): Likewise.
31021 * sysdeps/i386/fpu/libm-test-ulps: Update.
31022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31024 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31026 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31027 ONE with its value.
31029 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31030 (__pow_mp): Replace ONE and MONE with their values.
31031 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31034 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31036 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31038 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31040 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31041 (__pow_mp): Replace ZERO and MZERO with their values.
31042 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31043 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31044 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31046 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31047 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31050 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31052 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31054 2013-03-28 Roland McGrath <roland@hack.frob.com>
31056 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31057 Declare with __attribute__ ((weak)).
31058 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31059 Call __call_tls_dtors only if it's not NULL.
31061 2013-03-28 Roland McGrath <roland@hack.frob.com>
31063 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31064 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31065 magic __ehdr_start linker symbol if it's defined.
31066 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31067 them up here if it was already done.
31069 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31070 (_dl_aux_init): Use const in cast when setting it.
31071 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31072 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31073 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31075 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31077 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31078 * csu/libc-tls.c: Nor here.
31079 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31081 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31082 (__libc_message): Never call vsyslog.
31084 2013-03-28 Alan Modra <amodra@gmail.com>
31086 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31088 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31091 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31094 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31098 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31101 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31102 Don't add gid passed as argument.
31104 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31106 2013-03-27 Joseph Myers <joseph@codesourcery.com>
31109 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31110 imaginary part between 1.0 and 1.5 and real part less than 0.5
31112 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31113 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31114 * math/libm-test.inc (cacos_test): Add more tests.
31115 (casin_test): Likewise.
31116 (casinh_test): Likewise.
31117 * sysdeps/i386/fpu/libm-test-ulps: Update.
31118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31120 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31122 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31125 (denorm): Likewise.
31126 (__dbl_mp): Likewise.
31127 (add_magnitudes): Likewise.
31128 (sub_magnitudes): Likewise.
31136 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31138 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31139 (__dubcos): Likewise.
31140 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31141 (__ieee754_acos): Likewise.
31142 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31143 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31144 (__exp1): Likewise.
31145 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31146 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31148 (my_log2): Likewise.
31149 (checkint): Likewise.
31150 * sysdeps/ieee754/dbl-64/e_remainder.c
31151 (__ieee754_remainder): Likewise.
31152 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31154 (bsloww): Likewise.
31155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31157 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31158 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31159 MANTISSA_STORE_T to store computations on mantissa. Use
31160 macros for rounding and division.
31161 (denorm): Likewise.
31162 (__dbl_mp): Likewise.
31163 (add_magnitudes): Likewise.
31164 (sub_magnitudes): Likewise.
31167 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31168 powers of two in terms of TWOPOW macro.
31169 (mp_no): Make type of mantissa as MANTISSA_T.
31170 [!RADIXI]: Define RADIXI.
31171 [!TWO52]: Define TWO52.
31172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31174 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31176 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31177 llroundl symbol when building for PPC32.
31179 2013-03-24 Mark H Weaver <mhw@netris.org>
31181 * manual/arith.texi (Normalization Functions): Fix prototypes for
31182 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31184 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31187 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31188 high value to check if expl overflow.
31189 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31190 to check for underflow and overflow.
31191 * math/libm-test.inc: Add exp test.
31193 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31196 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31199 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31201 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31204 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31206 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31207 wrap blocks consisting of several statements.
31209 * sysdeps/generic/math-tests.h: New file.
31210 * sysdeps/i386/fpu/math-tests.h: Likewise.
31211 * math/test-snan.c: Include it.
31212 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31214 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31217 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31218 (__ieee754_j0l): Do not improve calculations using cos of twice
31219 input for inputs above LDBL_MAX / 2.0L.
31220 (__ieee754_y0l): Likewise.
31221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31222 (__ieee754_j1l): Do not improve calculations using cos of twice
31223 input for inputs above LDBL_MAX / 2.0L.
31224 (__ieee754_y1l): Likewise.
31225 * math/libm-test.inc (j0_test): Add another test.
31226 (j1_test): Likewise.
31227 (y0_test): Likewise.
31228 (y1_test): Likewise.
31229 * sysdeps/i386/fpu/libm-test-ulps: Update.
31231 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31233 * Rules ($(objpfx)bench-%.c): Include code from a C source
31236 2013-03-21 Joseph Myers <joseph@codesourcery.com>
31239 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31240 imaginary part 1.0 and real part less than 0.5 specially.
31241 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31242 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31243 * math/libm-test.inc (cacos_test): Add more tests.
31244 (casin_test): Likewise.
31245 (casinh_test): Likewise.
31246 * sysdeps/i386/fpu/libm-test-ulps: Update.
31247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31249 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31251 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31252 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31254 2013-03-20 Joseph Myers <joseph@codesourcery.com>
31256 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31257 * config.make.in (config-cflags-sse4): Remove variable.
31258 (config-cflags-avx): Likewise.
31259 (config-cflags-sse2avx): Likewise.
31260 (config-cflags-novzeroupper): Likewise.
31261 (config-asflags-i686): Likewise.
31262 (have-mfma4): Likewise.
31263 (have-as-vis3): Likewise.
31265 * configure.in (MIG): Do not AC_SUBST.
31266 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31267 (libc_cv_cc_sse4): Do not AC_SUBST.
31268 (libc_cv_cc_avx): Likewise.
31269 (libc_cv_cc_sse2avx): Likewise.
31270 (libc_cv_cc_novzeroupper): Likewise.
31271 (libc_cv_cc_fma4): Likewise.
31272 (libc_cv_as_i686): Likewise.
31273 (libc_cv_sparc_as_vis3): Likewise.
31274 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31276 (config-asflags-i686): Likewise.
31277 (config-cflags-avx): Likewise.
31278 (config-cflags-sse2avx): Likewise.
31279 (have-mfma4): Likewise.
31280 (config-cflags-novzeroupper): Likewise.
31281 * sysdeps/mach/configure.in (MIG): Likewise.
31282 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31283 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31285 (config-cflags-avx): Likewise.
31286 (config-cflags-sse2avx): Likewise.
31287 (have-mfma4): Likewise.
31288 (config-cflags-novzeroupper): Likewise.
31289 * configure: Regenerated.
31290 * sysdeps/i386/configure: Likewise.
31291 * sysdeps/mach/configure: Likewise.
31292 * sysdeps/sparc/configure: Likewise.
31293 * sysdeps/x86_64/configure: Likewise.
31295 2013-03-20 Roland McGrath <roland@hack.frob.com>
31298 * locale/programs/localedef.c (options): Put N_ translation marker
31299 on argument names, not just descriptions.
31301 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31303 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31305 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
31308 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31310 2013-03-19 Roland McGrath <roland@hack.frob.com>
31312 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31313 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31314 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31315 [!BEFORE_ABORT] (before_abort): New function.
31316 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31317 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31318 (writev_for_fatal): New function.
31319 (WRITEV_FOR_FATAL): New macro; call that.
31320 (backtrace_and_maps): New function.
31321 (BEFORE_ABORT): New macro; call that.
31322 (struct str_list): Type removed.
31323 (__libc_message, __libc_fatal): Functions removed.
31324 Include <sysdeps/posix/libc_fatal.c> instead.
31326 2013-03-19 Joseph Myers <joseph@codesourcery.com>
31328 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31330 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31333 2013-03-19 Andreas Schwab <schwab@suse.de>
31335 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31336 * sysdeps/gnu/configure: Regenerate.
31338 * configure.in: Substitute libc_cv_rtlddir.
31339 * configure: Regenerate.
31340 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31341 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31342 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31343 * elf/Makefile (install-others, CFLAGS-interp.c)
31344 (ldso_install, common-ldd-rewrite): Likewise.
31345 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31346 $(inst_slibdir)/$(rtld-installed-name).
31347 * scripts/rellns-sh: Add -p option.
31348 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31351 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31353 * manual/nptl.texi: Renamed to ...
31354 * manual/threads.texi: ... this.
31355 * manual/Makefile (chapters): Update.
31357 2013-03-18 Roland McGrath <roland@hack.frob.com>
31360 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31361 on argument names, not just descriptions.
31362 * malloc/memusagestat.c (options): Likewise.
31363 * nss/getent.c (options): Likewise.
31365 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
31368 * iconv/iconv_prog.c (options): Put N_ translation marker
31369 on argument names, not just descriptions.
31370 * iconv/iconvconfig.c (options): Likewise.
31372 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
31374 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31375 implementation which is faster on all x86_64 architectures.
31376 Tested on AMD, Intel Nehalem, SNB, IVB.
31377 * sysdeps/x86_64/strnlen.S: Likewise.
31379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31380 Remove all multiarch strlen and strnlen versions.
31381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31382 Remove strlen and strnlen related parts.
31384 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31385 Inline strlen part.
31386 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31388 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31389 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31390 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31391 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31392 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31393 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31395 2013-03-17 Carlos O'Donell <carlos@redhat.com>
31397 * manual/memory.texi (Malloc Tunable Parameters):
31398 Sort parameters alphabetically. Add comments for missing entries.
31400 2013-03-17 David S. Miller <davem@davemloft.net>
31402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31404 2013-03-16 Joseph Myers <joseph@codesourcery.com>
31407 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31408 for arguments at most half maximum finite value.
31409 * math/libm-test.inc (j0_test): Add more tests.
31410 (j1_test): Likewise.
31411 (y0_test): Likewise.
31412 (y1_test): Likewise.
31413 * sysdeps/i386/fpu/libm-test-ulps: Update.
31414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31417 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31418 1 / x and functions P and Q for arguments above 0x1p256L.
31419 (__ieee754_y0l): Likewise.
31420 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31421 (__ieee754_y1l): Likewise.
31422 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31423 (j1_test): Likewise.
31424 (y0_test): Likewise.
31425 (y1_test): Likewise.
31427 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31429 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31432 2013-03-15 Roland McGrath <roland@hack.frob.com>
31434 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31435 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31436 zero since it's initialized to EXEC_PAGESIZE.
31438 * sysdeps/unix/sysv/linux/ldsodefs.h
31439 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31440 * sysdeps/generic/ldsodefs.h: ... here.
31442 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31444 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31446 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31448 * math/test-snan.c: Renamed from
31449 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31450 * math/Makefile (tests): Add test-snan.
31451 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31454 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31455 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31457 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31458 __builtin_nan family of functions.
31459 * math/libm-test.inc (initialize): Initialize qnan_value with
31460 __builtin_nan family of functions.
31461 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31463 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31465 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31466 storage class. Initialize qNaN_var and sNaN_var with
31467 __builtin_nan and __builtin_nans families of functions,
31470 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31471 (sqrt_test): Remove duplicate test with qNaN input.
31472 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31473 (round_test, signbit_test, significand_test): Note missing +/-Inf
31474 as well as qNaN tests.
31476 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31477 qNaN_var. Fix a few strings, too.
31478 * math/libm-test.inc (nan_value): Rename to qnan_value.
31479 * math/gen-libm-test.pl (%beautify): Adjust to that.
31480 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31481 * math/test-misc.c (main): Likewise.
31482 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31483 to __qnan_bytes, and __qnan_union, respectively.
31484 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31486 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31487 and lqnanval, respectively.
31488 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31489 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31490 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31491 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31493 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31494 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31497 * math/test-misc.c (main): Fix copy'n'pastos.
31498 * misc/tst-efgcvt.c (special): Likewise.
31500 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31501 Remove declarations.
31503 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31505 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31506 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31507 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31508 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31510 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31512 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31513 macro to return vdso values correctly in IFUNC implementations.
31514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31515 Optimization by using IFUNC.
31517 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31518 Richard Henderson <rth@redhat.com>
31519 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31521 * Makefile.in (bench): New target.
31522 * NEWS: Mention the benchmark framework.
31523 * Rules (bench): Likewise.
31524 (binaries-bench): Generate binaries for functions to
31526 * benchtests/Makefile: New makefile for benchmark tests.
31527 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31529 * benchtests/exp-inputs: New input file for EXP function.
31530 * benchtests/pow-inputs: New input file for POW function.
31531 * scripts/bench.pl: New script to generate source files for
31532 benchmark programs.
31534 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31536 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31537 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31538 computations on mantissa. Use macros for rounding and
31540 (denorm): Likewise.
31541 (__dbl_mp): Likewise.
31542 (add_magnitudes): Likewise.
31543 (sub_magnitudes): Likewise.
31546 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31547 powers of two in terms of TWOPOW macro.
31548 (mp_no): Make type of mantissa as MANTISSA_T.
31549 [!RADIXI]: Define RADIXI.
31550 [!TWO52]: Define TWO52.
31551 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31553 * manual/nptl.texi (cindex): Modify threads to pthreads.
31555 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31557 * sysdeps/x86_64/preconfigure: Regenerated.
31559 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31562 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31564 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31565 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31567 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31568 * math/libm-test.inc (j0_test): Do not allow one spurious
31569 underflow exception.
31570 (y1_test): Likewise.
31572 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31574 * manual/Makefile (chapters): Add nptl.
31575 * manual/debug.texi (Debugging Support): Add link to Threads
31577 * manual/nptl.texi: New file.
31579 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31581 2013-03-14 Petr Baudis <pasky@ucw.cz>
31583 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31584 for non-NULL pointer before the memory validity test. Pointed
31585 out by Holger Brunck <holger.brunck@keymile.com>.
31587 2013-03-13 Andreas Schwab <schwab@suse.de>
31589 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31592 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31594 * timezone/zic.c: Update from tzcode 2013b.
31596 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31598 * manual/install.texi (Configuring and compiling):
31599 Mention i686 and i586.
31600 * INSTALL: Regenerate.
31602 2013-03-12 Roland McGrath <roland@hack.frob.com>
31604 * sysdeps/init_array/elf-init.c: New file.
31606 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31607 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31609 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31610 __gmon_start__ as global, but as static with a .preinit_array pointer.
31611 * sysdeps/init_array/gmon-start.c: New file. Use that.
31612 * sysdeps/init_array/crti.S: New file, empty except for comments.
31613 * sysdeps/init_array/crtn.S: Likewise.
31615 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31617 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31620 Remove Prefer_SSE_for_memop.
31621 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31622 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31623 HAS_PREFER_SSE_FOR_MEMOP.
31624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31627 Remove bzero, memset ifunc support.
31628 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31629 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31630 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31633 2013-03-11 Andreas Schwab <schwab@suse.de>
31636 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31639 (GLIBC_2.16): Remove pthread_atfork.
31641 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31643 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31644 (ptestcases.h): Likewise.
31646 2013-03-08 Roland McGrath <roland@hack.frob.com>
31648 * Makeconfig ($(common-objpfx)config.status): Depend on
31649 sysdeps/*/preconfigure{,.in} too.
31651 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31653 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31654 (__free_hook): Use void * instead of __malloc_ptr_t.
31655 (__malloc_hook): Likewise.
31656 (__realloc_hook): Likewise.
31657 (__memalign_hook): Likewise.
31658 (__after_morecore_hook): Likewise.
31659 * malloc/arena.c (save_malloc_hook): Likewise.
31660 (save_free_hook): Likewise.
31661 * malloc/hooks.c (malloc_hook_ini): Likewise.
31662 (realloc_hook_ini): Likewise.
31663 (memalign_hook_ini): Likewise.
31664 * malloc/malloc.c (malloc_hook_ini): Likewise.
31665 (realloc_hook_ini): Likewise.
31666 (memalign_hook_ini): Likewise.
31667 (__free_hook): Likewise.
31668 (__malloc_hook): Likewise.
31669 (__realloc_hook): Likewise.
31670 (__memalign_hook): Likewise.
31671 (__libc_malloc): Likewise.
31672 (__libc_free): Likewise.
31673 (__libc_realloc): Likewise.
31674 (__libc_memalign): Likewise.
31675 (__libc_valloc): Likewise.
31676 (__libc_pvalloc): Likewise.
31677 (__libc_calloc): Likewise.
31678 (__posix_memalign): Likewise.
31679 * malloc/morecore.c (__sbrk): Likewise.
31680 (__default_morecore): Likewise.
31682 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31684 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31685 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31686 __malloc_ptrdiff_t.
31688 * malloc/malloc.h (__malloc_size_t): Remove macro.
31689 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31691 (old_memalign_hook): Likewise.
31692 (old_realloc_hook): Likewise.
31693 (struct hdr): Likewise.
31695 (mallochook): Likewise.
31696 (memalignhook): Likewise.
31697 (reallochook): Likewise.
31698 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31699 (tr_old_realloc_hook): Likewise.
31700 (tr_old_memalign_hook): Likewise.
31701 (tr_mallochook): Likewise.
31702 (tr_reallochook): Likewise.
31703 (tr_memalignhook): Likewise.
31705 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31707 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31708 default_ldbl_pack and using as default implementation.
31709 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31711 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31712 redundant definition.
31713 (ldbl_insert_mantissa): Likewise.
31714 (ldbl_canonicalize): Likewise.
31715 (ldbl_nearbyint): Likewise.
31716 (ldbl_pack): Rename to ldbl_pack_ppc.
31717 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31718 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31719 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31721 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31724 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31726 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31729 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31730 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31732 2013-03-07 Andreas Jaeger <aj@suse.de>
31734 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31737 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31739 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31740 Include mpa.h and declare __MPEXP.
31741 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31742 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31743 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31745 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31746 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31749 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31750 (__slowpow): Use long double EXPL and LOGL functions to
31752 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31753 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31755 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31756 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31757 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31760 intermediate variable to calculate exponent.
31762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31766 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31767 [!NO__SQR]: Define __sqr.
31768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31769 and NO__SQR. Remove all code except __mul and __sqr. Include
31770 sysdeps/ieee754/dbl-64/mpa.c.
31771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31774 * posix/Makefile (tests): Add tst-pathconf.
31775 * posix/tst-pathconf.c: New test case.
31776 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31778 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31780 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31782 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31784 2013-03-06 Andreas Jaeger <aj@suse.de>
31786 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31787 definition via __MAP_ANONYMOUS.
31789 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31790 it's not part of Linux headers.
31792 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31793 (MAP_HUGE_MASK): Define.
31795 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31797 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31800 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31801 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31803 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31804 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31808 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31809 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31810 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31811 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31812 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31813 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31815 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31819 Handle f2fs and efivarfs.
31821 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31824 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31825 (EFIVARFS_MAGIC): Add.
31826 (F2FS_LINK_MAX): Add.
31828 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31830 * stdio-common/vfprintf.c: Replace __builtin_expect with
31833 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31836 * sysdeps/generic/bp-sym.h: Remove file.
31837 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31838 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31839 <bp-sym.h> and <bp-asm.h>.
31840 (__longjmp): Don't use BP_SYM.
31841 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31843 (memcpy): Don't use BP_SYM.
31844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31845 <bp-sym.h> and <bp-asm.h>.
31846 (memcpy): Don't use BP_SYM.
31847 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31849 (memcpy): Don't use BP_SYM.
31850 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31852 (memset): Don't use BP_SYM.
31853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31855 (__bzero): Don't use BP_SYM.
31856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31859 <bp-sym.h> and <bp-asm.h>.
31860 (memcmp): Don't use BP_SYM. Remove comment about bounded
31862 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31863 <bp-sym.h> and <bp-asm.h>.
31864 (memcpy): Don't use BP_SYM.
31865 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31866 <bp-sym.h> and <bp-asm.h>.
31867 (memset): Don't use BP_SYM.
31868 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31869 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31870 (__bzero): Don't use BP_SYM.
31871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31874 <bp-sym.h> and <bp-asm.h>.
31875 (strncmp): Don't use BP_SYM. Remove comment about bounded
31877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31878 <bp-sym.h> and <bp-asm.h>.
31879 (memcpy): Don't use BP_SYM.
31880 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31881 <bp-sym.h> and <bp-asm.h>.
31882 (memset): Don't use BP_SYM.
31883 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31884 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31885 (__bzero): Don't use BP_SYM.
31886 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31887 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31888 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31889 <bp-sym.h> and <bp-asm.h>.
31890 (__memchr): Don't use BP_SYM.
31891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31892 <bp-sym.h> and <bp-asm.h>.
31893 (memcmp): Don't use BP_SYM. Remove comment about bounded
31895 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31896 <bp-sym.h> and <bp-asm.h>.
31897 (memcpy): Don't use BP_SYM.
31898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31899 <bp-sym.h> and <bp-asm.h>.
31900 (__mempcpy): Don't use BP_SYM.
31901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31902 <bp-sym.h> and <bp-asm.h>.
31903 (__memrchr): Don't use BP_SYM.
31904 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31905 <bp-sym.h> and <bp-asm.h>.
31906 (memset): Don't use BP_SYM.
31907 (__bzero): Likewise.
31908 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31909 <bp-sym.h> and <bp-asm.h>.
31910 (__rawmemchr): Don't use BP_SYM.
31911 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31912 <bp-sym.h> and <bp-asm.h>.
31913 (__STRCMP): Don't use BP_SYM.
31914 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31915 <bp-sym.h> and <bp-asm.h>.
31916 (strchr): Don't use BP_SYM.
31917 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31918 <bp-sym.h> and <bp-asm.h>.
31919 (__strchrnul): Don't use BP_SYM.
31920 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31921 <bp-sym.h> and <bp-asm.h>.
31922 (strlen): Don't use BP_SYM.
31923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31924 <bp-sym.h> and <bp-asm.h>.
31925 (strncmp): Don't use BP_SYM. Remove comment about bounded
31927 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31928 <bp-sym.h> and <bp-asm.h>.
31929 (__strnlen): Don't use BP_SYM.
31930 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31931 <bp-sym.h> and <bp-asm.h>.
31932 (__GI__setjmp): Don't use BP_SYM.
31933 (_setjmp): Likewise.
31934 (__sigsetjmp): Likewise.
31935 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31936 (L(start_addresses)): Don't use BP_SYM.
31937 (_start): Likewise.
31938 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31940 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31941 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31942 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31943 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31944 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31946 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31947 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31948 about bounded pointers.
31949 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31950 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31951 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31953 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31954 about bounded pointers. Remove GKM FIXME comments.
31955 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31956 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31958 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31959 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31960 Remove GKM FIXME comments.
31961 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31962 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31963 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31965 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31966 about bounded pointers. Remove GKM FIXME comment.
31967 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31969 (strncmp): Don't use BP_SYM. Remove comment about bounded
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31972 <bp-sym.h> and <bp-asm.h>.
31973 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31975 <bp-sym.h> and <bp-asm.h>.
31976 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31979 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31981 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31984 2013-03-05 David S. Miller <davem@davemloft.net>
31986 * po/es.po: Update from translation team.
31988 2013-03-05 Andreas Jaeger <aj@suse.de>
31990 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31991 <bits/mman-linux.h>.
31992 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31994 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31995 <bits/mman-linux.h> to end of file.
31996 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31998 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31999 <bits/mman-linux.h> to end of file.
32000 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32003 <bits/mman-linux.h> to end of file.
32005 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32006 (MCL_CURRENT, MCL_FUTURE): Define here.
32008 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32011 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32013 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32015 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32017 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32018 fourth parameter needed for rt_sigprocmask syscall.
32019 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32020 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32021 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32022 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32023 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32024 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32026 2013-03-04 Joseph Myers <joseph@codesourcery.com>
32029 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32030 comment about bounded pointers.
32031 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32032 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32034 2013-03-04 Andreas Jaeger <aj@suse.de>
32036 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32037 common definitions.
32039 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32040 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32041 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32043 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32046 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32049 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32050 __ieee754_sqrl instead of __sqrl.
32052 2013-03-01 Joseph Myers <joseph@codesourcery.com>
32054 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32055 * sysdeps/powerpc/fpu_control.h: ... here.
32056 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32057 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32058 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32059 * sysdeps/powerpc/bits/mathinline.h: ... here.
32061 2013-03-01 Roland McGrath <roland@hack.frob.com>
32063 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32064 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32065 to just [NEED_DL_SYSINFO_DSO].
32066 * elf/dl-support.c: Likewise.
32067 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32068 * elf/rtld.c (dl_main): Likewise.
32069 * elf/setup-vdso.h (setup_vdso): Likewise.
32070 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32071 * sysdeps/unix/sysv/linux/dl-sysdep.c
32072 (_dl_discover_osversion): Likewise.
32074 2013-03-01 Carlos O'Donell <carlos@redhat.com>
32076 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32077 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32079 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32081 * NEWS: Mention libm performance improvements and non-x86 PI
32084 * csu/libc-start.c (__pthread_initialize_minimal): Change
32085 function arguments.
32086 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32088 2013-02-28 Joseph Myers <joseph@codesourcery.com>
32091 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32092 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32093 <bp-sym.h> and <bp-asm.h>.
32094 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32095 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32097 (memcpy): Don't use BP_SYM.
32098 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32100 (__mpn_add_n): Don't use BP_SYM.
32101 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32102 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32104 (__mpn_addmul_1): Don't use BP_SYM.
32105 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32106 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32108 (_setjmp): Don't use BP_SYM.
32109 (__novmx_setjmp): Likewise.
32110 (__GI__setjmp): Likewise.
32111 (__vmx_setjmp): Likewise.
32112 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32114 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32115 (__bzero): Don't use BP_SYM.
32116 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32117 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32118 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32119 <bp-sym.h> and <bp-asm.h>.
32120 (memcpy): Don't use BP_SYM.
32121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32122 <bp-sym.h> and <bp-asm.h>.
32123 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32125 <bp-sym.h> and <bp-asm.h>.
32126 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32127 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32129 (__mpn_lshift): Don't use BP_SYM.
32130 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32131 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32133 (memset): Don't use BP_SYM.
32134 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32135 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32136 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32138 (__mpn_mul_1): Don't use BP_SYM.
32139 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32140 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32141 <bp-sym.h> and <bp-asm.h>.
32142 (memcmp): Don't use BP_SYM.
32143 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32144 <bp-sym.h> and <bp-asm.h>.
32145 (memcpy): Don't use BP_SYM.
32146 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32147 <bp-sym.h> and <bp-asm.h>.
32148 (memset): Don't use BP_SYM.
32149 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32150 <bp-sym.h> and <bp-asm.h>.
32151 (strncmp): Don't use BP_SYM.
32152 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32153 <bp-sym.h> and <bp-asm.h>.
32154 (memcpy): Don't use BP_SYM.
32155 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32156 <bp-sym.h> and <bp-asm.h>.
32157 (memset): Don't use BP_SYM.
32158 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32159 <bp-sym.h> and <bp-asm.h>.
32160 (__memchr): Don't use BP_SYM.
32161 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32162 <bp-sym.h> and <bp-asm.h>.
32163 (memcmp): Don't use BP_SYM.
32164 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32165 <bp-sym.h> and <bp-asm.h>.
32166 (memcpy): Don't use BP_SYM.
32167 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32168 <bp-sym.h> and <bp-asm.h>.
32169 (__mempcpy): Don't use BP_SYM.
32170 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32171 <bp-sym.h> and <bp-asm.h>.
32172 (__memrchr): Don't use BP_SYM.
32173 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32174 <bp-sym.h> and <bp-asm.h>.
32175 (memset): Don't use BP_SYM.
32176 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32177 <bp-sym.h> and <bp-asm.h>.
32178 (__rawmemchr): Don't use BP_SYM.
32179 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32180 <bp-sym.h> and <bp-asm.h>.
32181 (__STRCMP): Don't use BP_SYM.
32182 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32183 <bp-sym.h> and <bp-asm.h>.
32184 (strchr): Don't use BP_SYM.
32185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32186 <bp-sym.h> and <bp-asm.h>.
32187 (__strchrnul): Don't use BP_SYM.
32188 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32189 <bp-sym.h> and <bp-asm.h>.
32190 (strlen): Don't use BP_SYM.
32191 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32192 <bp-sym.h> and <bp-asm.h>.
32193 (strncmp): Don't use BP_SYM.
32194 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32195 <bp-sym.h> and <bp-asm.h>.
32196 (__strnlen): Don't use BP_SYM.
32197 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32199 (__mpn_rshift): Don't use BP_SYM.
32200 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32201 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32202 <bp-sym.h> and <bp-asm.h>.
32203 (__sigsetjmp): Don't use BP_SYM.
32204 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32205 (L(start_addresses)): Don't use BP_SYM.
32206 (_start): Likewise.
32207 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32209 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32210 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32211 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32212 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32214 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32215 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32216 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32217 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32219 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32221 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32222 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32224 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32226 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32227 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32228 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32230 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32232 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32234 (strncmp): Don't use BP_SYM,
32235 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32237 (__mpn_sub_n): Don't use BP_SYM.
32238 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32239 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32241 (__mpn_submul_1): Don't use BP_SYM.
32242 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32244 <bp-sym.h> and <bp-asm.h>.
32245 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32247 <bp-sym.h> and <bp-asm.h>.
32248 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32251 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32254 Use ZK to minimize writes to Z.
32255 (sub_magnitudes): Simplify code a bit.
32256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32257 Use ZK to minimize writes to Z.
32258 (sub_magnitudes): Simplify code a bit.
32260 2013-02-27 Roland McGrath <roland@hack.frob.com>
32262 * csu/gmon-start.c: Add special exception to license text.
32264 2013-02-27 Richard Henderson <rth@redhat.com>
32266 * scripts/config.guess: Update from config.git.
32267 * scripts/config.sub: Likewise.
32269 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32273 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32275 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32277 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32279 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32281 2013-02-26 Roland McGrath <roland@hack.frob.com>
32283 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32284 [$(build-shared = yes].
32286 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32288 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32289 (__mul): Reduce iterations for calculating mantissa.
32291 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32293 (__mpranred): Likewise.
32296 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32297 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32299 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32301 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32302 Define __attribute__.
32304 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32306 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32308 * posix/regex_internal.h (__attribute): Remove.
32309 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32310 (re_string_context_at): Likewise.
32311 (bitset_not): Use __attribute__ and mark function as possibly
32313 (bitset_merge): Likewise.
32314 (bitset_mask): Likewise.
32315 (re_string_char_size_at): Likewise.
32316 (re_string_wchar_at): Likewise.
32317 (re_string_elem_size_at): Likewise.
32319 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32321 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32325 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32329 (denorm): Likewise.
32330 (__dbl_mp): Likewise.
32331 (add_magnitudes): Likewise.
32332 (sub_magnitudes): Likewise.
32336 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32339 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32342 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32346 up changes with default code.
32347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32350 2013-02-24 Allan McRae <allan@archlinux.org>
32352 * manual/socket.texi (The Internet Namespace): Order menu items
32353 to match that in the file.
32355 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32356 node listing of the info page menu.
32358 2013-02-21 Joseph Myers <joseph@codesourcery.com>
32361 * sysdeps/i386/bp-asm.h: Remove file.
32362 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32363 (PARMS): Do not use macros from bp-asm.h.
32367 (__mpn_add_n): Do not use BP_SYM
32368 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32370 (PARMS): Do not use macros from bp-asm.h.
32373 (__mpn_addmul_1): Do not use BP_SYM
32374 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32376 (PARMS): Do not use macros from bp-asm.h.
32377 (SIGMSK): Likewise.
32378 (_setjmp): Likewise. Do not use BP_SYM.
32379 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32381 (PARMS): Do not use macros from bp-asm.h.
32382 (SIGMSK): Likewise.
32383 (setjmp): Likewise. Do not use BP_SYM.
32384 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32386 (PARMS): Do not use macros from bp-asm.h.
32387 (__frexp): Do not use BP_SYM.
32389 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32391 (PARMS): Do not use macros from bp-asm.h.
32392 (__frexpf): Do not use BP_SYM.
32393 (frexpf): Likewise.
32394 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32396 (PARMS): Do not use macros from bp-asm.h.
32397 (__frexpl): Do not use BP_SYM.
32398 (frexpl): Likewise.
32399 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32401 (PARMS): Do not use macros from bp-asm.h.
32402 (__remquo): Do not use BP_SYM.
32403 (remquo): Likewise.
32404 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32406 (PARMS): Do not use macros from bp-asm.h.
32407 (__remquof): Do not use BP_SYM.
32408 (remquof): Likewise.
32409 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32411 (PARMS): Do not use macros from bp-asm.h.
32412 (__remquol): Do not use BP_SYM.
32413 (remquol): Likewise.
32414 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32416 (PARMS): Do not use macros from bp-asm.h.
32419 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32420 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32422 (PARMS): Do not use macros from bp-asm.h.
32423 (strlen): Do not use BP_SYM.
32424 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32426 (PARMS): Do not use macros from bp-asm.h.
32430 (__mpn_add_n): Do not use BP_SYM.
32431 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32433 (PARMS): Do not use macros from bp-asm.h.
32436 (__mpn_addmul_1): Do not use BP_SYM.
32437 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32440 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32442 (PARMS): Do not use macros from bp-asm.h.
32445 (__mpn_lshift): Do not use BP_SYM.
32446 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32448 (PARMS): Do not use macros from bp-asm.h.
32452 (memcpy): Likewise. Do not use BP_SYM.
32453 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32454 libc_hidden_def and weak_alias.
32455 (mempcpy): Do not use BP_SYM in weak_alias.
32456 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32458 (PARMS): Do not use macros from bp-asm.h.
32461 [!BZERO_P] (CHR): Likewise.
32462 (memset): Likewise. Do not use BP_SYM.
32463 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32465 (PARMS): Do not use macros from bp-asm.h.
32468 (__mpn_mul_1): Do not use BP_SYM.
32469 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32471 (PARMS): Do not use macros from bp-asm.h.
32474 (__mpn_rshift): Do not use BP_SYM.
32475 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32477 (PARMS): Do not use macros from bp-asm.h.
32480 (strchr): Likewise. Do not use BP_SYM.
32481 (index): Do not use BP_SYM in weak_alias.
32482 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32484 (PARMS): Do not use macros from bp-asm.h.
32487 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32488 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32490 (PARMS): Do not use macros from bp-asm.h.
32491 (strlen): Do not use BP_SYM.
32492 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32494 (PARMS): Do not use macros from bp-asm.h.
32498 (__mpn_sub_n): Do not use BP_SYM.
32499 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32501 (PARMS): Do not use macros from bp-asm.h.
32504 (__mpn_submul_1): Do not use BP_SYM.
32505 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32507 (PARMS): Do not use macros from bp-asm.h.
32511 (__mpn_add_n): Do not use BP_SYM.
32512 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32515 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32517 (PARMS): Do not use macros from bp-asm.h.
32520 (memcmp): Do not use BP_SYM.
32521 (bcmp): Do not use BP_SYM in weak_alias.
32522 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32524 (PARMS): Do not use macros from bp-asm.h.
32528 (memcpy): Likewise. Do not use BP_SYM.
32529 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32531 (PARMS): Do not use macros from bp-asm.h.
32535 (memmove): Likewise. Do not use BP_SYM.
32536 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32538 (PARMS): Do not use macros from bp-asm.h.
32542 (__mempcpy): Likewise. Do not use BP_SYM.
32543 (mempcpy): Do not use BP_SYM in weak_alias.
32544 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32546 (PARMS): Do not use macros from bp-asm.h.
32549 [!BZERO_P] (CHR): Likewise.
32550 (memset): Likewise. Do not use BP_SYM.
32551 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32553 (PARMS): Do not use macros from bp-asm.h.
32555 (strcmp): Do not use BP_SYM.
32556 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32558 (PARMS): Do not use macros from bp-asm.h.
32561 [USE_AS_STRTOK_R] (SAVE): Likewise.
32562 (FUNCTION): Likewise. Do not use BP_SYM.
32563 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32565 (strtok_r): Likewise.
32566 (__GI___strtok_r): Likewise.
32567 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32568 (PARMS): Do not use macros from bp-asm.h.
32571 (__mpn_lshift): Do not use BP_SYM.
32572 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32573 (PARMS): Do not use macros from bp-asm.h.
32576 (__memchr): Do not use BP_SYM.
32577 (memchr): Do not use BP_SYM in weak_alias.
32578 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32579 (PARMS): Do not use macros from bp-asm.h.
32582 (memcmp): Do not use BP_SYM.
32583 (bcmp): Do not use BP_SYM in weak_alias.
32584 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32585 (PARMS): Do not use macros from bp-asm.h.
32588 (__mpn_mul_1): Do not use BP_SYM.
32589 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32591 (PARMS): Do not use macros from bp-asm.h.
32594 (__rawmemchr): Do not use BP_SYM.
32595 (rawmemchr): Do not use BP_SYM in weak_alias.
32596 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32597 (PARMS): Do not use macros from bp-asm.h.
32600 (__mpn_rshift): Do not use BP_SYM.
32601 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32602 (PARMS): Do not use macros from bp-asm.h.
32603 (SIGMSK): Likewise.
32604 (__sigsetjmp): Likewise. Do not use BP_SYM.
32605 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32606 (_start): Do not use BP_SYM.
32607 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32608 (PARMS): Do not use macros from bp-asm.h.
32611 (__stpcpy): Likewise. Do not use BP_SYM.
32612 (stpcpy): Do not use BP_SYM in weak_alias.
32613 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32615 (PARMS): Do not use macros from bp-asm.h.
32619 (__stpncpy): Likewise. Do not use BP_SYM.
32620 (stpncpy): Do not use BP_SYM in weak_alias.
32621 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32622 (PARMS): Do not use macros from bp-asm.h.
32625 (strchr): Likewise. Do not use BP_SYM.
32626 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32628 (PARMS): Do not use macros from bp-asm.h.
32631 (__strchrnul): Likewise. Do not use BP_SYM.
32632 (strchrnul): Do not use BP_SYM in weak_alias.
32633 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32635 (PARMS): Do not use macros from bp-asm.h.
32637 (strcspn): Do not use BP_SYM.
32638 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32640 (PARMS): Do not use macros from bp-asm.h.
32643 (strpbrk): Likewise. Do not use BP_SYM.
32644 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32646 (PARMS): Do not use macros from bp-asm.h.
32649 (strrchr): Likewise. Do not use BP_SYM.
32650 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32651 (PARMS): Do not use macros from bp-asm.h.
32653 (strspn): Do not use BP_SYM.
32654 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32655 (PARMS): Do not use macros from bp-asm.h.
32659 (FUNCTION): Likewise. Do not use BP_SYM.
32660 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32662 (strtok_r): Likewise.
32663 (__GI___strtok_r): Likewise.
32664 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32665 (PARMS): Do not use macros from bp-asm.h.
32669 (__mpn_sub_n): Do not use BP_SYM.
32670 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32672 (PARMS): Do not use macros from bp-asm.h.
32675 (__mpn_submul_1): Do not use BP_SYM.
32676 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32678 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32680 (PARMS): Do not use macros from bp-asm.h.
32685 (__clone): Do not use BP_SYM.
32686 (clone): Do not use BP_SYM in weak_alias.
32687 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32689 (PARMS): Do not use macros from bp-asm.h.
32691 (__mmap64): Do not use BP_SYM.
32692 (mmap64): Do not use BP_SYM in weak_alias.
32693 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32694 <bp-sym.h> and <bp-asm.h>.
32695 (PARMS): Do not use macros from bp-asm.h.
32696 (__posix_fadvise64_l64): Do not use BP_SYM.
32697 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32698 (PARMS): Do not use macros from bp-asm.h.
32700 (semtimedop): Do not use BP_SYM.
32701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32704 2013-02-21 Allan McRae <allan@archlinux.org>
32706 * manual/message.texi (Charset conversion in gettext):
32707 Move @end statement to beginning of line.
32709 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32716 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32717 (denorm): Likewise.
32718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32721 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32723 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32724 tail-call to the resolved function if pltexit isn't needed.
32726 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32729 or Y being zero as being unlikely.
32730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32733 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32735 * manual/nss.texi (System Databases and Name Service Switch):
32736 Remove frobnicate @pxref.
32738 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32740 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32741 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32743 2013-02-20 Petr Machata <pmachata@redhat.com>
32745 * elf/elf.h (R_ARM_TARGET1): New macro.
32746 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32747 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32748 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32749 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32750 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32751 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32752 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32753 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32754 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32755 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32756 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32757 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32758 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32759 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32760 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32761 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32762 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32763 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32764 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32765 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32766 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32767 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32768 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32769 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32770 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32771 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32772 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32773 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32774 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32775 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32776 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32777 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32778 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32779 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32780 (R_ARM_THM_GOT_BREL12): Likewise.
32781 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32782 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32783 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32784 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32785 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32786 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32787 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32788 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32789 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32791 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32793 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32794 __attribute_used__ to __attribute__ ((unused)).
32796 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32798 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32801 comment formatting.
32802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32804 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32807 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32809 (ENTER): Remove both macro definitions.
32811 (CHECK_BOUNDS_LOW): Likewise.
32812 (CHECK_BOUNDS_HIGH): Likewise.
32813 (CHECK_BOUNDS_BOTH): Likewise.
32814 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32815 (RETURN_BOUNDED_POINTER): Likewise.
32816 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32817 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32818 (POP_ERRNO_LOCATION_RETURN): Likewise.
32819 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32820 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32821 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32823 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32824 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32825 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32826 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32827 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32828 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32829 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32830 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32831 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32832 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32833 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32834 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32835 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32836 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32839 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32841 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32842 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32843 * sysdeps/i386/i586/memset.S (memset): Likewise.
32844 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32845 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32846 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32848 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32849 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32850 Change uses of L(2) to L(out).
32851 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32852 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32853 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32854 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32855 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32857 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32858 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32860 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32861 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32862 (RETURN): Do not use macro LEAVE.
32863 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32864 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32865 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32866 * sysdeps/i386/i686/memset.S (memset): Likewise.
32867 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32868 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32869 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32870 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32872 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32873 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32874 L(1_2) and L(1_3) into L(1).
32875 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32876 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32877 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32878 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32879 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32880 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32881 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32882 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32883 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32885 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32886 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32887 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32888 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32889 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32890 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32891 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32892 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32893 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32894 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32895 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32896 * sysdeps/i386/strspn.S (strspn): Likewise.
32897 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32899 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32900 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32901 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32902 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32903 L(1_3) into L(1_1).
32904 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32905 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32906 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32908 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32910 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32912 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32915 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32917 * math/atest-exp.c (exp_mpn): Remove ROUND.
32918 * math/atest-exp2.c (exp_mpn): Likewise.
32919 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32921 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32922 * stdlib/tst-tls-atexit-lib.c: Likewise.
32923 * stdlib/tst-tls-atexit.c: Likewise.
32925 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32927 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32928 and __attribute_alloc_size__.
32930 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32932 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32933 __attribute_alloc_size__.
32934 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32935 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32937 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32939 * include/programs/xmalloc.h: New file.
32940 * catgets/gencat.c: Include it.
32941 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32942 * elf/pldd.c: Likewise.
32943 * iconv/iconv_charmap.c: Likewise.
32944 * iconv/iconvconfig.c: Likewise.
32945 * iconv/strtab.c: Likewise.
32946 * locale/programs/locale.c: Likewise.
32947 * locale/programs/localedef.h: Likewise.
32948 * locale/programs/simple-hash.c: Likewise.
32949 * nscd/nscd.h: Likewise.
32950 * nss/makedb.c: Likewise.
32951 * sysdeps/generic/ldconfig.h: Likewise.
32953 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32955 * Versions.def: Add GLIBC_2.18.
32956 * include/link.h (struct link_map): New member l_tls_dtor_count.
32957 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32958 (__call_tls_dtors): Likewise.
32959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32960 __cxa_thread_atexit_impl.
32961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32977 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32978 (tests): Add test case tst-tls-atexit.
32979 (modules-names): Add shared library for tst-tls-atexit.
32980 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32981 (GLIBC_PRIVATE): Add __call_tls_dtors.
32982 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32984 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32985 * stdlib/tst-tls-atexit.c: New test case.
32986 * stdlib/tst-tls-atexit-lib.c: New test case.
32988 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32990 * elf/Versions (ld): Add _dl_find_dso_for_object.
32991 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32992 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32993 (dl_open_worker): Use _dl_find_dso_for_object.
32994 * elf/dl-sym.c (do_sym): Likewise.
32995 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32997 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32999 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33000 Syntactic changes only.
33001 (_dl_runtime_profile): Do a tail-call to the resolved function.
33003 2013-02-17 Joseph Myers <joseph@codesourcery.com>
33006 * sysdeps/x86_64/bp-asm.h: Remove file.
33007 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33008 <bp-sym.h> and <bp-asm.h>.
33009 (__clone): Do not use BP_SYM.
33010 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33011 <bp-sym.h> and <bp-asm.h>.
33012 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33013 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33015 (_setjmp): Do not use BP_SYM.
33016 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33018 (setjmp): Do not use BP_SYM.
33019 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33021 (mempcpy): Do not use BP_SYM in weak_alias.
33022 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33024 (strchr): Do not use BP_SYM.
33025 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33027 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33028 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33029 (_start): Do not use BP_SYM.
33030 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33032 (strcat): Do not use BP_SYM.
33033 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33035 (STRCMP): Do not use BP_SYM.
33036 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33038 (STRCPY): Do not use BP_SYM.
33039 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33041 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33043 (FUNCTION): Do not use BP_SYM.
33044 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33046 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33048 2013-02-17 Andreas Jaeger <aj@suse.de>
33050 * time/Versions: Sort entries.
33051 * string/Versions: Likewise.
33052 * resolv/Versions: Likewise.
33053 * posix/Versions: Likewise.
33054 * iconv/Versions: Likewise.
33055 * elf/Versions: Likewise.
33056 * wcsmbs/Versions: Likewise.
33058 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33060 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33061 loop termination condition.
33063 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33064 variable to calculate EZ.
33067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33068 the lower precision input.
33070 2013-02-15 Joseph Myers <joseph@codesourcery.com>
33073 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33074 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33075 (run-via-rtld-prefix): Do not handle %-bp tests.
33076 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33077 (all-object-suffixes): Remove .ob.
33078 (bppfx): Remove variable.
33079 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33080 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33081 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33082 [$(build-bounded) = yes] (libtype.ob): Likewise.
33083 * Makerules (elide-routines.ob): Remove variable.
33084 (do-tests-clean): Do not handle *-bp.out.
33085 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33086 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33087 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33088 (tests): Do not include $(tests-bp.out).
33089 (xtests): Do not include $(xtests-bp.out).
33090 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33091 [$(build-bounded) = yes] ($(addprefix
33092 $(objpfx),$(binaries-bounded))): Remove rule.
33093 ($(objpfx)%-bp.out): Remove rule.
33094 * config.make.in (build-bounded): Remove variable.
33095 * crypt/Makefile [$(build-bounded) = yes]
33096 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33097 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33098 append to variable.
33099 [$(build-bounded) = yes] (install-lib): Likewise.
33100 [$(build-bounded) = yes] (generated): Likewise.
33101 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33103 * intl/Makefile [$(build-bounded) = yes]
33104 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33105 * math/Makefile [$(build-bounded) = yes]
33106 ($(tests:%=$(objpfx)%-bp): Likewise.
33107 * misc/Makefile [$(build-bounded) = yes]
33108 ($(objpfx)tst-tsearch-bp): Likewise.
33109 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33110 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33112 * string/Makefile (o-objects.ob): Remove variable.
33113 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33114 (CFLAGS-.ob): Remove variable.
33115 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33116 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33117 both definitions of variable.
33118 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33119 (ASFLAGS-.ob): Remove variable.
33121 2013-02-14 Joseph Myers <joseph@codesourcery.com>
33124 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33125 Remove __BOUNDED_POINTERS__ from condition.
33126 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33127 * string/bits/string2.h [!__NO_STRING_INLINES &&
33128 !__BOUNDED_POINTERS__]: Likewise.
33129 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33131 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33132 Remove conditional code.
33133 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33134 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33135 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33139 * csu/libc-start.c: Do not include <bp-sym.h>.
33140 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33141 * elf/dl-open.c: Do not include <bp-sym.h>.
33142 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33143 * math/fegetenv.c: Do not include <bp-sym.h>.
33144 (fegetenv): Do not use BP_SYM in versioned symbols.
33145 * nptl/sysdeps/pthread/bits/libc-lockP.h
33146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33149 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33151 (__pthread_mutex_destroy): Likewise.
33152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33153 (__pthread_mutex_lock): Likewise.
33154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33155 (__pthread_mutex_trylock): Likewise.
33156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33157 (__pthread_mutex_unlock): Likewise.
33158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33159 (__pthread_mutexattr_init): Likewise.
33160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33161 (__pthread_mutexattr_destroy): Likewise.
33162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33163 (__pthread_mutexattr_settype): Likewise.
33164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33165 (__pthread_rwlock_init): Likewise.
33166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33167 (__pthread_rwlock_destroy): Likewise.
33168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33169 (__pthread_rwlock_rdlock): Likewise.
33170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33171 (__pthread_rwlock_tryrdlock): Likewise.
33172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33173 (__pthread_rwlock_wrlock): Likewise.
33174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33175 (__pthread_rwlock_trywrlock): Likewise.
33176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33177 (__pthread_rwlock_unlock): Likewise.
33178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33179 (__pthread_key_create): Likewise.
33180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33181 (__pthread_setspecific): Likewise.
33182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33183 (__pthread_getspecific): Likewise.
33184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33187 (_pthread_cleanup_push_defer): Likewise.
33188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33189 (_pthread_cleanup_pop_restore): Likewise.
33190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33191 (pthread_setcancelstate): Likewise.
33192 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33194 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33195 (memchr): Do not use BP_SYM in weak_alias.
33196 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33197 (fegetenv): Do not use BP_SYM in versioned symbols.
33198 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33199 (fesetenv): Do not use BP_SYM in versioned symbols.
33200 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33201 (feupdateenv): Do not use BP_SYM in versioned symbols.
33202 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33203 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33204 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33205 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33206 (open64): Do not use BP_SYM in weak_alias.
33207 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33208 (fegetenv): Do not use BP_SYM in versioned symbols.
33209 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33210 (fesetenv): Do not use BP_SYM in versioned symbols.
33211 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33212 (feupdateenv): Do not use BP_SYM in versioned symbols.
33213 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33214 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33215 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33216 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33217 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33218 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33219 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33221 (__libc_start_main): Do not use BP_SYM.
33223 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33226 redundant return line.
33228 (denorm): Likewise.
33229 (dbl_mp): Likewise.
33230 (sub_magnitudes): Likewise.
33236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33238 (denorm): Likewise.
33239 (dbl_mp): Likewise.
33240 (sub_magnitudes): Likewise.
33247 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33249 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33250 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33253 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33254 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33256 of __mul for squares.
33257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33264 2013-02-13 Joseph Myers <joseph@codesourcery.com>
33267 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33269 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33270 prototype or function definition. Rename ubp_* variables and
33271 parameters. Remove argv definitions conditional on
33272 [__BOUNDED_POINTERS__].
33273 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33274 * elf/dl-runtime.c (_dl_fixup): Likewise.
33275 * include/set-hooks.h (RUN_HOOK): Likewise.
33276 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33278 * string/strcpy.c (strcpy): Do not use __unbounded.
33279 * sysdeps/generic/frame.h (struct layout): Likewise.
33280 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33281 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33282 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33283 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33284 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33285 (__backtrace): Likewise.
33286 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33288 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33289 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33290 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33292 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33293 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33295 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33296 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33297 Do not use __unbounded.
33298 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33299 Rename __unboundedrlimits parameter to rlimits in prototype.
33300 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33301 Do not use __unbounded.
33302 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33303 not use __ptrvalue.
33304 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33305 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33306 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33307 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33308 __ptrvalue or __unbounded.
33309 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33310 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33312 (__new_msgctl): Do not use __ptrvalue.
33313 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33315 (__libc_msgrcv): Do not use __ptrvalue.
33316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33317 startup_info): Do not use __unbounded.
33318 (__libc_start_main): Likewise. Rename ubp_* variables and
33319 parameters. Remove argv definitions conditional on
33320 [__BOUNDED_POINTERS__].
33321 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33323 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33325 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33327 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33329 (__new_shmctl): Do not use __ptrvalue.
33330 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33331 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33333 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33335 (__libc_sigaction): Likewise.
33336 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33337 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33339 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33341 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
33343 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33345 * string/mempcpy.c: Implement by calling memcpy.
33347 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33349 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33354 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33355 values in the mantissa.
33357 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33358 minimize writes to Z.
33359 (sub_magnitudes): Simplify code a bit.
33361 2013-02-12 Roland McGrath <roland@hack.frob.com>
33363 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33364 from the message. The linker prefixes all warnings with that already.
33366 2013-02-12 Andreas Schwab <schwab@suse.de>
33369 * posix/regexec.c (extend_buffers): Add parameter min_len.
33370 (check_matching): Pass minimum needed length.
33371 (clean_state_log_if_needed): Likewise.
33372 (get_subexp): Likewise.
33373 * posix/Makefile (tests): Add bug-regex34.
33374 (bug-regex34-ENV): Define.
33375 * posix/bug-regex34.c: New file.
33378 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33379 elements compare against the byte sequence of it, not its name.
33380 * posix/Makefile (tests): Add bug-regex35.
33381 (bug-regex35-ENV): Define.
33382 * posix/bug-regex35.c: New file.
33384 2013-02-11 Tom de Vries <tom@codesourcery.com>
33386 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33388 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33389 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33390 (CHECK_EOL): Add undef.
33392 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
33394 * bits/stdlib-bsearch.h: New file.
33395 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33396 * stdlib/stdlib.h: Likewise.
33398 2013-02-11 Roland McGrath <roland@hack.frob.com>
33400 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33401 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33403 * manual/search.texi (Array Search Function): Add missing const in
33405 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33406 declaration to use rlim_t.
33407 (Basic Scheduling Functions): Remove erroneous const from
33408 sched_getparam prototype. Remove erroneous * from
33409 sched_get_priority_max and sched_get_priority_min prototypes.
33410 (Resource Usage): Fix summary @comment on vtimes to refer to
33411 sys/vtimes.h rather than vtimes.h.
33412 Add missing *s in vtimes prototype.
33413 (Limits on Resources): Fix ulimit prototype to return long int.
33414 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33415 prototypes to use long int rather than double.
33416 (BSD Random): Fix initstate and setstate to use char *, not void *.
33417 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33418 prototype to make second argument 'struct aiocb64 *const[]'.
33419 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33420 (Status of AIO Operations): Remove erroneous const in aio_return and
33421 aio_return64 prototypes.
33422 (Synchronizing I/O): Fix sync prototype to return void.
33423 * manual/startup.texi (Suboptions): Remove an erroneous const in
33424 getsubopt prototype.
33425 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33426 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33427 use size_t rather than int.
33428 (Scanning All Users): Likewise for getpwent_r.
33429 (Setting Groups): Add missing const to setgroups prototype.
33430 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33431 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33432 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33433 'const void *' rather than 'const char *'.
33434 (Host Address Functions): Likewise for inet_ntop.
33435 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33436 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33437 ssize_t for return value.
33438 (Sending Data): Likewise for send, sendto, sendmsg.
33439 (Socket Option Functions): Add a missing const in setsockopt prototype.
33440 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33441 use wchar_t for the argument.
33442 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33443 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33445 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33446 double/float/long double for second argument.
33447 Fix return types of significand, significandf, significandl.
33448 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33449 argument in fchmod prototype.
33450 (File Owner): Use uid_t and gid_t in fchown prototype.
33451 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33452 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33453 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33454 use 'const struct dirent **' as argument types to CMP function pointer
33456 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33457 (File Times): Fix summary magic @comment for struct utimbuf and utime
33458 to refer to utime.h, not time.h.
33459 * manual/string.texi (Argz Functions): Add missing const in
33460 argz_extract and argz_next prototypes.
33461 (Finding Tokens in a String): Likewise for basename.
33462 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33463 (Copying and Concatenation): Fix typo in wmemmove prototype.
33464 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33465 (Signal Stack): Remove erroneous const in sigstack prototype.
33466 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33468 (Simple Calendar Time): Likewise for stime.
33469 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33471 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33472 say sys/sysctl.h instead.
33473 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33474 and vsyslog prototypes.
33476 2013-02-11 Tom de Vries <tom@codesourcery.com>
33478 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33481 2013-02-11 Roland McGrath <roland@hack.frob.com>
33483 * misc/sys/mman.h: Fix typo in mremap comment.
33485 2013-02-08 Roland McGrath <roland@hack.frob.com>
33487 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33488 the '\0' terminator.
33490 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33493 * debug/segfault.c: Don't include <bp-checks.h>.
33494 * sysdeps/generic/bp-checks.h: Remove file.
33495 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33496 (__GETDENTS): Don't use CHECK_N.
33497 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33498 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33499 (__getgroups): Don't use CHECK_N.
33500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33501 (setgroups): Don't use CHECK_N.
33502 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33503 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33504 (__libc_msgrcv): Don't use CHECK_N.
33505 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33506 (__libc_msgsnd): Don't use CHECK_N.
33507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33509 (__libc_pread): Don't use CHECK_N.
33510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33511 include <bp-checks.h>.
33512 (__libc_pread64): Don't use CHECK_N.
33513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33514 include <bp-checks.h>.
33515 (__libc_pwrite): Don't use CHECK_N.
33516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33517 include <bp-checks.h>.
33518 (__libc_pwrite64): Don't use CHECK_N.
33519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33521 (__libc_pread): Don't use CHECK_N.
33522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33523 include <bp-checks.h>.
33524 (__libc_pread64): Don't use CHECK_N.
33525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33526 include <bp-checks.h>.
33527 (__libc_pwrite): Don't use CHECK_N.
33528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33529 include <bp-checks.h>.
33530 (__libc_pwrite64): Don't use CHECK_N.
33531 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33532 (do_pread): Don't use CHECK_N.
33533 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33534 (do_pread64): Don't use CHECK_N.
33535 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33536 (do_pwrite): Don't use CHECK_N.
33537 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33538 (do_pwrite64): Don't use CHECK_N.
33539 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33540 (__libc_readv): Don't use CHECK_N.
33541 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33542 (semop): Don't use CHECK_N.
33543 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33545 (semtimedop): Don't use CHECK_N.
33546 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33547 (__libc_pread): Don't use CHECK_N.
33548 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33550 (__libc_pread64): Don't use CHECK_N.
33551 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33553 (__libc_pwrite): Don't use CHECK_N.
33554 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33556 (__libc_pwrite64): Don't use CHECK_N.
33557 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33559 (__libc_msgrcv): Don't use CHECK_N.
33560 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33561 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33562 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33563 (__libc_writev): Don't use CHECK_N.
33565 2013-02-08 Roland McGrath <roland@hack.frob.com>
33567 * string/strcpy.c: Removed unused variable.
33569 * Makeconfig (+sysdep-includes): Define with := rather than =.
33570 Use an existing include/ subdir of each sysdeps dir before it.
33572 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33574 * nscd/connection.c (register_traced_file): Comment function.
33575 [HAVE_INOTIFY] (union __inev): Define.
33576 [HAVE_INOTIFY] (inotify_check_files): New function.
33577 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33578 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33580 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33582 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33584 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33585 loaded if not already and that a failure is permanent.
33587 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33590 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33591 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33593 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33596 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33597 (CHECK_1_NULL_OK): Likewise.
33598 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33599 (__fxstat): Do not use CHECK_1.
33600 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33602 (___fxstat64): Do not use CHECK_1.
33603 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33605 (__fxstatat): Do not use CHECK_1.
33606 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33608 (__fxstatat64): Do not use CHECK_1.
33609 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33611 (__fxstat): Do not use CHECK_1.
33612 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33614 (__fxstatat): Do not use CHECK_1.
33615 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33617 (__getresgid): Do not use CHECK_1.
33618 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33620 (__getresuid): Do not use CHECK_1.
33621 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33623 (__lxstat): Do not use CHECK_1.
33624 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33626 (__old_msgctl): Do not use CHECK_1.
33627 (__new_msgctl): Likewise.
33628 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33630 (__new_setrlimit): Do not use CHECK_1.
33631 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33633 (__old_shmctl): Do not use CHECK_1.
33634 (__new_shmctl): Likewise.
33635 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33637 (__xstat): Do not use CHECK_1.
33638 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33639 (__lxstat): Do not use CHECK_1.
33640 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33642 (___lxstat64): Do not use CHECK_1.
33643 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33644 (__old_msgctl): Do not use CHECK_1.
33645 (__new_msgctl): Likewise.
33646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33648 (__gettimeofday): Do not use CHECK_1.
33649 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33650 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33651 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33653 (__gettimeofday): Do not use CHECK_1.
33654 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33655 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33656 (__new_shmctl): Do not use CHECK_1.
33657 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33659 (do_sigtimedwait): Do not use CHECK_1.
33660 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33662 (do_sigwaitinfo): Do not use CHECK_1.
33663 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33665 (msgctl): Do not use CHECK_1.
33666 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33668 (shmctl): Do not use CHECK_1.
33669 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33670 (ustat): Do not use CHECK_1.
33671 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33673 (__fxstat): Do not use CHECK_1.
33674 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33676 (__fxstatat): Do not use CHECK_1.
33677 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33679 (__lxstat): Do not use CHECK_1.
33680 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33682 (__xstat): Do not use CHECK_1.
33683 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33684 (__xstat): Do not use CHECK_1.
33685 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33686 (___xstat64): Do not use CHECK_1.
33689 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33691 (CHECK_BOUNDS_HIGH): Likewise.
33692 * string/strcpy.c: Do not include <bp-checks.h>.
33693 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33695 2013-02-07 Roland McGrath <roland@hack.frob.com>
33697 * nscd/nscd-client.h (__nscd_drop_map_ref):
33698 Add __attribute__ ((unused)).
33699 * nis/nss-nisplus.h (niserr2nss): Likewise.
33701 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33702 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33704 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33705 Remove inline keyword.
33706 * include/rounding-mode.h (round_away): Likewise.
33707 * libio/wfileops.c (adjust_wide_data): Likewise.
33708 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33709 (__m128i_strloadu_tolower): Likewise.
33710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33711 (__m128i_strloadu_tolower): Likewise.
33712 * time/mktime.c (ydhms_diff): Likewise.
33713 * locale/elem-hash.h (elem_hash): Likewise.
33714 * locale/setlocale.c (setdata): Likewise.
33715 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33716 (re_string_wchar_at): Likewise.
33717 (bitset_not, bitset_merge, bitset_mask): Likewise.
33718 [!(__GNUC__ > 3)] (inline): Remove macro.
33719 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33720 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33721 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33722 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33723 * string/memcmp.c (memcmp_bytes): Likewise.
33724 * locale/programs/locarchive.c (compute_hashval): Likewise.
33725 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33726 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33727 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33728 * nss/getent.c (print_rpc, print_protocols): Likewise.
33729 (print_passwd, print_group, print_aliases): Likewise.
33730 * nis/nss-nisplus.h (niserr2nss): Likewise.
33731 * nscd/connections.c (restart_p): Likewise.
33732 Change return type to bool.
33734 2013-02-05 Roland McGrath <roland@hack.frob.com>
33736 * Makeconfig (all-Depend-files): Add existing
33737 $(sorted-subdirs:=/Depend) files.
33738 (all-subdirs): Remove nss.
33739 * sysdeps/unix/inet/Subdirs: Add it here instead.
33740 * hesiod/Depend: New file.
33742 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33743 instead of calling alloca.
33745 * io/lseek.c (__lseek): Rename to __libc_lseek.
33746 Define __lseek as an alias.
33748 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33750 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33752 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33753 else clause and remove check for non-standard endianness.
33755 2013-02-04 David S. Miller <davem@davemloft.net>
33757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33759 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33762 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33763 (__ubp_memchr): Remove prototype.
33764 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33765 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33766 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33767 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33768 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33770 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33771 (__ubp_memchr): Likewise.
33772 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33773 (__ubp_memchr): Likewise.
33774 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33775 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33776 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33777 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33779 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33780 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33781 (__getcwd): Do not use CHECK_STRING.
33782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33784 (__real_chown): Do not use CHECK_STRING.
33785 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33787 (fchownat): Do not use CHECK_STRING.
33788 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33792 (__lchown): Do not use CHECK_STRING.
33793 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33794 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33795 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33796 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33798 include <bp-checks.h>.
33799 (truncate64): Do not use CHECK_STRING.
33800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33802 (__real_chown): Do not use CHECK_STRING.
33803 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33805 (__lchown): Do not use CHECK_STRING.
33806 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33808 (__chown): Do not use CHECK_STRING.
33809 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33811 (truncate64): Do not use CHECK_STRING.
33812 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33814 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33815 (__xmknod): Do not use CHECK_STRING.
33816 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33818 (__xmknodat): Do not use CHECK_STRING.
33819 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33820 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33822 2013-02-04 Andreas Schwab <schwab@suse.de>
33825 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33826 * include/netdb.h: Likewise for h_errno.
33827 * elf/tst-stackguard1.c: Include <tls.h>.
33829 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33831 * elf/link.h (struct link_map): Extend the l_addr comment.
33832 * include/link.h (struct link_map): Likewise.
33834 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33837 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33838 (BOUNDED_1): Remove macro.
33839 * debug/backtrace.c: Don't include <bp-checks.h>.
33840 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33841 (__backtrace): Likewise.
33842 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33844 (__backtrace): Don't use BOUNDED_1.
33845 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33847 (__backtrace): Don't use BOUNDED_1.
33848 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33849 (__backtrace): Don't use BOUNDED_1.
33850 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33851 (shmat): Don't use BOUNDED_N.
33853 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33856 * sysdeps/generic/bp-start.h: Remove file.
33857 * csu/libc-start.c: Don't include <bp-start.h>.
33858 (LIBC_START_MAIN): Set up __environ directly instead of using
33859 INIT_ARGV_and_ENVIRON.
33860 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33864 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33866 (CHECK_FCNTL): Likewise.
33867 (CHECK_N_PAGES): Likewise.
33870 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33872 (CHECK_SIGSET_NULL_OK): Likewise.
33873 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33875 (sigpending): Don't use CHECK_SIGSET.
33876 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33878 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33879 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33881 (do_sigsuspend): Don't use CHECK_SIGSET.
33882 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33884 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33885 (do_sigwait): Don't use CHECK_SIGSET.
33886 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33888 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33889 include <bp-checks.h>.
33890 (sigpending): Don't use CHECK_SIGSET.
33891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33892 include <bp-checks.h>.
33893 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33894 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33896 (sigpending): Don't use CHECK_SIGSET.
33897 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33899 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33902 * sysdeps/generic/bp-semctl.h: Remove file.
33903 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33904 <bp-checks.h> and <bp-semctl.h>.
33905 (__old_semctl): Don't use CHECK_SEMCTL.
33906 (__new_semctl): Likewise.
33907 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33909 (__old_semctl): Don't use CHECK_SEMCTL.
33910 (__new_semctl): Likewise.
33911 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33912 <bp-checks.h> and <bp-semctl.h>.
33913 (__old_semctl): Don't use CHECK_SEMCTL.
33914 (__new_semctl): Likewise.
33915 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33916 <bp-checks.h> and <bp-semctl.h>.
33917 (semctl): Don't use CHECK_SEMCTL.
33920 * Makerules (elide-bp-thunks): Remove variable.
33921 (elide-routines.oS): Don't use $(elide-bp-thunks).
33922 (elide-routines.os): Likewise.
33923 (elide-routines.o): Likewise.
33924 (elide-routines.op): Likewise.
33925 (elide-routines.og): Likewise.
33926 (objects): Don't use $(bp-thunks).
33927 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33929 (common-generated): Do not add s-proto-bp.d.
33930 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33933 Do not generate makefile rules for bounded-pointer thunks.
33934 * sysdeps/generic/bp-thunks.h: Remove file.
33935 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33936 * sysdeps/unix/s-proto-bp.S: Likewise.
33939 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33940 parts of result separately when argument is not close to line from
33941 -i to i and one part of argument is small.
33942 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33943 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33944 * math/libm-test.inc (cacos_test): Add more tests.
33945 (casin_test): Likewise.
33946 (casinh_test): Likewise.
33947 * sysdeps/i386/fpu/libm-test-ulps: Update.
33948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33950 2013-01-31 David S. Miller <davem@davemloft.net>
33952 * po/de.po: Update from translation team.
33954 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33956 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33958 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33960 * configure.in (_AC_PROG_CC_C89): New definition.
33961 * configure: Regenerate.
33963 * configure.in (AC_PROG_CPP): New definition.
33964 * configure: Regenerate.
33966 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33968 * debug/tst-backtrace.h: New file.
33969 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33970 (ret): Remove variable.
33972 (FAIL): Remove macro.
33973 (NO_INLINE): Likewise.
33974 (fn1): Use match function instead of strstr.
33975 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33976 (ret): Remove variable.
33978 (FAIL): Remove macro.
33979 (NO_INLINE): Likewise.
33980 (fn): Use match function instead of strstr.
33981 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33982 (ret): Remove variable.
33984 (FAIL): Remove macro.
33985 (NO_INLINE): Likewise.
33986 (handle_signal): Use match function instead of strstr.
33987 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33988 (ret): Remove variable.
33990 (FAIL): Remove macro.
33991 (NO_INLINE): Likewise.
33992 (handle_signal): Use match function instead of strstr.
33994 2013-01-23 Roland McGrath <roland@hack.frob.com>
33996 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33998 2013-01-23 David S. Miller <davem@davemloft.net>
34000 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34001 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34002 argument of CAS if possible.
34003 * sysdeps/sparc/sparc64/bits/atomic.h
34004 (__arch_compare_and_exchange_val_32_acq): Likewise.
34005 (__arch_compare_and_exchange_val_64_acq): Likewise.
34007 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34009 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34010 * sysdeps/posix/ulimit.c: ... this.
34011 Include <limits.h>.
34012 * sysdeps/unix/bsd/ulimit.c: Remove file.
34014 2013-01-23 Adam Conrad <adconrad@0c3.net>
34016 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34017 (LDFLAGS-tst-array5): Likewise.
34019 2013-01-23 Joseph Myers <joseph@codesourcery.com>
34022 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34023 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34024 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34025 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34027 2013-01-21 David S. Miller <davem@davemloft.net>
34029 * sysdeps/sparc/backtrace.c: New file.
34030 * sysdeps/sparc/sparc32/backtrace.h: New file.
34031 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34032 * sysdeps/sparc/sparc64/backtrace.h: New file.
34033 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34034 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34037 2013-01-21 Andreas Schwab <schwab@suse.de>
34040 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34043 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34049 2013-01-18 Joseph Myers <joseph@codesourcery.com>
34050 Mark Mitchell <mark@codesourcery.com>
34051 Tom de Vries <tom@codesourcery.com>
34052 Paul Pluzhnikov <ppluzhnikov@google.com>
34054 * debug/tst-backtrace2.c: New file.
34055 * debug/tst-backtrace3.c: Likewise.
34056 * debug/tst-backtrace4.c: Likewise.
34057 * debug/tst-backtrace5.c: Likewise.
34058 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34059 (CFLAGS-tst-backtrace3.c): Likewise.
34060 (CFLAGS-tst-backtrace4.c): Likewise.
34061 (CFLAGS-tst-backtrace5.c): Likewise.
34062 (LDFLAGS-tst-backtrace2): Likewise.
34063 (LDFLAGS-tst-backtrace3): Likewise.
34064 (LDFLAGS-tst-backtrace4): Likewise.
34065 (LDFLAGS-tst-backtrace5): Likewise.
34066 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34067 tst-backtrace4 and tst-backtrace5.
34069 2013-01-18 Anton Blanchard <anton@samba.org>
34070 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34073 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34074 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34075 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34077 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34078 "+r" and remove output regs list as redundant. Add explicit inline
34079 asm to specify register of return val to work around compiler codegen
34080 bug. Remove (int) cast on return value. Add return type parameter to
34081 use in macro so that this macro does not truncate return value for
34083 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34084 pass to INTERNAL_VSYSCALL_NCS.
34085 (INLINE_VSYSCALL): Add 'long int' as return type to
34086 INTERNAL_VSYSCALL_NCS macro invocation.
34087 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34088 INTERNAL_VSYSCALL_NCS macro invocation.
34089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34091 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34094 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34095 Fix application of SIMD FP exception mask.
34097 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34098 mp_no from a power of two.
34099 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34100 __mpexp_twomm1. Use __pow_mp.
34102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34105 2013-01-17 David S. Miller <davem@davemloft.net>
34107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34109 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34112 * include/complex.h: Condition contents on [!_COMPLEX_H].
34113 (__kernel_casinhf): New prototype.
34114 (__kernel_casinh): Likewise.
34115 (__kernel_casinhl): Likewise.
34116 * math/Makefile (libm_calls): Add k_casinh.
34117 * math/k_casinh.c: New file.
34118 * math/k_casinhf.c: Likewise.
34119 * math/k_casinhl.c: Likewise.
34120 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34121 finite nonzero arguments.
34122 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34123 finite nonzero arguments.
34124 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34125 finite nonzero arguments.
34126 * math/s_casinh.c: Do not include <float.h>.
34127 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34128 * math/s_casinhf.c: Do not include <float.h>.
34129 (__casinhf): Move code for finite nonzero arguments to
34131 * math/s_casinhl.c: Do not include <float.h>.
34132 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34134 (__casinhl): Move code for finite nonzero arguments to
34136 * math/libm-test.inc (cacos_test): Add more tests.
34137 * sysdeps/i386/fpu/libm-test-ulps: Update.
34138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34140 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34142 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34143 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34144 [!HAVE_MREMAP]: Remove [defined linux] case.
34145 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34147 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34149 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34151 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
34153 * elf/elf.h (R_386_SIZE32): New relocation.
34154 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34156 (elf_machine_rela): Likewise.
34157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34158 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34160 2013-01-17 Joseph Myers <joseph@codesourcery.com>
34162 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34163 (FP_FAST_FMA): Do not define.
34164 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34165 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34166 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34167 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34168 !_SOFT_FLOAT]: Likewise.
34169 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34170 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34172 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34173 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34174 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34176 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34177 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34180 2013-01-16 Andreas Schwab <schwab@suse.de>
34183 * include/stdlib.h (__mktemp): Add declaration.
34184 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34185 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34187 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34189 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34191 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34192 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34193 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34195 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34196 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34198 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34200 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34201 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34202 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34204 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34205 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34207 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34209 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34211 2013-01-15 David S. Miller <davem@davemloft.net>
34213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34214 trunc{,f} to libm-sysdep_routes.
34215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34225 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34226 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34227 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34228 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34229 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34230 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34233 nearbyint{,f} to libm-sysdep_routes.
34234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34245 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34247 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34251 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34252 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34254 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34255 libc_feholdexcept and libc_fesetenv.
34257 2013-01-15 Mike Frysinger <vapier@gentoo.org>
34259 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34261 2013-01-14 David S. Miller <davem@davemloft.net>
34263 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34264 (SPARC_ASM_VIS2_IFUNC): Likewise.
34265 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34267 use of 'siam' instruction.
34268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34296 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34301 routines to libm-sysdep_routines.
34302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34305 fdim/fdimf to libm-sysdep_routines.
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34314 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34315 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34316 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34317 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34319 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34321 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34322 to optimize copies.
34324 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34329 local variable MPTWO.
34330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34333 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34335 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34338 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34340 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34342 2013-01-13 Mike Frysinger <vapier@gentoo.org>
34344 * manual/pattern.texi (glob_t): Document gl_flags.
34345 (glob64_t): Likewise.
34347 2013-01-11 David S. Miller <davem@davemloft.net>
34349 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34350 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34351 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
34352 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34353 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34354 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34355 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34356 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34357 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34358 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34359 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34360 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34361 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34363 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34364 sparc V9 rather than using V8 code.
34365 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34366 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34368 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34370 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34373 2013-01-11 Roland McGrath <roland@hack.frob.com>
34375 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34376 not in the main loop.
34377 * configure: Regenerated.
34379 2013-01-11 Joseph Myers <joseph@codesourcery.com>
34381 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34382 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34384 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34385 [!__GLIBC_HAVE_LONG_LONG] case.
34386 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34387 condition to just #else.
34388 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34389 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34390 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34391 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34393 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34394 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34395 #elif condition to just #else.
34396 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34397 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34398 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34399 #elif condition to just #else.
34401 2013-01-11 Steve Ellcey <sellcey@mips.com>
34403 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34404 (EF_MIPS_ARCH_64): Fix value.
34405 (EF_MIPS_ARCH_32R2): New.
34406 (EF_MIPS_ARCH_64R2): New.
34408 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34410 * Makeconfig (+link-pie-before-libc): New.
34411 (+link-pie-after-libc): Likewise.
34412 (+link-pie-tests): Likewise.
34413 (+link-pie): Rewritten.
34414 (link-before-libc): Remove $(config-LDFLAGS).
34415 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34416 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34417 (config-LDFLAGS): Renamed to ...
34418 (rtld-LDFLAGS): This.
34419 (rtld-tests-LDFLAGS): New macro.
34420 (link-libc-rpath-link): Likewise.
34421 (link-libc-tests-rpath-link): Likewise.
34422 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34423 (link-libc): Prepand $(link-libc-rpath-link).
34424 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34425 (test-program-prefix): New macro.
34426 (test-via-rtld-prefix): Likewise.
34427 (test-program-cmd): Likewise.
34428 (host-test-program-cmd): Likewise.
34429 * Makefile ($(common-objpfx)testrun.sh): Replace
34430 $(run-program-prefix) with $(test-program-prefix).
34431 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34433 ($(common-objpfx)shlib.lds): Likewise.
34434 (build-module-helper): Likewise.
34435 ($(common-objpfx)format.lds): Likewise.
34436 * Rules (binaries-pie-tests): New.
34437 (binaries-pie-notests): Likewise.
34438 (binaries-pie): Rewritten.
34439 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34440 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34441 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34442 (make-test-out): Replace $(host-built-program-cmd) with
34443 $(host-test-program-cmd).
34444 * config.make.in (build-hardcoded-path-in-tests): New variable.
34445 * configure.in (--enable-hardcoded-path-in-tests): New configure
34447 (hardcoded_path_in_tests): New AC_SUBST.
34448 * configure: Regenerated.
34449 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34450 $(built-program-cmd) with $(test-program-cmd).
34451 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34452 (test_program_cmd): This.
34453 * elf/Makefile ($(objpfx)order.out): Run test with
34454 $(test-program-prefix).
34455 ($(objpfx)order2.out): Likewise.
34456 ($(objpfx)tst-initorder.out): Likewise.
34457 ($(objpfx)tst-initorder2.out): Likewise.
34458 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34459 $(test-program-cmd).
34460 ($(objpfx)tst-array1-static.out): Likewise.
34461 ($(objpfx)tst-array2.out): Likewise.
34462 ($(objpfx)tst-array3.out): Likewise.
34463 ($(objpfx)tst-array4.out): Likewise.
34464 ($(objpfx)tst-array5.out): Likewise.
34465 ($(objpfx)tst-array5-static.out): Likewise.
34466 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34467 $(test-program-cmd).
34468 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34469 $(run-program-prefix) with $(test-program-prefix).
34470 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34471 (test_program_prefix): This.
34472 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34473 $(run-program-prefix) with $(test-program-prefix).
34474 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34475 (test_program_prefix): This.
34476 * iconvdata/tst-tables.sh: Likewise.
34477 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34478 $(run-program-prefix) with $(test-program-prefix).
34479 ($(objpfx)tst-translit.out): Likewise.
34480 ($(objpfx)tst-gettext2.out): Likewise.
34481 ($(objpfx)tst-gettext4.out): Likewise.
34482 ($(objpfx)tst-gettext6.out): Likewise.
34483 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34484 (test_program_prefix): This.
34485 * intl/tst-gettext2.sh: Likewise.
34486 * intl/tst-gettext4.sh Likewise.
34487 * intl/tst-gettext6.sh: Likewise.
34488 * intl/tst-translit.sh: Likewise.
34489 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34490 with $(test-program-cmd).
34491 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34492 $(run-program-prefix) with $(test-program-prefix).
34493 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34494 (test_program_prefix): This.
34495 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34496 $(run-program-prefix) with $(test-program-prefix).
34497 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34498 (test_program_prefix): This.
34499 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34500 * posix/Makefile ($(objpfx)globtest.out): Replace
34501 $(run-via-rtld-prefix) and $(test-wrapper) with
34502 $(test-program-prefix) and $(test-via-rtld-prefix).
34503 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34504 $(test-program-prefix).
34505 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34506 $(host-test-program-cmd).
34507 (tst-spawn-ARGS): Likewise.
34508 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34509 $(test-program-prefix).
34510 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34511 (test_via_rtld_prefix): This.
34512 (test_wrapper): Renamed to ...
34513 (test_program_prefix): This.
34514 (run_program_prefix): Replaced by test_program_prefix.
34515 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34516 (test_program_prefix): This.
34517 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34518 with $(host-test-program-cmd).
34519 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34520 $(run-program-prefix) with $(test-program-prefix).
34521 ($(objpfx)tst-printf.out): Likewise.
34522 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34523 $(test-program-cmd).
34524 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34525 (test_program_prefix): This.
34526 * stdio-common/tst-unbputc.sh: Likewise.
34527 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34528 $(run-program-prefix) with $(test-program-prefix).
34529 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34530 (test_program_prefix): This.
34531 * string/Makefile ($(objpfx)tst-svc.out): Replace
34532 $(built-program-cmd) with $(test-program-cmd).
34534 2013-01-11 Andreas Jaeger <aj@suse.de>
34537 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34538 value. Sync with Linux 3.7.
34540 2013-01-10 David S. Miller <davem@davemloft.net>
34542 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34546 2013-01-10 Roland McGrath <roland@hack.frob.com>
34548 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34550 * configure: Regenerated.
34552 2013-01-10 David S. Miller <davem@davemloft.net>
34554 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34555 sparc V9 rather than using V8 code.
34556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34559 2013-01-10 Roland McGrath <roland@hack.frob.com>
34561 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34562 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34563 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34564 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34565 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34566 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34567 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34568 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34569 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34570 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34571 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34572 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34573 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34574 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34575 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34576 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34577 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34578 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34579 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34580 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34581 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34582 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34583 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34584 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34585 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34586 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34587 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34589 2013-01-10 David S. Miller <davem@davemloft.net>
34591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34593 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34595 * posix/Makefile (tests-static): New variable.
34596 (tests): Add $(tests-static).
34597 (tst-exec-static-ARGS): New variable.
34598 (tst-spawn-static-ARGS): Likewise.
34599 * posix/tst-exec-static.c: New file.
34600 * posix/tst-spawn-static.c: Likewise.
34601 * posix/tst-exec.c: Support run directly.
34602 * posix/tst-spawn.c: Likewise.
34604 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34606 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34608 * math/bits/mathcalls.h (llrint): Likewise.
34609 (llround): Likewise.
34610 * stdlib/stdlib.h (struct drand48_data): Likewise.
34611 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34612 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34613 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34615 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34617 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34618 (elf_greg_t): Likewise.
34619 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34620 (__jmp_buf): Likewise.
34621 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34623 (llrint): Likewise, for all definitions.
34624 (llrintl): Likewise.
34626 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34627 Remove [__GNUC__] condition.
34628 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34629 condition to just [__USE_ISOC99].
34630 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34632 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34635 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34636 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34638 (_POSIX_V6_ILP32_OFF32): Likewise.
34639 (_XBS5_ILP32_OFF32): Likewise.
34640 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34641 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34643 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34645 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34648 doubles __mpexp_twomm1. Adjust usage.
34649 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34652 2013-01-10 Andreas Schwab <schwab@suse.de>
34655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34656 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34658 2013-01-09 David S. Miller <davem@davemloft.net>
34661 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34662 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34663 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34664 (TCP_FASTOPEN): Define.
34665 (tcp_repair_opt): New structure.
34666 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34668 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34669 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34670 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34671 (tcp_cookie_transactions): New structure.
34673 2013-01-09 Anton Blanchard <anton@samba.org>
34675 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34676 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34677 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34678 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34680 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34682 * include/features.h (__USE_ANSI): Remove.
34684 2013-01-09 Roland McGrath <roland@hack.frob.com>
34686 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34688 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34690 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34692 * sysdeps/s390/fpu/libm-test-ulps: Update.
34694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34696 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34700 (denorm): Likewise.
34701 (__mp_dbl): Likewise.
34702 (__dbl_mp): Likewise.
34703 (add_magnitudes): Likewise.
34704 (sub_magnitudes): Likewise.
34710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34714 (denorm): Likewise.
34715 (__mp_dbl): Likewise.
34716 (__dbl_mp): Likewise.
34717 (add_magnitudes): Likewise.
34718 (sub_magnitudes): Likewise.
34724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34728 (denorm): Likewise.
34729 (__mp_dbl): Likewise.
34730 (__dbl_mp): Likewise.
34731 (add_magnitudes): Likewise.
34732 (sub_magnitudes): Likewise.
34739 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34741 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34742 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34743 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34744 2 && __USE_EXTERN_INLINES]: Likewise.
34746 2013-01-08 Andreas Jaeger <aj@suse.de>
34749 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34751 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34752 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34754 2013-01-07 Anton Blanchard <anton@samba.org>
34756 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34757 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34758 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34759 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34760 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34761 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34762 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34763 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34765 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34766 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34767 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34768 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34770 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34774 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34775 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34776 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34778 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34779 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34780 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34781 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34782 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34783 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34785 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34786 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34789 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34790 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34791 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34794 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34795 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34796 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34798 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34800 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34802 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34803 (__MALLOC_PMT): Likewise.
34804 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34805 [__GNUC__], only on [_LIBC].
34806 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34807 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34808 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34809 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34810 forward declaration.
34811 (realloc_hook_ini): Likewise.
34812 (memalign_hook_ini): Likewise.
34813 (__libc_memalign): Do not use __MALLOC_PMT in variable
34815 (__libc_valloc): Likewise.
34816 (__libc_pvalloc): Likewise.
34817 (__libc_calloc): Likewise.
34818 (__posix_memalign): Likewise.
34821 * math/s_casinh.c: Include <float.h>.
34822 (__casinh): Do not do computation with squaring and square root
34823 for large arguments.
34824 * math/s_casinhf.c: Include <float.h>.
34825 (__casinhf): Do not do computation with squaring and square root
34826 for large arguments.
34827 * math/s_casinhl.c: Include <float.h>.
34828 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34829 (__casinhl): Do not do computation with squaring and square root
34830 for large arguments.
34831 * math/libm-test.inc (casin_test): Add more tests.
34832 (casinh_test): Likewise.
34833 * sysdeps/i386/fpu/libm-test-ulps: Update.
34834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34836 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34838 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34839 (__x86_64_raw_data_cache_size): Likewise.
34840 (__x86_64_data_cache_size_half): Likewise.
34841 (__x86_64_raw_data_cache_size_half): Likewise.
34842 (__x86_64_shared_cache_size): Likewise.
34843 (__x86_64_raw_shared_cache_size): Likewise.
34844 (__x86_64_shared_cache_size_half): Likewise.
34845 (__x86_64_raw_shared_cache_size_half): Likewise.
34846 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34848 (__x86_data_cache_size): This.
34849 (__x86_64_raw_data_cache_size): Renamed to ...
34850 (__x86_raw_data_cache_size): This.
34851 (__x86_64_data_cache_size_half): Renamed to ...
34852 (__x86_data_cache_size_half): This.
34853 (__x86_64_raw_data_cache_size_half): Renamed to ...
34854 (__x86_raw_data_cache_size_half): This.
34855 (__x86_64_shared_cache_size): Renamed to ...
34856 (__x86_shared_cache_size): This.
34857 (__x86_64_raw_shared_cache_size): Renamed to ...
34858 (__x86_raw_shared_cache_size): This.
34859 (__x86_64_shared_cache_size_half): Renamed to ...
34860 (__x86_shared_cache_size_half): This.
34861 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34862 (__x86_raw_shared_cache_size_half): This.
34863 * sysdeps/x86_64/memcpy.S: Updated.
34864 * sysdeps/x86_64/memset.S: Likewise.
34865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34867 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34869 2013-01-04 David S. Miller <davem@davemloft.net>
34871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34873 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34875 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34876 1 to avoid redefinition warning.
34877 (__USE_GNU): Don't define.
34878 (init_signaling_nan): Protoize.
34880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34882 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34884 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34886 (__cpymn): Likewise.
34887 (norm): Remove commented code.
34888 (denorm): Likewise.
34889 (__mp_dbl): Likewise.
34891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34892 (__cpymn): Likewise.
34893 (norm): Remove commented code.
34894 (denorm): Likewise.
34895 (__mp_dbl): Likewise.
34898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34899 mp_no value for 1.0 and 2.0.
34900 (norm): Use RADIXI instead of radixi.d.
34901 (denorm): Likewise.
34902 (__mul): Use 0.0 instead of zero.d.
34903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34904 mp_no value for 1.0 and 2.0.
34905 (norm): Use RADIXI instead of radixi.d.
34906 (denorm): Likewise.
34907 (__mul): Use 0.0 instead of zero.d.
34909 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34912 * math/s_casinh.c (__casinh): Reduce finite argument to first
34913 quadrant then set signs of results at the end.
34914 * math/s_casinhf.c (__casinhf): Likewise.
34915 * math/s_casinhl.c (__casinhl): Likewise.
34916 * math/libm-test.inc (casin_test): Add more tests.
34917 (casinh_test): Likewise.
34918 * sysdeps/i386/fpu/libm-test-ulps: Update.
34919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34921 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34923 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34925 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34927 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34929 (denorm): Likewise.
34930 (__mp_dbl): Likewise.
34933 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34934 and adjust the header comment.
34936 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34937 variable name from declaration.
34939 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34942 Initialize COMMON_CPUID_INDEX_7 element.
34943 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34944 (CPUID_RTM): Likewise.
34945 (HAS_RTM): Likewise.
34946 (COMMON_CPUID_INDEX_7): New enum.
34948 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34951 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34952 size is zero, record memory as freed.
34954 2013-01-03 Andreas Jaeger <aj@suse.de>
34956 * po/ia.po: Add new Interlingua translation.
34958 2012-01-03 Allan McRae <allan@archlinux.org>
34960 * locale/programs/localedef.c: Fix description of '--posix' flag.
34962 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34964 * NEWS: Update dates in second copyright notice.
34965 * README: Update copyright dates in example.
34966 * manual/libc.texinfo: Update copyright dates.
34967 * scripts/test-installation.pl: Update copyright date in --version
34970 * hurd/ctty-input.c: Fix copyright notice formatting.
34971 * hurd/ctty-output.c: Likewise.
34972 * hurd/dtable.c: Likewise.
34973 * hurd/hurd-raise.c: Likewise.
34974 * hurd/hurdprio.c: Likewise.
34975 * hurd/msgportdemux.c: Likewise.
34976 * misc/sys/file.h: Likewise.
34977 * misc/sys/ioctl.h: Likewise.
34978 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34979 * sysdeps/mach/hurd/chdir.c: Likewise.
34980 * sysdeps/mach/hurd/fchdir.c: Likewise.
34981 * sysdeps/mach/hurd/rename.c: Likewise.
34982 * sysdeps/mach/hurd/rmdir.c: Likewise.
34983 * sysdeps/mach/hurd/seekdir.c: Likewise.
34984 * sysdeps/mach/hurd/setsid.c: Likewise.
34985 * sysdeps/posix/wait3.c: Likewise.
34987 * All files with FSF copyright notices: Update copyright dates
34988 using scripts/update-copyrights.
34989 * intl/plural.c: Regenerated.
34990 * locale/programs/charmap-kw.h: Likewise.
34991 * locale/programs/locfile-kw.h: Likewise.
34993 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34995 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34999 calculation loop and add branch prediction.
35001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35002 check access beyond bounds of m1np.
35004 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35006 (__inv): Remove local variable MPTWO to use the global
35008 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35009 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35011 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35012 MP3HALFS static const.
35014 2013-01-01 David S. Miller <davem@davemloft.net>
35016 * po/ca.po: Update from translation team.
35018 2013-01-01 Joseph Myers <joseph@codesourcery.com>
35020 * scripts/update-copyrights: New file.
35021 * Makeconfig: Reformat copyright notice.
35022 * ctype/ctype.h: Likewise.
35023 * debug/swprintf_chk.c: Likewise.
35024 * elf/dl-cache.c: Likewise.
35025 * elf/dl-debug.c: Likewise.
35026 * elf/dl-object.c: Likewise.
35027 * grp/initgroups.c: Likewise.
35028 * hurd/Makefile: Likewise.
35029 * hurd/hurd/signal.h: Likewise.
35030 * hurd/hurdfault.c: Likewise.
35031 * hurd/hurdioctl.c: Likewise.
35032 * hurd/hurdlookup.c: Likewise.
35033 * hurd/intr-msg.c: Likewise.
35034 * iconv/gconv_open.c: Likewise.
35035 * libio/swprintf.c: Likewise.
35036 * locale/lc-ctype.c: Likewise.
35037 * locale/nl_langinfo.c: Likewise.
35038 * mach/Machrules: Likewise.
35039 * mach/Makefile: Likewise.
35040 * malloc/obstack.h: Likewise.
35041 * manual/Makefile: Likewise.
35042 * manual/tsort.awk: Likewise.
35043 * misc/bits/stab.def: Likewise.
35044 * nis/nis_print_group_entry.c: Likewise.
35045 * nis/nis_table.c: Likewise.
35046 * nis/nss_compat/compat-pwd.c: Likewise.
35047 * nis/nss_compat/compat-spwd.c: Likewise.
35048 * po/Makefile: Likewise.
35049 * posix/fnmatch.c: Likewise.
35050 * posix/regex.h: Likewise.
35051 * resolv/Makefile: Likewise.
35052 * resolv/nss_dns/dns-network.c: Likewise.
35053 * resolv/res_hconf.c: Likewise.
35054 * scripts/gen-sorted.awk: Likewise.
35055 * soft-fp/soft-fp.h: Likewise.
35056 * stdio-common/printf.h: Likewise.
35057 * stdlib/monetary.h: Likewise.
35058 * stdlib/random.c: Likewise.
35059 * stdlib/random_r.c: Likewise.
35060 * sysdeps/generic/Makefile: Likewise.
35061 * sysdeps/gnu/Makefile: Likewise.
35062 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35064 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35065 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35066 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35069 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35070 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35072 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35073 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35074 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35075 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35076 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35078 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35079 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35080 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35082 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35083 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35084 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35085 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35086 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35087 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35088 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35089 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35090 * sysdeps/mach/hurd/errnos.awk: Likewise.
35091 * sysdeps/mach/hurd/fork.c: Likewise.
35092 * sysdeps/mach/hurd/getcwd.c: Likewise.
35093 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35094 * sysdeps/mach/hurd/mmap.c: Likewise.
35095 * sysdeps/mach/hurd/utimes.c: Likewise.
35096 * sysdeps/mach/hurd/xmknod.c: Likewise.
35097 * sysdeps/posix/profil.c: Likewise.
35098 * sysdeps/posix/readdir_r.c: Likewise.
35099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35100 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35101 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35102 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35104 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35105 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35106 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35108 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35110 * sysdeps/pthread/lio_listio.c: Likewise.
35111 * sysdeps/sparc/dl-procinfo.h: Likewise.
35112 * sysdeps/unix/i386/sysdep.S: Likewise.
35113 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35114 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35115 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35116 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35118 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35119 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35120 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35121 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35122 * sysdeps/wordsize-32/divdi3.c: Likewise.
35123 * time/sys/time.h: Likewise.
35124 * wcsmbs/Makefile: Likewise.
35126 2013-01-01 David S. Miller <davem@davemloft.net>
35128 * po/fr.po: Update from translation team.
35130 * catgets/gencat.c: Update copyright year.
35131 * csu/version.c: Likewise.
35132 * debug/catchsegv.sh: Likewise.
35133 * debug/pcprofiledump.c: Likewise.
35134 * debug/xtrace.sh: Likewise.
35135 * elf/ldconfig.c: Likewise.
35136 * elf/ldd.bash.in: Likewise.
35137 * elf/pldd.c: Likewise.
35138 * elf/sotruss.ksh: Likewise.
35139 * elf/sprof.c: Likewise.
35140 * iconv/iconv_prog.c: Likewise.
35141 * iconv/iconvconfig.c: Likewise.
35142 * locale/programs/locale.c: Likewise.
35143 * locale/programs/localedef.c: Likewise.
35144 * login/programs/pt_chown.c: Likewise.
35145 * malloc/memusage.sh: Likewise.
35146 * malloc/memusagestat.c: Likewise.
35147 * malloc/mtrace.pl: Likewise.
35148 * nscd/nscd.c: Likewise.
35149 * nss/getent.c: Likewise.
35150 * nss/makedb.c: Likewise.
35151 * posix/getconf.c: Likewise.
35153 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35155 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35158 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35160 * math/bits/mathcalls.h (modf): Use __nonnull.
35162 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35164 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35165 (split): Use macro CN instead of the bare value.
35166 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35169 instead of the bare value.
35170 (power1): Likewise.
35172 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35178 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35182 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35183 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35185 2012-12-28 Andreas Jaeger <aj@suse.de>
35187 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35188 values are from Linux 3.7.
35190 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35191 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35193 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35195 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35198 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35200 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35201 variables with preprocessor constants.
35202 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35203 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35204 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35206 2012-12-27 Bruno Haible <bruno@clisp.org>
35209 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35212 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35215 and use variable directly.
35216 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35218 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35220 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35221 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35223 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35224 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35225 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35226 include directive. Remove local variable MPONE.
35227 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35228 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35231 2012-12-25 David S. Miller <davem@davemloft.net>
35233 * version.h (RELEASE): Set to "development".
35234 (VERSION): Set to "2.17.90".
35235 * NEWS: Add 2.18 section.
35237 2012-12-21 David S. Miller <davem@davemloft.net>
35239 * po/hr.po: Update from translation team.
35241 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35243 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35245 2012-12-19 Steve Ellcey <sellcey@mips.com>
35247 * NEWS: Mention new memcpy for MIPS.
35249 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35251 * manual/contrib.texi (Contributors): Spelling correction.
35253 2012-12-15 David S. Miller <davem@davemloft.net>
35255 * po/ru.po: Update from translation team.
35257 2012-12-13 David S. Miller <davem@davemloft.net>
35259 * NEWS: Mention IFUNC testsuite enhancements.
35261 * po/pl.po: Update from translation team.
35262 * po/bg.po: Likewise.
35264 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35265 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35267 2012-12-11 David S. Miller <davem@davemloft.net>
35269 * po/sv.po: Update from translation team.
35271 * po/vi.po: Update from translation team.
35273 * po/cs.po: Update from translation team.
35275 * po/de.po: Update from translation team.
35276 * po/eo.po: Likewise.
35277 * po/nl.po: Likewise.
35279 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35282 * manual/argp.texi (Argp Helper Functions): Move node to follow
35283 Argp Parsing State.
35286 * manual/conf.texi (Limits on File System Capacity): Mention if
35287 terminating null is included in the max size.
35289 2012-12-10 Andreas Jaeger <aj@suse.de>
35291 * po/cs.po: Update from translation team.
35293 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35295 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35296 void pointer and cast to uintptr_t.
35297 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35299 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35300 * sysdeps/s390/s390-64/memset.S: Likewise.
35302 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
35305 * menual/message.texi (Message Translation): Fix typos.
35306 (Helper programs for gettext): Likewise.
35308 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35311 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35314 2012-12-07 David S. Miller <davem@davemloft.net>
35316 * po/libc.pot: Update.
35318 2012-12-07 Richard Henderson <rth@redhat.com>
35321 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35322 normal/normal case to before the switch.
35323 (_FP_DIV): Likewise.
35325 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35326 Mike Frysinger <vapier@gentoo.org>
35328 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35329 check for __NR_fadvise64_64.
35331 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35333 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35334 0, not just to plain "0" as a statement.
35335 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35338 2012-12-06 Joseph Myers <joseph@codesourcery.com>
35340 * NEWS: Use sourceware.org in Bugzilla URL.
35342 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35345 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35347 * stdio-common/tst-put-error.c (do_test): Add newline to the
35348 padded test to ensure flush.
35350 2012-12-05 Jeff Law <law@redhat.com>
35352 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35354 2012-12-05 Joseph Myers <joseph@codesourcery.com>
35356 * README: Don't refer to ports add-on as distributed separately.
35357 Mention AArch64 in list of systems supported in the ports add-on.
35359 * LICENSES: Add more non-FSF copyright and license notices.
35361 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35364 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35366 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35367 10000 as width of padded output.
35369 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35371 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35374 variable LX with __attribute__ ((unused)).
35375 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35377 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35378 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35380 with __attribute__ ((unused)).
35382 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
35384 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35386 2012-12-04 Joseph Myers <joseph@codesourcery.com>
35388 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35389 (CFLAGS-nldbl-acos.c): New variable.
35390 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35391 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35392 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35393 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35394 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35395 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35396 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35397 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35398 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35399 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35400 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35401 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35402 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35403 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35404 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35405 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35406 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35407 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35408 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35409 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35410 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35411 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35412 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35413 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35414 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35415 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35416 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35417 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35418 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35419 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35420 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35421 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35422 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35423 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35424 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35425 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35426 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35427 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35428 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35429 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35430 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35431 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35432 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35433 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35434 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35435 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35436 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35437 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35438 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35439 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35440 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35441 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35442 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35443 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35444 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35445 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35446 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35447 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35448 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35449 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35450 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35451 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35452 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35453 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35454 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35455 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35456 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35457 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35458 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35459 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35460 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35461 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35462 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35463 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35464 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35465 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35466 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35467 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35468 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35469 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35470 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35471 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35472 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35473 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35474 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35475 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35476 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35477 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35478 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35479 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35480 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35481 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35482 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35483 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35484 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35485 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35486 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35489 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35493 whole low double instead of just low 47 bits when splitting values
35496 2012-12-03 Allan McRae <allan@archlinux.org>
35498 * manual/stdio.texi (Predefined Printf Handlers): Remove
35499 @hsep and @vsep usage.
35501 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35503 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35504 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35506 2012-12-03 Jeff Law <law@redhat.com>
35508 * time/sys/time.h (settimeofday): Do not mark TV argument
35511 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35513 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35514 when currently writing and seek to current position when not.
35515 * libio/Makefile (tests): Remove bug-fclose1.
35516 * libio/bug-fclose1.c: Delete.
35518 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35520 * manual/arith.texi (feenableexcept): Fix typo.
35521 (fedisableexcept): Likewise.
35523 2012-11-30 Roland McGrath <roland@hack.frob.com>
35525 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35526 second, differently-typed declaration, rather than a cast.
35528 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35530 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35531 * include/rpc/svc.h: ... here.
35533 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35536 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35537 depending n and resplen2 to catch cases where answer
35540 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35542 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35543 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35545 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35547 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35549 2012-11-29 Roland McGrath <roland@hack.frob.com>
35551 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35553 2012-11-28 Jeff Law <law@redhat.com>
35556 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35557 dataset_temporary. Track alloca usage into alloca_used.
35558 If dataset is large allocate and release it via malloc/free.
35560 2012-06-04 Florian Weimer <fweimer@redhat.com>
35563 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35565 2012-11-28 David S. Miller <davem@davemloft.net>
35567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35569 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35572 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35573 of pi/2 rounded to nearest to 64 bits.
35574 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35575 nearest to 64 bits.
35576 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35579 2012-11-28 Jeff Law <law@redhat.com>
35580 Martin Osvald <mosvald@redhat.com>
35583 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35584 * sunrpc/svc.c: Include time.h.
35585 (__svc_accept_failed): New function.
35586 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35587 any reason other than EINTR, call __svc_accept_failed.
35588 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35589 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35591 2012-11-28 Andreas Schwab <schwab@suse.de>
35593 * scripts/abilist.awk: Also handle indirect functions in .opd
35596 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35599 * sysdeps/x86/fpu/powl_helper.c: New file.
35600 * sysdeps/x86/fpu/Makefile: Likewise.
35601 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35603 (__ieee754_powl): Use __powl_helper for finite arguments except
35604 integer exponents below 8.
35605 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35607 (__ieee754_powl): Use __powl_helper for finite arguments except
35608 integer exponents below 8.
35609 * math/libm-test.inc (pow_test): Add more tests and enable some
35610 previously disabled tests.
35611 * sysdeps/i386/fpu/libm-test-ulps: Update.
35612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35614 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35615 Carlos O'Donell <carlos_odonell@mentor.com>
35617 * nss/makedb.c (is_prime): Assert that input is odd and greater
35618 than 4. Note that fact in a comment too.
35619 (next_prime): Add 4 to input.
35621 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35624 * libio/Makefile (tests): Add test case tst-fwrite-error.
35625 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35626 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35627 * libio/tst-fwrite-error.c: New test case.
35629 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35631 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35632 before casting to void *.
35633 * include/libc-internal.h (__pointer_type): New macro.
35634 (__integer_if_pointer_type_sub): Likewise.
35635 (__integer_if_pointer_type): Likewise.
35636 (cast_to_integer): Likewise.
35637 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35638 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35639 before casting to atomic64_t.
35640 (atomic_exchange_acq): Likewise.
35641 (__arch_exchange_and_add_body): Likewise.
35642 (__arch_add_body): Likewise.
35643 (atomic_add_negative): Likewise.
35644 (atomic_add_zero): Likewise.
35646 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35648 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35649 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35650 (add_fdes): Likewise.
35651 (linear_search_fdes): Likewise.
35652 (binary_search_unencoded_fdes): Likewise.
35654 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35656 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35658 2012-11-24 Adam Conrad <adconrad@0c3.net>
35660 * configure.in: Autodetect C++ header directories.
35661 * configure: Regenerated.
35663 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35665 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35667 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35671 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35673 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35674 LDBL_MANT_DIG == 106]: Disable some tests.
35675 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35677 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35682 input for small inputs. Return +/- pi/2 for large inputs.
35683 * math/libm-test.inc (atan_test): Add more tests.
35685 * sysdeps/generic/unwind-dw2-fde-glibc.c
35686 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35687 __attribute__ ((unused)).
35690 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35691 x * y if x and y are nonzero and z is zero.
35694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35695 nonzero exponents with absolute value below 0x1p-117 to +/-
35699 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35700 up arguments below 2**-450, not just those below 2**-500.
35701 * math/libm-test.inc (hypot_test): Add another test.
35704 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35705 Return a+b for ratio over 2**120, not 2**60.
35706 * math/libm-test.inc (hypot_test): Add another test.
35708 * math/libm-test.inc (clog_test): Use
35709 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35710 (clog10_test): Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35715 2012-11-22 Andreas Schwab <schwab@suse.de>
35717 * sysdeps/i386/fpu/libm-test-ulps: Update.
35719 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35721 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35722 printf output with newline.
35724 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35727 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35728 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35729 -z nodlopen, -z initfirst and -z execstack support.
35730 * configure: Regenerated.
35732 * elf/elf.h (DF_1_NODIRECT): New macro.
35733 (DF_1_IGNMULDEF): Likewise.
35734 (DF_1_NOKSYMS): Likewise.
35735 (DF_1_NOHDR): Likewise.
35736 (DF_1_EDITED): Likewise.
35737 (DF_1_NORELOC): Likewise.
35738 (DF_1_SYMINTPOSE): Likewise.
35739 (DF_1_GLOBAUDIT): Likewise.
35740 (DF_1_SINGLETON): Likewise.
35741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35742 DT_1_SUPPORTED_MASK bits.
35743 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35745 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35747 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35749 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35751 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35754 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35755 (sendmmsg): Move declarations...
35756 * socket/sys/socket.h: ... here.
35757 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35758 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35760 * socket/recvmmsg.c: ... this new file.
35761 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35762 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35763 definition of __sendmmsg hidden.
35764 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35765 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35766 Move ENOSYS stub into and include it from...
35767 * socket/sendmmsg.c: ... this new file.
35768 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35769 (sysdep_routines): Move recvmmsg and sendmmsg...
35770 * socket/Makefile (routines): ... here.
35771 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35772 (GLIBC_PRIVATE): Add __sendmmsg.
35773 * include/sys/socket.h (__sendmmsg): Add declarations.
35774 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35777 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35780 variable I1 with __attribute__ ((unused)).
35781 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35783 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35785 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35786 DUMMY variables with __attribute__ ((unused)).
35788 * bits/byteswap.h: Include <bits/types.h>.
35789 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35791 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35793 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35794 string_t. Do not manually set errno.
35795 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35796 length with __strnlen. Make sure to both set errno and return it on
35799 2012-11-19 David S. Miller <davem@davemloft.net>
35801 With help from Joseph Myers.
35802 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35803 very large arguments properly.
35804 * math/libm-test.inc (atan_test): New tests.
35805 (atan2_test): New tests.
35806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35809 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35812 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35815 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35816 [POSIX] (EADDRNOTAVAIL): Likewise.
35817 [POSIX] (EAFNOSUPPORT): Likewise.
35818 [POSIX] (EALREADY): Likewise.
35819 [POSIX] (ECONNABORTED): Likewise.
35820 [POSIX] (ECONNREFUSED): Likewise.
35821 [POSIX] (ECONNRESET): Likewise.
35822 [POSIX] (EDESTADDRREQ): Likewise.
35823 [POSIX] (EDQUOT): Likewise.
35824 [POSIX] (EHOSTUNREACH): Likewise.
35825 [POSIX] (EIDRM): Likewise.
35826 [POSIX] (EISCONN): Likewise.
35827 [POSIX] (ELOOP): Likewise.
35828 [POSIX] (EMULTIHOP): Likewise.
35829 [POSIX] (ENETDOWN): Likewise.
35830 [POSIX] (ENETUNREACH): Likewise.
35831 [POSIX] (ENOBUFS): Likewise.
35832 [POSIX] (ENODATA): Likewise.
35833 [POSIX] (ENOLINK): Likewise.
35834 [POSIX] (ENOMSG): Likewise.
35835 [POSIX] (ENOPROTOOPT): Likewise.
35836 [POSIX] (ENOSR): Likewise.
35837 [POSIX] (ENOSTR): Likewise.
35838 [POSIX] (ENOTCONN): Likewise.
35839 [POSIX] (ENOTSOCK): Likewise.
35840 [POSIX] (EOPNOTSUPP): Likewise.
35841 [POSIX] (EOVERFLOW): Likewise.
35842 [POSIX] (EPROTO): Likewise.
35843 [POSIX] (EPROTONOSUPPORT): Likewise.
35844 [POSIX] (EPROTOTYPE): Likewise.
35845 [POSIX] (ESTALE): Likewise.
35846 [POSIX] (ETIME): Likewise.
35847 [POSIX] (ETXTBSY): Likewise.
35848 [POSIX] (EWOULDBLOCK): Likewise.
35849 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35850 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35851 [POSIX] (SEEK_CUR): Likewise.
35852 [POSIX] (SEEK_END): Likewise.
35853 [POSIX || UNIX98] (mode_t): Do not require.
35854 [POSIX] (off_t): Likewise.
35855 [POSIX] (pid_t): Likewise.
35856 [POSIX] (sys/stat.h): Do not allow header.
35857 [POSIX] (unistd.h): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35859 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35860 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35861 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35863 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35864 sigevent): Specify elements.
35865 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35867 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35868 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35870 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35871 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35872 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35873 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35874 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35875 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35876 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35877 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35879 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35880 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35881 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35882 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35883 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35885 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35887 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35889 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35891 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35892 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35894 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35896 Specify lower bound on value.
35897 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35903 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35904 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35906 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35908 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35913 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35914 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35915 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35916 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35917 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35918 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35919 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35920 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35921 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35922 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35923 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35925 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35927 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35928 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35929 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35930 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35931 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35932 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35934 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35936 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35937 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35938 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35939 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35940 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35942 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35945 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35946 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35947 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35948 specify as optional.
35949 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35950 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35951 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35952 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35953 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35954 [XPG3] (NL_LANGMAX): Likewise.
35955 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35956 [POSIX || XPG3] (NL_NMAX): Likewise.
35957 [POSIX || XPG3] (NL_SETMAX): Likewise.
35958 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35959 [XPG3] (NZERO): Likewise.
35960 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35961 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35962 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35963 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35964 (REG_ERANGE): Expect.
35965 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35967 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35968 Use (void) in prototype.
35969 [POSIX] (*_t): Allow.
35970 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35971 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35972 (WRDE_BADVAL): Expect.
35974 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35976 [XPG3 || XPG4] (O_RSYNC): Likewise.
35977 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35979 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35980 [XPG3 || XPG4] (sigqueue): Likewise.
35981 [XPG3 || XPG4] (sigtimedwait): Likewise.
35982 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35983 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35984 [XPG3 || XPG4] (vsnprintf): Likewise.
35985 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35987 [XPG3 || XPG4] (blksize_t): Likewise.
35988 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35990 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35991 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35992 [XPG3 || XPG4] (struct itimerspec): Likewise.
35993 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35994 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35995 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35996 [XPG3 || XPG4] (clockid_t): Likewise.
35997 [XPG3 || XPG4] (timer_t): Likewise.
35998 [XPG3 || XPG4] (clock_getres): Likewise.
35999 [XPG3 || XPG4] (clock_gettime): Likewise.
36000 [XPG3 || XPG4] (clock_settime): Likewise.
36001 [XPG3 || XPG4] (nanosleep): Likewise.
36002 [XPG3 || XPG4] (timer_create): Likewise.
36003 [XPG3 || XPG4] (timer_delete): Likewise.
36004 [XPG3 || XPG4] (timer_gettime): Likewise.
36005 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36006 [XPG3 || XPG4] (timer_settime): Likewise.
36007 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36008 [XPG3 || XPG4] (getlogin_r): Likewise.
36009 [XPG3 || XPG4] (pread): Likewise.
36010 [XPG3 || XPG4] (pthread_atfork): Likewise.
36011 [XPG3 || XPG4] (pwrite): Likewise.
36014 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36017 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36019 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36020 finalizing MALLSTREAM.
36022 * sysdeps/mach/hurd/syncfs.c: New file.
36024 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36027 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36028 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36029 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36030 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36031 (_nss_dns_gethostbyname4_r): Likewise.
36032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36033 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36035 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36038 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36040 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36042 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36043 * elf/cache.c (print_entry): Print ",AArch64" for
36046 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36047 * elf/cache.c (print_entry): Print ",hard-float" for
36050 2012-11-18 David S. Miller <davem@davemloft.net>
36052 With help from Joseph Myers.
36053 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36055 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36057 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36058 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36060 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36061 * math/libm-test.inc (y0_test): New tests.
36062 (y1_test): New tests.
36063 * sysdeps/i386/fpu/libm-test-ulps: Update.
36064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36067 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36069 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36071 * configure: Regenerated.
36073 2012-11-17 David S. Miller <davem@davemloft.net>
36076 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36077 nonzero exponents with absolute value below 0x1p-128 to +/-
36080 2012-11-17 Joseph Myers <joseph@codesourcery.com>
36082 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36084 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36086 * posix/getconf-speclist.c: New file.
36087 * posix/posix-envs.def: Likewise.
36088 * posix/confstr.c (START_ENV_GROUP): New macro.
36089 (END_ENV_GROUP): Likewise.
36090 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36091 (KNOWN_PRESENT_ENV_STRING): Likewise.
36092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36093 (UNKNOWN_ENVIRONMENT): Likewise.
36094 (confstr): Include posix-envs.def instead of handling
36095 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36096 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36097 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36098 (END_ENV_GROUP): Likewise.
36099 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36100 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36101 (UNKNOWN_ENVIRONMENT): Likewise.
36102 (__sysconf): Include posix-envs.def instead of handling associated
36103 cases directly here.
36104 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36105 preprocessing getconf-speclist.c rather than running getconf or
36106 generating empty file.
36108 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36110 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36112 2012-11-16 Andrej Lajovic <natrij@gmail.com>
36115 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36117 2012-11-16 David S. Miller <davem@davemloft.net>
36119 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36120 smaller than LDBL_EPSILON/2.0L, just return xm1.
36122 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36124 * elf/tst-array1.c (init): Set constructor priority to 1000.
36125 (fini): Set destructor priority to 1000.
36126 * elf/tst-array2dep.c: Likewise.
36128 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36131 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36132 (_IO_new_file_xsputn): Also return EOF if none of the input
36133 data was written when overflow failed.
36134 * libio/iopadn.c (_IO_padn): Likewise.
36135 * libio/iowpadn.c (_IO_wpadn): Likewise.
36136 * stdio-common/tst-put-error.c: Add copyright notice.
36137 (do_test): Add case for printing padded string.
36138 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36139 _IO_padn returned error.
36140 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36141 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36144 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36146 * libio/libioP.h: Add comment note that the references to C++
36147 bits are now obsolete.
36149 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36151 * math/libm-test.inc (check_complex): Use asprintf.
36153 2012-11-14 Joseph Myers <joseph@codesourcery.com>
36155 * debug/pcprofiledump.c (print_version): Update copyright year.
36156 * malloc/memusagestat.c (print_version): Likewise.
36158 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36161 * elf/Makefile (tests): Add tst-audit8.
36162 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36163 ($(objpfx)tst-audit8.out): New target.
36164 (tst-audit8-ENV): New variable.
36165 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36166 audit if l_reloc_result is NULL.
36167 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36168 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36169 * elf/tst-audit8.c: New file.
36171 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36173 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36174 * misc/Makefile (CFLAGS-select.c): Define.
36175 * posix/Makefile (CFLAGS-pause.c): Define.
36177 2012-11-13 David S. Miller <davem@davemloft.net>
36179 * crypt/Makefile: Move test targets after toplevel Rules
36180 inclusion. Grab any necessary sysdep routines when linking.
36181 * crypt/md5.c (md5_process_block): Remove define, we will always
36182 name it __md5_process_block.
36183 (md5_finish_ctx): Update md5_process_block call.
36184 (md5_stream): Likewise.
36185 (md5_process_bytes): Likewise.
36186 (md5_process_block): Rename to __md5_process_block and move to ...
36187 * crypt/md5-block.c: ... here.
36188 * crypt/sha256.c (sha256_process_block): Move to ...
36189 * crypt/sha256-block.c: ... here.
36190 * crypt/sha512.c (sha512_process_block): Move to ...
36191 * crypt/sha512-block.c: ... here.
36192 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36194 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36195 * sysdeps/sparc/sparc64/multiarch/Makefile
36196 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36198 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36201 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36202 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36203 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36204 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36205 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36206 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36207 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36208 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36209 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36211 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36216 2012-11-13 Joseph Myers <joseph@codesourcery.com>
36218 * timezone/tzselect.ksh: Update from tzcode git revision
36219 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36220 * timezone/zdump.c: Likewise.
36221 * timezone/zic.c: Likewise.
36222 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36223 in TZVERSION setting, not $(PKGVERSION).
36224 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36225 REPORT_BUGS_TO settings.
36228 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36231 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36233 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36234 detection to immediately after _FP_ROUND().
36235 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36238 2012-11-11 David S. Miller <davem@davemloft.net>
36240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36242 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36243 __close rather than their public counterparts.
36245 2012-11-10 Joseph Myers <joseph@codesourcery.com>
36247 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36249 [UNIX98] (sem_timedwait): Do not expect.
36250 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36251 [XPG4 || UNIX98] (sockatmark): Do not expect.
36252 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36253 (clock_getcpuclockid): Do not expect.
36254 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36255 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36257 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36258 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36259 [UNIX98] (vwscanf): Likewise.
36260 [UNIX98] (vswscanf): Likewise.
36262 2012-11-09 Joseph Myers <joseph@codesourcery.com>
36264 * timezone/version.h: Remove file.
36265 * timezone/README: Do not refer to version.h.
36266 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36267 $(objpfx)version.h.
36268 ($(objpfx)zdump.o): Likewise.
36269 ($(objpfx)version.h): New target.
36271 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36273 * timezone/README: Don't mention modification to tzselect.ksh.
36274 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36275 work on unmodified tzselect.ksh. Substitute version numbers in
36278 * Makefile (format-me): Remove.
36279 (INSTALL): Adjust indentation. Use commands directly instead of
36280 using $(format-me).
36282 * aclocal.m4 (ACX_PKGVERSION): New macro.
36283 (ACX_BUGURL): Likewise.
36284 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36285 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36286 (REPORT_BUGS_TO): Likewise.
36287 * configure: Regenerated.
36288 * config.h.in (PKGVERSION): New macro.
36289 (REPORT_BUGS_TO): Likewise.
36290 * config.make.in (PKGVERSION): New variable.
36291 (PKGVERSION_TEXI): Likewise.
36292 (REPORT_BUGS_TO): Likewise.
36293 (REPORT_BUGS_TEXI): Likewise.
36294 * Makefile (format-me): Use -I$(common-objpfx)manual.
36295 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36296 ($(common-objpfx)manual/%): New target.
36297 (manual/%): Remove target.
36298 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36299 (print_version): Use PKGVERSION.
36300 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36301 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36302 and REPORT_BUGS_TO.
36303 ($(objpfx)xtrace): Likewise.
36304 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36305 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36306 (print_version): Use PKGVERSION.
36307 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36308 (do_version): Use PKGVERSION.
36309 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36311 (common-ldd-rewrite): Likewise.
36312 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36313 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36314 (print_version): Use PKGVERSION.
36315 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36316 * elf/pldd.c (argp_program_bug_address): Remove variable.
36317 (more_help): New function.
36318 (argp): Use more_help.
36319 (print_version): Use PKGVERSION.
36320 * elf/sln.c (main): Use PKGVERSION.
36321 (usage): Use REPORT_BUGS_TO.
36322 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36323 (top level): Use PKGVERSION.
36324 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36325 (print_version): Use PKGVERSION.
36326 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36327 (print_version): Use PKGVERSION.
36328 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36329 (print_version): Use PKGVERSION.
36330 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36331 (print_version): Use PKGVERSION.
36332 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36333 (print_version): Use PKGVERSION.
36334 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36335 (print_version): Use PKGVERSION.
36336 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36338 ($(objpfx)memusage): Likewise.
36339 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36340 (do_version): Use PKGVERSION.
36341 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36342 (print_version): Use PKGVERSION.
36343 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36344 ($PKGVERSION): New variable.
36345 ($REPORT_BUGS_TO): Likewise.
36346 (usage): Use $REPORT_BUGS_TO.
36347 (top level): Use $PKGVERSION.
36348 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36349 ($(objpfx)pkgvers.texi): New rule.
36350 ($(objpfx)stamp-pkgvers): Likewise.
36351 * manual/install.texi: Include pkgvers.texi.
36352 (--with-pkgversion): Document new configure option.
36353 (--with-bugurl): Likewise.
36354 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36355 than necessarily for this particular distribution. Use
36356 REPORT_BUGS_TO for where to report bugs.
36357 * INSTALL: Regenerated.
36358 * manual/libc.texinfo: Include pkgvers.texi.
36359 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36360 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36361 (print_version): Use PKGVERSION.
36362 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36363 (print_version): Use PKGVERSION.
36364 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36365 (print_version): Use PKGVERSION.
36366 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36367 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36369 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36370 (print_version): Use PKGVERSION.
36371 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36372 (print_version): Use PKGVERSION.
36373 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36376 * timezone/checktab.awk: Update from tzcode 2012i.
36377 * timezone/ialloc.c: Likewise.
36378 * timezone/private.h: Likewise.
36379 * timezone/scheck.c: Likewise.
36380 * timezone/tzfile.h: Likewise.
36381 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36382 (TZVERSION): Hardcode tzcode version number.
36383 * timezone/zdump.c: Update from tzcode 2012i.
36384 * timezone/zic.c: Likewise.
36385 * timezone/version.h: New file.
36386 * timezone/README: Describe version.h. Update upstream location.
36389 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36390 (mktemp): Enable declaration.
36391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36408 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36409 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36410 for copies of such integer values.
36411 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36412 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36414 2012-11-09 Andreas Jaeger <aj@suse.de>
36416 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36417 definitions and declarations that are provided by
36418 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36420 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36422 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36423 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36424 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36427 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36429 * elf/elf.h: Update comment before AArch64 relocations.
36431 2012-11-07 David S. Miller <davem@davemloft.net>
36433 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36434 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36435 (__start_context): Declare.
36436 (__makecontext_ret): Delete.
36437 (__makecontext): Hook up __start_context instead of
36439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36440 (sysdep_routines): Add __start_context when in stdlib.
36442 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36444 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36445 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36446 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36448 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36449 (READELF): New variable. Use it instead of hardcoded "readelf".
36451 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36453 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36454 * sysdeps/x86/Makefile: Here.
36455 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36456 * sysdeps/x86/tst-xmmymm.sh: This.
36458 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36460 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36462 [UNIX98] (pthread_barrier_t): Do not expect.
36463 [UNIX98] (pthread_barrierattr_t): Likewise.
36464 [UNIX98] (pthread_spinlock_t): Likewise.
36465 [UNIX98] (pthread_barrier_destroy): Likewise.
36466 [UNIX98] (pthread_barrier_init): Likewise.
36467 [UNIX98] (pthread_barrier_wait): Likewise.
36468 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36469 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36470 [UNIX98] (pthread_barrierattr_init): Likewise.
36471 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36472 [UNIX98] (pthread_getcpuclockid): Likewise.
36473 [UNIX98] (pthread_mutex_timedlock): Likewise.
36474 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36475 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36476 [UNIX98] (pthread_sigmask): Likewise.
36477 [UNIX98] (pthread_spin_destroy): Likewise.
36478 [UNIX98] (pthread_spin_init): Likewise.
36479 [UNIX98] (pthread_spin_lock): Likewise.
36480 [UNIX98] (pthread_spin_trylock): Likewise.
36481 [UNIX98] (pthread_spin_unlock): Likewise.
36482 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36484 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36485 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36486 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36487 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36488 [XPG3 || XPG4] (pthread_key_t): Likewise.
36489 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36490 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36491 [XPG3 || XPG4] (pthread_once_t): Likewise.
36492 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36493 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36494 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36495 [XPG3 || XPG4] (pthread_t): Likewise.
36497 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36499 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36501 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36502 Change function return type to int.
36504 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36505 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36506 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36507 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36508 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36509 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36510 [!POSIX] (posix_madvise): Likewise.
36511 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36513 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36514 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36515 (mode_t): Likewise.
36516 (posix_mem_offset): Likewise.
36517 (posix_typed_mem_get_info): Likewise.
36518 (posix_typed_mem_open): Likewise.
36520 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36521 Change condition to [XOPEN2K8].
36523 * conform/conformtest.pl: Preprocess allow-header data with -x c
36524 instead of from stdin.
36525 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36526 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36527 [C99-based standards] (cerfc): Likewise.
36528 [C99-based standards] (cexp2): Likewise.
36529 [C99-based standards] (cexpm1): Likewise.
36530 [C99-based standards] (clog10): Likewise.
36531 [C99-based standards] (clog1p): Likewise.
36532 [C99-based standards] (clog2): Likewise.
36533 [C99-based standards] (clgamma): Likewise.
36534 [C99-based standards] (ctgamma): Likewise.
36535 [C99-based standards] (cerff): Likewise.
36536 [C99-based standards] (cerfcf): Likewise.
36537 [C99-based standards] (cexp2f): Likewise.
36538 [C99-based standards] (cexpm1f): Likewise.
36539 [C99-based standards] (clog10f): Likewise.
36540 [C99-based standards] (clog1pf): Likewise.
36541 [C99-based standards] (clog2f): Likewise.
36542 [C99-based standards] (clgammaf): Likewise.
36543 [C99-based standards] (ctgammaf): Likewise.
36544 [C99-based standards] (cerfl): Likewise.
36545 [C99-based standards] (cerfcl): Likewise.
36546 [C99-based standards] (cexp2l): Likewise.
36547 [C99-based standards] (cexpm1l): Likewise.
36548 [C99-based standards] (clog10l): Likewise.
36549 [C99-based standards] (clog1pl): Likewise.
36550 [C99-based standards] (clog2l): Likewise.
36551 [C99-based standards] (clgammal): Likewise.
36552 [C99-based standards] (ctgammal): Likewise.
36553 * conform/data/inttypes.h-data [C99-based standards]: Include
36554 stdint.h-data. Remove all expectations for stdint.h contents.
36555 [C99-based standards] (PRI*): Do not allow.
36556 [C99-based standards] (SCN*): Likewise.
36557 [C99-based standards] (*_t): Likewise.
36558 [C99-based-standards] (PRId8): Expect macro.
36559 [C99-based-standards] (PRIi8): Likewise.
36560 [C99-based-standards] (PRIo8): Likewise.
36561 [C99-based-standards] (PRIu8): Likewise.
36562 [C99-based-standards] (PRIx8): Likewise.
36563 [C99-based-standards] (PRIX8): Likewise.
36564 [C99-based-standards] (SCNd8): Likewise.
36565 [C99-based-standards] (SCNi8): Likewise.
36566 [C99-based-standards] (SCNo8): Likewise.
36567 [C99-based-standards] (SCNu8): Likewise.
36568 [C99-based-standards] (SCNx8): Likewise.
36569 [C99-based-standards] (PRIdLEAST8): Likewise.
36570 [C99-based-standards] (PRIiLEAST8): Likewise.
36571 [C99-based-standards] (PRIoLEAST8): Likewise.
36572 [C99-based-standards] (PRIuLEAST8): Likewise.
36573 [C99-based-standards] (PRIxLEAST8): Likewise.
36574 [C99-based-standards] (PRIXLEAST8): Likewise.
36575 [C99-based-standards] (SCNdLEAST8): Likewise.
36576 [C99-based-standards] (SCNiLEAST8): Likewise.
36577 [C99-based-standards] (SCNoLEAST8): Likewise.
36578 [C99-based-standards] (SCNuLEAST8): Likewise.
36579 [C99-based-standards] (SCNxLEAST8): Likewise.
36580 [C99-based-standards] (PRIdFAST8): Likewise.
36581 [C99-based-standards] (PRIiFAST8): Likewise.
36582 [C99-based-standards] (PRIoFAST8): Likewise.
36583 [C99-based-standards] (PRIuFAST8): Likewise.
36584 [C99-based-standards] (PRIxFAST8): Likewise.
36585 [C99-based-standards] (PRIXFAST8): Likewise.
36586 [C99-based-standards] (SCNdFAST8): Likewise.
36587 [C99-based-standards] (SCNiFAST8): Likewise.
36588 [C99-based-standards] (SCNoFAST8): Likewise.
36589 [C99-based-standards] (SCNuFAST8): Likewise.
36590 [C99-based-standards] (SCNxFAST8): Likewise.
36591 [C99-based-standards] (PRId16): Likewise.
36592 [C99-based-standards] (PRIi16): Likewise.
36593 [C99-based-standards] (PRIo16): Likewise.
36594 [C99-based-standards] (PRIu16): Likewise.
36595 [C99-based-standards] (PRIx16): Likewise.
36596 [C99-based-standards] (PRIX16): Likewise.
36597 [C99-based-standards] (SCNd16): Likewise.
36598 [C99-based-standards] (SCNi16): Likewise.
36599 [C99-based-standards] (SCNo16): Likewise.
36600 [C99-based-standards] (SCNu16): Likewise.
36601 [C99-based-standards] (SCNx16): Likewise.
36602 [C99-based-standards] (PRIdLEAST16): Likewise.
36603 [C99-based-standards] (PRIiLEAST16): Likewise.
36604 [C99-based-standards] (PRIoLEAST16): Likewise.
36605 [C99-based-standards] (PRIuLEAST16): Likewise.
36606 [C99-based-standards] (PRIxLEAST16): Likewise.
36607 [C99-based-standards] (PRIXLEAST16): Likewise.
36608 [C99-based-standards] (SCNdLEAST16): Likewise.
36609 [C99-based-standards] (SCNiLEAST16): Likewise.
36610 [C99-based-standards] (SCNoLEAST16): Likewise.
36611 [C99-based-standards] (SCNuLEAST16): Likewise.
36612 [C99-based-standards] (SCNxLEAST16): Likewise.
36613 [C99-based-standards] (PRIdFAST16): Likewise.
36614 [C99-based-standards] (PRIiFAST16): Likewise.
36615 [C99-based-standards] (PRIoFAST16): Likewise.
36616 [C99-based-standards] (PRIuFAST16): Likewise.
36617 [C99-based-standards] (PRIxFAST16): Likewise.
36618 [C99-based-standards] (PRIXFAST16): Likewise.
36619 [C99-based-standards] (SCNdFAST16): Likewise.
36620 [C99-based-standards] (SCNiFAST16): Likewise.
36621 [C99-based-standards] (SCNoFAST16): Likewise.
36622 [C99-based-standards] (SCNuFAST16): Likewise.
36623 [C99-based-standards] (SCNxFAST16): Likewise.
36624 [C99-based-standards] (PRId32): Likewise.
36625 [C99-based-standards] (PRIi32): Likewise.
36626 [C99-based-standards] (PRIo32): Likewise.
36627 [C99-based-standards] (PRIu32): Likewise.
36628 [C99-based-standards] (PRIx32): Likewise.
36629 [C99-based-standards] (PRIX32): Likewise.
36630 [C99-based-standards] (SCNd32): Likewise.
36631 [C99-based-standards] (SCNi32): Likewise.
36632 [C99-based-standards] (SCNo32): Likewise.
36633 [C99-based-standards] (SCNu32): Likewise.
36634 [C99-based-standards] (SCNx32): Likewise.
36635 [C99-based-standards] (PRIdLEAST32): Likewise.
36636 [C99-based-standards] (PRIiLEAST32): Likewise.
36637 [C99-based-standards] (PRIoLEAST32): Likewise.
36638 [C99-based-standards] (PRIuLEAST32): Likewise.
36639 [C99-based-standards] (PRIxLEAST32): Likewise.
36640 [C99-based-standards] (PRIXLEAST32): Likewise.
36641 [C99-based-standards] (SCNdLEAST32): Likewise.
36642 [C99-based-standards] (SCNiLEAST32): Likewise.
36643 [C99-based-standards] (SCNoLEAST32): Likewise.
36644 [C99-based-standards] (SCNuLEAST32): Likewise.
36645 [C99-based-standards] (SCNxLEAST32): Likewise.
36646 [C99-based-standards] (PRIdFAST32): Likewise.
36647 [C99-based-standards] (PRIiFAST32): Likewise.
36648 [C99-based-standards] (PRIoFAST32): Likewise.
36649 [C99-based-standards] (PRIuFAST32): Likewise.
36650 [C99-based-standards] (PRIxFAST32): Likewise.
36651 [C99-based-standards] (PRIXFAST32): Likewise.
36652 [C99-based-standards] (SCNdFAST32): Likewise.
36653 [C99-based-standards] (SCNiFAST32): Likewise.
36654 [C99-based-standards] (SCNoFAST32): Likewise.
36655 [C99-based-standards] (SCNuFAST32): Likewise.
36656 [C99-based-standards] (SCNxFAST32): Likewise.
36657 [C99-based-standards] (PRId64): Likewise.
36658 [C99-based-standards] (PRIi64): Likewise.
36659 [C99-based-standards] (PRIo64): Likewise.
36660 [C99-based-standards] (PRIu64): Likewise.
36661 [C99-based-standards] (PRIx64): Likewise.
36662 [C99-based-standards] (PRIX64): Likewise.
36663 [C99-based-standards] (SCNd64): Likewise.
36664 [C99-based-standards] (SCNi64): Likewise.
36665 [C99-based-standards] (SCNo64): Likewise.
36666 [C99-based-standards] (SCNu64): Likewise.
36667 [C99-based-standards] (SCNx64): Likewise.
36668 [C99-based-standards] (PRIdLEAST64): Likewise.
36669 [C99-based-standards] (PRIiLEAST64): Likewise.
36670 [C99-based-standards] (PRIoLEAST64): Likewise.
36671 [C99-based-standards] (PRIuLEAST64): Likewise.
36672 [C99-based-standards] (PRIxLEAST64): Likewise.
36673 [C99-based-standards] (PRIXLEAST64): Likewise.
36674 [C99-based-standards] (SCNdLEAST64): Likewise.
36675 [C99-based-standards] (SCNiLEAST64): Likewise.
36676 [C99-based-standards] (SCNoLEAST64): Likewise.
36677 [C99-based-standards] (SCNuLEAST64): Likewise.
36678 [C99-based-standards] (SCNxLEAST64): Likewise.
36679 [C99-based-standards] (PRIdFAST64): Likewise.
36680 [C99-based-standards] (PRIiFAST64): Likewise.
36681 [C99-based-standards] (PRIoFAST64): Likewise.
36682 [C99-based-standards] (PRIuFAST64): Likewise.
36683 [C99-based-standards] (PRIxFAST64): Likewise.
36684 [C99-based-standards] (PRIXFAST64): Likewise.
36685 [C99-based-standards] (SCNdFAST64): Likewise.
36686 [C99-based-standards] (SCNiFAST64): Likewise.
36687 [C99-based-standards] (SCNoFAST64): Likewise.
36688 [C99-based-standards] (SCNuFAST64): Likewise.
36689 [C99-based-standards] (SCNxFAST64): Likewise.
36690 [C99-based-standards] (PRIdMAX): Likewise.
36691 [C99-based-standards] (PRIiMAX): Likewise.
36692 [C99-based-standards] (PRIoMAX): Likewise.
36693 [C99-based-standards] (PRIuMAX): Likewise.
36694 [C99-based-standards] (PRIxMAX): Likewise.
36695 [C99-based-standards] (PRIXMAX): Likewise.
36696 [C99-based-standards] (SCNdMAX): Likewise.
36697 [C99-based-standards] (SCNiMAX): Likewise.
36698 [C99-based-standards] (SCNoMAX): Likewise.
36699 [C99-based-standards] (SCNuMAX): Likewise.
36700 [C99-based-standards] (SCNxMAX): Likewise.
36701 [C99-based-standards] (PRIdPTR): Likewise.
36702 [C99-based-standards] (PRIiPTR): Likewise.
36703 [C99-based-standards] (PRIoPTR): Likewise.
36704 [C99-based-standards] (PRIuPTR): Likewise.
36705 [C99-based-standards] (PRIxPTR): Likewise.
36706 [C99-based-standards] (PRIXPTR): Likewise.
36707 [C99-based-standards] (SCNdPTR): Likewise.
36708 [C99-based-standards] (SCNiPTR): Likewise.
36709 [C99-based-standards] (SCNoPTR): Likewise.
36710 [C99-based-standards] (SCNuPTR): Likewise.
36711 [C99-based-standards] (SCNxPTR): Likewise.
36712 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36714 * conform/data/stdint.h-data: Update comments to clarify
36716 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36718 [C99-based standards] (INT8_MAX): Likewise.
36719 [C99-based standards] (INT16_MIN): Likewise.
36720 [C99-based standards] (INT16_MAX): Likewise.
36721 [C99-based standards] (INT32_MIN): Likewise.
36722 [C99-based standards] (INT32_MAX): Likewise.
36723 [C99-based standards] (INT64_MIN): Likewise.
36724 [C99-based standards] (INT64_MAX): Likewise.
36725 [C99-based standards] (UINT8_MAX): Likewise.
36726 [C99-based standards] (UINT16_MAX): Likewise.
36727 [C99-based standards] (UINT32_MAX): Likewise.
36728 [C99-based standards] (UINT64_MAX): Likewise.
36729 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36730 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36731 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36732 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36733 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36734 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36735 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36736 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36737 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36738 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36739 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36740 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36741 [C99-based standards] (INT_FAST8_MIN): Likewise.
36742 [C99-based standards] (INT_FAST8_MAX): Likewise.
36743 [C99-based standards] (INT_FAST16_MIN): Likewise.
36744 [C99-based standards] (INT_FAST16_MAX): Likewise.
36745 [C99-based standards] (INT_FAST32_MIN): Likewise.
36746 [C99-based standards] (INT_FAST32_MAX): Likewise.
36747 [C99-based standards] (INT_FAST64_MIN): Likewise.
36748 [C99-based standards] (INT_FAST64_MAX): Likewise.
36749 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36750 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36751 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36752 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36753 [C99-based standards] (INTPTR_MIN): Likewise.
36754 [C99-based standards] (INTPTR_MAX): Likewise.
36755 [C99-based standards] (UINTPTR_MAX): Likewise.
36756 [C99-based standards] (INTMAX_MIN): Likewise.
36757 [C99-based standards] (INTMAX_MAX): Likewise.
36758 [C99-based standards] (UINTMAX_MAX): Likewise.
36759 [C99-based standards] (PTRDIFF_MIN): Likewise.
36760 [C99-based standards] (PTRDIFF_MAX): Likewise.
36761 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36762 [C99-based standards] (SIZE_MAX): Likewise.
36763 [C99-based standards] (WCHAR_MAX): Likewise.
36764 [C99-based standards] (WINT_MAX): Likewise.
36765 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36766 constraint on value.
36767 [C99-based standards] (WCHAR_MIN): Likewise.
36768 [C99-based standards] (WINT_MIN): Likewise.
36769 [C99-based standards] (*_t): Allow.
36770 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36771 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36772 Include math.h-data and complex.h-data. Remove all expectations
36773 of math.h and complex.h contents.
36774 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36776 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36777 (struct tm): Expect tag.
36778 [C99-based-standards] (wcstof): Expect function.
36779 [C99-based-standards] (wcstold): Likewise.
36780 [C99-based-standards] (wcstoll): Likewise.
36781 [C99-based-standards] (wcstoull): Likewise.
36782 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36783 macro-int-constant. Specify type.
36784 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36785 constraint on value.
36786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36788 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36790 [ISO C standards]: Do not allow headers.
36791 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36792 wcs[abcdefghijklmnopqrstuvwxyz]*.
36793 [ISO C standards] (*_t): Do not allow.
36794 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36796 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36797 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36799 [ISO C standards]: Do not allow headers.
36800 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36801 is[abcdefghijklmnopqrstuvwxyz]*.
36802 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36803 to[abcdefghijklmnopqrstuvwxyz]*.
36804 [ISO C standards] (*_t): Do not allow.
36805 * conform/data/stdalign.h-data: New file.
36806 * conform/data/stdbool.h-data: Likewise.
36807 * conform/data/stdnoreturn.h-data: Likewise.
36809 2012-11-07 Roland McGrath <roland@hack.frob.com>
36812 * manual/filesys.texi (Directory Entries): Typo fix.
36813 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36815 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36817 * elf/elf.h (EM_AARCH64): New macro.
36818 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36819 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36820 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36821 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36822 (R_AARCH64_TLSDESC): Likewise.
36823 (NT_ARM_TLS): Likewise.
36824 (NT_ARM_HW_BREAK): Likewise.
36825 (NT_ARM_HW_WATCH): Likewise.
36827 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36830 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36831 (__ieee754_powl): Saturate nonzero exponents with absolute value
36832 below 0x1p-79 to +/- 0x1p-79.
36833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36834 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36835 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36836 nonzero exponents with absolute value below 0x1p-32 to +/-
36838 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36839 (__ieee754_powl): Saturate nonzero exponents with absolute value
36840 below 0x1p-79 to +/- 0x1p-79.
36841 * math/libm-test.inc (pow_test): Add more tests.
36843 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36845 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36846 _dl_s390_cap_flags with kernel. Increase string length.
36847 (_dl_s390_platforms): Add z196 and zEC12.
36849 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36851 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36852 Change XOPEN21K to XOPEN2K.
36854 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36856 * string/memmove.c: Use memcpy when possible.
36858 2012-11-06 Andreas Jaeger <aj@suse.de>
36860 * po/eo.po: Update from translation team.
36862 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36866 exponent and small x and y exponents, scale x or y up. Increase
36867 by 2 the exponent used in scaling up.
36868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36870 * math/libm-test.inc (fma_test): Add more tests.
36871 (fma_test_towardzero): Likewise.
36872 (fma_test_downward): Likewise.
36873 (fma_test_upward): Likewise.
36875 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36878 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36882 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36883 namespace for names of struct fields.
36884 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36886 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36887 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36889 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36892 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36894 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36896 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36900 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36903 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36907 definitely overflow as x * y not x * y + z.
36908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36910 * math/libm-test.inc (fma_test): Add more tests.
36911 (fma_test_towardzero): Likewise.
36912 (fma_test_downward): Likewise.
36913 (fma_test_upward): Likewise.
36915 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36919 * include/stub-tag.h: Remove file.
36920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36922 * manual/maint.texi (Porting): Don't reference it.
36923 * Makerules ($(objpfx)stubs): Likewise.
36924 * dirent/closedir.c: Don't include <stub-tag.h>.
36925 * dirent/dirfd.c: Likewise.
36926 * dirent/fdopendir.c: Likewise.
36927 * dirent/getdents.c: Likewise.
36928 * dirent/getdents64.c: Likewise.
36929 * dirent/opendir.c: Likewise.
36930 * dirent/readdir.c: Likewise.
36931 * dirent/readdir64.c: Likewise.
36932 * dirent/readdir64_r.c: Likewise.
36933 * dirent/readdir_r.c: Likewise.
36934 * dirent/rewinddir.c: Likewise.
36935 * dirent/seekdir.c: Likewise.
36936 * dirent/telldir.c: Likewise.
36937 * gmon/profil.c: Likewise.
36938 * grp/setgroups.c: Likewise.
36939 * inet/if_index.c: Likewise.
36940 * io/access.c: Likewise.
36941 * io/chdir.c: Likewise.
36942 * io/chmod.c: Likewise.
36943 * io/chown.c: Likewise.
36944 * io/close.c: Likewise.
36945 * io/dup.c: Likewise.
36946 * io/dup2.c: Likewise.
36947 * io/dup3.c: Likewise.
36948 * io/euidaccess.c: Likewise.
36949 * io/faccessat.c: Likewise.
36950 * io/fchdir.c: Likewise.
36951 * io/fchmod.c: Likewise.
36952 * io/fchmodat.c: Likewise.
36953 * io/fchown.c: Likewise.
36954 * io/fchownat.c: Likewise.
36955 * io/fcntl.c: Likewise.
36956 * io/flock.c: Likewise.
36957 * io/fstatfs.c: Likewise.
36958 * io/fstatfs64.c: Likewise.
36959 * io/fstatvfs.c: Likewise.
36960 * io/fstatvfs64.c: Likewise.
36961 * io/futimens.c: Likewise.
36962 * io/fxstat.c: Likewise.
36963 * io/fxstat64.c: Likewise.
36964 * io/fxstatat.c: Likewise.
36965 * io/fxstatat64.c: Likewise.
36966 * io/getcwd.c: Likewise.
36967 * io/isatty.c: Likewise.
36968 * io/lchmod.c: Likewise.
36969 * io/lchown.c: Likewise.
36970 * io/link.c: Likewise.
36971 * io/linkat.c: Likewise.
36972 * io/lseek.c: Likewise.
36973 * io/lseek64.c: Likewise.
36974 * io/lxstat64.c: Likewise.
36975 * io/mkdir.c: Likewise.
36976 * io/mkdirat.c: Likewise.
36977 * io/mkfifo.c: Likewise.
36978 * io/mkfifoat.c: Likewise.
36979 * io/open.c: Likewise.
36980 * io/open64.c: Likewise.
36981 * io/openat.c: Likewise.
36982 * io/openat64.c: Likewise.
36983 * io/pipe.c: Likewise.
36984 * io/pipe2.c: Likewise.
36985 * io/poll.c: Likewise.
36986 * io/posix_fadvise.c: Likewise.
36987 * io/posix_fadvise64.c: Likewise.
36988 * io/posix_fallocate.c: Likewise.
36989 * io/posix_fallocate64.c: Likewise.
36990 * io/read.c: Likewise.
36991 * io/readlink.c: Likewise.
36992 * io/readlinkat.c: Likewise.
36993 * io/rmdir.c: Likewise.
36994 * io/sendfile.c: Likewise.
36995 * io/sendfile64.c: Likewise.
36996 * io/statfs.c: Likewise.
36997 * io/statfs64.c: Likewise.
36998 * io/statvfs.c: Likewise.
36999 * io/statvfs64.c: Likewise.
37000 * io/symlink.c: Likewise.
37001 * io/symlinkat.c: Likewise.
37002 * io/ttyname.c: Likewise.
37003 * io/ttyname_r.c: Likewise.
37004 * io/umask.c: Likewise.
37005 * io/unlink.c: Likewise.
37006 * io/unlinkat.c: Likewise.
37007 * io/utime.c: Likewise.
37008 * io/utimensat.c: Likewise.
37009 * io/write.c: Likewise.
37010 * io/xmknod.c: Likewise.
37011 * io/xmknodat.c: Likewise.
37012 * io/xstat.c: Likewise.
37013 * io/xstat64.c: Likewise.
37014 * login/getpt.c: Likewise.
37015 * login/grantpt.c: Likewise.
37016 * login/unlockpt.c: Likewise.
37017 * math/e_acoshl.c: Likewise.
37018 * math/e_acosl.c: Likewise.
37019 * math/e_asinl.c: Likewise.
37020 * math/e_atan2l.c: Likewise.
37021 * math/e_atanhl.c: Likewise.
37022 * math/e_coshl.c: Likewise.
37023 * math/e_expl.c: Likewise.
37024 * math/e_fmodl.c: Likewise.
37025 * math/e_gammal_r.c: Likewise.
37026 * math/e_hypotl.c: Likewise.
37027 * math/e_j0l.c: Likewise.
37028 * math/e_j1l.c: Likewise.
37029 * math/e_jnl.c: Likewise.
37030 * math/e_lgammal_r.c: Likewise.
37031 * math/e_log10l.c: Likewise.
37032 * math/e_log2l.c: Likewise.
37033 * math/e_logl.c: Likewise.
37034 * math/e_powl.c: Likewise.
37035 * math/e_rem_pio2l.c: Likewise.
37036 * math/e_sinhl.c: Likewise.
37037 * math/e_sqrtl.c: Likewise.
37038 * math/fclrexcpt.c: Likewise.
37039 * math/fedisblxcpt.c: Likewise.
37040 * math/feenablxcpt.c: Likewise.
37041 * math/fegetenv.c: Likewise.
37042 * math/fegetexcept.c: Likewise.
37043 * math/fegetround.c: Likewise.
37044 * math/feholdexcpt.c: Likewise.
37045 * math/fesetenv.c: Likewise.
37046 * math/fesetround.c: Likewise.
37047 * math/feupdateenv.c: Likewise.
37048 * math/fgetexcptflg.c: Likewise.
37049 * math/fraiseexcpt.c: Likewise.
37050 * math/fsetexcptflg.c: Likewise.
37051 * math/ftestexcept.c: Likewise.
37052 * math/k_cosl.c: Likewise.
37053 * math/k_rem_pio2l.c: Likewise.
37054 * math/k_sinl.c: Likewise.
37055 * math/k_tanl.c: Likewise.
37056 * math/s_asinhl.c: Likewise.
37057 * math/s_atanl.c: Likewise.
37058 * math/s_cbrtl.c: Likewise.
37059 * math/s_erfl.c: Likewise.
37060 * math/s_expm1l.c: Likewise.
37061 * math/s_log1pl.c: Likewise.
37062 * math/s_tanhl.c: Likewise.
37063 * misc/acct.c: Likewise.
37064 * misc/brk.c: Likewise.
37065 * misc/chflags.c: Likewise.
37066 * misc/chroot.c: Likewise.
37067 * misc/fchflags.c: Likewise.
37068 * misc/fgetxattr.c: Likewise.
37069 * misc/flistxattr.c: Likewise.
37070 * misc/fremovexattr.c: Likewise.
37071 * misc/fsetxattr.c: Likewise.
37072 * misc/fsync.c: Likewise.
37073 * misc/ftruncate.c: Likewise.
37074 * misc/futimes.c: Likewise.
37075 * misc/futimesat.c: Likewise.
37076 * misc/getdomain.c: Likewise.
37077 * misc/getdtsz.c: Likewise.
37078 * misc/gethostid.c: Likewise.
37079 * misc/gethostname.c: Likewise.
37080 * misc/getloadavg.c: Likewise.
37081 * misc/getpagesize.c: Likewise.
37082 * misc/getsysstats.c: Likewise.
37083 * misc/getxattr.c: Likewise.
37084 * misc/gtty.c: Likewise.
37085 * misc/ioctl.c: Likewise.
37086 * misc/lgetxattr.c: Likewise.
37087 * misc/listxattr.c: Likewise.
37088 * misc/llistxattr.c: Likewise.
37089 * misc/lremovexattr.c: Likewise.
37090 * misc/lsetxattr.c: Likewise.
37091 * misc/lutimes.c: Likewise.
37092 * misc/madvise.c: Likewise.
37093 * misc/mincore.c: Likewise.
37094 * misc/mlock.c: Likewise.
37095 * misc/mlockall.c: Likewise.
37096 * misc/mmap.c: Likewise.
37097 * misc/mprotect.c: Likewise.
37098 * misc/msync.c: Likewise.
37099 * misc/munlock.c: Likewise.
37100 * misc/munlockall.c: Likewise.
37101 * misc/munmap.c: Likewise.
37102 * misc/preadv.c: Likewise.
37103 * misc/preadv64.c: Likewise.
37104 * misc/ptrace.c: Likewise.
37105 * misc/pwritev.c: Likewise.
37106 * misc/pwritev64.c: Likewise.
37107 * misc/readv.c: Likewise.
37108 * misc/reboot.c: Likewise.
37109 * misc/remap_file_pages.c: Likewise.
37110 * misc/removexattr.c: Likewise.
37111 * misc/revoke.c: Likewise.
37112 * misc/select.c: Likewise.
37113 * misc/setdomain.c: Likewise.
37114 * misc/setegid.c: Likewise.
37115 * misc/seteuid.c: Likewise.
37116 * misc/sethostid.c: Likewise.
37117 * misc/sethostname.c: Likewise.
37118 * misc/setregid.c: Likewise.
37119 * misc/setreuid.c: Likewise.
37120 * misc/setxattr.c: Likewise.
37121 * misc/sstk.c: Likewise.
37122 * misc/stty.c: Likewise.
37123 * misc/swapoff.c: Likewise.
37124 * misc/swapon.c: Likewise.
37125 * misc/sync.c: Likewise.
37126 * misc/syncfs.c: Likewise.
37127 * misc/syscall.c: Likewise.
37128 * misc/truncate.c: Likewise.
37129 * misc/ualarm.c: Likewise.
37130 * misc/usleep.c: Likewise.
37131 * misc/ustat.c: Likewise.
37132 * misc/utimes.c: Likewise.
37133 * misc/vhangup.c: Likewise.
37134 * misc/writev.c: Likewise.
37135 * posix/_exit.c: Likewise.
37136 * posix/alarm.c: Likewise.
37137 * posix/execve.c: Likewise.
37138 * posix/fexecve.c: Likewise.
37139 * posix/fork.c: Likewise.
37140 * posix/fpathconf.c: Likewise.
37141 * posix/getaddrinfo.c: Likewise.
37142 * posix/getegid.c: Likewise.
37143 * posix/geteuid.c: Likewise.
37144 * posix/getgid.c: Likewise.
37145 * posix/getgroups.c: Likewise.
37146 * posix/getlogin.c: Likewise.
37147 * posix/getlogin_r.c: Likewise.
37148 * posix/getpgid.c: Likewise.
37149 * posix/getpid.c: Likewise.
37150 * posix/getppid.c: Likewise.
37151 * posix/getresgid.c: Likewise.
37152 * posix/getresuid.c: Likewise.
37153 * posix/getsid.c: Likewise.
37154 * posix/getuid.c: Likewise.
37155 * posix/glob64.c: Likewise.
37156 * posix/nanosleep.c: Likewise.
37157 * posix/pathconf.c: Likewise.
37158 * posix/pause.c: Likewise.
37159 * posix/posix_madvise.c: Likewise.
37160 * posix/pread.c: Likewise.
37161 * posix/pread64.c: Likewise.
37162 * posix/pwrite.c: Likewise.
37163 * posix/pwrite64.c: Likewise.
37164 * posix/sched_getaffinity.c: Likewise.
37165 * posix/sched_getp.c: Likewise.
37166 * posix/sched_gets.c: Likewise.
37167 * posix/sched_primax.c: Likewise.
37168 * posix/sched_primin.c: Likewise.
37169 * posix/sched_rr_gi.c: Likewise.
37170 * posix/sched_setaffinity.c: Likewise.
37171 * posix/sched_setp.c: Likewise.
37172 * posix/sched_sets.c: Likewise.
37173 * posix/sched_yield.c: Likewise.
37174 * posix/setgid.c: Likewise.
37175 * posix/setlogin.c: Likewise.
37176 * posix/setpgid.c: Likewise.
37177 * posix/setresgid.c: Likewise.
37178 * posix/setresuid.c: Likewise.
37179 * posix/setsid.c: Likewise.
37180 * posix/setuid.c: Likewise.
37181 * posix/sleep.c: Likewise.
37182 * posix/spawni.c: Likewise.
37183 * posix/sysconf.c: Likewise.
37184 * posix/times.c: Likewise.
37185 * posix/wait.c: Likewise.
37186 * posix/wait3.c: Likewise.
37187 * posix/wait4.c: Likewise.
37188 * posix/waitpid.c: Likewise.
37189 * resolv/gai_sigqueue.c: Likewise.
37190 * resource/getpriority.c: Likewise.
37191 * resource/getrlimit.c: Likewise.
37192 * resource/getrusage.c: Likewise.
37193 * resource/nice.c: Likewise.
37194 * resource/setpriority.c: Likewise.
37195 * resource/setrlimit.c: Likewise.
37196 * resource/ulimit.c: Likewise.
37197 * rt/aio_cancel.c: Likewise.
37198 * rt/aio_fsync.c: Likewise.
37199 * rt/aio_read.c: Likewise.
37200 * rt/aio_sigqueue.c: Likewise.
37201 * rt/aio_suspend.c: Likewise.
37202 * rt/aio_write.c: Likewise.
37203 * rt/clock_getres.c: Likewise.
37204 * rt/clock_gettime.c: Likewise.
37205 * rt/clock_nanosleep.c: Likewise.
37206 * rt/clock_settime.c: Likewise.
37207 * rt/lio_listio.c: Likewise.
37208 * rt/mq_close.c: Likewise.
37209 * rt/mq_getattr.c: Likewise.
37210 * rt/mq_notify.c: Likewise.
37211 * rt/mq_open.c: Likewise.
37212 * rt/mq_receive.c: Likewise.
37213 * rt/mq_send.c: Likewise.
37214 * rt/mq_setattr.c: Likewise.
37215 * rt/mq_timedreceive.c: Likewise.
37216 * rt/mq_timedsend.c: Likewise.
37217 * rt/mq_unlink.c: Likewise.
37218 * rt/shm_open.c: Likewise.
37219 * rt/shm_unlink.c: Likewise.
37220 * rt/timer_create.c: Likewise.
37221 * rt/timer_delete.c: Likewise.
37222 * rt/timer_getoverr.c: Likewise.
37223 * rt/timer_gettime.c: Likewise.
37224 * rt/timer_settime.c: Likewise.
37225 * setjmp/__longjmp.c: Likewise.
37226 * setjmp/setjmp.c: Likewise.
37227 * signal/kill.c: Likewise.
37228 * signal/killpg.c: Likewise.
37229 * signal/raise.c: Likewise.
37230 * signal/sigaction.c: Likewise.
37231 * signal/sigaltstack.c: Likewise.
37232 * signal/sigblock.c: Likewise.
37233 * signal/sigignore.c: Likewise.
37234 * signal/sigintr.c: Likewise.
37235 * signal/signal.c: Likewise.
37236 * signal/sigpause.c: Likewise.
37237 * signal/sigpending.c: Likewise.
37238 * signal/sigqueue.c: Likewise.
37239 * signal/sigreturn.c: Likewise.
37240 * signal/sigset.c: Likewise.
37241 * signal/sigsetmask.c: Likewise.
37242 * signal/sigstack.c: Likewise.
37243 * signal/sigsuspend.c: Likewise.
37244 * signal/sigtimedwait.c: Likewise.
37245 * signal/sigvec.c: Likewise.
37246 * signal/sigwait.c: Likewise.
37247 * signal/sigwaitinfo.c: Likewise.
37248 * signal/sysv_signal.c: Likewise.
37249 * socket/accept.c: Likewise.
37250 * socket/accept4.c: Likewise.
37251 * socket/bind.c: Likewise.
37252 * socket/connect.c: Likewise.
37253 * socket/getpeername.c: Likewise.
37254 * socket/getsockname.c: Likewise.
37255 * socket/getsockopt.c: Likewise.
37256 * socket/isfdtype.c: Likewise.
37257 * socket/listen.c: Likewise.
37258 * socket/recv.c: Likewise.
37259 * socket/recvfrom.c: Likewise.
37260 * socket/recvmsg.c: Likewise.
37261 * socket/send.c: Likewise.
37262 * socket/sendmsg.c: Likewise.
37263 * socket/sendto.c: Likewise.
37264 * socket/setsockopt.c: Likewise.
37265 * socket/shutdown.c: Likewise.
37266 * socket/sockatmark.c: Likewise.
37267 * socket/socket.c: Likewise.
37268 * socket/socketpair.c: Likewise.
37269 * stdio-common/ctermid.c: Likewise.
37270 * stdio-common/cuserid.c: Likewise.
37271 * stdio-common/remove.c: Likewise.
37272 * stdio-common/rename.c: Likewise.
37273 * stdio-common/renameat.c: Likewise.
37274 * stdio-common/tempname.c: Likewise.
37275 * stdlib/getcontext.c: Likewise.
37276 * stdlib/makecontext.c: Likewise.
37277 * stdlib/setcontext.c: Likewise.
37278 * stdlib/swapcontext.c: Likewise.
37279 * stdlib/system.c: Likewise.
37280 * streams/fattach.c: Likewise.
37281 * streams/fdetach.c: Likewise.
37282 * streams/getmsg.c: Likewise.
37283 * streams/getpmsg.c: Likewise.
37284 * streams/putmsg.c: Likewise.
37285 * streams/putpmsg.c: Likewise.
37286 * sysdeps/unix/bsd/getpt.c: Likewise.
37287 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37288 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37289 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37292 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37293 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37294 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37295 * sysvipc/msgctl.c: Likewise.
37296 * sysvipc/msgget.c: Likewise.
37297 * sysvipc/msgrcv.c: Likewise.
37298 * sysvipc/msgsnd.c: Likewise.
37299 * sysvipc/semctl.c: Likewise.
37300 * sysvipc/semget.c: Likewise.
37301 * sysvipc/semop.c: Likewise.
37302 * sysvipc/semtimedop.c: Likewise.
37303 * sysvipc/shmat.c: Likewise.
37304 * sysvipc/shmctl.c: Likewise.
37305 * sysvipc/shmdt.c: Likewise.
37306 * sysvipc/shmget.c: Likewise.
37307 * termios/tcdrain.c: Likewise.
37308 * termios/tcflow.c: Likewise.
37309 * termios/tcflush.c: Likewise.
37310 * termios/tcgetattr.c: Likewise.
37311 * termios/tcgetpgrp.c: Likewise.
37312 * termios/tcsendbrk.c: Likewise.
37313 * termios/tcsetattr.c: Likewise.
37314 * termios/tcsetpgrp.c: Likewise.
37315 * time/adjtime.c: Likewise.
37316 * time/clock.c: Likewise.
37317 * time/getitimer.c: Likewise.
37318 * time/gettimeofday.c: Likewise.
37319 * time/setitimer.c: Likewise.
37320 * time/settimeofday.c: Likewise.
37321 * time/stime.c: Likewise.
37322 * time/time.c: Likewise.
37324 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
37326 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37329 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37331 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37333 2012-11-03 Joseph Myers <joseph@codesourcery.com>
37336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37337 FE_TONEAREST before applying Dekker multiplication and Knuth
37338 addition. Clear inexact exceptions and check for exact zero
37339 results afterwards.
37340 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37341 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37342 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37343 * math/libm-test.inc (fma_test): Add more tests.
37344 (fma_test_towardzero): Likewise.
37345 (fma_test_downward): Likewise.
37346 (fma_test_upward): Likewise.
37347 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37349 (libc_fesetround): New macro.
37350 (libc_fesetroundf): Likewise.
37351 (libc_fesetroundl): Likewise.
37352 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37354 (libc_fesetround_387): Likewise.
37355 (libc_fesetroundf): New macro.
37356 (libc_fesetround): Likewise.
37357 (libc_fesetroundl): Likewise.
37358 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37360 (libc_fesetroundf): New macro.
37361 (libc_fesetround): Likewise.
37362 (libc_fesetroundl): Likewise.
37363 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37364 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37365 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37367 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37368 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37370 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37371 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37373 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37377 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37378 integer constant usable in #if and use that to give value to enum
37380 (FE_DIVBYZERO): Likewise.
37381 (FE_UNDERFLOW): Likewise.
37382 (FE_OVERFLOW): Likewise.
37383 (FE_INVALID): Likewise.
37384 (FE_INVALID_SNAN): Likewise.
37385 (FE_INVALID_ISI): Likewise.
37386 (FE_INVALID_IDI): Likewise.
37387 (FE_INVALID_ZDZ): Likewise.
37388 (FE_INVALID_IMZ): Likewise.
37389 (FE_INVALID_COMPARE): Likewise.
37390 (FE_INVALID_SOFTWARE): Likewise.
37391 (FE_INVALID_SQRT): Likewise.
37392 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37393 (FE_TONEAREST): Likewise.
37394 (FE_TOWARDZERO): Likewise.
37395 (FE_UPWARD): Likewise.
37396 (FE_DOWNWARD): Likewise.
37397 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37398 (FE_DIVBYZERO): Likewise.
37399 (FE_OVERFLOW): Likewise.
37400 (FE_UNDERFLOW): Likewise.
37401 (FE_INEXACT): Likewise.
37402 (FE_TONEAREST): Likewise.
37403 (FE_DOWNWARD): Likewise.
37404 (FE_UPWARD): Likewise.
37405 (FE_TOWARDZERO): Likewise.
37406 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37407 (FE_UNDERFLOW): Likewise.
37408 (FE_OVERFLOW): Likewise.
37409 (FE_DIVBYZERO): Likewise.
37410 (FE_INVALID): Likewise.
37411 (FE_TONEAREST): Likewise.
37412 (FE_TOWARDZERO): Likewise.
37413 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37414 (FE_OVERFLOW): Likewise.
37415 (FE_UNDERFLOW): Likewise.
37416 (FE_DIVBYZERO): Likewise.
37417 (FE_INEXACT): Likewise.
37418 (FE_TONEAREST): Likewise.
37419 (FE_TOWARDZERO): Likewise.
37420 (FE_UPWARD): Likewise.
37421 (FE_DOWNWARD): Likewise.
37422 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37423 (FE_DIVBYZERO): Likewise.
37424 (FE_OVERFLOW): Likewise.
37425 (FE_UNDERFLOW): Likewise.
37426 (FE_INEXACT): Likewise.
37427 (FE_TONEAREST): Likewise.
37428 (FE_DOWNWARD): Likewise.
37429 (FE_UPWARD): Likewise.
37430 (FE_TOWARDZERO): Likewise.
37432 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37434 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37436 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37438 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37439 commands. Quote $PWD.
37440 (blacklist_exports): Don't use remove_newlines. Replace "declare
37442 (remove_newlines): Remove.
37444 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37446 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37447 * stdlib/stdlib.h (atof): Moved to ...
37448 * include/bits/stdlib-float.h: Here. New file.
37449 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37450 * stdlib/bits/stdlib-float.h: New file.
37451 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37456 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37458 * conform/conformtest.pl (@headers): Add fenv.h.
37459 * conform/data/fenv.h-data: New file.
37460 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37461 include of <math/fenv.h>.
37463 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37464 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37465 && !UNIX98]. Enables tests for XOPEN2K8.
37466 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37467 POSIX2008]: Likewise.
37469 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37470 (struct rusage): Do not expect type or its members.
37473 * math/math.h (FP_NAN): Define macro to integer constant usable in
37474 #if and use that to give value to enum constant.
37475 (FP_INFINITE): Likewise.
37476 (FP_ZERO): Likewise.
37477 (FP_SUBNORMAL): Likewise.
37478 (FP_NORMAL): Likewise.
37480 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37482 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37483 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37486 2012-11-02 Roland McGrath <roland@hack.frob.com>
37488 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37489 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37490 autoconf-time if not.
37491 * configure.in: Remove AC_PREREQ.
37493 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37495 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37496 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37497 of the internal implementation.
37499 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37501 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37502 except include of <misc/sys/syslog.h>.
37504 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37507 function returns with a NULL context exit with zero.
37509 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37511 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37513 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37515 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37516 (run_program_cmd): This.
37517 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37518 (tst_langinfo): New variable. Use it.
37520 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37522 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37523 floating point opcodes.
37525 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37527 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37530 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37532 * sysdeps/mach/hurd/powerpc: Remove directory.
37533 * sysdeps/mach/powerpc: Likewise.
37535 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37537 * scripts/check-local-headers.sh: Ignore c++ headers.
37539 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37541 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37542 __libc_cleanup_region_start argument.
37544 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37549 x * y using scaling, not as x * y + z.
37550 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37552 * math/libm-test.inc (fma_test): Add more tests.
37553 (fma_test_towardzero): Likewise.
37554 (fma_test_downward): Likewise.
37555 (fma_test_upward): Likewise.
37557 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37559 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37561 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37563 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37566 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37568 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37570 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37577 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37580 Fix the order of the list for glibc 2.17.
37581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37584 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37588 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37591 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37592 for low part of x being zero before using __atanl (y).
37593 * math/libm-test.inc (atan2_test): Add another test.
37595 * manual/install.texi (Configuring and compiling): Document
37596 general use of test-wrapper and test-wrapper-env.
37597 * INSTALL: Regenerated.
37599 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37600 (__fma): Do not extract and scale down low bits on after-rounding
37601 systems when result rounded to normal precision would have normal
37603 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37604 (__fmal): Do not extract and scale down low bits on after-rounding
37605 systems when result rounded to normal precision would have normal
37607 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37608 (__fmal): Do not extract and scale down low bits on after-rounding
37609 systems when result rounded to normal precision would have normal
37611 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37613 (fma_test): Add more tests.
37614 (fma_test_towardzero): Likewise.
37615 (fma_test_downward): Likewise.
37616 (fma_test_upward): Likewise.
37618 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37620 * sysdeps/i386/tininess.h: Renamed to ...
37621 * sysdeps/x86/tininess.h: This.
37622 * sysdeps/x86_64/tininess.h: Removed.
37624 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37626 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37627 input. Use $(build-program-cmd).
37628 ($(objpfx)tst-array1-static.out): Likewise.
37629 ($(objpfx)tst-array2.out): Likewise.
37630 ($(objpfx)tst-array3.out): Likewise.
37631 ($(objpfx)tst-array4.out): Likewise.
37632 ($(objpfx)tst-array5.out): Likewise.
37633 ($(objpfx)tst-array5-static.out): Likewise.
37635 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37637 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37640 * nss/nsswitch.h (nss_interface_function): Provide new
37641 macro for use with NSS functions.
37642 * grp/initgroups.c: Use new macro.
37643 * nss/getXXbyYY.c: Likewise.
37644 * nss/getXXbyYY_r.c: Likewise.
37645 * nss/getXXent.c: Likewise.
37646 * nss/getXXent_r.c: Likewise.
37647 * sysdeps/posix/getaddrinfo.c: Likewise.
37649 2012-10-30 Andreas Jaeger <aj@suse.de>
37651 * po/ru.po: Update Russion translation from translation project.
37653 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37658 result and shift together with sticky bit instead of replicating
37659 round-to-nearest rounding.
37660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37662 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37663 missing underflow exceptions.
37664 (fma_test_towardzero): Add more tests.
37665 (fma_test_downward): Likewise.
37666 (fma_test_upward): Likewise.
37669 * sysdeps/generic/tininess.h: New file.
37670 * sysdeps/i386/tininess.h: Likewise.
37671 * sysdeps/sh/tininess.h: Likewise.
37672 * sysdeps/x86_64/tininess.h: Likewise.
37673 * stdlib/tst-strtod-underflow.c: Likewise.
37674 * stdlib/tst-tininess.c: Likewise.
37675 * stdlib/strtod_l.c: Include <tininess.h>.
37676 (round_and_return): Do not set errno for exact underflow cases.
37677 Force an underflow exception when setting errno for underflow.
37678 Determine underflow based on rounding to normal precision if
37679 TININESS_AFTER_ROUNDING.
37680 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37681 ERANGE for exact underflow cases.
37682 * stdlib/Makefile (tests): Add tst-tininess and
37683 tst-strtod-underflow.
37684 ($(objpfx)tst-tininess): Use $(link-libm).
37685 ($(objpfx)tst-strtod-underflow): Likewise.
37687 2012-10-30 Andreas Jaeger <aj@suse.de>
37690 * elf/Makefile (tests): Remove conditional for have-initfini-array
37691 since this is now always required and the variable does not exist
37693 (tests-static): Likewise.
37694 (modules-names): Likewise.
37696 * po/eo.po: Add Esperanto translation from translation project.
37698 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37699 merged with constructor/destructor.
37700 (init_array): Likewise.
37701 * elf/tst-array2dep.c (fini_array): Likewise.
37702 (init_array): Likewise.
37704 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37706 * manual/message.texi: Delete @cartouche tags.
37708 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37710 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37712 * sysdeps/mach/hurd/fsync.c: Likewise.
37714 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37715 [_POSIX_REALTIME_SIGNALS]: Change condition to
37716 [_POSIX_REALTIME_SIGNALS > 0].
37718 2012-10-27 Andreas Jaeger <aj@suse.de>
37720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37721 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37723 [__WORDSIZE != 64]: Likewise.
37725 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37727 * iconvdata/tst-table.sh: Remove ${SHELL}.
37728 * iconvdata/tst-tables.sh: Likewise.
37730 2012-10-25 David S. Miller <davem@davemloft.net>
37732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37733 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37738 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37739 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37740 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37743 2012-10-25 Roland McGrath <roland@hack.frob.com>
37745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37746 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37749 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37750 Jim Blandy <jimb@codesourcery.com>
37752 * scripts/cross-test-ssh.sh: New file.
37753 * manual/install.texi (Configuring and compiling): Document use of
37755 * INSTALL: Regenerated.
37757 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37759 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37762 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37764 * Makeconfig (run-program-prefix): Fix comment.
37766 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37767 Jim Blandy <jimb@codesourcery.com>
37769 * Makeconfig (test-wrapper): New variable,
37770 (test-wrapper-env): Likewise.
37771 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37772 (run-built-tests): Define to yes.
37773 (run-program-prefix): Use $(test-wrapper).
37774 (built-program-cmd): Likewise.
37775 * Rules (make-test-out): Use $(test-wrapper-env) and
37776 $(host-built-program-cmd).
37777 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37778 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37780 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37781 $(test-wrapper-env) to tst-rtld-load-self.sh.
37782 ($(objpfx)order2.out): Use $(test-wrapper).
37783 ($(objpfx)tst-initorder.out): Likewise.
37784 ($(objpfx)tst-initorder2.out): Likewise.
37785 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37786 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37787 (test_wrapper_env): New variable. Use it to run ld.so.
37788 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37789 Use it to run ld.so.
37790 (test_wrapper_env): Likewise.
37791 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37792 $(test-wrapper) to run-iconv-test.sh.
37793 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37794 (ICONV): Use $test_wrapper.
37795 * posix/Makefile ($(objpfx)globtest.out): Pass
37796 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37797 globtest.sh, not $(run-program-prefix).
37798 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37799 (test_wrapper): Likewise.
37800 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37801 set together with run_via_rtld_prefix.
37802 (run_program_prefix): Define in terms of test_wrapper and
37803 run_via_rtld_prefix.
37805 2012-10-24 Roland McGrath <roland@hack.frob.com>
37807 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37808 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37812 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37813 Declare __clock_getres, __clock_gettime, __clock_settime,
37814 __clock_nanosleep, and __clock_getcpuclockid.
37815 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37816 Remove librt_hidden_def (clock_gettime).
37817 * sysdeps/unix/clock_gettime.c: Likewise.
37818 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37819 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37820 * rt/clock_getres.c: Define __clock_getres as an alias.
37821 * sysdeps/posix/clock_getres.c: Likewise.
37822 * rt/clock_settime.c: Define __clock_settime as an alias.
37823 * sysdeps/unix/clock_settime.c: Likewise.
37824 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37825 * sysdeps/unix/clock_nanosleep.c: Likewise.
37826 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37827 * rt/clock-compat.c: New file.
37828 * rt/Makefile (librt-routines): Add clock-compat and move
37829 $(clock-routines) to ...
37830 (routines): ... here, new variable.
37831 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37832 Don't add get_clockfreq here.
37833 * rt/Versions (libc: GLIBC_2.17): New version set.
37834 Add clock_* symbols here.
37835 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37836 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37837 (GLIBC_2.17): Add clock_* symbols.
37838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37849 * NEWS: Mention the move.
37851 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37852 Use __open, __read, __close rather than their public counterparts.
37853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37854 (__get_clockfreq_via_cpuinfo): Likewise.
37855 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37856 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37858 * config.h.in (HAVE_IFUNC): New #undef.
37859 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37861 * configure: Regenerated.
37863 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37865 * configure.in: Move READELF check to start of file.
37866 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37867 libc_cv_asm_gnu_indirect_function in the process.
37868 * configure: Regenerated.
37870 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37872 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37873 send the output to /dev/null.
37874 (libc_cv_cc_with_libunwind): Likewise.
37875 (libc_cv_as_noexecstack): Likewise.
37876 * configure: Regenerate.
37878 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37880 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37882 * posix/globtest.sh (TMPDIR): Do not set.
37883 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37884 (testout): Likewise.
37886 2012-10-24 Andreas Jaeger <aj@suse.de>
37888 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37889 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37890 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37891 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37892 posix_fadvise64, posix_fallocate64.
37894 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37895 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37896 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37898 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37900 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37903 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37904 <bits/fcntl-linux.h>.
37905 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37908 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37909 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37910 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37911 [__WORDSIZE != 64]: Likewise.
37913 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37915 * Makeconfig (run-built-tests): New variable.
37916 * Rules [$(cross-compiling) = yes]: Change condition to
37917 [$(run-built-tests) = no].
37918 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37919 to [$(run-built-tests) = yes].
37920 * elf/Makefile [$(cross-compiling) = no]: Likewise
37921 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37922 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37923 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37924 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37925 * io/Makefile [$(cross-compiling) = no]: Likewise.
37926 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37927 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37928 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37929 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37930 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37931 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37932 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37933 * string/Makefile [$(cross-compiling) = no]: Likewise.
37935 * posix/Makefile ($(objpfx)globtest.out): Pass
37936 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37937 $(rtld-installed-name).
37938 * posix/globtest.sh (elf_objpfx): Remove variable.
37939 (rtld_installed_name): Likewise.
37940 (library_path): Likewise.
37941 (run_program_prefix): New variable. Use for running globtest
37944 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37945 Joseph Myers <joseph@codesourcery.com>
37947 * Makeconfig (host-built-program-cmd): New variable.
37948 * elf/Makefile (tst-stackguard1-ARGS): Use
37949 $(host-built-program-cmd).
37950 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37951 (tst-spawn-ARGS): Likewise.
37952 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37954 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37955 Jim Blandy <jimb@codesourcery.com>
37957 * Makeconfig (run-via-rtld-prefix): New variable.
37958 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37959 (built-program-cmd): Likewise.
37961 2012-10-22 Andreas Jaeger <aj@suse.de>
37963 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37964 __O_RSYNC if it exists, otherwise to O_SYNC.
37966 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37967 Joseph Myers <joseph@codesourcery.com>
37969 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37971 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37973 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37976 2012-10-22 Andreas Jaeger <aj@suse.de>
37978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37983 bits/fcntl-linux.h.
37985 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37986 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37988 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37990 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37993 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37994 Joseph Myers <joseph@codesourcery.com>
37996 * config.make.in (NM): New variable.
37998 2012-10-21 Andreas Jaeger <aj@suse.de>
38000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38001 definitions and declarations that are provided by
38002 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38004 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38007 * elf/Makefile (tests-static): Add tst-leaks1-static.
38008 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38009 ($(objpfx)tst-leaks1-static): New rule.
38010 ($(objpfx)tst-leaks1-static-mem): Likewise.
38011 (tst-leaks1-static-ENV): New macro.
38012 * elf/dl-open.c (dl_open_worker): Check the main application
38013 only if SHARED is defined.
38014 * elf/tst-leaks1-static.c: New file.
38016 2012-10-20 Andreas Jaeger <aj@suse.de>
38018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38019 generic values for Linux.
38020 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38021 and declarations that are provided by <bits/fcntl-linux.h> and
38022 include <bits/fcntl-linux.h>.
38023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38026 2012-10-20 Roland McGrath <roland@hack.frob.com>
38028 * io/fcntl.h: Move include of <bits/types.h> to the top and
38029 include it unconditionally.
38031 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38033 * wcsmbs/Makefile (tests-ifunc): New variable.
38034 (tests): Add $(tests-ifunc).
38035 * wcsmbs/test-wcschr-ifunc.c: New file.
38036 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38037 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38038 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38039 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38040 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38042 * string/Makefile (tests-ifunc): New variable.
38043 (tests): Add $(tests-ifunc).
38044 * string/test-memccpy.c (TEST_NAME): New macro.
38045 * string/test-memchr.c (TEST_NAME): Likewise.
38046 * string/test-memcmp.c (TEST_NAME): Likewise.
38047 * string/test-memcpy.c (TEST_NAME): Likewise.
38048 * string/test-memmem.c (TEST_NAME): Likewise.
38049 * string/test-memmove.c (TEST_NAME): Likewise.
38050 * string/test-memset.c (TEST_NAME): Likewise.
38051 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38052 * string/test-stpcpy.c (TEST_NAME): Likewise.
38053 * string/test-stpncpy.c (TEST_NAME): Likewise.
38054 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38055 * string/test-strcasestr.c (TEST_NAME): Likewise.
38056 * string/test-strcat.c (TEST_NAME): Likewise.
38057 * string/test-strchr.c (TEST_NAME): Likewise.
38058 * string/test-strcmp.c(TEST_NAME): Likewise.
38059 * string/test-strcpy.c (TEST_NAME): Likewise.
38060 * string/test-strcspn.c (TEST_NAME): Likewise.
38061 * string/test-strlen.c (TEST_NAME): Likewise.
38062 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38063 * string/test-strncmp.c (TEST_NAME): Likewise.
38064 * string/test-strncpy.c (TEST_NAME): Likewise.
38065 * string/test-strnlen.c (TEST_NAME): Likewise.
38066 * string/test-strpbrk.c (TEST_NAME): Likewise.
38067 * string/test-strrchr.c (TEST_NAME): Likewise.
38068 * string/test-strspn.c (TEST_NAME): Likewise.
38069 * string/test-strstr.c (TEST_NAME): Likewise.
38070 * string/test-bcopy-ifunc.c: New file.
38071 * string/test-bzero-ifunc.c: Likewise.
38072 * string/test-memccpy-ifunc.c: Likewise.
38073 * string/test-memchr-ifunc.c: Likewise.
38074 * string/test-memcmp-ifunc.c: Likewise.
38075 * string/test-memcpy-ifunc.c: Likewise.
38076 * string/test-memmem-ifunc.c: Likewise.
38077 * string/test-memmove-ifunc.c: Likewise.
38078 * string/test-mempcpy-ifunc.c: Likewise.
38079 * string/test-memset-ifunc.c: Likewise.
38080 * string/test-rawmemchr-ifunc.c: Likewise.
38081 * string/test-stpcpy-ifunc.c: Likewise.
38082 * string/test-stpncpy-ifunc.c: Likewise.
38083 * string/test-strcasecmp-ifunc.c: Likewise.
38084 * string/test-strcasestr-ifunc.c: Likewise.
38085 * string/test-strcat-ifunc.c: Likewise.
38086 * string/test-strchr-ifunc.c: Likewise.
38087 * string/test-strchrnul-ifunc.c: Likewise.
38088 * string/test-strcmp-ifunc.c: Likewise.
38089 * string/test-strcpy-ifunc.c: Likewise.
38090 * string/test-strcspn-ifunc.c: Likewise.
38091 * string/test-strlen-ifunc.c: Likewise.
38092 * string/test-strncasecmp-ifunc.c: Likewise.
38093 * string/test-strncat-ifunc.c: Likewise.
38094 * string/test-strncmp-ifunc.c: Likewise.
38095 * string/test-strncpy-ifunc.c: Likewise.
38096 * string/test-strnlen-ifunc.c: Likewise.
38097 * string/test-strpbrk-ifunc.c: Likewise.
38098 * string/test-strrchr-ifunc.c: Likewise.
38099 * string/test-strspn-ifunc.c: Likewise.
38100 * string/test-strstr-ifunc.c: Likewise.
38102 * debug/Makefile (tests-ifunc): New variable.
38103 (tests): Add $(tests-ifunc).
38104 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38105 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38106 * debug/test-stpcpy_chk-ifunc.c: New file.
38107 * debug/test-strcpy_chk-ifunc.c: Likewise.
38109 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38112 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38113 header is not read in.
38115 2012-10-19 Joseph Myers <joseph@codesourcery.com>
38117 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38118 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38119 directly. Pass built executable to script as
38120 $(built-program-cmd).
38121 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38122 $testprogram without using LD_LIBRARY_PATH and $ldso.
38124 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38125 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38126 $(rtld-installed-name).
38127 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38128 (rtld_installed_name): Likewise.
38129 (library_path): Likewise.
38130 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38132 $(run-program-prefix) to tst-tables.sh.
38133 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38134 it to run tst-table-from and tst-table-to.
38135 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38136 Pass it to tst-table.sh.
38137 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38138 $(run-program-prefix) to tst-gettext.sh.
38139 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38141 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38143 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38144 to run tst-gettext.
38145 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38146 to run tst-gettext2.
38147 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38148 to run tst-translit.
38149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38150 $(run-program-prefix) to tst-mtrace.sh.
38151 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38153 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38154 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38155 $(rtld-installed-name).
38156 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38157 (rtld_installed_name): Likewise.
38158 (run_program_prefix): New variable. Use it to run wordexp-test.
38160 * Makeconfig (ARCH): Remove all definitions.
38161 (machine): Likewise.
38162 [ARCH]: Remove conditional code.
38163 [!objdir]: Give error.
38164 [!objdir] (objpfx): Remove.
38165 [!objdir] (common-objpfx): Likewise.
38166 [!objdir] (common-objdir): Likewise.
38167 * configure.in (config_makefile): Remove. Hardcode Makefile in
38168 AC_CONFIG_FILES call.
38169 * configure: Regenerated.
38172 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38174 (testout): Likewise.
38176 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38177 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38178 $(rtld-installed-name).
38179 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38180 (rtld_installed_name): Likwise.
38181 (runit): Remove function.
38182 (run_getconf): New variable, Use it for running getconf binary.
38184 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38187 * string/test-memmem.c (check_result): New function.
38188 (do_one_test): Use it.
38189 (check1): New function.
38190 (test_main): Use it.
38192 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38194 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38196 2012-10-18 Joseph Myers <joseph@codesourcery.com>
38198 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38199 (_G_LSEEK64): Likewise.
38200 (_G_MMAP64): Likewise.
38201 (_G_FSTAT64): Likewise.
38202 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38203 (_G_LSEEK64): Likewise.
38204 (_G_MMAP64): Likewise.
38205 (_G_FSTAT64): Likewise.
38206 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38207 unconditional. Call __mmap64 directly.
38208 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38209 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38210 __lseek64 directly.
38211 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38212 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38214 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38215 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38216 __lseek64 directly.
38217 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38218 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38219 __lseek64 directly.
38220 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38221 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38222 __lseek64 directly.
38223 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38224 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38225 __fxstat64 directly.
38226 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38227 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38229 (freopen64) [!_G_OPEN64]: Remove conditional code.
38230 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38232 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38233 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38235 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38236 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38238 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38239 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38241 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38242 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38244 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38245 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38247 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38248 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38250 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38252 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38255 * manual/memory.texi (Malloc Tunable Parameters): Add note
38256 about free list pointers overwriting some perturb bytes.
38257 Wording suggested by Roland McGrath.
38259 2012-10-17 Joseph Myers <joseph@codesourcery.com>
38261 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38262 (lgamma_test): Likewise.
38263 (tgamma_test): Likewise.
38265 2012-10-16 Florian Weimer <fweimer@redhat.com>
38268 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38269 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38271 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38273 * NEWS: Mention BZ #14716.
38274 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38275 when removing AVAILABLE1_USES_J macro.
38277 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38279 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38280 (__bswap_64): __uint64_t for unsigned 64-bit int.
38282 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38284 * include/string.h (memmem): Declare libc hidden alias.
38285 * string/memmem.c (memmem): Define libc hidden alias.
38286 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38287 __read, __close instead of open, read, close.
38289 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38292 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38294 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38295 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38296 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38298 (__rawmemchr_sse2): Likewise.
38299 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38300 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38301 (__strchr_sse2): Likewise.
38302 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38303 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38304 (__strcasecmp_sse2): Likewise.
38305 (__strncasecmp_sse2): Likewise.
38306 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38307 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38308 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38309 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38310 (__strrchr_sse2): Likewise.
38311 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38313 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38314 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38315 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38317 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38318 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38319 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38320 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38321 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38322 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38323 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38324 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38325 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38326 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38327 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38328 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38329 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38330 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38331 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38332 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38333 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38334 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38335 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38336 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38337 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38338 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38339 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38340 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38341 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38342 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38344 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38346 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38347 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38348 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38349 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38351 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38353 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38354 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38355 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38356 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38358 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38359 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38360 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38361 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38362 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38363 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38364 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38365 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38366 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38367 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38368 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38369 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38370 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38371 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38372 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38373 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38375 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38376 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38377 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38378 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38379 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38380 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38381 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38382 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38383 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38384 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38385 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38386 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38387 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38388 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38389 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38390 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38391 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38392 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38393 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38394 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38395 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38397 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38398 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38400 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38401 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38402 * include/ifunc-impl-list.h: New file.
38403 * misc/ifunc-impl-list.c: Likewise.
38404 * misc/Makefile (routines): Add ifunc-impl-list.
38405 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38406 * string/test-string.h: Include <ifunc-impl-list.h>.
38407 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38408 TEST_NAME]: New variables.
38409 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38411 (test_init): Call __libc_ifunc_impl_list to initialize
38412 func_list if TEST_IFUNC and TEST_NAME are defined.
38414 * string/Makefile (strop-tests): Add bcopy and bzero.
38415 * string/test-bcopy.c: New file.
38416 * string/test-bzero.c: Likewise.
38417 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38419 * string/test-memset.c: Support bzero test if TEST_BZERO is
38421 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38423 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38425 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38428 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38430 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38431 * configure: Regenerated.
38433 * Makeconfig (+link-static-before-libc): Don't include
38434 $(link-static-libc).
38436 * libio/libio.h (_IO_pos_t): Remove.
38438 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38440 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38443 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38445 * crypt/crypt-entry.c: Include fips-private.h.
38446 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38447 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38448 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38449 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38451 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38453 * crypt/crypt-private.h: Include stdbool.h.
38454 (_ufc_setup_salt_r): Return bool.
38455 * crypt/crypt-entry.c: Include errno.h.
38456 (__crypt_r): Return NULL with EINVAL for bad salt.
38457 * crypt/crypt_util.c (bad_for_salt): New.
38458 (_ufc_setup_salt_r): Check that salt is long enough and within
38459 the specified alphabet.
38460 * crypt/badsalttest.c: New file.
38461 * crypt/Makefile (tests): Add it.
38462 ($(objpfx)badsalttest): New.
38464 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38466 * NEWS: Add entry for BZ #14602.
38468 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38470 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38472 * math/libm-test.inc: Update comment listing what functions and
38474 (isgreater_test): New function.
38475 (isgreaterequal_test): Likewise.
38476 (isless_test): Likewise.
38477 (islessequal_test): Likewise.
38478 (islessgreater_test): Likewise.
38479 (isunordered_test): Likewise.
38480 (main): Call the new functions.
38482 2012-10-09 Roland McGrath <roland@hack.frob.com>
38484 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38485 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38486 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38487 * sysdeps/i386/configure: Regenerated.
38488 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38489 * sysdeps/mach/configure: Regenerated.
38490 * sysdeps/mach/hurd/configure: Regenerated.
38491 * sysdeps/powerpc/configure: Regenerated.
38492 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38493 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38494 * sysdeps/s390/s390-32/configure: Regenerated.
38495 * sysdeps/s390/s390-64/configure: Regenerated.
38496 * sysdeps/sh/configure: Regenerated.
38497 * sysdeps/sparc/configure: Regenerated.
38498 * sysdeps/unix/sysv/linux/configure: Regenerated.
38499 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38500 * sysdeps/x86_64/configure: Regenerated.
38502 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38503 defined. Don't check if MAP is NULL.
38505 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38507 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38508 (_G_stat64): Likewise.
38509 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38510 (_G_stat64): Likewise.
38511 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38512 instead of struct _G_stat64.
38513 * libio/fileops.c (mmap_remap_check): Likewise.
38514 (decide_maybe_mmap): Likewise.
38515 (_IO_new_file_seekoff): Likewise.
38516 (_IO_file_stat): Likewise.
38517 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38519 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38520 instead of struct _G_stat64.
38521 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38523 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38526 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38528 (CHECK_EOL): New macro.
38529 (two_way_short_needle): Check beginning of haystack for EOL. Use
38531 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38532 Replace with CHECK_EOL.
38533 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38534 Replace with CHECK_EOL.
38536 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38538 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38540 * math/libm-test.inc: Update comment listing what functions and
38542 (finite_test): New function.
38543 (isinf_test): Likewise.
38544 (isnan_test): Likewise.
38545 (fpclassify_test): Test subnormal input.
38546 (isfinite_test): Likewise.
38547 (isnormal_test): Likewise.
38548 (main): Call the new functions.
38550 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38553 * Makerules (%.dynsym): Force C locale when running
38554 $(OBJDUMP) --dynamic-syms.
38556 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38558 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38561 2012-10-06 David S. Miller <davem@davemloft.net>
38563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38564 upper 32-bits of the length value in %o2 since we use branch-on-register
38565 tests which consider the entire 64-bit register.
38567 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38569 * string/test-strstr.c (check2): Add a test for page boundary.
38571 2012-10-05 David S. Miller <davem@davemloft.net>
38573 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38574 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38576 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38578 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38579 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38580 and bzero when HWCAP_SPARC_CRYPTO is present.
38582 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38585 * string/test-strstr.c (check2): New function.
38586 (test_main): Call check2.
38588 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38590 * string/bug-strcasestr1.c (do_test): Moved to ...
38591 * string/test-strcasestr.c (check1): Here. New function.
38592 (do_one_test): Break out result checking code into ...
38593 (check_result): This. New function.
38594 (do_one_test): Call check_result.
38595 (test_main): Call check1.
38596 * string/bug-strchr1.c (do_test): Moved to ...
38597 * string/test-strchr.c (check1): Here. New function.
38598 (do_one_test): Break out result checking code into ...
38599 (check_result): This. New function.
38600 (do_one_test): Call check_result.
38601 (test_main): Call check1.
38602 * string/bug-strstr1.c (main): Moved to ...
38603 * string/test-strstr.c (check1): Here. New function.
38604 (do_one_test): Break out result checking code into ...
38605 (check_result): This. New function.
38606 (do_one_test): Call check_result.
38607 (test_main): Call check1.
38608 * string/bug-strcasestr1.c: Removed.
38609 * string/bug-strchr1.c: Likewise.
38610 * string/bug-strstr1.c: Likewise.
38612 * elf/Makefile (dl-routines): Add hwcaps.
38613 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38614 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38615 (_dl_important_hwcaps): Moved to ...
38616 * elf/dl-hwcaps.c: Here. New file.
38617 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38620 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38621 if IS_IN_rtld isn't defined.
38623 * elf/dl-support.c (_dl_sysinfo_map): New.
38624 Include "get-dynamic-info.h" and "setup-vdso.h".
38625 (_dl_non_dynamic_init): Call setup_vdso.
38626 * elf/dynamic-link.h: Don't include <assert.h>.
38627 (elf_get_dynamic_info): Moved to ...
38628 * elf/get-dynamic-info.h: Here. New file.
38629 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38630 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38631 * elf/setup-vdso.h: Here. New file.
38632 * elf/rtld.c: Include "setup-vdso.h".
38633 (dl_main): Call setup_vdso.
38635 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38637 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38638 creal in comment listing functions tested. List finite, isinf,
38639 isnan, isless, islessequal, isgreater, isgreaterequal,
38640 islessgreater, isunordered, lgamma_r and pow10 as functions and
38641 macros not tested. Mention which functions not tested are aliases
38642 for other functions. Fix typo. Note that signs of NaNs are not
38645 * scripts/config.guess: Update from config.git.
38646 * scripts/config.sub: Likewise.
38648 2012-10-04 Roland McGrath <roland@hack.frob.com>
38650 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38651 * misc/madvise.c (madvise): Renamed to __madvise.
38652 Make madvise a weak alias.
38653 * include/sys/mman.h: Declare __madvise.
38654 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38655 * sysdeps/unix/syscalls.list
38656 (madvise): Make __madvise the strong name, and madvise a weak alias.
38657 * sysdeps/unix/sysv/linux/syscalls.list
38658 (madvise, mmap): Remove redundant entries.
38659 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38660 * malloc/malloc.c (mtrim): Likewise.
38661 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38663 2012-10-03 Roland McGrath <roland@hack.frob.com>
38665 * sysdeps/mach/hurd/dl-cache.c: File removed.
38666 * config.h.in (USE_LDCONFIG): New #undef.
38667 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38668 * configure: Regenerated.
38669 * elf/Makefile (dl-routines): Add dl-cache only under
38670 [$(use-ldconfig) = yes].
38671 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38672 cache on [USE_LDCONFIG].
38673 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38675 * elf/rtld.c (dl_main): Likewise.
38677 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38679 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38680 _SC_LEVEL4_CACHE_LINESIZE.
38682 2012-10-03 Roland McGrath <roland@hack.frob.com>
38684 * sysdeps/unix/bsd/confstr.h: File removed.
38686 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38688 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38691 2012-10-02 Roland McGrath <roland@hack.frob.com>
38693 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38694 Make 'mapoff' field ElfW(Off) rather than off_t.
38696 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38698 * nscd/Makefile: Remove nscd-cflags and all its users.
38699 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38700 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38703 * malloc.c (malloc_printerr): Clarify error message.
38705 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38709 Set bit_FMA_Usable if FMA is supported.
38710 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38712 (bit_FMA4_Usable): Updated.
38713 (index_FMA_Usable): New macro.
38714 (CPUID_FMA): Likewise
38715 (HAS_FMA): Defined with bit_FMA_Usable.
38717 2012-10-01 Roland McGrath <roland@hack.frob.com>
38719 * bits/types.h (__swblk_t): Type removed.
38720 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38721 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38723 (__SWBLK_T_TYPE): Likewise.
38724 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38725 (__SWBLK_T_TYPE): Likewise.
38726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38727 (__SWBLK_T_TYPE): Likewise.
38728 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38729 (__SWBLK_T_TYPE): Likewise.
38731 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38732 Honza Horak <hhorak@redhat.com>
38734 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38735 (xdr_mapname): Use YPMAXMAP as maxsize.
38736 (xdr_peername): Use YPMAXPEER as maxsize.
38737 (xdr_keydat): Use YPAXRECORD as maxsize.
38738 (xdr_valdat): Use YPMAXRECORD as maxsize.
38740 2012-10-01 Roland McGrath <roland@hack.frob.com>
38742 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38744 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38745 * csu/init-first.c: ... here.
38746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38747 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38748 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38749 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38750 * sysdeps/i386/init-first.c: File removed.
38751 * sysdeps/sh/init-first.c: File removed.
38753 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38757 if x * y might underflow to zero and z is zero.
38758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38759 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38760 * math/libm-test.inc (min_subnorm_value): New variable.
38761 (fma_test): Add more tests.
38762 (fma_test_towardzero): Likewise.
38763 (fma_test_downward): Likewise
38764 (fma_test_upward): Likewise.
38765 (initialize): Set min_subnorm_value.
38767 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38772 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38773 mode for addition resulting in exact zero.
38774 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38775 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38779 * math/libm-test.inc (fma_test): Add more tests.
38780 (fma_test_towardzero): New function.
38781 (fma_test_downward): Likewise.
38782 (fma_test_upward): Likewise.
38783 (main): Call the new functions.
38785 2012-09-28 David S. Miller <davem@davemloft.net>
38787 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38789 2012-09-28 Roland McGrath <roland@hack.frob.com>
38791 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38792 instead of SIGALRM.
38794 * sysdeps/gnu/_G_config.h: Moved to ...
38795 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38796 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38797 * sysdeps/generic/_G_config.h: ... here.
38799 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38801 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38803 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38804 Conditionalize target on [libnss_test1.so-version].
38806 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38808 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38809 (elfobjdir): Move out of conditionals.
38811 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38812 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38813 (__nss_lookup_function): Conditionalize label remove_from_tree on
38814 [!DO_STATIC_NSS || SHARED], matching its only use.
38816 2012-09-28 David S. Miller <davem@davemloft.net>
38818 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38819 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38821 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38823 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38825 when HWCAP_SPARC_CRYPTO is present.
38827 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38829 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38831 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38834 * stdio-common/vfprintf.c (process_string_arg): Revert
38837 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38839 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38841 * stdio-common/tst-sprintf.c: Include <locale.h>
38842 (main): Test sprintf's handling of incomplete multibyte
38845 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38847 * elf/dl-runtime.c (VERSYMIDX): Removed.
38848 * elf/dl-version.c (VERSYMIDX): Likewise.
38849 * elf/do-rel.h (VERSYMIDX): Likewise.
38850 (VALIDX): Likewise.
38851 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38852 * elf/rtld.c (VALIDX): Likewise.
38853 (ADDRIDX): Likewise.
38854 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38855 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38856 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38857 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38858 (VALIDX): Likewise.
38859 (ADDRIDX): Likewise.
38861 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38863 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38865 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38868 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38870 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38871 addresses are in the same scope as 192.0.2/24.
38872 * posix/gai.conf: Document new scope table defaults.
38874 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38877 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38878 for ftell. Compute offsets from write pointers instead.
38879 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38881 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38884 * libio/Makefile (tests): New test case tst-fseek.
38885 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38886 combination works in wide mode.
38887 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38888 state when the external buffer state changes.
38890 2012-09-27 David S. Miller <davem@davemloft.net>
38893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38894 pass reloc->r_addend in as the 'high' argument to
38895 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38899 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38901 * rt/tst-aio2.c: Include <pthread.h>.
38902 * rt/tst-aio3.c: Likewise.
38904 2012-09-27 Steve Ellcey <sellcey@mips.com>
38906 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38908 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38910 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38911 contents on [SHARED].
38913 2012-09-26 Marek Polacek <polacek@redhat.com>
38917 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38918 for C++ and GCC <4.3 as well as for non GCC compilers.
38920 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38924 2012-09-25 Roland McGrath <roland@hack.frob.com>
38926 * Makefile.in (all, install): Declare with .PHONY.
38927 Reported by Michael Hope <michael.hope@linaro.org>.
38929 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38931 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38932 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38934 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38936 (sydep_routines): Add the new and the internal functions.
38937 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38938 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38940 (GLIBC_2.17): Add the new function.
38941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38942 (GLIBC_2.17): Likewise.
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38944 (GLIBC_2.17): Likewise.
38945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38946 (GLIBC_2.17): Likewise.
38947 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38949 2012-09-25 Alan Modra <amodra@gmail.com>
38951 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38952 Add release barrier before setting once_control to say
38953 initialisation is done. Add hints on lwarx. Use macro in
38955 (clear_once_control): Add release barrier.
38957 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38960 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38962 * math/s_clog10.c (__clog10): Likewise.
38963 * math/s_clog10f.c (__clog10f): Likewise.
38964 * math/s_clog10l.c (__clog10l): Likewise.
38965 * math/s_clogf.c (__clogf): Likewise.
38966 * math/s_clogl.c (__clogl): Likewise.
38967 * math/Makefile (libm-calls): Add x2y2m1.
38968 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38969 (__x2y2m1): Likewise.
38970 (__x2y2m1l): Likewise.
38971 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38972 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38975 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38976 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38977 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38978 * sysdeps/i386/fpu/libm-test-ulps: Update.
38979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38982 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38983 int as type of variable DEPTH.
38984 (glob): Use size_t instead of int as type of variables NEWCOUNT
38987 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38989 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38990 Add s_sincosf-sse2.
38991 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38993 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38994 macros for using routine as __sincosf_ia32.
38995 Use macro for function declaration and weak_alias.
38996 * sysdeps/i386/fpu/libm-test-ulps: Update.
38998 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39001 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39002 subnormal argument.
39003 * math/s_cexpf.c (__cexpf): Likewise.
39004 * math/s_csinf.c (__csinf): Likewise.
39005 * math/s_csinhf.c (__csinhf): Likewise.
39006 * math/s_ctanf.c (__ctanf): Likewise.
39007 * math/s_ctanhf.c (__ctanhf): Likewise.
39008 * math/s_ccosh.c (__ccoshf): Likewise.
39009 * math/s_cexp.c (__cexpl): Likewise.
39010 * math/s_csin.c (__csin): Likewise.
39011 * math/s_csinh.c (__csinh): Likewise.
39012 * math/s_ctan.c (__ctan): Likewise.
39013 * math/s_ctanh.c (ctanh): Likewise.
39014 * math/s_ccoshl.c (__ccoshl): Likewise.
39015 * math/s_cexpl.c (__cexpl): Likewise.
39016 * math/s_csinl.c (__csinl): Likewise.
39017 * math/s_csinhl.c (__csinhl): Likewise.
39018 * math/s_ctanl.c (__ctanl): Likewise.
39019 * math/s_ctanhl.c (__ctanhl): Likewise.
39021 2012-09-25 Joseph Myers <joseph@codesourcery.com>
39023 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39024 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39025 (_IO_off_t): Define to __off_t, not _G_off_t.
39026 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39027 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39028 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39029 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39030 type of __dummy and __dummy2 fields.
39031 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39032 (_G_ssize_t): Likewise.
39033 (_G_off_t): Likewise.
39034 (_G_pid_t): Likewise.
39035 (_G_uid_t): Likewise.
39036 (_G_wchar_t): Likewise.
39037 (_G_wint_t): Likewise.
39038 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39039 (_G_ssize_t): Likewise.
39040 (_G_off_t): Likewise.
39041 (_G_pid_t): Likewise.
39042 (_G_uid_t): Likewise.
39043 (_G_wchar_t): Likewise.
39044 (_G_wint_t): Likewise.
39045 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39046 (_G_ssize_t): Likewise.
39047 (_G_off_t): Likewise.
39048 (_G_pid_t): Likewise.
39049 (_G_uid_t): Likewise.
39050 (_G_wchar_t): Likewise.
39051 (_G_wint_t): Likewise.
39053 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39055 * malloc/arena.c: Include malloc-sysdep.h.
39056 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39057 is sufficient to shrink the heap or an unmap is needed.
39058 * sysdeps/generic/malloc-sysdep.h: New file. Define
39059 new function check_may_shrink_heap.
39060 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39061 new function check_may_shrink_heap.
39063 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39065 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39068 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39070 * catgets/test-gencat.sh: Add "set -e".
39071 * elf/tst-pathopt.sh: Likewise.
39072 * grp/tst_fgetgrent.sh: Likewise.
39073 * iconvdata/run-iconv-test.sh: Likewise.
39074 * intl/tst-gettext.sh: Likewise.
39075 * intl/tst-gettext2.sh: Likewise.
39076 * intl/tst-gettext4.sh: Likewise.
39077 * intl/tst-gettext6.sh: Likewise.
39078 * intl/tst-translit.sh: Likewise.
39079 * io/ftwtest-sh: Likewise.
39080 * libio/test-freopen.sh: Likewise.
39081 * malloc/tst-mtrace.sh: Likewise.
39082 * posix/globtest.sh: Likewise.
39083 * posix/tst-getconf.sh: Likewise.
39084 * posix/wordexp-tst.sh: Likewise.
39085 * stdio-common/tst-printf.sh: Likewise.
39086 * stdio-common/tst-unbputc.sh: Likewise.
39087 * stdlib/tst-fmtmsg.sh: Likewise.
39088 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39089 * catgets/Makefile: Do not specify -e option when running
39090 testsuite shell scripts.
39091 * elf/Makefile: Likewise.
39092 * grp/Makefile: Likewise.
39093 * iconvdata/Makefile: Likewise.
39094 * intl/Makefile: Likewise.
39095 * io/Makefile: Likewise.
39096 * libio/Makefile: Likewise.
39097 * malloc/Makefile: Likewise.
39098 * posix/Makefile: Likewise.
39099 * stdio-common/Makefile: Likewise.
39100 * stdlib/Makefile: Likewise.
39101 * sysdeps/x86_64/Makefile: Likewise.
39103 * io/ftwtest-sh: Add copyright header.
39104 * posix/globtest.sh: Likewise.
39105 * posix/tst-getconf.sh: Likewise.
39106 * posix/wordexp-tst.sh: Likewise.
39107 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39109 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39112 * Makeconfig (+link): Defined as $(+link-static) if
39113 $(build-shared) isn't yes.
39114 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39116 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39118 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39121 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39122 new chunk size with MALLOC_ALIGN_MASK.
39124 2012-09-24 Joseph Myers <joseph@codesourcery.com>
39127 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39129 (__printf_fphex): Determine rounding using get_rounding_mode and
39131 * stdio-common/tst-printf-round.c (struct hex_test): New
39133 (hex_tests): New variable.
39134 (test_hex_in_one_mode): New function.
39135 (do_test): Also run tests for hex float output.
39137 2012-09-21 Joseph Myers <joseph@codesourcery.com>
39139 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39140 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39141 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39142 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39143 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39144 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39145 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39146 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39148 2012-09-20 Joseph Myers <joseph@codesourcery.com>
39150 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39151 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39152 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39153 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39155 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39158 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39160 * elf/tst-rtld-load-self.sh: New test.
39161 * elf/Makefile: Run it.
39163 2012-09-18 Joseph Myers <joseph@codesourcery.com>
39165 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39166 (tst-writev-ENV): Remove.
39167 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39169 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39171 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39173 2012-09-17 Joseph Myers <joseph@codesourcery.com>
39175 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39177 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39179 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39180 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39181 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39184 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39187 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39188 * config.make.in (have-cpp-asm-debuginfo): Removed.
39189 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39190 * configure: Regenerated.
39192 2012-09-14 Joseph Myers <joseph@codesourcery.com>
39195 * stdio-common/printf_fp.c: Include <stdbool.h> and
39197 (___printf_fp): Determine rounding using get_rounding_mode and
39199 * stdio-common/tst-printf-round.c: New file.
39200 * stdio-common/Makefile (tests): Add tst-printf-round.
39201 (link-libm): New variable.
39202 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39204 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39207 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39208 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39210 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39213 2012-09-13 Joseph Myers <joseph@codesourcery.com>
39215 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39216 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39217 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39218 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39220 2012-09-12 Joseph Myers <joseph@codesourcery.com>
39223 * include/rounding-mode.h: New file.
39224 * sysdeps/generic/get-rounding-mode.h: Likewise.
39225 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39226 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39227 (MAX_VALUE): New macro.
39228 (MIN_VALUE): Likewise.
39229 (overflow_value): New function.
39230 (underflow_value): Likewise.
39231 (round_and_return): Use overflow_value and underflow_value to
39232 determine return values in overflow and underflow cases. Use
39233 round_away to determine rounding depending on rounding mode.
39234 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39235 determine return values in overflow and underflow cases.
39236 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39237 (struct test_results): New structure.
39238 (struct test): Use struct test_results to store expected results
39239 for all rounding modes.
39240 (TEST): Include expected results for all rounding modes.
39241 (test_in_one_mode): New function.
39242 (do_test): Use test_in_one_mode to compute and check results.
39243 Check results for all rounding modes.
39244 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39247 2012-12-09 Allan McRae <allan@archlinux.org>
39249 * sysdeps/i386/fpu/libm-test-ulps: Update
39251 2012-09-11 Joseph Myers <joseph@codesourcery.com>
39253 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39254 (_G_int32_t): Likewise.
39255 (_G_uint16_t): Likewise.
39256 (_G_uint32_t): Likewise.
39257 (_G_HAVE_BOOL): Likewise.
39258 (_G_HAVE_ATEXIT): Likewise.
39259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39260 (_G_HAVE_IO_FILE_OPEN): Likewise.
39261 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39262 (_G_int32_t): Likewise.
39263 (_G_uint16_t): Likewise.
39264 (_G_uint32_t): Likewise.
39265 (_G_HAVE_BOOL): Likewise.
39266 (_G_HAVE_ATEXIT): Likewise.
39267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39268 (_G_HAVE_IO_FILE_OPEN): Likewise.
39269 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39270 (_G_int32_t): Likewise.
39271 (_G_uint16_t): Likewise.
39272 (_G_uint32_t): Likewise.
39273 (_G_HAVE_BOOL): Likewise.
39274 (_G_HAVE_ATEXIT): Likewise.
39275 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39276 (_G_HAVE_IO_FILE_OPEN): Likewise.
39278 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39280 * csu/libc-tls.c: Update copyright years.
39282 2012-09-10 Joseph Myers <joseph@codesourcery.com>
39284 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39285 [!_G_USING_THUNKS]: Remove conditional code.
39286 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39287 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39289 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39290 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39291 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39292 (_G_VTABLE_LABEL_PREFIX): Likewise.
39293 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39294 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39295 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39296 (_G_VTABLE_LABEL_PREFIX): Likewise.
39297 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39298 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39299 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39300 (_G_VTABLE_LABEL_PREFIX): Likewise.
39301 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39303 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39305 * libio/Makefile: Include ../Makeconfig before tests.
39306 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39307 only if $(build-shared) is yes.
39309 * iconv/gconv_db.c: Update copyright years.
39311 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39313 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39314 unwind info if defined PIC. Fix special cases description.
39315 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39317 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39319 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39321 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39323 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39325 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39328 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39329 (LDLIBS-tst-chk4): This.
39330 (LDFLAGS-tst-chk5): Renamed to ...
39331 (LDLIBS-tst-chk5): This.
39332 (LDFLAGS-tst-chk6): Renamed to ...
39333 (LDLIBS-tst-chk6): This.
39334 (LDFLAGS-tst-lfschk4): Renamed to ...
39335 (LDLIBS-tst-lfschk4): This.
39336 (LDFLAGS-tst-lfschk5): Renamed to ...
39337 (LDLIBS-tst-lfschk5): This.
39338 (LDFLAGS-tst-lfschk6): Renamed to ...
39339 (LDLIBS-tst-lfschk6): This.
39341 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39342 on $(common-objpfx)soversions.mk.
39344 2012-09-07 Joseph Myers <joseph@codesourcery.com>
39347 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39350 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39352 * malloc/arena.c (arena_get_retry): New function that gets
39353 another arena for the caller to try its request on.
39354 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39355 current arena cannot fulfill the request.
39356 (__libc_memalign): Likewise.
39357 (__libc_memalign): Likewise.
39358 (__libc_pvalloc): Likewise.
39359 (__libc_calloc): Likewise.
39361 2012-09-05 John Tobey <john.tobey@gmail.com>
39364 * manual/arith.texi (Operations on Complex): Fix description
39365 of carg branch cut.
39367 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39370 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39374 * manual/memory.texi (Memory): Make order of menu items match
39377 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39379 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39380 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39381 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39383 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39385 * csu/libc-tls.c (static_dtv): Renamed to ...
39386 (_dl_static_dtv): This. Make it global.
39387 (_dl_initial_dtv): Removed.
39388 (__libc_setup_tls): Updated.
39389 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39390 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39393 2012-09-06 Petr Machata <pmachata@redhat.com>
39395 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39396 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39397 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39398 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39400 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39403 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39404 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39407 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39410 * Makeconfig (link-static-before-libc): Replace $(+prector)
39412 (link-static-after-libc): Replace $(+postctor) with
39414 (link-bounded): Replace $(+prector)/$(+postctor) with
39415 $(+prectorT)/$(+postctorT).
39416 (+prectorT): New macro.
39417 (+postctorT): Likewise.
39419 2012-09-06 Joseph Myers <joseph@codesourcery.com>
39421 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39422 (round_str): Handle values above the maximum for IBM long double
39424 * stdlib/tst-strtod-round.c (tests): Regenerated.
39426 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39428 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39430 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39431 zarch_nohighgprs around the zarch optimized routines.
39432 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39433 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39434 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39437 2012-09-05 David S. Miller <davem@davemloft.net>
39439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39441 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39442 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39443 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39444 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39447 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39449 * malloc/arena.c: Fold copyright years.
39450 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39452 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39456 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39458 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39460 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39462 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39463 change internal state upon failure.
39465 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39467 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39468 * malloc/memusage.c (mmap): Likewise.
39469 (mmap64, mremap): Likewise. Adjust name in comment.
39471 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39473 * libio/fileops.c: Fix typos in comments.
39474 * libio/oldfileops.c: Likewise.
39475 * libio/wfileops.c: Likewise.
39477 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39480 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39481 (tst-malloc-usable-ENV): Set environment for test case.
39482 * malloc/hooks.c (malloc_check_get_size): New function to get
39484 * malloc/malloc.c (musable): Use malloc_check_get_size.
39485 * malloc/tst-malloc-usable.c: New test case.
39487 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39489 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39491 2012-09-05 Allan McRae <allan@archlinux.org>
39494 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39495 determine header location.
39496 * configure: Regenerated.
39498 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39500 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39502 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39503 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39505 (test): Regenerate.
39507 2012-09-04 David S. Miller <davem@davemloft.net>
39509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39513 2012-09-04 Florian Weimer <fweimer@redhat.com>
39515 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39518 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39520 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39523 * libio/iogetdelim.c: Include <limits.h>.
39524 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39525 + len + 1 would overflow.
39527 2012-09-03 Andreas Jaeger <aj@suse.de>
39529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39530 * sysdeps/i386/fpu/libm-test-ulps: Update.
39532 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39534 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39535 Add s_sinf-sse2, s_conf-sse2.
39537 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39538 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39539 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39540 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39542 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39543 for using routine as __sinf_ia32.
39544 Use macro for function declaration and weak_alias.
39545 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39546 for using routine as __cosf_ia32.
39547 Use macro for function declaration and weak_alias.
39549 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39550 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39552 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39553 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39556 * math/libm-test.inc (cos_test): Add more test cases.
39557 (sin_test): Likewise.
39558 (sincos_test): Likewise.
39560 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39562 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39563 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39567 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39570 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39571 first element of the GOT.
39572 (elf_machine_load_address): Return the difference between
39573 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39575 2012-09-01 Allan McRae <allan@archlinux.org>
39578 * configure.in (AWK): Require gawk version 3.0 or later.
39579 * configure: Regenerated.
39581 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39583 * sysdeps/unix/sysv/linux/kernel-features.h
39584 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39585 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39586 [__NR_clock_getres]: Make code unconditional.
39587 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39588 (clock_getcpuclockid): Remove code left unreachable by removal of
39590 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39591 code unconditional.
39592 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39593 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39594 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39595 Make code unconditional.
39596 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39597 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39598 * sysdeps/unix/sysv/linux/clock_settime.c
39599 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39601 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39602 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39604 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39607 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39608 scripts/test-installation.pl.
39610 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39611 and $ld_so_version if it is set.
39613 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39616 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39617 failure if reading from procfs failed.
39618 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39620 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39622 * sysdeps/unix/sysv/linux/kernel-features.h
39623 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39624 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39625 Remove conditional code.
39626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39627 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39628 Remove conditional code.
39629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39630 * sysdeps/unix/sysv/linux/i386/fxstat.c
39631 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39633 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39634 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39636 * sysdeps/unix/sysv/linux/i386/lxstat.c
39637 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39639 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39640 Remove conditional code.
39641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39642 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39643 Remove conditional code.
39644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39645 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39646 <kernel-features.h>.
39647 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39649 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39650 Remove conditional code.
39651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39652 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39653 Remove conditional.
39655 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39658 * NEWS: Add fixed bug number.
39660 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39663 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39664 underflowing exponent in case of negative sign.
39665 * stdlib/tst-strtod-round-data: Add more tests.
39666 * stdlib/tst-strtod-round.c (tests): Regenerated.
39669 * stdlib/strtod_l.c (NDIG): Remove.
39670 (HEXNDIG): Likewise.
39671 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39672 smallest representable value.
39673 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39674 lie within an exact representation of 1/2 ulp of the result.
39675 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39677 (TENS_P9_IDX): Define unconditionally.
39678 (TENS_P9_SIZE): Likewise.
39679 (TENS_P10_IDX): Likewise.
39680 (TENS_P10_SIZE): Likewise.
39681 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39682 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39683 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39684 entries for 10^2^13 and 10^2^14.
39685 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39686 (TENS_P13_IDX): Define.
39687 (TENS_P13_SIZE): Likewise.
39688 (TENS_P14_IDX): Likewise.
39689 (TENS_P14_SIZE): Likewise.
39690 (_fpioconst_pow10): Change array size to
39691 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39693 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39694 1024]: Add entries for 10^2^13 and 10^2^14.
39695 [LAST_POW10 > _LAST_POW10]: Remove #error.
39696 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39697 (_fpioconst_pow10): Change array size to
39698 FPIOCONST_POW10_ARRAY_SIZE.
39699 * stdlib/gen-fpioconst.c: New file.
39700 * stdlib/gen-tst-strtod-round.c: Likewise.
39701 * stdlib/tst-strtod-round-data: Likewise.
39702 * stdlib/tst-strtod-round.c: Likewise.
39703 * stdlib/Makefile (tests): Add tst-strtod-round.
39706 * stdlib/strtod_l.c: Include <stdint.h>.
39707 (NDEBUG): Do not define.
39708 (round_and_return): Change EXPONENT parameter to type intmax_t.
39709 Rearrange calculations to avoid internal overflow possibilities.
39710 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39711 Rearrange calculations to avoid internal overflow possibilities.
39712 Assert that number fits inside MPNSIZE limbs.
39713 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39714 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39715 calculations and add assertions to avoid internal overflow
39716 possibilities. Add casts to avoid signed/unsigned operations.
39717 * stdlib/tst-strtod-overflow.c: New file.
39718 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39720 2012-08-25 Marek Polacek <polacek@redhat.com>
39722 * time/time.h: Fix some typos in comments.
39724 2012-08-23 Roland McGrath <roland@hack.frob.com>
39726 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39727 * posix/tst-rfc3484-2.c: Likewise.
39728 * posix/tst-rfc3484-3.c: Likewise.
39730 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39732 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39733 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39735 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39737 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39738 #include of fxstatat64.c.
39740 2012-08-22 Roland McGrath <roland@hack.frob.com>
39742 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39743 * shadow/getspent_r.c: Likewise.
39744 * shadow/getspnam.c: Likewise.
39745 * shadow/getspnam_r.c: Likewise.
39746 * gshadow/getsgent.c: Likewise.
39747 * gshadow/getsgent_r.c: Likewise.
39748 * gshadow/getsgnam.c: Likewise.
39749 * gshadow/getsgnam_r.c: Likewise.
39750 * inet/getnetbyad.c: Likewise.
39751 * inet/getnetbyad_r.c: Likewise.
39752 * inet/getnetbynm.c: Likewise.
39753 * inet/getnetbynm_r.c: Likewise.
39754 * inet/getnetent.c: Likewise.
39755 * inet/getnetent_r.c: Likewise.
39756 * inet/getproto.c: Likewise.
39757 * inet/getproto_r.c: Likewise.
39758 * inet/getprtent.c: Likewise.
39759 * inet/getprtent_r.c: Likewise.
39760 * inet/getprtname.c: Likewise.
39761 * inet/getprtname_r.c: Likewise.
39762 * inet/getrpcbyname.c: Likewise.
39763 * inet/getrpcbyname_r.c: Likewise.
39764 * inet/getrpcbynumber.c: Likewise.
39765 * inet/getrpcbynumber_r.c: Likewise.
39766 * inet/getrpcent.c: Likewise.
39767 * inet/getrpcent_r.c: Likewise.
39768 * inet/getaliasent.c: Likewise.
39769 * inet/getaliasent_r.c: Likewise.
39770 * inet/getaliasname.c: Likewise.
39771 * inet/getaliasname_r.c: Likewise.
39772 * nscd/getgrgid_r.c: Likewise.
39773 * nscd/getgrnam_r.c: Likewise.
39774 * nscd/gethstbyad_r.c: Likewise.
39775 * nscd/gethstbynm3_r.c: Likewise.
39776 * nscd/getpwnam_r.c: Likewise.
39777 * nscd/getpwuid_r.c: Likewise.
39778 * nscd/getsrvbynm_r.c: Likewise.
39779 * nscd/getsrvbypt_r.c: Likewise.
39780 * nscd/gai.c: Likewise.
39782 * configure.in (build_nscd): New substituted variable, set
39783 by --disable-build-nscd and defaults to $use_nscd.
39784 * configure: Regenerated.
39785 * config.make.in (build-nscd): New substituted variable.
39786 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39787 Change conditional to require [$(build-nscd) = yes] as well.
39788 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39791 * configure.in (use_nscd): New substituted variable, set by
39792 --disable-nscd. If enabled, define USE_NSCD.
39793 * configure: Regenerated.
39794 * config.h.in: Add USE_NSCD.
39795 * config.make.in (use-nscd): New substituted variable.
39796 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39797 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39798 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39799 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39800 (CFLAGS-getgrnam_r.c): Likewise.
39801 (CFLAGS-initgroups.c): Likewise.
39802 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39803 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39805 * inet/getnetgrent_r.c
39806 (nscd_setnetgrent): New function, broken out of ...
39807 (setnetgrent): ... here. Call it.
39808 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39809 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39810 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39811 * nscd/Makefile (routines, aux): Move definitions after include of
39812 Makeconfig. Conditionalize on [$(use-nscd) != no].
39813 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39814 Conditionalize on [USE_NSCD].
39815 (is_nscd, nscd_init_cb): Likewise.
39816 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39817 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39818 * nss/nss_db/db-init.c: Likewise.
39819 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39821 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39822 (make_request): Use it.
39823 (cache_valid_p): New function.
39824 (__check_pf): Use it.
39825 * NEWS: Add item for --disable-nscd.
39827 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39829 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39830 to support sed >= 4.2.1-20-ga9bf076.
39831 * configure: Regenerated.
39833 2012-08-22 Roland McGrath <roland@hack.frob.com>
39835 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39836 Conditionalize whole body on [IREL].
39838 2012-08-22 Jeff Law <law@redhat.com>
39841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39842 if the family is PF_UNSPEC.
39844 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39846 * Makerules (lib-version): Rename from V.
39847 (install-lib-nosubdir): Change V to lib-version.
39849 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39852 * powerpc32/power6/wcschr.c: New file.
39853 * powerpc32/power6/wcscpy.c: New file.
39854 * powerpc32/power6/wcsrchr.c: New file.
39855 * powerpc64/power6/wcschr.c: New file.
39856 * powerpc64/power6/wcscpy.c: New file.
39857 * powerpc64/power6/wcsrchr.c: New file.
39859 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39861 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39862 (two_way_short_needle): Use it.
39863 * string/strstr.c (AVAILABLE1_USES_J): Define.
39864 * string/strcasestr.c: Likewise.
39866 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39868 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39871 * NEWS: Add an entry.
39872 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39873 define their defaults.
39874 (two_way_short_needle): Detect end-of-string on-the-fly.
39875 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39876 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39877 * string/bug-strcasestr1.c: New test.
39878 * string/Makefile: Run it.
39880 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39883 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39884 the first character.
39886 2012-08-21 Roland McGrath <roland@hack.frob.com>
39888 * csu/elf-init.c (__libc_csu_irel): Function removed.
39889 * csu/libc-start.c (apply_irel): New function.
39890 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39892 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39894 * sysdeps/unix/sysv/linux/kernel-features.h
39895 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39896 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39897 <kernel-features.h>.
39898 [__NR_fadvise64_64]: Make code unconditional.
39899 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39900 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39901 !__NR_fadvise64_64)]: Likewise.
39902 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39903 !__NR_fadvise64_64))]: Likewise.
39904 [__NR_fadvise64]: Make code unconditional.
39905 [!__NR_fadvise64]: Remove conditional code.
39906 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39907 <kernel-features.h>.
39908 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39910 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39913 not include <kernel-features.h>.
39914 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39916 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39918 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39919 include <kernel-features.h>.
39920 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39922 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39925 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39928 slight instruction rearrangements per scrollpipe analysis.
39929 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39931 2012-08-20 Roland McGrath <roland@hack.frob.com>
39933 * manual/syslog.texi (syslog; vsyslog, closelog):
39934 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39935 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39937 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39938 DSOCAPS to match condition on defining it.
39940 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39942 * sysdeps/unix/sysv/linux/kernel-features.h
39943 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39945 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39946 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39948 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39949 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39951 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39952 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39954 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39955 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39957 * sysdeps/unix/sysv/linux/kernel-features.h
39958 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39959 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39961 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39962 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39963 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39964 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39965 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39966 Make code unconditional.
39967 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39968 (__mmap64) [!__NR_mmap2]: Likewise.
39969 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39970 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39971 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39972 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39973 [__NR_mmap2]: Make code unconditional.
39974 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39975 (__mmap64) [!__NR_mmap2]: Likewise.
39977 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39979 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39981 2012-08-18 Andreas Jaeger <aj@suse.de>
39983 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39985 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39987 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39988 * include/unistd.h (__have_sock_cloexec): Likewise.
39989 (__have_pipe2): Likewise.
39990 (__have_dup3): Likewise.
39992 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39995 * include/unistd.h (__have_pipe2): Change define into an extern int.
39996 (__have_dup3): Likewise.
39997 * socket/have_sock_cloexec.c: Include fcntl.h.
39998 (__have_pipe2): New variable.
39999 (__have_dup3): Likewise.
40001 2012-08-17 Mike Frysinger <vapier@gentoo.org>
40003 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40005 2012-08-17 Marek Polacek <polacek@redhat.com>
40007 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40008 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40010 2012-08-17 Roland McGrath <roland@hack.frob.com>
40012 * configure.in: Add AC_SUBST for sysheaders.
40013 * configure: Regenerated.
40014 * config.make.in (sysheaders): New substituted variable.
40016 * sysdeps/unix/mkfifo.c: Moved ...
40017 * sysdeps/posix/mkfifo.c: ... here.
40018 * sysdeps/unix/mkfifoat.c: Moved ...
40019 * sysdeps/posix/mkfifoat.c: ... here.
40021 * sysdeps/unix/utime.c: Moved ...
40022 * sysdeps/posix/utime.c: ... here.
40024 * sysdeps/unix/time.c: Moved ...
40025 * sysdeps/posix/time.c: ... here.
40026 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40027 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40029 * sysdeps/unix/nice.c: Moved ...
40030 * sysdeps/posix/nice.c: ... here.
40032 * sysdeps/unix/alarm.c: Moved ...
40033 * sysdeps/posix/alarm.c: ... here.
40035 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40037 2012-08-17 Jeff Law <law@redhat.com>
40039 * intl/Makefile (codeset_mo): New variable.
40040 ($(codeset_mo)): New target.
40041 (tst-codeset.out): Depend on that. Remove explicit rule.
40042 (tst-gettext3.out, tst-gettext5.out): Likewise.
40043 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40044 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40045 * intl/tst-codeset.sh: Remove.
40046 * intl/tst-gettext3.sh: Likewise.
40047 * intl/tst-gettext5.sh: Likewise.
40049 2012-08-17 Roland McGrath <roland@hack.frob.com>
40051 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40052 * sysdeps/unix/syscalls.list: ... here.
40054 * sysdeps/posix/getaddrinfo.c
40055 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40056 (gaiconf_init, gaiconf_reload): Use them.
40057 [!_STATBUF_ST_NSEC]
40058 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40059 Define using time_t rather than struct timespec.
40061 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40062 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40064 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40066 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40067 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40070 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40071 __libc_cleanup_push argument.
40073 * bits/param.h: New file.
40074 * misc/sys/param.h: New file.
40075 * include/sys/param.h: New file.
40076 * misc/Makefile (headers): Add bits/param.h.
40077 * sysdeps/generic/sys/param.h: File removed.
40078 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40079 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40080 * sysdeps/mach/hurd/bits/param.h: New file.
40081 * sysdeps/mach/hurd/sys/param.h: File removed.
40083 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40086 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40088 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40089 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40092 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40093 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40094 rather than -D_IO_MTSAFE_IO conditionally.
40095 * stdio-common/Makefile (CPPFLAGS): Likewise.
40096 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40097 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40098 Use $(libio-mtsafe).
40099 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40100 of -D_IO_MTSAFE_IO.
40101 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40102 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40103 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40104 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40105 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40106 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40107 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40108 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40109 (CFLAGS-fread_u_chk.c): Likewise.
40110 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40111 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40112 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40113 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40114 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40115 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40116 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40117 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40118 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40120 * libio/Makefile: Test [$(libc-reentrant) = yes]
40121 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40124 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40125 * sysdeps/pthread/configure: File removed.
40126 * sysdeps/pthread/Makeconfig: New file.
40127 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40128 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40130 2012-08-16 Gary Benson <gbenson@redhat.com>
40132 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40133 unmapping the first object in a namespace.
40135 2012-08-16 Roland McGrath <roland@hack.frob.com>
40137 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40138 (__internal_setnetgrent): ... this. Add internal_function to
40139 definition. Add libc_hidden_def.
40140 (setnetgrent): Update caller.
40141 (internal_endnetgrent): Renamed to ...
40142 (__internal_endnetgrent): ... this. Add internal_function to
40143 definition. Add libc_hidden_def.
40144 (endnetgrent): Update caller.
40145 (internal_getnetgrent_r): Renamed to ...
40146 (__internal_getnetgrent_r): ... this. Add internal_function to
40147 definition. Add libc_hidden_def.
40148 (__getnetgrent_r): Update caller.
40149 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40151 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40153 * stdlib/longlong.h: Update from GCC.
40155 2012-08-16 Roland McGrath <roland@hack.frob.com>
40157 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40158 on _QL, which is set by umul_ppmm but never used.
40159 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40160 variables, which are set by GMP macros but never used.
40161 * stdio-common/_itowa.c (_itowa): Likewise.
40162 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40163 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40165 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40167 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40168 struct La_sh_regs is not constant.
40169 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40170 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40171 and struct La_sparc64_regs are not constant.
40173 2012-08-16 Joseph Myers <joseph@codesourcery.com>
40175 * sysdeps/unix/sysv/linux/kernel-features.h
40176 (__ASSUME_POSIX_TIMERS): Remove.
40177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40178 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40179 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40180 Make code unconditional.
40181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40182 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40183 Make code unconditional.
40184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40185 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40186 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40188 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40189 Make code unconditional.
40190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40191 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40192 (__libc_missing_posix_timers): Remove.
40194 2012-08-15 Roland McGrath <roland@hack.frob.com>
40196 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40197 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40199 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40201 * elf/dl-sym.c: Include <stdlib.h>.
40203 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40204 constants, which avoids warnings in 32-bit builds.
40206 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40207 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40209 * misc/lseek.c: File moved to ...
40210 * io/lseek.c: ... here.
40212 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40214 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40215 shifting LEN more than 31 bits at once.
40217 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40220 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40221 segmentation fault for a case of two empty input strings.
40222 * string/test-strncasecmp.c (check1): Renamed to...
40223 (bz12205): ...this.
40224 (bz14195): Add new testcase for two empty input strings and N > 0.
40225 (test_main): Call new testcase, adapt for renamed function.
40227 2012-08-15 Andreas Jaeger <aj@suse.de>
40230 * crypt/md5test2.c: New test, based on test supplied by Serge
40231 Belyshev <belyshev@depni.sinp.msu.ru>.
40232 * crypt/Makefile (xtests): Add md5test-giant..
40233 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40235 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40238 * crypt/md5.c (md5_process_block): Don't assume the buffer
40239 length is less than 2**32.
40240 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40241 length is less than 2**64.
40243 2012-08-15 Roland McGrath <roland@hack.frob.com>
40245 * string/str-two-way.h: Include <sys/param.h>.
40246 (MAX): Macro removed.
40248 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40249 Move #define and #undef of memmove to just before and after
40250 including <string.h>.
40252 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40253 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40254 and after including <string.h>. Move declarations of
40255 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40256 to before #include "string/memmove.c".
40258 * include/dirent.h: Declare __getdirentries.
40260 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40261 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40263 2012-08-14 Mike Frysinger <vapier@gentoo.org>
40265 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40266 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40267 * sysdeps/i386/configure: Regenerated.
40268 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40269 STABS_CURRENT_FILE, and STABS_FUN.
40270 (END): Remove call to STABS_FUN_END.
40271 (STABS_CURRENT_FILE1): Delete.
40272 (STABS_CURRENT_FILE): Likewise.
40273 (STABS_FUN): Likewise.
40274 (STABS_FUN_END): Likewise.
40275 (STABS_FUN2): Likewise.
40276 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40277 * sysdeps/x86_64/configure: Regenerated.
40279 2012-08-14 Roland McGrath <roland@hack.frob.com>
40281 * elf/dl-open.c: Include <atomic.h>.
40282 * elf/dl-lookup.c: Likewise.
40284 2012-08-14 Joseph Myers <joseph@codesourcery.com>
40286 * sysdeps/unix/sysv/linux/kernel-features.h
40287 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40288 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40290 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40292 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40293 condition on __ASSUME_CLONE_THREAD_FLAGS.
40295 2012-08-14 Andreas Jaeger <aj@suse.de>
40297 * sysdeps/i386/fpu/libm-test-ulps: Update.
40299 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40301 * include/atomic.h (atomic_exchange_and_add): Split into ...
40302 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40305 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40309 2012-08-13 Jeff Law <law@redhat.com>
40311 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40312 null byte in the output string.
40314 2012-08-10 Joseph Myers <joseph@codesourcery.com>
40316 * sysdeps/unix/sysv/linux/kernel-features.h
40317 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40318 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40319 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40320 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40321 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40322 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40323 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40325 2012-08-09 Jeff Law <law@redhat.com>
40328 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40329 When avoid_arena is set, don't retry in the that arena. Pick the
40330 next one, whatever it might be.
40331 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40332 (arena_lock): Pass in new parameter to arena_get2.
40333 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40335 (__libc_malloc): Unify retrying after main arena failure with
40336 __libc_memalign version.
40337 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40339 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40342 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40343 to __redirect_strstr.
40344 (__strstr_sse42): Use typeof __redirect_strstr.
40345 (__strstr_ia32): Likewise.
40346 (__libc_strstr): New prototype.
40347 (strstr): Renamed to ...
40348 (__libc_strstr): This.
40349 (strstr): New strong alias of __libc_strstr.
40350 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40351 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40354 (__libc_time): New prototype.
40355 (time_ifunc): Replace time with __libc_time.
40356 (time): New strong alias and hidden definition of __libc_time.
40357 (__GI_time): Remove strong alias.
40358 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40359 Include <stddef.h>.
40360 (memmove): Redefined to __redirect_memmove.
40361 (__memmove_sse2): Use typeof __redirect_memmove.
40362 (__memmove_ssse3): Likewise.
40363 (__memmove_ssse3_back): Likewise.
40364 (__libc_memmove): New prototype.
40365 (memmove): Renamed to ...
40366 (__libc_memmove): This.
40367 (memmove): New strong alias of __libc_memmove.
40369 2012-08-08 Mark Salter <msalter@redhat.com>
40372 (R_MN10300_TLS_GD): Define.
40373 (R_MN10300_TLS_LD): Likewise.
40374 (R_MN10300_TLS_LDO): Likewise.
40375 (R_MN10300_TLS_GOTIE): Likewise.
40376 (R_MN10300_TLS_IE): Likewise.
40377 (R_MN10300_TLS_LE): Likewise.
40378 (R_MN10300_TLS_DTPMOD): Likewise.
40379 (R_MN10300_TLS_DTPOFF): Likewise.
40380 (R_MN10300_TLS_TPOFF): Likewise.
40381 (R_MN10300_SYM_DIFF): Likewise.
40382 (R_MN10300_ALIGN): Likewise.
40383 (R_MN10300_NUM): Update.
40385 2012-08-08 Joseph Myers <joseph@codesourcery.com>
40387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40390 2012-08-08 Roland McGrath <roland@hack.frob.com>
40392 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40394 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40395 sysdeps/unix -> sysdeps/posix move.
40396 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40398 2012-08-07 Allan McRae <allan@archlinux.org>
40401 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40402 (SUNOS_CPP): Likewise.
40403 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40405 (open_input): Call CPP using execvp.
40407 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40409 * sysdeps/unix/sysv/linux/kernel-features.h
40410 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40411 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40412 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40413 (__ASSUME_WAITID_SYSCALL): Likewise.
40414 * sysdeps/unix/sysv/linux/dl-execstack.c
40415 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40416 code unconditional.
40417 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40420 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40421 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40423 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40425 [__ASSUME_WAITID_SYSCALL]: Likewise.
40426 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40428 2012-08-07 Roland McGrath <roland@hack.frob.com>
40430 * sysdeps/unix/closedir.c: Renamed to ...
40431 * sysdeps/posix/closedir.c: ... here.
40432 * sysdeps/unix/dirfd.c: Renamed to ...
40433 * sysdeps/posix/dirfd.c: ... here.
40434 * sysdeps/unix/dirstream.h: Renamed to ...
40435 * sysdeps/posix/dirstream.h: ... here.
40436 * sysdeps/unix/fdopendir.c: Renamed to ...
40437 * sysdeps/posix/fdopendir.c: ... here.
40438 * sysdeps/unix/opendir.c: Renamed to ...
40439 * sysdeps/posix/opendir.c: ... here.
40440 * sysdeps/unix/readdir.c: Renamed to ...
40441 * sysdeps/posix/readdir.c: ... here.
40442 * sysdeps/unix/readdir_r.c: Renamed to ...
40443 * sysdeps/posix/readdir_r.c: ... here.
40444 * sysdeps/unix/rewinddir.c: Renamed to ...
40445 * sysdeps/posix/rewinddir.c: ... here.
40446 * sysdeps/unix/seekdir.c: Renamed to ...
40447 * sysdeps/posix/seekdir.c: ... here.
40448 * sysdeps/unix/telldir.c: Renamed to ...
40449 * sysdeps/posix/telldir.c: ... here.
40450 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40451 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40452 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40453 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40455 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40456 * bits/fcntl.h: ... here.
40458 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40460 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40461 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40462 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40463 (struct flock): Move l_start, l_len to the beginning.
40464 Use __pid_t for l_pid.
40465 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40466 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40467 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40468 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40469 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40470 [__USE_LARGEFILE64] (struct flock64): New type.
40471 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40473 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40474 * bits/dirent.h: ... here.
40476 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40477 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40479 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40482 Change from 2.6.0 to 2.6.16.
40483 * sysdeps/unix/sysv/linux/configure: Regenerated.
40484 * sysdeps/unix/sysv/linux/kernel-features.h
40485 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40486 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40488 (__ASSUME_UTIMES): Likewise.
40489 (__ASSUME_CLONE_STOPPED): Remove.
40490 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40491 architectures, not kernel version.
40492 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40493 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40494 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40495 (__ASSUME_WAITID_SYSCALL): Likewise.
40496 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40497 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40498 * README: State 2.6.16 as minimum Linux kernel version. Do not
40499 refer to older versions.
40501 2012-08-06 Roland McGrath <roland@hack.frob.com>
40503 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40504 Define alphasort64 as an alias.
40505 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40506 Define versionsort64 as an alias.
40507 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40508 Define scandir64 as an alias.
40509 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40510 Define scandirat64 as an alias.
40511 * dirent/alphasort64.c (alphasort64):
40512 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40513 * dirent/versionsort64.c: Likewise.
40514 * dirent/scandir64.c: Likewise.
40515 * dirent/scandirat64.c: Likewise.
40516 * sysdeps/wordsize-64/alphasort.c: File removed.
40517 * sysdeps/wordsize-64/alphasort64.c: File removed.
40518 * sysdeps/wordsize-64/scandir.c: File removed.
40519 * sysdeps/wordsize-64/scandir64.c: File removed.
40520 * sysdeps/wordsize-64/scandirat.c: File removed.
40521 * sysdeps/wordsize-64/scandirat64.c: File removed.
40522 * sysdeps/wordsize-64/versionsort.c: File removed.
40523 * sysdeps/wordsize-64/versionsort64.c: File removed.
40524 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40526 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40528 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40530 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40533 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40534 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40535 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40537 [defined __arch64__ || defined __sparcv9]
40538 (__INO_T_MATCHES_INO64_T): New macro.
40539 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40540 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40541 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40542 * sysdeps/unix/sysv/linux/bits/dirent.h
40543 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40544 (_DIRENT_MATCHES_DIRENT64): New macro.
40546 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40547 Define lockf64 as an alias.
40548 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40549 Define fseeko64 as an alias.
40550 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40551 Define ftello64 as an alias.
40552 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40553 Define _IO_fgetpos64 and fgetpos64 as aliases.
40554 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40555 Define _IO_fsetpos64 and fsetpos64 as aliases.
40556 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40557 Conditionalize body on this.
40558 * libio/fseeko64.c: Likewise.
40559 * libio/ftello64.c: Likewise.
40560 * libio/iofgetpos64.c: Likewise.
40561 * libio/iofsetpos64.c: Likewise.
40562 * sysdeps/wordsize-64/lockf.c: File removed.
40563 * sysdeps/wordsize-64/lockf64.c: File removed.
40564 * sysdeps/wordsize-64/fseeko.c: File removed.
40565 * sysdeps/wordsize-64/fseeko64.c: File removed.
40566 * sysdeps/wordsize-64/ftello.c: File removed.
40567 * sysdeps/wordsize-64/ftello64.c: File removed.
40568 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40569 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40570 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40571 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40572 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40583 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40585 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40587 [defined __arch64__ || defined __sparcv9]
40588 (__OFF_T_MATCHES_OFF64_T): New macro.
40589 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40590 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40591 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40592 (__OFF_T_MATCHES_OFF64_T): New macro.
40594 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40596 * stdlib/secure-getenv.c (__secure_getenv): Replace
40597 GLIBC_2_16 with GLIBC_2_17.
40599 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40601 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40604 2012-08-03 David S. Miller <davem@davemloft.net>
40606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40608 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40612 (__ASSUME_CORRECT_SI_PID): Likewise.
40613 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40614 (__ASSUME_TMPFS_NAME): Likewise.
40615 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40616 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40617 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40618 (HAVE_AUX_SECURE): Make definition unconditional.
40619 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40620 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40622 2012-08-03 Roland McGrath <roland@hack.frob.com>
40624 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40625 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40626 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40627 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40628 __eloop_threshold instead of SYMLOOP_MAX.
40630 * sysdeps/generic/eloop-threshold.h: New file.
40631 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40633 * elf/chroot_canon.c (chroot_canon): Likewise.
40635 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40639 Change to 2.6.0 everywhere.
40640 * sysdeps/unix/sysv/linux/configure: Regenerated.
40641 * sysdeps/unix/sysv/linux/kernel-features.h
40642 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40643 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40645 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40646 (__ASSUME_FUTEX_REQUEUE): Remove.
40647 (__ASSUME_STATFS64): Define unconditionally.
40648 (__ASSUME_AT_SECURE): Likewise.
40649 (__ASSUME_CORRECT_SI_PID): Likewise.
40650 (__ASSUME_TGKILL): Define without depending on kernel version for
40652 (__ASSUME_UTIMES): Likewise.
40653 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40655 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40656 (__ASSUME_TMPFS_NAME): Likewise.
40657 * README: Update reference to Linux kernel versions.
40659 2012-08-02 Marek Polacek <polacek@redhat.com>
40662 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40663 libc_cv_asm_type_prefix with %.
40664 * configure: Regenerated.
40665 * include/libc-symbols.h: Remove comment about
40666 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40667 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40668 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40669 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40670 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40671 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40672 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40673 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40674 * elf/tst-unique2mod1.c: Likewise.
40675 * elf/tst-unique1mod2.c: Likewise.
40676 * elf/tst-unique1mod1.c: Likewise.
40677 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40678 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40679 Replace ASM_TYPE_DIRECTIVE with .type.
40680 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40681 * sysdeps/i386/sysdep.h: Likewise.
40682 * sysdeps/x86_64/sysdep.h: Likewise.
40683 * sysdeps/sh/sysdep.h: Likewise.
40684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40685 Do not define ASM_TYPE_DIRECTIVE.
40686 * sysdeps/powerpc/sysdep.h: Likewise.
40687 * sysdeps/powerpc/powerpc32/sysdep.h:
40688 Replace ASM_TYPE_DIRECTIVE with .type.
40689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40690 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40691 * sysdeps/i386/fpu/e_powf.S: Likewise.
40692 * sysdeps/i386/fpu/e_expl.S: Likewise.
40693 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40694 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40695 * sysdeps/i386/fpu/e_pow.S: Likewise.
40696 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40697 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40698 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40699 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40700 * sysdeps/i386/fpu/e_log2.S: Likewise.
40701 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40702 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40703 * sysdeps/i386/fpu/e_powl.S: Likewise.
40704 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40705 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40706 * sysdeps/i386/fpu/e_logl.S: Likewise.
40707 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40708 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40709 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40712 * sysdeps/i386/fpu/e_log.S: Likewise.
40713 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40714 * sysdeps/i386/fpu/e_logf.S: Likewise.
40715 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40716 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40717 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40718 * sysdeps/i386/fpu/e_log10.S: Likewise.
40719 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40720 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40721 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40722 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40723 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40724 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40725 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40726 * sysdeps/i386/i686/strtok.S: Likewise.
40727 * sysdeps/i386/i386-mcount.S: Likewise.
40728 * sysdeps/i386/strtok.S: Likewise.
40729 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40730 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40731 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40732 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40733 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40734 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40735 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40736 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40737 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40738 * sysdeps/x86_64/_mcount.S: Likewise.
40739 * sysdeps/x86_64/strtok.S: Likewise.
40740 * sysdeps/sh/_mcount.S: Likewise.
40742 2012-08-01 Roland McGrath <roland@hack.frob.com>
40744 * libio/iofopen.c: Include <fcntl.h>.
40745 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40746 (_IO_fopen64, fopen64): Define as aliases.
40747 * libio/iofopen64.c: Include <fcntl.h>.
40748 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40749 Conditionalize body on this.
40750 * sysdeps/wordsize-64/iofopen.c: File removed.
40751 * sysdeps/wordsize-64/iofopen64.c: File removed.
40753 2012-08-01 Marek Polacek <polacek@redhat.com>
40755 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40756 Use dlfcn directly instead of a variable.
40757 (binfmt-subdir): Do not define.
40760 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40763 Remove all definitions.
40764 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40765 <kernel-features.h>.
40766 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40767 (miss_F_GETOWN_EX): Remove all definitions.
40768 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40770 [!__ASSUME_FCNTL64]: Remove conditional code.
40771 [__ASSUME_FCNTL64]: Make code unconditional.
40772 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40773 <kernel-features.h>.
40774 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40775 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40776 (lockf64) [__NR_fcntl64]: Make code unconditional.
40777 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40779 * sysdeps/unix/sysv/linux/kernel-features.h
40780 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40781 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40782 Make code unconditional.
40783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40786 [__NR_vfork]: Make code unconditional.
40787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40790 [__NR_vfork]: Make code unconditional.
40791 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40792 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40794 2012-08-01 Roland McGrath <roland@hack.frob.com>
40796 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40797 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40799 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40800 Define mkstemp64 as an alias.
40801 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40802 Define mkstemps64 as an alias.
40803 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40804 Define mkostemp64 as an alias.
40805 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40806 Define mkostemps64 as an alias.
40807 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40808 Conditionalize body on this.
40809 * misc/mkostemp64.c: Likewise.
40810 * misc/mkostemps64.c: Likewise.
40811 * misc/mkstemps64.c: Likewise.
40812 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40813 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40814 * sysdeps/wordsize-64/mkostemp.c: File removed.
40815 * sysdeps/wordsize-64/mkstemp.c: File removed.
40816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40817 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40822 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40824 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40825 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40827 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40828 compat_symbol macros from <shlib-compat.h> rather than the underlying
40829 default_symbol_version and symbol_version macros, so that DEFAULT
40830 lines in shlib-versions are respected.
40831 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40833 2012-08-01 Florian Weimer <fweimer@redhat.com>
40835 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40836 Declare with warn_unused_result.
40837 (setgid, setregid, setegid, setresgid): Likewise.
40838 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40840 * WUR-REPORT: Remove set*id functions.
40842 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40844 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40846 2012-07-31 Roland McGrath <roland@hack.frob.com>
40849 * include/sys/socket.h (__libc_accept, __libc_accept4):
40850 Add attribute_hidden.
40851 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40853 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40855 * inet/getnetgrent_r.c (setup): Likewise.
40857 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40859 2012-07-31 David S. Miller <davem@davemloft.net>
40861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40863 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40866 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40867 value between 1.0 and 2.0 and smaller part has absolute value less
40869 * math/s_clog10.c (__clog10): Likewise.
40870 * math/s_clog10f.c (__clog10f): Likewise.
40871 * math/s_clog10l.c (__clog10l): Likewise.
40872 * math/s_clogf.c (__clogf): Likewise.
40873 * math/s_clogl.c (__clogl): Likewise.
40874 * math/libm-test.inc (clog_test): Add more tests.
40875 (clog10_test): Likewise.
40876 * sysdeps/i386/fpu/libm-test-ulps: Update.
40877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40879 2012-07-31 Florian Weimer <fweimer@redhat.com>
40881 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40882 Exit with zero in case no suitable GID is found, and write a
40883 message to standard error.
40885 2012-07-30 Roland McGrath <roland@hack.frob.com>
40887 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40889 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40890 (MAXPATHLEN): Removed.
40891 (NOGROUP, NODEV): New macros.
40892 (setbit, clrbit, isset, isclr): New macros.
40893 (howmany, roundup, powerof2): New macros.
40894 (DEV_BSIZE): New macro.
40896 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40897 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40899 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40900 definition on [!__NO_LONG_DOUBLE_MATH].
40902 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40903 PTR_MANGLE and PTR_DEMANGLE.
40905 * socket/accept4.c (accept4): Rename to __libc_accept4.
40906 Define accept4 as a weak alias.
40908 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40909 on [_DIRENT_HAVE_D_TYPE].
40910 * io/ftw.c (ftw_dir): Likewise.
40912 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40914 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40916 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40917 Use the BSD numbers rather than the arbitrary ones we had.
40918 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40919 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40920 (SIGXCPU, SIGXFSZ): New macros.
40923 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40924 initializer on [_LIBC_REENTRANT].
40926 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40927 definitions inside [_POSIX_MAPPED_FILES].
40929 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40931 * dirent/opendir.c: Include <fcntl.h>.
40933 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40934 (__libc_getspecific): Likewise.
40935 (__libc_key_create): Likewise.
40937 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40938 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40939 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40940 (tmpfile64): Define as alias.
40941 * sysdeps/wordsize-64/tmpfile.c: File removed.
40942 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40943 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40946 * stdio-common/vfscanf.c: Include <stdbool.h>.
40947 * nss/makedb.c: Likewise.
40948 * stdio-common/_i18n_number.h: Likewise.
40949 * argp/argp-help.c: Likewise.
40950 * posix/wordexp.c: Likewise.
40951 * sysdeps/posix/spawni.c: Likewise.
40952 * nss/nss_files/files-initgroups.c: Likewise.
40953 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40954 * nss/nss_files/files-initgroups.c: Likewise.
40955 * nss/nss_db/db-netgrp.c: Likewise.
40956 * nss/nss_db/db-initgroups.c: Likewise.
40957 * io/fchmodat.c: Include <sys/stat.h>.
40959 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40960 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40962 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40965 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40966 Add multiple inclusion protection.
40968 2012-07-27 David S. Miller <davem@davemloft.net>
40970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40972 2012-07-27 Gary Benson <gbenson@redhat.com>
40975 * elf/rtld.c: Include <stap-probe.h>.
40976 (dl_main): Added static probes "init_start" and "init_complete".
40977 * elf/dl-load.c: Include <stap-probe.h>.
40978 (lose): Take new parameter "nsid".
40979 Added static probe "map_failed".
40980 (_dl_map_object_from_fd): Pass namespace id to lose.
40981 Added static probe "map_start".
40982 (open_verify): Pass namespace id to lose.
40983 * elf/dl-open.c: Include <stap-probe.h>.
40984 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40985 and "reloc_complete".
40986 * elf/dl-close.c: Include <stap-probe.h>.
40987 (_dl_close_worker): Added static probes "unmap_start" and
40989 * elf/rtld-debugger-interface.txt: New file documenting the above.
40991 2012-07-26 Roland McGrath <roland@hack.frob.com>
40993 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40994 rather than a string variable.
40995 * sunrpc/rpc_main.c (h_output): Likewise.
40996 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40998 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41000 * inet/check_native.c: New file.
41002 2012-07-26 Joseph Myers <joseph@codesourcery.com>
41005 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41006 if larger part has absolute value 1.0.
41007 * math/s_clog10.c (__clog10): Likewise.
41008 * math/s_clog10f.c (__clog10f): Likewise.
41009 * math/s_clog10l.c (__clog10l): Likewise.
41010 * math/s_clogf.c (__clogf): Likewise.
41011 * math/s_clogl.c (__clogl): Likewise.
41012 * math/libm-test.inc (clog_test): Add more tests.
41013 (clog10_test): Likewise.
41014 * sysdeps/i386/fpu/libm-test-ulps: Update.
41015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41017 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41018 (pltexit): Likewise.
41019 (La_regs): Likewise.
41020 (La_retval): Likewise.
41021 (int_retval): Likewise.
41022 Update #error for removed macros to refer only to definitions in
41024 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41026 (pltexit): Likewise.
41027 (La_regs): Likewise.
41028 (La_retval): Likewise.
41029 (int_retval): Likewise.
41030 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41032 (pltexit): Likewise.
41033 (La_regs): Likewise.
41034 (La_retval): Likewise.
41035 (int_retval): Likewise.
41036 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41038 (pltexit): Likewise.
41039 (La_regs): Likewise.
41040 (La_retval): Likewise.
41041 (int_retval): Likewise.
41042 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41044 (pltexit): Likewise.
41045 (La_regs): Likewise.
41046 (La_retval): Likewise.
41047 (int_retval): Likewise.
41048 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41050 (pltexit): Likewise.
41051 (La_regs): Likewise.
41052 (La_retval): Likewise.
41053 (int_retval): Likewise.
41054 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41056 (pltexit): Likewise.
41057 (La_regs): Likewise.
41058 (La_retval): Likewise.
41059 (int_retval): Likewise.
41060 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41061 macro definitions in tst-audit.h.
41062 * sysdeps/i386/tst-audit.h: New file.
41063 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41064 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41065 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41066 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41067 * sysdeps/sh/tst-audit.h: Likewise.
41068 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41069 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41070 * sysdeps/x86_64/tst-audit.h: Likewise.
41072 2012-07-26 Andreas Jaeger <aj@suse.de>
41074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41077 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41078 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41079 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41081 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41082 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41083 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41085 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41088 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41090 (si_call_addr, si_syscall, si_arch): Define new macro.
41091 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41093 (si_call_addr, si_syscall, si_arch): Define new marcro.
41094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41096 (si_call_addr, si_syscall, si_arch): Define new macro.
41097 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41099 (si_call_addr, si_syscall, si_arch): Define new macro.
41101 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41105 Change to 2.4.21 where previously 2.4.1.
41106 * sysdeps/unix/sysv/linux/configure: Regenerated.
41107 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41108 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41109 Linux kernel version.
41110 (__ASSUME_STD_AUXV): Remove.
41111 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41113 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41114 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41115 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41116 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41117 (__ASSUME_NETLINK_SUPPORT): Likewise.
41118 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41119 (__no_netlink_support): Remove conditional definition.
41120 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41122 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41123 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41125 (if_nameindex_ioctl): Remove.
41126 (if_nameindex_netlink): Do not handle __no_netlink_support.
41127 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41129 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41130 Remove conditional code.
41131 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41133 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41135 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41136 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41137 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41139 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41140 [!__ASSUME_STD_AUXV]: Remove conditional code.
41141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41142 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41143 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41145 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41146 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41148 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41150 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41151 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41153 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41155 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41158 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41161 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41162 code unconditional.
41163 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41165 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41167 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41170 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41172 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41175 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41176 code unconditional.
41177 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41179 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41181 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41184 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41185 code unconditional.
41186 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41188 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41190 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41193 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41195 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41196 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41197 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41198 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41199 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41200 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41201 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41202 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41203 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41204 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41205 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41206 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41207 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41208 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41210 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41211 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41212 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41213 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41215 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41216 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41217 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41219 2012-07-25 Florian Weimer <fweimer@redhat.com>
41221 * Versions.def: Add GLIBC_2.17.
41222 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41223 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41224 Introduce __libc_secure_getenv.
41225 * stdlib/Versions (2.17): Add secure_getenv
41226 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41227 * stdlib/secure-getenv.c: Rename __secure_getenv to
41228 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41229 symbol __secure_getenv for GLIBC_2.0.
41230 * stdlib/tst-secure-getenv.c: New.
41231 * stdlib/Makefile (tests): Add testcase.
41232 * manual/startup.texi (Environment Access): Document
41234 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41235 __libc_secure_getenv.
41236 * inet/ruserpass.c (ruserpass): Likewise.
41237 * malloc/mtrace.c (mtrace): Likewise.
41238 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41239 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41240 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41241 * sysdeps/posix/tempname.c: Likewise. Evaluate
41242 HAVE_SECURE_GETENV.
41243 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41244 __secure_getenv to __libc_secure_getenv.
41245 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41252 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41258 2012-07-25 Joseph Myers <joseph@codesourcery.com>
41260 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41261 (struct La_i86_retval): Likewise.
41262 (struct La_x86_64_regs): Likewise.
41263 (struct La_x86_64_retval): Likewise.
41264 (struct La_x32_regs): Likewise.
41265 (struct La_x32_retval): Likewise.
41266 (struct La_ppc32_regs): Likewise.
41267 (struct La_ppc32_retval): Likewise.
41268 (struct La_ppc64_regs): Likewise.
41269 (struct La_ppc64_retval): Likewise.
41270 (struct La_sh_regs): Likewise.
41271 (struct La_sh_retval): Likewise.
41272 (struct La_s390_32_regs): Likewise.
41273 (struct La_s390_32_retval): Likewise.
41274 (struct La_s390_64_regs): Likewise.
41275 (struct La_s390_64_retval): Likewise.
41276 (struct La_sparc32_regs): Likewise.
41277 (struct La_sparc32_retval): Likewise.
41278 (struct La_sparc64_regs): Likewise.
41279 (struct La_sparc64_retval): Likewise.
41280 (struct audit_ifaces): Remove architecture-specific pltenter and
41282 * sysdeps/i386/ldsodefs.h: New file.
41283 * sysdeps/powerpc/ldsodefs.h: Likewise.
41284 * sysdeps/s390/ldsodefs.h: Likewise.
41285 * sysdeps/sh/ldsodefs.h: Likewise.
41286 * sysdeps/sparc/ldsodefs.h: Likewise.
41287 * sysdeps/x86_64/ldsodefs.h: Likewise.
41289 2012-07-25 Marek Polacek <polacek@redhat.com>
41292 * math/libm-test.inc (yn_test): Add another test.
41293 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41294 to ERANGE when the result is +-Inf.
41295 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41296 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41297 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41298 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41300 2012-07-24 Joseph Myers <joseph@codesourcery.com>
41302 * conform/data/time.h-data (NULL): Use macro-constant. Require
41304 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41306 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41308 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41310 * configure.in <sysdeps resolving>: Correct printing
41312 * configure: Regenerate.
41314 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41316 * math/w_ilogb.c: Include <limits.h>.
41317 * math/w_ilogbl.c: Likewise.
41319 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41321 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41322 va_copy. Document allowing for unavailable va_copy only as
41323 pre-C99 compatibility.
41324 * manual/string.texi (Copying and Concatenation): Use va_copy
41325 instead of __va_copy in concat example.
41327 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41329 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41330 (__sendto): Use create_address_port. Initialize APORT and deallocate
41333 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41334 with O_NOLINK passed to __file_name_lookup.
41336 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41337 with O_NOLINK passed to __file_name_lookup.
41339 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41340 negative N or less than NGIDS.
41342 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41343 type to string_t. Set ERANGE as errno and return it if NAME is not big
41344 enough. Use memcpy instead of strncpy.
41346 2012-07-20 Joseph Myers <joseph@codesourcery.com>
41348 * elf/Makefile (check-data): Remove.
41349 (localplt.data): New vpath directive.
41350 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41351 instead of $(check-data).
41352 * scripts/data/localplt-generic.data: Move to ...
41353 * sysdeps/generic/localplt.data: ... here.
41354 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41355 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41356 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41359 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41362 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41365 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41368 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41369 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41371 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41375 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41377 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41378 PPC32 and PPC64 files.
41379 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41380 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41382 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41384 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41385 __makecontext_ret to ...
41386 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41387 ... here and call exit if uc_link is NULL. New file.
41388 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41389 __makecontext_ret.S.
41390 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41391 __makecontext_ret to ...
41392 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41393 ... here and call exit if uc_link is NULL. New file.
41394 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41395 __makecontext_ret.S.
41397 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41399 * elf/elf.h (R_390_IRELATIVE): New definition.
41400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41401 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41402 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41403 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41404 (elf_machine_lazy_rel): Likewise.
41405 * sysdeps/s390/dl-irel.h: New file.
41406 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41407 * sysdeps/s390/s390-64/memset.S: New asm code.
41408 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41409 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41410 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41411 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41412 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41413 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41415 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41416 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41417 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41418 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41419 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41420 * sysdeps/s390/s390-32/memset.S: New asm code.
41421 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41423 2012-07-17 Marek Polacek <polacek@redhat.com>
41426 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41427 * sysdeps/s390/s390-64/configure.in: Likewise.
41428 * sysdeps/sparc/configure.in: Likewise.
41429 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41430 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41431 * sysdeps/i386/configure.in: Likewise.
41432 * sysdeps/x86_64/configure.in: Likewise.
41433 * sysdeps/sh/configure.in: Likewise.
41434 * sysdeps/s390/s390-32/configure: Regenerated.
41435 * sysdeps/s390/s390-64/configure: Likewise.
41436 * sysdeps/x86_64/configure: Likewise.
41437 * sysdeps/sh/configure: Likewise.
41438 * sysdeps/powerpc/powerpc64/configure: Likewise.
41439 * sysdeps/powerpc/powerpc32/configure: Likewise.
41440 * sysdeps/sparc/configure: Likwise.
41441 * sysdeps/i386/configure: Likewise.
41443 * elf/dl-open.c: Comment fixes.
41445 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41447 * Makefile [CXX] (check-data): Remove.
41448 [CXX] (c++-types.data): New vpath directive.
41449 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41450 vpath. Do not allow for C++ type data being missing.
41451 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41452 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41453 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41454 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41455 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41456 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41457 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41460 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41463 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41466 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41469 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41472 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41475 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41478 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41481 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41482 definitions to architecture-specific files.
41483 (TLS_IE): Likewise.
41484 (TLS_LD): Likewise.
41485 (TLS_GD): Likewise.
41486 * sysdeps/i386/tls-macros.h: New file.
41487 * sysdeps/powerpc/tls-macros.h: Likewise.
41488 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41489 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41490 * sysdeps/sh/tls-macros.h: Likewise.
41491 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41492 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41493 * sysdeps/x86_64/tls-macros.h: Likewise.
41495 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41497 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41498 zero value for regular exit case.
41500 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41501 (__start_context): Preserve zero value for regular exit case.
41503 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41504 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41506 * manual/setjmp.texi (setcontext): Clarify normal process
41507 termination when uc_link is the null pointer.
41508 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41511 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41513 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41514 preprocessor. Test for each exception mask separately.
41516 2012-07-16 Andreas Jaeger <aj@suse.de>
41518 * po/ru.po: Update from translation team.
41520 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41522 * conform/data/string.h-data (NULL): Use macro-constant. Require
41524 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41525 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41526 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41527 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41528 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41530 2012-07-13 Andreas Jaeger <aj@suse.de>
41532 * po/fr.po: Update from translation team.
41534 2012-07-12 Marek Polacek <polacek@redhat.com>
41537 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41538 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41541 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41545 Change to 2.4.1 where previously 2.4.0.
41546 * sysdeps/unix/sysv/linux/configure: Regenerated.
41547 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41548 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41550 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41551 (__ASSUME_AT_CLKTCK): Remove.
41552 (__ASSUME_AT_PAGESIZE): Likewise.
41553 (__ASSUME_AT_XID): Likewise.
41554 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41555 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41556 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41558 (HAVE_AUX_PAGESIZE): Likewise.
41559 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41560 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41561 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41563 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41567 the temporary buffer used to invoke __gethostbyname2_r,
41568 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41569 host_data / struct gaih_addrtuple.
41570 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41571 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41572 header file nss/nsswitch.h.
41573 * nss/nsswitch.h (global scope): Add definition of implementation
41574 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41575 resolv/nss_dns/dns-host.c).
41577 2012-07-11 Andreas Jaeger <aj@suse.de>
41579 * po/fr.po: Update from translation team.
41581 * po/sv.po: Update from translation team
41582 * po/fr.po: Another update from translation team.
41584 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41586 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41587 for subnormals or multiply small sinh result by itself.
41588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41591 2012-07-11 David S. Miller <davem@davemloft.net>
41593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41595 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41598 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41599 (INTERNAL_MARK): Shift it here.
41601 2012-07-10 Marek Polacek <polacek@redhat.com>
41604 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41605 libc_cv_asm_global_directive with .globl.
41606 * configure: Regenerated.
41607 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41609 * sysdeps/i386/configure: Regenerated.
41610 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41612 * sysdeps/x86_64/configure: Regenerated.
41613 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41614 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41615 * elf/tst-unique2mod2.c: Likewise.
41616 * elf/tst-unique2mod1.c: Likewise.
41617 * elf/tst-unique1mod2.c: Likewise.
41618 * elf/tst-unique1mod1.c: Likewise.
41619 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41620 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41621 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41622 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41623 * sysdeps/mach/sysdep.h: Likewise.
41624 * sysdeps/i386/sysdep.h: Likewise.
41625 * sysdeps/i386/i386-mcount.S: Likewise.
41626 * sysdeps/x86_64/_mcount.S: Likewise.
41627 * sysdeps/x86_64/sysdep.h: Likewise.
41628 * sysdeps/sh/_mcount.S: Likewise.
41629 * sysdeps/sh/sysdep.h: Likewise.
41630 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41631 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41632 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41633 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41634 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41635 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41636 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41637 * locale/localeinfo.h: Likewise.
41638 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41639 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41641 2012-07-09 Roland McGrath <roland@hack.frob.com>
41644 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41646 * manual/message.texi (The Uniforum approach): Likewise.
41647 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41648 (glibc iconv Implementation): Likewise.
41650 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41653 * math/s_clog.c (__clog): Avoid scaling a value down where that
41654 could result in underflow.
41655 * math/s_clog10.c (__clog10): Likewise.
41656 * math/s_clog10f.c (__clog10f): Likewise.
41657 * math/s_clog10l.c (__clog10l): Likewise.
41658 * math/s_clogf.c (__clogf): Likewise.
41659 * math/s_clogl.c (__clogl): Likewise.
41660 * math/libm-test.inc (clog_test): Add more tests.
41661 (clog10_test): Likewise.
41662 * sysdeps/i386/fpu/libm-test-ulps: Update.
41663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41665 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41668 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41669 by 7 not 8 to examine high bit of fractional part.
41672 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41673 for call to __mcount_internal.
41674 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41675 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41676 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41678 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41681 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41682 approximation for values within 0x1p-13f of an odd multiple of
41684 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41685 exception. Add more tests.
41686 * sysdeps/i386/fpu/libm-test-ulps: Update.
41689 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41690 inputs and return -1 for them. Do not check for +Inf in case not
41691 reachable for +Inf.
41692 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41693 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41694 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41695 and return -1 for them. Do not check for +Inf in case not
41696 reachable for +Inf.
41697 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41700 and return -1 for them. Do not check for +Inf in case not
41701 reachable for +Inf.
41702 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41703 spurious underflow.
41704 * sysdeps/i386/fpu/libm-test-ulps: Update.
41705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41707 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41709 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41711 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41715 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41716 could result in spurious underflow. Scale down values above
41717 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41718 * math/s_csqrtf.c (__csqrtf): Likewise.
41719 * math/s_csqrtl.c (__csqrtl): Likewise.
41720 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41721 spurious underflow.
41722 * sysdeps/i386/fpu/libm-test-ulps: Update.
41723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41725 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41727 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41729 * catgets/xopen-msg.awk: New file.
41730 * catgets/xopen-msg.sed: Removed.
41732 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41734 * intl/po2test.awk: New file.
41735 * intl/po2test.sed: Removed.
41737 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41740 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41741 or multiply small sinh result by itself.
41742 * math/s_ctanf.c (__ctanf): Likewise.
41743 * math/s_ctanh.c (__ctanh): Likewise.
41744 * math/s_ctanhf.c (__ctanhf): Likewise.
41745 * math/s_ctanhl.c (__ctanhl): Likewise.
41746 * math/s_ctanl.c (__ctanl): Likewise.
41747 * math/libm-test.inc (ctan_test_tonearest): New function.
41748 (ctan_test_towardzero): Likewise.
41749 (ctan_test_downward): Likewise.
41750 (ctan_test_upward): Likewise.
41751 (ctanh_test_tonearest): Likewise.
41752 (ctanh_test_towardzero): Likewise.
41753 (ctanh_test_downward): Likewise.
41754 (ctanh_test_upward): Likewise.
41755 (main): Call these new functions.
41756 * sysdeps/i386/fpu/libm-test-ulps: Update.
41757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41759 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41761 * .gitignore: Delete /ports entry.
41763 2012-07-03 Andreas Jaeger <aj@suse.de>
41765 * po/bg.po: Update from translation team.
41766 * po/cs.po: Likewise.
41767 * po/de.po: Likewise.
41768 * po/hr.po: Likewise.
41769 * po/nl.pl: Likewise.
41770 * po/pl.po: Likewise.
41771 * po/vi.po: Likewise.
41773 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41775 * Makeconfig [!+link] (+link-before-libc): New variable.
41776 [!+link] (+link-after-libc): Likewise.
41777 [!+link] (+link-tests): Likewise.
41778 [!+link] (+link): Define in terms of $(+link-before-libc) and
41779 $(+link-after-libc).
41780 [!+link-static] (+link-static-before-libc): New variable.
41781 [!+link-static] (+link-static-after-libc): Likewise.
41782 [!+link-static] (+link-static-tests): Likewise.
41783 [!+link-static] (+link-static): Define in terms of
41784 $(+link-static-before-libc) and $(+link-static-after-libc).
41785 [build-shared] (link-libc-before-gnulib): New variable.
41786 [build-shared] (link-libc-tests): Likewise.
41787 [build-shared] (link-libc): Define in terms of
41788 $(link-libc-before-gnulib).
41789 [!build-shared] (link-libc-tests): New variable.
41790 (link-libc-static-tests): New variable.
41791 [!gnulib] (gnulib-arch): New variable.
41792 [!gnulib] (gnulib-tests): Likewise.
41793 [!gnulib] (static-gnulib-arch): Likewise.
41794 [!gnulib] (static-gnulib-tests): Likewise.
41795 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41796 Define with "=" instead of ":=".
41797 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41798 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41799 * Rules (binaries-all-notests): New variable.
41800 (binaries-all-tests): Likewise.
41801 (binaries-static-notests): Likewise.
41802 (binaries-static-tests): Likewise.
41803 (binaries-all): Define using $(binaries-all-notests) and
41804 $(binaries-all-tests).
41805 (binaries-static): Define using $(binaries-static-notests) and
41806 $(binaries-static-tests).
41807 (binaries-shared-tests): New variable.
41808 (binaries-shared-notests): Likewise.
41809 (binaries-shared): Remove variable.
41810 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41811 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41812 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41813 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41814 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41815 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41816 * elf/Makefile (sln-modules): New variable.
41817 (extra-objs): Add $(sln-modules:=.o).
41818 (ldconfig-modules): Add static-stubs.
41819 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41820 * elf/static-stubs.c: New file.
41823 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41824 by 7 not 8 to examine high bit of fractional part. Use volatile
41825 variables when splitting into final array of floats if
41826 __FLT_EVAL_METHOD__ != 0.
41827 * math/libm-test.inc (cos_test): Add another test.
41828 (sin_test): Likewise.
41829 * sysdeps/i386/fpu/libm-test-ulps: Update.
41832 * math/libm-test.inc (cosh_test): Add more tests.
41834 * version.h (RELEASE): Set to "development".
41835 (VERSION): Set to "2.16.90".
41837 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41839 * NEWS: Update copyright. Remove last-updated date.
41840 Mention math library bug fixes and timezone data changes.
41841 * README: Mention GNU/Hurd, x32, and HPPA support status.
41843 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41845 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41847 2012-06-27 Andreas Jaeger <aj@suse.de>
41849 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41851 2012-06-25 Andreas Jaeger <aj@suse.de>
41853 * sysdeps/s390/fpu/libm-test-ulps: Update.
41855 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41856 Thomas Schwinge <thomas@codesourcery.com>
41858 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41859 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41863 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41865 * sysdeps/mach/start.c: Remove file.
41866 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41867 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41868 * sysdeps/sh/init-first.c: Likewise.
41870 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41871 registers for frame unwinding purposes, add CFI directives.
41872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41873 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41874 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41877 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41878 __fortify_fail returning.
41879 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41881 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41882 sysdeps/sh/____longjmp_chk.S.
41883 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41884 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41885 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41886 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41888 * sysdeps/sh/abort-instr.h: New file.
41889 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41890 process in case exit returns.
41892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41893 initialize the GOT register before use.
41895 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41896 calculation of ARGC > 4.
41898 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41899 meaningful names to some local labels.
41901 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41902 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41904 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41905 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41906 (__arch_compare_and_exchange_val_16_acq): Likewise.
41907 (__arch_compare_and_exchange_val_32_acq): Likewise.
41908 (atomic_exchange_and_add): Fix gUSA sequence.
41909 (atomic_add): Likewise.
41910 (atomic_add_negative): Likewise.
41911 (atomic_add_zero): Likewise.
41912 (atomic_bit_test_set): Likewise.
41914 2012-06-22 Andreas Schwab <schwab@redhat.com>
41917 * include/link.h (struct link_map): Add l_free_initfini.
41918 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41920 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41921 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41922 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41925 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41927 * configure.in: Use AC_LANG_SOURCE.
41928 * configure: Regenerate.
41930 2012-06-22 Roland McGrath <roland@hack.frob.com>
41932 * configure.in (libc_cv_localstatedir): New substituted variable.
41933 * configure: Regenerated.
41934 * config.make.in (localstatedir): New variable, substituted from
41935 libc_cv_localstatedir.
41936 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41937 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41938 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41939 * sysdeps/gnu/configure: Regenerated.
41941 2012-06-21 Jeff Law <law@redhat.com>
41944 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41945 free. Simplify list management for _LIBC case.
41947 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41951 Clear sign bit of 64-bit integer value before comparing against
41954 * sysdeps/mach/configure: Regenerated.
41956 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41959 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41961 2012-06-21 Jeff Law <law@redhat.com>
41964 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41965 uint16_t for elements in the "seen" array to avoid char overflows.
41966 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41967 * elf/dl-open.c (dl_open_worker): Likewise.
41969 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41971 * scripts/list-sources.sh: Scan PORTS for translations.
41972 * po/libc.pot: Regenerated.
41974 2012-06-21 Andreas Jaeger <aj@suse.de>
41977 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41979 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41980 * bits/byteswap-16.h (__bswap_16): Likewise.
41981 * bits/byteswap.h (__bswap_constant_16): Likewise.
41983 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41986 * sysdeps/i386/fpu_control.h: Removed.
41987 * sysdeps/x86_64/fpu_control.h: Moved to ...
41988 * sysdeps/x86/fpu_control.h: Here.
41990 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41991 (_FPU_SETCW): Likewise.
41993 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41996 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41997 * sysdeps/x86/fpu/bits/mathinline.h: This.
41998 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42002 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42003 functions if __x86_64__ is defined.
42005 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42007 * string/endian.h: Add !__ASSEMBLER__ condition for including
42008 conversion interfaces.
42010 2012-06-15 Joseph Myers <joseph@codesourcery.com>
42013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42014 of ABS(x) in calculating zero to negative powers other than odd
42016 * math/libm-test.inc (pow_test): Add more tests.
42018 2012-06-15 Andreas Jaeger <aj@suse.de>
42020 * manual/contrib.texi (Contributors): Update entry of Liubov
42021 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42024 2012-06-15 Cyril Hrubis <metan@ucw.cz>
42026 * string/string.h: Add __wur to GNU version of strerror_r.
42028 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42031 * string/Makefile (tests): Add tst-strtok_r.
42032 * string/tst-strtok_r.c: New file.
42033 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42034 RAX_LP/RDX_LP on SAVE_PTR.
42036 2012-06-14 Roland McGrath <roland@hack.frob.com>
42038 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42040 2012-06-14 Joseph Myers <joseph@codesourcery.com>
42042 * libm_test.inc (csqrt_test): Allow more spurious underflow
42044 (j0_test): Likewise.
42045 (j1_test): Likewise.
42046 (y0_test): Likewise.
42047 (y1_test): Likewise.
42049 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42051 * po/Makefile (libc.pot): Use UTF-8 charset.
42053 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42056 Suppress sign-conversion warning from FD_SET.
42057 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42058 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42059 not unsigned long int.
42060 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42062 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42066 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42067 __extern_always_inline instead of __extern_inline.
42068 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42069 (__signbit): Likewise.
42070 (__signbitl): Support C++ namespace.
42071 (lrintf): New inline function.
42073 (llrintf): Likewise.
42074 (llrint): Likewise.
42084 (floorf): Likewise.
42085 (nearbyint): Likewise.
42086 (nearbyintf): Likewise.
42088 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42090 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42091 non-default versions.
42093 2012-06-11 Roland McGrath <roland@hack.frob.com>
42096 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42098 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42100 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42101 (FE_UPWARD, FE_DOWNWARD): Don't define.
42102 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42103 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42105 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42107 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42108 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42110 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42112 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42114 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42115 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42117 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42120 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42121 * sysdeps/i386/fpu/Implies: New file.
42122 * sysdeps/x86_64/fpu/Implies: Likewise.
42123 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42124 * sysdeps/x86/fpu/bits/fenv.h: This.
42126 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42129 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42132 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42133 character 0xffff that matches the last element of the
42136 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42141 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42143 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42144 values higher than 25.6283.
42146 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42149 subnormal exponent extraction and add some __builtin_expect.
42150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42151 Fix for subnormal mantissa calculation.
42153 2012-06-04 Mike Frysinger <vapier@gentoo.org>
42155 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42156 cpu2 is -1 and errno is not ENOSYS.
42158 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42161 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42162 * sysdeps/x86/bits/string.h: This.
42163 * sysdeps/x86_64/bits/string.h: Removed.
42165 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42166 if not compiling for x86-64, but compiling for >= i486.
42168 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42169 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42171 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42172 New macro from Linux kernel 3.4.0.
42173 (FP_XSTATE_MAGIC2): Likewise.
42174 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42175 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42176 (struct _fpx_sw_bytes): New struct.
42177 (struct _xsave_hdr): Likewise.
42178 (struct _ymmh_state): Likewise.
42179 (struct _xstate): Likewise.
42181 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42182 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42183 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42184 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42185 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42186 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42188 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42190 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42191 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42192 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42193 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42195 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42198 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42199 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42200 (sysdep_headers): Include sys/platform/ppc.h.
42201 * sysdeps/powerpc/test-gettimebase.c: Test for
42202 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42203 * manual/Makefile (appendices): Include platform.texi.
42204 * manual/contrib.texi (Contributors): Update @node pointers.
42205 * manual/maint.texi (Maintenance): Likewise.
42206 (Platform): New node.
42207 * manual/platform.texi: New file. Document the new features.
42209 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42210 Jakub Jelinek <jakub@redhat.com>
42213 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42214 where __builtin_expect is unavailable.
42216 2012-06-03 David S. Miller <davem@davemloft.net>
42218 * stdlib/longlong.h: Updated from GCC.
42220 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42223 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42224 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42227 (GLIBC_2.16): Likewise.
42229 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42231 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42233 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42236 (default-abi): New variable.
42237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42238 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42240 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42242 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42244 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42247 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42248 definition. Document in comment.
42250 2012-06-01 David S. Miller <davem@davemloft.net>
42252 * stdlib/longlong.h: Updated from GCC.
42254 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42257 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42258 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42259 sys/debugreg.h sys/io.h here.
42260 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42261 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42263 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42264 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42265 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42266 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42267 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42268 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42270 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42271 Define only if __x86_64__ is defined.
42273 2012-06-01 Joseph Myers <joseph@codesourcery.com>
42276 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42277 Use int64_t for variable i.
42278 * math/libm-test.inc (fmod_test): Add more tests.
42280 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42281 z computation is not scheduled after fetestexcept.
42282 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42283 Use math_force_eval instead of asm to ensure calculation scheduled
42284 before exception test.
42285 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42286 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42288 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42291 computation is not scheduled after fetestexcept.
42293 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42297 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42299 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42301 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42302 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42304 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42307 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42309 (__WCHAR_MIN): Support __WORDSIZE == 64.
42310 (__WCHAR_MAX): Likewise.
42312 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42316 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42317 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42320 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42321 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42323 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42324 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42327 Defined to 1 if __x86_64__ isn't defined.
42328 (_STAT_VER_LINUX_OLD): New.
42329 (st_atime): Remove duplicate.
42330 (st_mtime): Likewise.
42331 (st_ctime): Likewise.
42333 2012-05-31 David S. Miller <davem@davemloft.net>
42335 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42338 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42340 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42344 * elf/dl-reloc.c: Include <_itoa.h>.
42345 (_dl_reloc_bad_type): Remove use of INTUSE.
42346 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42347 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42348 * stdio-common/psiginfo.c (psiginfo): Likewise.
42349 * stdio-common/psignal.c (psignal): Likewise.
42350 * string/strsignal.c (strsignal): Likewise.
42351 * include/signal.h (_sys_siglist): Declare hidden proto.
42352 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42353 INTVARDEF with libc_hidden_data_def.
42354 * stdio-common/itoa-udigits.c: Likewise.
42355 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42356 (_itoa_lower_digits_internal): Remove declaration.
42357 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42358 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42359 (_sys_sigabbrev_internal): Remove aliases.
42360 (_sys_siglist): Define hidden alias.
42362 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42367 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42370 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42371 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42373 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42374 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42375 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42376 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42377 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42378 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42380 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42381 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42382 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42392 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42393 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42394 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42396 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42397 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42398 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42399 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42400 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42401 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42403 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42404 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42406 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42407 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42409 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42411 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42413 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42414 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42416 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42418 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42419 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42420 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42422 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42424 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42426 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42428 * math/math.h (M_El): Use two more decimal places.
42429 (M_LOG2El): Likewise.
42430 (M_LOG10El): Likewise.
42431 (M_LN2l): Likewise.
42432 (M_LN10l): Likewise.
42434 (M_PI_2l): Likewise.
42435 (M_PI_4l): Likewise.
42436 (M_1_PIl): Likewise.
42437 (M_2_PIl): Likewise.
42438 (M_2_SQRTPIl): Likewise.
42439 (M_SQRT2l): Likewise.
42440 (M_SQRT1_2l): Likewise.
42442 2012-05-31 David S. Miller <davem@davemloft.net>
42444 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42445 values between float registers.
42446 * sysdeps/sparc/sparc64/memset.S: Likewise.
42447 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42449 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42451 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42452 -D_FORTIFY_SOURCE=1.
42453 (CPPFLAGS-tst-longjmp_chk.c): Define.
42454 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42455 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42456 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42457 CFLAGS-tst-wchar-h.c.
42459 2012-05-31 Marek Polacek <polacek@redhat.com>
42462 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42463 __endmntent_internal): Remove declaration.
42464 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42465 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42466 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42468 2012-05-30 David S. Miller <davem@davemloft.net>
42470 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42471 (___Q_simulate_exceptions): Use real FP ops rather than writing
42473 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42476 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42479 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42480 * sysdeps/x86/bits/xtitypes.h: This.
42482 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42483 * sysdeps/x86/bits/wordsize.h: This.
42485 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42486 * sysdeps/x86/bits/huge_vall.h: This.
42488 * sysdeps/i386/bits/select.h: Removed.
42489 * sysdeps/x86_64/bits/select.h: Renamed to ...
42490 * sysdeps/x86/bits/select.h: This.
42492 * sysdeps/i386/bits/setjmp.h: Removed.
42493 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42494 * sysdeps/x86/bits/setjmp.h: This.
42496 * sysdeps/i386/bits/mathdef.h: Removed.
42497 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42498 * sysdeps/x86/bits/mathdef.h: This.
42500 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42503 * include/sys/socket.h (__connect_internal)
42504 (__libc_sa_len_internal): Remove declaration.
42505 (__connect, __libc_sa_len): Declare hidden_proto.
42506 (SA_LEN): Remove use of INTUSE.
42507 * socket/connect.c: Add libc_hidden_def.
42508 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42509 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42510 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42512 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42514 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42515 of adding _internal alias.
42517 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42520 * sysdeps/i386/bits/link.h: Removed.
42521 * sysdeps/i386/bits/linkmap.h: Likewise.
42522 * sysdeps/x86_64/bits/link.h: Renamed to ...
42523 * sysdeps/x86/bits/link.h: This.
42524 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42525 * sysdeps/x86/bits/linkmap.h: This.
42527 * sysdeps/i386/bits/endian.h: Removed.
42528 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42529 * sysdeps/x86/bits/endian.h: This.
42531 * sysdeps/i386/bits/byteswap.h: Removed.
42532 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42533 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42534 * sysdeps/x86/bits/byteswap.h: This.
42535 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42536 * sysdeps/x86/bits/byteswap-16.h: This.
42537 * sysdeps/i386/Implies: Add x86.
42538 * sysdeps/x86_64/Implies: Likewise.
42540 2012-05-30 David S. Miller <davem@davemloft.net>
42542 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42543 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42544 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42545 (FP_TRAPPING_EXCEPTIONS): Define.
42546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42547 (FP_TRAPPING_EXCEPTIONS): Define.
42548 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42549 subnormals only when inexact has been signalled or underflow
42550 exceptions are enabled.
42551 (_FP_PACK_CANONICAL): Likewise.
42553 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42556 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42557 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42559 2012-05-30 Richard Henderson <rth@twiddle.net>
42561 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42562 with #ifndef NOT_IN_libc.
42564 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42565 marked to avoid plt entry.
42567 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42570 * Makeconfig (default-abi): New macro.
42571 (abi-includes): Likewise.
42572 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42573 $(abi-$(default-abi)-lib-soname) for soname if defined.
42574 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42576 * Makefile (installed-stubs): Likewise.
42577 * include/stubs-biarch.h: Removed.
42578 * scripts/lib-names.awk: Only handle one library at a time.
42579 * scripts/soversions.awk: Remove WORDSIZE support.
42580 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42584 (syscall-list-default-condition): Likewise.
42585 (syscall-list-default-condition): Likewise.
42586 (syscall-list-includes): Likewise.
42587 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42588 syscall-list-* with abi-*. Handle undefined abi-variants.
42589 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42590 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42591 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42592 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42593 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42594 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42596 (syscall-list-32-options): Likewise.
42597 (syscall-list-32-condition): Likewise.
42598 (syscall-list-64-options): Likewise.
42599 (syscall-list-64-condition): Likewise.
42600 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42602 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42605 (abi-64-ld-soname): New macro.
42606 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42607 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42610 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42611 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42613 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42615 * sysdeps/unix/sysv/linux/kernel-features.h
42616 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42617 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42618 include <kernel-features.h>.
42619 [!__NR_ftruncate64]: Remove conditional code.
42620 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42621 [__NR_ftruncate64]: Make code unconditional.
42622 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42623 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42624 include <kernel-features.h>.
42625 [!__NR_ftruncate64]: Remove conditional code.
42626 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42627 [__NR_ftruncate64]: Make code unconditional.
42628 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42630 include <kernel-features.h>.
42631 [!__NR_ftruncate64]: Remove conditional code.
42632 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42633 [__NR_ftruncate64]: Make code unconditional.
42634 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42636 include <kernel-features.h>.
42637 [!__NR_ftruncate64]: Remove conditional code.
42638 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42639 [__NR_ftruncate64]: Make code unconditional.
42640 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42642 * configure.in (libc_cv_fpie): Weaken to a compile test using
42643 LIBC_TRY_CC_OPTION.
42644 * configure: Regenerated.
42646 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42661 2012-05-27 David S. Miller <davem@davemloft.net>
42663 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42665 (__Q_simulate_exceptions): Return void. Change to simulate
42666 exceptions by writing into the %fsr.
42667 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42668 (__Qp_handle_exceptions): Likewise.
42670 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42671 __Qp_handle_exceptions.
42672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42673 __Qp_handle_exceptions.
42674 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42675 as unused and give dummy FP_RND_NEAREST initializer.
42676 (FP_INHIBIT_RESULTS): Define.
42677 (___Q_simulate_exceptions): Update declaration.
42678 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42680 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42681 as unused and give dummy FP_RND_NEAREST initializer.
42682 (__Qp_handle_exceptions): Update declaration.
42683 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42686 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42688 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42689 the temporary FPU control word.
42690 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42691 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42692 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42693 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42694 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42695 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42696 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42697 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42698 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42699 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42700 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42702 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42704 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42707 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42709 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42710 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42711 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42712 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42714 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42715 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42718 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42720 * po/h.po: Update from translation team.
42722 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42724 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42727 handling of denormals.
42728 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42729 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42730 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42731 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42732 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42733 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42737 2012-05-26 Marek Polacek <polacek@redhat.com>
42740 * math/libm-test.inc (fma_test): Don't always expect underflow
42743 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42746 * elf/tst-execstack.c: Include stackinfo.h.
42747 (do_test): Adjust test case to ensure that pthread_getattr_np
42748 behaviour remains the same after marking stack executable.
42750 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42752 * sysdeps/unix/sysv/linux/kernel-features.h
42753 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42754 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42756 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42757 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42758 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42760 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42761 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42763 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42765 * configure.in: Define the default includes to being none.
42766 * configure: Regenerated.
42768 2012-05-25 Roland McGrath <roland@hack.frob.com>
42770 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42771 * sysdeps/x86_64/setjmp.S: Likewise.
42772 * sysdeps/i386/bsd-setjmp.S: Likewise.
42773 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42774 * sysdeps/i386/setjmp.S: Likewise.
42775 * sysdeps/i386/__longjmp.S: Likewise.
42776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42777 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42779 * include/stap-probe.h: New file.
42780 * configure.in: Handle --enable-systemtap.
42781 * configure: Regenerated.
42782 * config.h.in (USE_STAP_PROBE): New #undef.
42783 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42784 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42785 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42787 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42791 to 2.4.0 where earlier.
42792 * sysdeps/unix/sysv/linux/configure: Regenerated.
42793 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42794 <kernel-features.h>.
42795 [__ASSUME_32BITUIDS]: Make code unconditional.
42796 [!__ASSUME_32BITUIDS]: Remove conditional code.
42797 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42798 <kernel-features.h>.
42799 [__ASSUME_32BITUIDS]: Make code unconditional.
42800 [!__ASSUME_32BITUIDS]: Remove conditional code.
42801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42802 [__ASSUME_32BITUIDS]: Make code unconditional.
42803 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42804 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42805 <kernel-features.h>.
42806 [__ASSUME_32BITUIDS]: Make code unconditional.
42807 [!__ASSUME_32BITUIDS]: Remove conditional code.
42808 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42809 <kernel-features.h>.
42810 [__ASSUME_32BITUIDS]: Make code unconditional.
42811 [!__ASSUME_32BITUIDS]: Remove conditional code.
42812 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42813 <kernel-features.h>.
42814 [__ASSUME_32BITUIDS]: Make code unconditional.
42815 [!__ASSUME_32BITUIDS]: Remove conditional code.
42816 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42817 <kernel-features.h>.
42818 [__ASSUME_32BITUIDS]: Make code unconditional.
42819 [!__ASSUME_32BITUIDS]: Remove conditional code.
42820 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42821 <kernel-features.h>.
42822 [__ASSUME_32BITUIDS]: Make code unconditional.
42823 [!__ASSUME_32BITUIDS]: Remove conditional code.
42824 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42825 <kernel-features.h>.
42826 [__ASSUME_32BITUIDS]: Make code unconditional.
42827 [!__ASSUME_32BITUIDS]: Remove conditional code.
42828 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42829 <kernel-features.h>.
42830 [__ASSUME_32BITUIDS]: Make code unconditional.
42831 [!__ASSUME_32BITUIDS]: Remove conditional code.
42832 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42833 <kernel-features.h>.
42834 [__ASSUME_32BITUIDS]: Make code unconditional.
42835 [!__ASSUME_32BITUIDS]: Remove conditional code.
42836 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42837 <kernel-features.h>.
42838 [__ASSUME_32BITUIDS]: Make code unconditional.
42839 [!__ASSUME_32BITUIDS]: Remove conditional code.
42840 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42841 <kernel-features.h>.
42842 [__ASSUME_32BITUIDS]: Make code unconditional.
42843 [!__ASSUME_32BITUIDS]: Remove conditional code.
42844 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42845 <kernel-features.h>.
42846 [__NR_setresgid] (__setresgid): Do not declare.
42847 [__ASSUME_32BITUIDS]: Make code unconditional.
42848 [!__ASSUME_32BITUIDS]: Remove conditional code.
42849 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42850 <kernel-features.h>.
42851 [__NR_setresuid] (__setresuid): Do not declare.
42852 [__ASSUME_32BITUIDS]: Make code unconditional.
42853 [!__ASSUME_32BITUIDS]: Remove conditional code.
42854 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42855 <kernel-features.h>.
42856 [__ASSUME_32BITUIDS]: Make code unconditional.
42857 [!__ASSUME_32BITUIDS]: Remove conditional code.
42858 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42859 <kernel-features.h>.
42860 [__ASSUME_32BITUIDS]: Make code unconditional.
42861 [!__ASSUME_32BITUIDS]: Remove conditional code.
42862 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42863 <kernel-features.h>.
42864 [__ASSUME_32BITUIDS]: Make code unconditional.
42865 [!__ASSUME_32BITUIDS]: Remove conditional code.
42866 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42867 <kernel-features.h>.
42868 [__ASSUME_32BITUIDS]: Make code unconditional.
42869 [!__ASSUME_32BITUIDS]: Remove conditional code.
42870 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42871 <kernel-features.h>.
42872 [__ASSUME_32BITUIDS]: Make code unconditional.
42873 [!__ASSUME_32BITUIDS]: Remove conditional code.
42874 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42875 <kernel-features.h>.
42876 [__ASSUME_32BITUIDS]: Make code unconditional.
42877 [!__ASSUME_32BITUIDS]: Remove conditional code.
42878 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42879 <kernel-features.h>.
42880 [__ASSUME_32BITUIDS]: Make code unconditional.
42881 [!__ASSUME_32BITUIDS]: Remove conditional code.
42882 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42883 <kernel-features.h>.
42884 [__ASSUME_32BITUIDS]: Make code unconditional.
42885 [!__ASSUME_32BITUIDS]: Remove conditional code.
42886 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42887 <kernel-features.h>.
42888 [__ASSUME_32BITUIDS]: Make code unconditional.
42889 [!__ASSUME_32BITUIDS]: Remove conditional code.
42890 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42891 <kernel-features.h>.
42892 [__ASSUME_32BITUIDS]: Make code unconditional.
42893 [!__ASSUME_32BITUIDS]: Remove conditional code.
42894 * sysdeps/unix/sysv/linux/kernel-features.h
42895 (__ASSUME_SETRESUID_SYSCALL): Remove.
42896 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42897 (__ASSUME_32BITUIDS): Likewise.
42898 (__ASSUME_LDT_WORKS): Likewise.
42899 (__ASSUME_O_DIRECTORY): Likewise.
42900 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42901 architecture but not kernel version.
42902 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42903 (__ASSUME_MMAP2_SYSCALL): Likewise.
42904 (__ASSUME_STAT64_SYSCALL): Likewise.
42905 (__ASSUME_IPC64): Likewise.
42906 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42907 <kernel-features.h>.
42908 [__ASSUME_32BITUIDS]: Make code unconditional.
42909 [!__ASSUME_32BITUIDS]: Remove conditional code.
42910 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42911 <kernel-features.h>.
42912 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42913 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42914 132096]: Remove conditional code.
42915 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42916 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42917 <kernel-features.h>.
42918 [__ASSUME_32BITUIDS]: Make code unconditional.
42919 [!__ASSUME_32BITUIDS]: Remove conditional code.
42920 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42921 <kernel-features.h>.
42922 [__ASSUME_32BITUIDS]: Make code unconditional.
42923 [!__ASSUME_32BITUIDS]: Remove conditional code.
42924 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42925 <kernel-features.h>.
42926 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42928 (__setresgid): Do not declare.
42929 [__ASSUME_32BITUIDS]: Make code unconditional.
42930 [!__ASSUME_32BITUIDS]: Remove conditional code.
42931 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42932 <kernel-features.h>.
42933 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42935 (__setresuid): Do not declare.
42936 [__ASSUME_32BITUIDS]: Make code unconditional.
42937 [!__ASSUME_32BITUIDS]: Remove conditional code.
42938 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42939 <kernel-features.h>.
42940 [__ASSUME_32BITUIDS]: Make code unconditional.
42941 [!__ASSUME_32BITUIDS]: Remove conditional code.
42942 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42943 <kernel-features.h>.
42944 [__ASSUME_32BITUIDS]: Make code unconditional.
42945 [!__ASSUME_32BITUIDS]: Remove conditional code.
42947 2012-05-25 Richard Henderson <rth@twiddle.net>
42949 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42950 dl_hwcap to ifunc resolver.
42951 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42953 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42954 dl_hwcap to ifunc resolver.
42955 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42957 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42960 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42961 for |x| <= 2**-26, not 2**-57.
42962 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42965 2012-05-24 Jeff Law <law@redhat.com>
42967 * stdio-common/Makefile (tests): Add bug25.
42968 * stdio-common/bug25.c: New test.
42970 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42973 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42974 multiple of MALLOC_ALIGNMENT in size.
42975 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42977 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42979 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42981 (FILENAME_MAX): Use macro-int-constant.
42982 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42983 (_IOFBF): Use macro-int-constant.
42984 (_IOLBF): Likewise.
42985 (_IONBF): Likewise.
42986 (SEEK_CUR): Likewise.
42987 (SEEK_END): Likewise.
42988 (SEEK_SET): Likewise.
42989 (TMP_MAX): Likewise.
42990 (EOF): Use macro-int-constant. Require < 0.
42991 (NULL): Use macro-constant. Require == 0.
42992 (stdin): Require type to be FILE *.
42993 (stdout): Likewise.
42994 (stderr): Likewise.
42995 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42996 macro-int-constant.
42997 (EXIT_SUCCESS): Likewise.
42998 (NULL): Use macro-constant. Require == 0.
42999 (RAND_MAX): Use macro-int-constant.
43000 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43001 [C99-based standards] (strtof): Require function.
43002 [C99-based standards] (strtold): Likewise.
43003 [C99-based standards] (strtoll): Likewise.
43004 [C99-based standards] (strtoull): Likewise.
43005 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43006 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43007 [ISO || ISO99 || ISO11] (math.h): Likewise.
43008 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43009 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43010 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43012 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43015 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43016 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43017 * intl/dgettext.c (DCGETTEXT): Likewise.
43018 * intl/gettext.c (DCGETTEXT): Likewise.
43019 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43020 * posix/regex_internal.h (gettext): Likewise.
43021 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43022 Remove declaration.
43023 * include/argz.h (__argz_count_internal)
43024 (__argz_stringify_internal): Remove declaration.
43025 (__argz_count, __argz_stringify): Declare hidden proto.
43026 * intl/dcgettext.c: Remove use of INTDEF.
43027 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43028 * string/argz-stringify.c: Likewise.
43029 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43030 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43031 Declare hidden proto.
43032 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43033 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43034 Declare hidden proto.
43035 * include/stdio.h (__asprintf_internal): Don't declare.
43036 (__asprintf): Don't define as macro. Declare hidden proto.
43037 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43038 (__fsetlocking): Declare hidden proto.
43039 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43040 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43042 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43043 (_IO_setlinebuf): Remove use of INTUSE.
43044 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43045 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43046 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43047 Remove declaration.
43048 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43049 (_IO_do_flush): Remove use of INTUSE.
43050 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43051 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43052 (_IO_adjust_column, _IO_least_wmarker)
43053 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43054 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43055 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43056 (_IO_default_doallocate, _IO_wdefault_doallocate)
43057 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43058 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43059 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43060 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43061 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43062 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43063 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43064 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43065 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43066 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43067 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43068 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43069 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43071 (_IO_flush_all_internal, _IO_adjust_column_internal)
43072 (_IO_default_uflow_internal, _IO_default_finish_internal)
43073 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43074 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43075 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43076 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43077 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43078 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43079 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43080 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43081 (_IO_file_close_internal, _IO_file_close_it_internal)
43082 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43083 (_IO_file_init_internal, _IO_file_attach_internal)
43084 (_IO_file_fopen_internal, _IO_file_read_internal)
43085 (_IO_file_sync_internal, _IO_file_seek_internal)
43086 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43087 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43088 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43089 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43090 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43091 (_IO_list_all_internal, _IO_link_in_internal)
43092 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43093 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43094 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43095 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43096 (_IO_do_write_internal, _IO_padn_internal)
43097 (_IO_getline_info_internal, _IO_getline_internal)
43098 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43099 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43100 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43101 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43102 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43103 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43104 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43105 with libc_hidden_ver, remove use of INTUSE.
43106 * libio/genops.c: Likewise.
43107 * libio/freopen.c: Likewise.
43108 * libio/freopen64.c: Likewise.
43109 * libio/iofclose.c: Likewise.
43110 * libio/iofdopen.c: Likewise.
43111 * libio/iofflush.c: Likewise.
43112 * libio/iofflush_u.c: Likewise.
43113 * libio/iofgets.c: Likewise.
43114 * libio/iofgets_u.c: Likewise.
43115 * libio/iofopen.c: Likewise.
43116 * libio/iofopncook.c: Likewise.
43117 * libio/iofread.c: Likewise.
43118 * libio/iofread_u.c: Likewise.
43119 * libio/ioftell.c: Likewise.
43120 * libio/iofwrite.c: Likewise.
43121 * libio/iogetline.c: Likewise.
43122 * libio/iogets.c: Likewise.
43123 * libio/iogetwline.c: Likewise.
43124 * libio/iopadn.c: Likewise.
43125 * libio/iopopen.c: Likewise.
43126 * libio/ioseekoff.c: Likewise.
43127 * libio/ioseekpos.c: Likewise.
43128 * libio/iosetbuffer.c: Likewise.
43129 * libio/iosetvbuf.c: Likewise.
43130 * libio/ioungetc.c: Likewise.
43131 * libio/ioungetwc.c: Likewise.
43132 * libio/iovdprintf.c: Likewise.
43133 * libio/iovsprintf.c: Likewise.
43134 * libio/iovsscanf.c: Likewise.
43135 * libio/memstream.c: Likewise.
43136 * libio/obprintf.c: Likewise.
43137 * libio/oldfileops.c: Likewise.
43138 * libio/oldiofclose.c: Likewise.
43139 * libio/oldiofdopen.c: Likewise.
43140 * libio/oldiofopen.c: Likewise.
43141 * libio/oldiopopen.c: Likewise.
43142 * libio/oldstdfiles.c: Likewise.
43143 * libio/putc.c: Likewise.
43144 * libio/setbuf.c: Likewise.
43145 * libio/setlinebuf.c: Likewise.
43146 * libio/stdfiles.c: Likewise.
43147 * libio/strops.c: Likewise.
43148 * libio/vasprintf.c: Likewise.
43149 * libio/vscanf.c: Likewise.
43150 * libio/vsnprintf.c: Likewise.
43151 * libio/vswprintf.c: Likewise.
43152 * libio/wfiledoalloc.c: Likewise.
43153 * libio/wfileops.c: Likewise.
43154 * libio/wgenops.c: Likewise.
43155 * libio/wmemstream.c: Likewise.
43156 * libio/wstrops.c: Likewise.
43157 * libio/__fpurge.c: Likewise.
43158 * libio/__fsetlocking.c: Likewise.
43159 * assert/assert.c: Likewise.
43160 * debug/fgets_chk.c: Likewise.
43161 * debug/fgets_u_chk.c: Likewise.
43162 * debug/fread_chk.c: Likewise.
43163 * debug/fread_u_chk.c: Likewise.
43164 * debug/gets_chk.c: Likewise.
43165 * debug/obprintf_chk.c: Likewise.
43166 * debug/vasprintf_chk.c: Likewise.
43167 * debug/vdprintf_chk.c: Likewise.
43168 * debug/vsnprintf_chk.c: Likewise.
43169 * debug/vsprintf_chk.c: Likewise.
43170 * malloc/mtrace.c: Likewise.
43171 * misc/error.c: Likewise.
43172 * misc/syslog.c: Likewise.
43173 * stdio-common/asprintf.c: Likewise.
43174 * stdio-common/fxprintf.c: Likewise.
43175 * stdio-common/getw.c: Likewise.
43176 * stdio-common/isoc99_fscanf.c: Likewise.
43177 * stdio-common/isoc99_scanf.c: Likewise.
43178 * stdio-common/isoc99_vfscanf.c: Likewise.
43179 * stdio-common/isoc99_vscanf.c: Likewise.
43180 * stdio-common/isoc99_vsscanf.c: Likewise.
43181 * stdio-common/printf-prs.c: Likewise.
43182 * stdio-common/printf_fp.c: Likewise.
43183 * stdio-common/printf_fphex.c: Likewise.
43184 * stdio-common/printf_size.c: Likewise.
43185 * stdio-common/putw.c: Likewise.
43186 * stdio-common/scanf.c: Likewise.
43187 * stdio-common/sprintf.c: Likewise.
43188 * stdio-common/tmpfile.c: Likewise.
43189 * stdio-common/vfprintf.c: Likewise.
43190 * stdio-common/vfscanf.c: Likewise.
43191 * stdlib/strfmon_l.c: Likewise.
43192 * sunrpc/openchild.c: Likewise.
43193 * sunrpc/xdr_stdio.c: Likewise.
43194 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43195 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43197 2012-05-24 Roland McGrath <roland@hack.frob.com>
43199 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43201 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43202 in the third column, to generate for the shared library an IFUNC
43203 that uses _dl_vdso_vsym.
43204 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43205 * Makeconfig (object-suffixes-noshared): New variable.
43207 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43208 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43209 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43210 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43213 * include/sys/time.h (__gettimeofday): Remove macro.
43214 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43215 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43217 (__gettimeofday): Add libc_hidden_def.
43218 (gettimeofday): Add libc_hidden_weak.
43219 * sysdeps/mach/gettimeofday.c: Likewise.
43220 * sysdeps/posix/gettimeofday.c: Likewise.
43221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43222 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43224 (__gettimeofday_internal): Remove strong_alias.
43225 (__gettimeofday): Add libc_hidden_def.
43226 (gettimeofday): Add libc_hidden_weak.
43227 * sysdeps/unix/syscalls.list (gettimeofday):
43228 Remove __gettimeofday_internal alias.
43230 2012-05-24 Daniel Jacobowitz <drow@false.org>
43231 H.J. Lu <hongjiu.lu@intel.com>
43234 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43235 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43236 (largebin_index_32_big): New.
43237 (largebin_index): Use it for 16-byte alignment.
43238 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43239 correction with front_misalign.
43241 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43269 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43270 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43272 2012-05-24 Joseph Myers <joseph@codesourcery.com>
43276 * math/libm-test.inc (exp_test): Add test from bug 14036.
43277 (pow_test): Add test from bug 10846.
43279 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43281 (special_function): Do not include flags in test name.
43282 (parse_args): Likewise.
43283 * sysdeps/i386/fpu/libm-test-ulps: Update.
43284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43285 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43289 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43291 * math/libm-test.inc ("Philosophy"): Update comment about
43293 (UNDERFLOW_EXCEPTION): New macro.
43294 (UNDERFLOW_EXCEPTION_OK): Likewise.
43295 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43296 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43297 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43298 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43299 (INVALID_EXCEPTION_OK): Update value.
43300 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43301 (OVERFLOW_EXCEPTION_OK): Likewise.
43302 (IGNORE_ZERO_INF_SIGN): Likewise.
43303 (test_exceptions): Handle underflow exceptions.
43304 (acos_test): Update for underflow exception expectations.
43305 (cexp_test): Likewise.
43306 (clog_test): Likewise.
43307 (clog10_test): Likewise.
43308 (csqrt_test): Likewise.
43309 (ctan_test): Likewise.
43310 (ctanh_test): Likewise.
43311 (exp_test): Likewise.
43312 (exp10_test): Likewise.
43313 (exp2_test): Likewise.
43314 (expm1_test): Likewise.
43315 (fma_test): Likewise.
43316 (j0_test): Likewise.
43317 (jn_test): Likewise.
43318 (nexttoward_test): Likewise.
43319 (pow_test): Likewise.
43320 (scalbn_test): Likewise.
43321 (scalbln_test): Likewise.
43322 (tan_test): Likewise.
43323 (y1_test): Likewise.
43324 * sysdeps/i386/fpu/libm-test-ulps: Update.
43325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43327 2012-05-23 David S. Miller <davem@davemloft.net>
43329 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43330 (__libc_sigaction): Remove unused local variables.
43332 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43334 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43336 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43338 mktime: avoid signed integer overflow
43339 * time/mktime.c (__mktime_internal): Do not mishandle the case
43340 where diff == INT_MIN.
43342 mktime: simplify computation of average
43343 * time/mktime.c (ranged_convert): Use new time_t_avg function
43344 instead of rolling our own (probably-slower) code.
43346 mktime: do not assume signed right shift propagates sign bit
43347 * time/mktime.c (isdst_differ): New static function.
43348 (__mktime_internal): No need to normalize tm_isdst now.
43349 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43352 mktime: merge another wrapv change from gnulib
43353 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43354 from some compilers.
43356 mktime: remove incorrect attempt at unusual arithmetics
43357 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43358 The code didn't really work on such machines anyway.
43359 (TYPE_MINIMUM): Assume two's complement.
43360 (twos_complement_arithmetic): Verify that long_int and time_t
43361 are two's complement (or unsigned, in the latter case).
43363 mktime: check signed shifts on long_int and time_t, too
43364 * time/mktime.c (SHR): Check that shifts work as desired
43365 on the types long_int and time_t too, as SHR is used on
43368 mktime: do not assume 'long' is wide enough
43369 * time/mktime.c (verify): Move decl up.
43370 (long_int): New type.
43371 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43372 to remove assumption in the code that 'long' is wide enough to
43373 store year values. This assumption is not true on x32 and on
43374 some non-glibc platforms.
43376 mktime: merge wrapv change from gnulib
43377 * time/mktime.c (WRAPV): New macro.
43378 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43379 (guess_time_tm, __mktime_internal): Do not assume that signed
43380 integer overflow wraps around; modern compilers generate code
43381 where this assumption is no longer valid.
43383 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43385 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43386 Replace "jmp L(pseudo_end)" with "ret".
43387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43390 2012-05-23 Andreas Jaeger <aj@suse.de>
43392 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43393 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43395 2012-05-23 Andreas Jaeger <aj@suse.de>
43396 Maximilian Attems <max@stro.at>
43398 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43401 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43403 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43404 code so that pseudo_end is just ret and the stack pointer is
43405 correct also for static library in error case.
43407 2012-05-23 Joseph Myers <joseph@codesourcery.com>
43409 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43410 move to syscalls.list.
43411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43416 * manual/install.texi (Running make install): Do not mention Linux
43417 kernel version for which pt_chown is not needed.
43418 (Linux): Do not mention problems with nscd with 2.0 kernels.
43419 * INSTALL: Regenerated.
43421 2012-05-23 Andreas Jaeger <aj@suse.de>
43423 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43424 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43426 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43427 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43428 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43429 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43430 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43431 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43432 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43433 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43434 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43436 * sysdeps/unix/sysv/linux/bits/in.h
43437 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43439 2012-05-22 Roland McGrath <roland@hack.frob.com>
43441 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43442 (PREPARE_VERSION): Just use assert instead, it will be elided
43443 under [NDEBUG] anyway.
43445 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43447 * sysdeps/unix/sysv/linux/Makefile: Include
43448 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43449 (sysdep_routines): Remove sysctl.
43450 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43451 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43452 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43453 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43454 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43456 2012-05-22 Andreas Jaeger <aj@suse.de>
43458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43459 that pseudo_end is just ret and the stack pointer is correct also
43460 for static library in error case.
43462 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43465 * nss/nsswitch.c (defconfig_entries): New variable.
43466 (__nss_database_lookup): Don't leak defconfig entries.
43467 (nss_parse_service_list): Don't leak on error paths.
43468 (free_database_entries): New function.
43469 (free_defconfig): New function.
43470 (free_mem): Move common code to free_database_entries.
43472 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43476 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43478 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43479 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43482 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43483 (INTERNAL_SYSCALL_TYPES): Likewise.
43484 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43485 (LOAD_REGS_TYPES_[1-6]): Likewise.
43486 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43487 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43489 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43491 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43492 copysignl for GLIBC_2_0.
43493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43494 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43496 logbl for GLIBC_2_0.
43497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43498 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43500 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43502 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43503 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43508 * time/mktime.c: Update copyright years.
43510 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43512 mktime: merge comment-quoting-style change from gnulib
43513 * time/mktime.c: Quote 'like this' in comments.
43514 The GNU coding standards suggest that we no longer quote `like this',
43515 as "`" and "'" are typically rendered asymmetrically nowadays.
43516 The typical gnulib style is to quote 'like this' when quoting
43517 code, and "like this" when quoting English.
43519 * time/mktime.c (compile-command): Add "-I.".
43521 mktime: merge mktime-internal.h change from gnulib
43522 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43524 mktime: merge time_r change from gnulib
43525 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43527 mktime: merge DEBUG change from gnulib
43528 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43529 case system <time.h> has a #define.
43531 mktime: merge <sys/types.h> change from gnulib
43532 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43533 since <time.t> is now guaranteed to define time_t.
43535 mktime: merge HAVE_CONFIG_H change from gnulib
43536 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43538 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43543 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43545 (struct rusage): Use anonymous union to pad each field to
43548 2012-05-21 David S. Miller <davem@davemloft.net>
43550 * Makefules (o-iterator): Remove .s cases.
43551 (compile-command.s): Delete.
43552 (COMPILE.s): Delete.
43553 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43555 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43557 * configure.in (libc_cv_predef_stack_protector): Only consider
43558 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43559 * configure: Regenerated.
43561 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43564 New macro. Use R*LP on int and pointer.
43565 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43566 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43567 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43568 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43570 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43571 [__WORDSIZE_TIME64_COMPAT32] instead of
43572 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43573 (struct utmp): Likewise.
43574 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43575 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43577 (__WORDSIZE_TIME64_COMPAT32): This.
43578 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43579 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43580 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43581 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43582 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43583 (__WORDSIZE_TIME64_COMPAT32): New macro.
43585 2012-05-21 Andreas Jaeger <aj@suse.de>
43587 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43588 only if [SHARED]. Add prototype for __wcschr_ia32.
43590 2012-05-21 Roland McGrath <roland@hack.frob.com>
43592 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43593 of %rbp unmolested in the jmp_buf while mangling the low bits.
43594 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43595 unmolested high bits of %rbp while demangling the low bits.
43596 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43598 2012-05-21 Andreas Jaeger <aj@suse.de>
43600 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43601 * sunrpc/svc_simple.c: Use it for registerrpc.
43602 * sunrpc/xcrypt.c: Use it for passwd2des.
43604 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43606 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43608 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43609 Don't define if [__SYSCALL_WORDSIZE != 32].
43610 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43613 2012-05-21 Bruno Haible <bruno@clisp.org>
43614 Andreas Jaeger <aj@suse.de>
43616 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43617 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43618 inptr and inend for must_buffer_ch.
43619 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43620 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43621 * stdio-common/Makefile (tests): Remove bug15.
43622 (bug15-ENV): Remove macro.
43623 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43626 2012-05-19 Andreas Jaeger <aj@suse.de>
43627 Roland McGrath <roland@hack.frob.com>
43629 * manual/contrib.texi: Completely rewritten. It contains now an
43630 alphabetical list of contributors and their contributions.
43632 2012-05-21 Richard Henderson <rth@twiddle.net>
43634 * misc/getauxval.c (__getauxval): Use unsigned long int.
43635 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43636 (getauxval): Use unsigned long int.
43638 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43640 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43642 2012-05-21 Roland McGrath <roland@hack.frob.com>
43644 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43645 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43646 __alignof__ (long double).
43648 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43652 2012-05-20 Richard Henderson <rth@twiddle.net>
43654 * misc/getauxval.c: New file.
43655 * misc/sys/auxv.h: New file.
43656 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43657 (routines): Add getauxval.
43658 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43660 * elf/dl-sysdep.c (_dl_auxv): Remove.
43661 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43662 * elf/dl-support.c (_dl_auxv): New variable.
43663 (_dl_aux_init): Initialize it.
43664 * manual/startup.texi (Auxiliary Vector): New node.
43665 * sysdeps/generic/bits/hwcap.h: New file.
43666 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43667 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43668 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43669 * sysdeps/sparc/sysdep.h: ... here. Include it.
43670 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43671 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43677 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43680 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43683 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43687 2012-05-19 David S. Miller <davem@davemloft.net>
43689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43691 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43694 * math/s_ccosh.c: Include <float.h>
43695 (__ccosh): Avoid internal overflow calculating sinh and cosh
43696 values before multiplying by sin and cos values.
43697 * math/s_ccoshf.c: Likewise.
43698 * math/s_ccoshl.c: Likewise.
43699 * math/s_csin.c: Likewise.
43700 * math/s_csinf.c: Likewise.
43701 * math/s_csinl.c: Likewise.
43702 * math/s_csinh.c: Likewise.
43703 * math/s_csinhf.c: Likewise.
43704 * math/s_csinhl.c: Likewise.
43705 * math/libm-test.inc (ccos_test): Add more tests.
43706 (ccosh_test): Likewise.
43707 (csin_test): Likewise.
43708 (csinh_test): Likewise.
43709 * sysdeps/i386/fpu/libm-test-ulps: Update.
43710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43712 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43714 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43715 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43717 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43719 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43721 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43722 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43723 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43724 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43725 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43726 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43727 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43728 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43729 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43730 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43731 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43732 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43733 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43734 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43735 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43736 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43737 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43738 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43739 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43740 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43741 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43742 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43743 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43744 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43745 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43746 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43747 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43748 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43749 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43750 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43751 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43753 2012-05-18 Andreas Jaeger <aj@suse.de>
43755 * csu/.gitignore: Delete.
43757 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43759 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43760 (timex): Use __syscall_slong_t.
43762 2012-05-18 Andreas Jaeger <aj@suse.de>
43763 Carlos O'Donell <carlos_odonell@mentor.com>
43765 * manual/install.texi (Configuring and compiling): Update
43766 description about files modified in the source directory.
43767 * INSTALL: Regenerated.
43769 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43771 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43772 value. Use "or" to set return value to -1.
43773 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43774 negate return value.
43776 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43778 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43779 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43780 failure if the compiler has Graphite support disabled.
43781 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43783 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43784 (CFLAGS-memmove.c): Likewise.
43785 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43788 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43790 * sysdeps/x86_64/x32/_itoa.h: New file.
43792 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43793 getdents system call only if kernel and user dirents have the
43794 same d_ino and d_off.
43796 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43797 LLONG_MAX != LONG_MAX.
43798 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43799 (_fitoa_word): Likewise.
43801 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43804 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43805 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43808 include <bits/wordsize.h>. Check __x86_64__ instead of
43810 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43811 if __x86_64__ is defined. Use anonymous union on fpstate.
43813 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43816 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43818 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43819 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43820 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43821 Refer to _rtld_local_ro instead of _rtld_global_ro.
43822 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43824 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43826 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43828 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43829 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43830 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43832 * sysdeps/powerpc/powerpc32/dl-machine.c
43833 (__elf_machine_runtime_setup) [PROF]: Don't reference
43836 2012-05-18 Andreas Jaeger <aj@suse.de>
43838 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43839 function only available for GCCs before 3.4 since GCC 3.4
43840 introduced a builtin.
43842 (llrintf): Likewise.
43843 (llrint): Likewise.
43850 (nearbyint): Likewise.
43851 (nearbyintf): Likewise.
43855 (floorf): Likewise.
43857 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43859 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43860 on both fields and cast pointer to __syscall_ulong_t.
43862 * bits/types.h (__fsword_t): New type.
43863 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43864 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43866 (__FSWORD_T_TYPE): Likewise.
43867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43868 (__FSWORD_T_TYPE): Likewise.
43869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43870 (__FSWORD_T_TYPE): Likewise.
43871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43872 (__FSWORD_T_TYPE): Likewise.
43873 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43874 __SWORD_TYPE with __fsword_t.
43875 (statfs64): Likewise.
43877 2012-05-17 David S. Miller <davem@davemloft.net>
43879 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43881 2012-05-17 Andreas Jaeger <aj@suse.de>
43883 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43886 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43888 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43890 2012-05-17 Andreas Jaeger <aj@suse.de>
43892 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43895 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43897 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43899 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43901 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43902 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43904 2012-05-17 Andreas Jaeger <aj@suse.de>
43905 Carlos O'Donell <carlos_odonell@mentor.com>
43908 * sysdeps/x86_64/multiarch/init-arch.h
43909 (bit_YMM_Usable): Rename to...
43910 (bit_AVX_Usable): ... this.
43911 (bit_FMA4_Usable): New macro.
43912 (bit_XMM_state): New macro.
43913 (bit_YMM_state): New macro.
43914 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43915 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43916 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43917 (CPUID_OSXSAVE): New macro.
43918 (CPUID_AVX): New macro.
43919 (CPUID_FMA4): New macro.
43920 (index_YMM_Usable): Rename to...
43921 (index_AVX_Usable): ... this.
43922 (HAS_AVX): Use HAS_ARCH_FEATURE.
43923 (HAS_FMA4): Likewise.
43924 (HAS_YMM_USABLE): Remove.
43925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43926 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43928 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43929 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43930 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43931 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43932 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43934 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43936 * math/libm-test.c: Support platforms without multiple rounding modes.
43937 * math/bug-nextafter.c: Support platforms without FP exceptions.
43938 * math/bug-nexttoward.c: Likewise.
43939 * math/test-fenv.c: Likewise.
43940 * math/test-misc.c: Likewise.
43941 * stdlib/bug-getcontext.c: Likewise.
43943 2012-05-17 Andreas Jaeger <aj@suse.de>
43945 * manual/examples/search.c (critter_cmp): Change signature to
43947 * manual/string.texi (Collation Functions): Likewise.
43949 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43951 * bits/types.h: Fold copyright years.
43952 * bits/typesizes.h: Likewise.
43953 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43954 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43957 * time/time.h: Likewise.
43959 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43962 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43963 in instead of returning them. Return void.
43964 (__libc_mallinfo): Accumulate over all arenas.
43965 (__malloc_stats): Adjust for change in int_mallinfo interface.
43967 2012-05-16 Roland McGrath <roland@hack.frob.com>
43970 * configure.in (NM): Add AC_CHECK_TOOL for it.
43971 (libc_extra_cflags): New substituted variable.
43972 Check for -fstack-protector being used implicitly.
43973 * configure: Regenerated.
43974 * config.make.in (config-extra-cflags): New variable,
43975 gets @libc_extra_cflags@.
43976 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43979 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43980 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43981 * configure: Regenerated.
43982 * config.make.in (CPPUNDEFS): New substituted variable.
43983 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43984 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43985 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43989 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43990 (mq_attr): Use __syscall_slong_t.
43992 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43994 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43995 Check __x86_64__ instead of __WORDSIZE.
43996 (_STAT_VER_LINUX): Likewise.
43997 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43998 __syscall_ulong_t and __syscall_slong_t.
43999 (stat64): Likewise.
44001 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44005 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44007 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44009 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44011 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44014 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44015 include <bits/wordsize.h>. Check __x86_64__ instead of
44017 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44019 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44021 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44022 include <bits/wordsize.h>. Check __x86_64__ instead of
44024 (user_regs_struct): Use "__extension__ unsigned long long"
44025 instead of "unsigned long" if __x86_64__ is defined.
44026 (user): Likewise. Pad after pointer field if __ILP32__ is
44029 2012-05-16 Joseph Myers <joseph@codesourcery.com>
44031 * configure.in (makeinfo): Require version 4.5 or later. Allow
44033 * configure: Regenerated.
44034 * manual/install.texi (texinfo): Increase version requirement to
44036 * INSTALL: Regenerated.
44038 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44040 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44042 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44044 * sysdeps/x86_64/x32/ffs.c: New file.
44046 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44048 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44049 defined. Use __syscall_ulong_t.
44050 (shminfo): Use __syscall_ulong_t.
44051 (shm_info): Likewise.
44053 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44056 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44058 (msgqnum_t): Use __syscall_ulong_t.
44059 (msglen_t): Likewise.
44060 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44063 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44064 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44066 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44068 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44069 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44071 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44074 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44075 include <bits/wordsize.h>. Check __x86_64__ instead of
44078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44079 "unsigned long long int" if __x86_64__ is defined.
44080 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44084 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44086 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44088 (GET_PC): Cast to uintptr_t first.
44089 (GET_FRAME): Likewise.
44090 (GET_STACK): Likewise.
44092 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44094 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44096 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44098 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44099 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44100 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44101 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44102 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44105 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44107 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44109 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44110 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44111 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44113 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44115 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44117 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44122 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44124 * Makerules (+depfiles): Also collect depfiles from .oS in
44126 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44127 .oS, $(libnldbl-routines)).
44129 * Makerules (native-compile-mkdep-flags): Define.
44130 * sunrpc/Makefile (extra-objs): Add $(addprefix
44131 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44132 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44133 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44134 calling $(make-target-directory).
44136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44138 * bits/types.h (__snseconds_t): Removed.
44139 * time/time.h (struct timespec): Replace __snseconds_t with
44141 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44142 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44145 (__SNSECONDS_T_TYPE): Likewise.
44146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44147 (__SNSECONDS_T_TYPE): Likewise.
44148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44149 (__SNSECONDS_T_TYPE): Likewise.
44151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44153 * sysdeps/mach/hurd/bits/typesizes.h
44154 (__SYSCALL_SLONG_TYPE): New macro.
44155 (__SYSCALL_ULONG_TYPE): Likewise.
44157 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44159 * bits/types.h (__syscall_slong_t): New type.
44160 (__syscall_ulong_t): Likewise.
44162 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44163 (__SYSCALL_ULONG_TYPE): Likewise.
44164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44165 (__SYSCALL_SLONG_TYPE): Likewise.
44166 (__SYSCALL_ULONG_TYPE): Likewise.
44167 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44168 (__SYSCALL_SLONG_TYPE): Likewise.
44169 (__SYSCALL_ULONG_TYPE): Likewise.
44170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44171 (__SYSCALL_SLONG_TYPE): Likewise.
44172 (__SYSCALL_ULONG_TYPE): Likewise.
44174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44176 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44177 Add sigaltstack-offsets.sym.
44178 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44179 <sigaltstack-offsets.h>.
44180 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44181 longjmp_msg pointer.
44182 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44183 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44185 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44187 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44189 * elf/stackguard-macros.h: Remove file.
44190 * sysdeps/generic/stackguard-macros.h: New file.
44191 * sysdeps/i386/stackguard-macros.h: Likewise.
44192 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44193 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44194 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44195 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44196 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44197 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44198 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44199 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44200 <elf/stackguard-macros.h>.
44203 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44204 __aligned__ in attribute.
44205 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44206 (gregset_t): Likewise.
44208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44210 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44211 * sysdeps/x86_64/64/Implies-after: Here. New file.
44212 * sysdeps/x86_64/x32/Implies-after: New file.
44214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44216 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44217 and access return value for _dl_profile_fixup. Use R10_LP to
44220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44222 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44224 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44226 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44227 * sysdeps/x86_64/x32/sysdep.h: New file.
44229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44231 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44232 * sysdeps/x86_64/setjmp.S: Likewise.
44234 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44238 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44239 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44240 remove unused global constant.
44242 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44244 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44245 include of <not-cancel.h>.
44247 2012-05-15 Roland McGrath <roland@hack.frob.com>
44249 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44251 2012-05-15 Jeff Law <law@redhat.com>
44252 Andreas Jaeger <aj@suse.de>
44255 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44257 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44258 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44259 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44260 code changing __hst_map_handle.map.
44262 2012-05-15 Roland McGrath <roland@hack.frob.com>
44264 * configure.in (sysnames): Look for Implies-before and Implies-after
44266 * configure: Regenerated.
44268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44270 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44271 8-byte data alignment with LP_SIZE alignment.
44273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44275 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44280 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44284 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44285 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44288 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44292 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44293 (stackinfo_sub_sp): Likewise.
44295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44300 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44302 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44312 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44314 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44316 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44317 into R11_LP and load __x86_64_shared_cache_size_half into
44320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44322 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44325 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44333 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44334 powerpc32/power7/fpu/s_logb.c via #include.
44335 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44336 powerpc32/power7/fpu/s_logbf.c via #include.
44337 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44338 powerpc32/power7/fpu/s_logbl.c via #include.
44340 2012-05-15 Joseph Myers <joseph@codesourcery.com>
44342 * README.libm: Remove file.
44344 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44346 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44347 count for x32. Use R*_LP and omit operand-size suffix.
44349 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44351 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44352 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44353 * sysdeps/x86_64/x32/shlib-versions: New file.
44355 2012-05-14 Roland McGrath <roland@hack.frob.com>
44357 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44358 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44359 Use _dl_fatal_printf instead.
44361 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44363 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44364 set if not set by the user. Do not allow for being unset.
44365 * sysdeps/unix/sysv/linux/configure: Regenerated.
44367 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44369 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44370 the `q' suffix from lea and replace .quad with ASM_ADDR.
44372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44375 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44377 (PTR_DEMANGLE): Likewise.
44379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44381 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44383 (ASM_ADDR): Likewise.
44384 (RAX_LP): Likewise.
44385 (RBP_LP): Likewise.
44386 (RBX_LP): Likewise.
44387 (RCX_LP): Likewise.
44388 (RDI_LP): Likewise.
44389 (RSI_LP): Likewise.
44390 (RSP_LP): Likewise.
44393 (R10_LP): Likewise.
44394 (R10_LP): Likewise.
44395 (R11_LP): Likewise.
44396 (R12_LP): Likewise.
44397 (R13_LP): Likewise.
44398 (R14_LP): Likewise.
44399 (R15_LP): Likewise.
44401 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44403 * sysdeps/x86_64/x32/dl-machine.h: New file.
44405 2012-05-14 Andreas Jaeger <aj@suse.de>
44407 * manual/Makefile (subdir): Remove export of subdir.
44408 (all): Remove target.
44409 (.PHONY): Remove all from list.
44410 (mkinstalldirs): Remove.
44411 (.PHONY): Remove installdirs from list.
44412 ($(inst_infodir)/libc.info): Use make-target-directory.
44413 (installdirs): Remove.
44414 (subdir_%): Remove.
44415 (glibc-targets): Remove.
44418 ($(objpfx)stubs ../po/manual.pot): Remove.
44419 ($(objpfx)stamp%): Remove.
44420 (make-target-directory): Remove.
44421 (subdir_install): Remove.
44422 (routines): Remove.
44429 * manual/.gitignore: Remove, it's not needed anymore.
44430 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44432 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44434 (texis): Renamed to $(objpfx)texis.
44435 (texis-path): New, contains path to generated files.
44436 (chapters.%): Use texis-path for complete path, add extra argument
44438 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44439 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44440 (summary,texi, stamp-summary): Use complete path of
44441 files. Generate files in build dir.
44442 (dir-add.texi): Build in build dir.
44443 (libm-err.texi,stamp-libm-err): Likewise.
44444 (version.texi, stamp-version): Likewise.
44445 (.%c.texi): Likewise.
44446 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44447 (mostlyclean): Remove target.
44448 (realclean): Remove target.
44449 (generated): Add new variable with contents from mostlyclean and
44450 realclean, remove entries duplicated in common-mostlyclean, add
44451 stamp-libm-err and stamp-version.
44452 (generated-dirs): Add libc directory.
44453 ($(inst_infodir)/libc.info): Install files from build dir.
44455 * manual/install.texi (Configuring and compiling): Adjust since
44456 the info files are not part of the tar ball anymore.
44458 2012-05-14 Andreas Jaeger <aj@suse.de>
44460 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44463 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44467 to 2.2.0 where earlier.
44468 * sysdeps/unix/sysv/linux/configure: Regenerated.
44469 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44470 Remove conditional code.
44471 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44472 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44473 Remove conditional code.
44474 [!__NR_lchown]: Likewise.
44475 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44476 [__NR_lchown]: Likewise.
44477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44478 comment referencing __ASSUME_LCHOWN_SYSCALL.
44479 * sysdeps/unix/sysv/linux/i386/sigaction.c
44480 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44481 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44482 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44483 Remove conditional code.
44484 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44485 (__protocol_available): Remove #if 0 code.
44486 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44488 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44489 * sysdeps/unix/sysv/linux/kernel-features.h
44490 (__ASSUME_GETCWD_SYSCALL): Don't define.
44491 (__ASSUME_REALTIME_SIGNALS): Likewise.
44492 (__ASSUME_PREAD_SYSCALL): Likewise.
44493 (__ASSUME_PWRITE_SYSCALL): Likewise.
44494 (__ASSUME_POLL_SYSCALL): Likewise.
44495 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44496 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44498 (__ASSUME_SIOCGIFNAME): Don't define.
44499 (__ASSUME_MSG_NOSIGNAL): Likewise.
44500 (__ASSUME_SENDFILE): Define unconditionally.
44501 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44502 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44504 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44505 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44506 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44507 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44508 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44510 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44512 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44518 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44519 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44535 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44536 Remove conditional code.
44537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44538 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44539 Remove conditional code.
44540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44541 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44542 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44543 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44544 Remove conditional code.
44545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44546 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44547 Remove conditional code.
44548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44549 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44550 Remove conditional code.
44551 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44552 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44553 Remove conditional code.
44554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44555 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44556 Remove conditional code.
44557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44558 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44559 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44561 * sysdeps/unix/sysv/linux/sigaction.c
44562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44564 * sysdeps/unix/sysv/linux/sigpending.c
44565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44567 * sysdeps/unix/sysv/linux/sigprocmask.c
44568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44570 * sysdeps/unix/sysv/linux/sigsuspend.c
44571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44574 (__libc_missing_rt_sigs): Remove.
44575 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44576 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44577 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44578 Remove conditional code.
44579 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44580 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44582 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44583 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44584 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44585 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44587 2012-05-14 Andreas Jaeger <aj@suse.de>
44589 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44590 it's not used in glibc.
44591 (__coshm1): Likewise.
44592 (__acosh1p): Likewise.
44595 * manual/string.texi (Copying and Concatenation): Add missing
44596 variable in concat example.
44597 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44599 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44603 __builtin_clzl with __builtin_clzll.
44605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44608 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44611 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44613 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44614 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44615 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44618 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44620 * NEWS: Update ia64 info.
44622 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44624 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44627 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44629 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44630 * sysdeps/unix/syscalls.list (dup3): Likewise.
44631 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44632 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44634 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44636 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44637 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44639 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44641 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44643 (TLS_IE): Use mov/add instead of movq/addq to load thread
44645 (TLS_GD_PREFIX): New.
44648 2012-05-11 David S. Miller <davem@davemloft.net>
44650 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44651 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44652 (_FPU_SETCW): Likewise.
44654 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44656 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44657 is 32-byte aligned.
44659 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44662 * iconvdata/gb18030.c: Update tables.
44663 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44664 characters specially.
44665 (BODY for TO_LOOP): Add encoding of missing ranges.
44667 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44670 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44671 * sysdeps/mach/hurd/dup3.c: Likewise.
44672 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44673 * sysdeps/powerpc/memmove.c:: Likewise.
44675 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44678 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44680 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44682 * elf/elf.h (R_X86_64_RELATIVE64): New.
44683 (R_X86_64_NUM): Updated.
44684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44685 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44686 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44687 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44688 tst-quad1pie tst-quad2pie
44689 (modules-names): Add tst-quadmod1 tst-quadmod2.
44690 ($(objpfx)tst-quad1): New dependency.
44691 ($(objpfx)tst-quad2): Likewise.
44692 ($(objpfx)tst-quad1pie): Likewise.
44693 ($(objpfx)tst-quad2pie): Likewise.
44694 * sysdeps/x86_64/tst-quad1.c: New file.
44695 * sysdeps/x86_64/tst-quad1pie.c: New file.
44696 * sysdeps/x86_64/tst-quad2.c: Likewise.
44697 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44698 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44699 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44700 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44701 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44705 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44706 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44707 * streams/stropts.h (t_scalar_t): Define type.
44709 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44710 (_PATH_PRESERVE): Set to "/var/lib".
44711 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44713 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44716 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44717 if __dir_mkfile succeeded.
44719 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44720 checking for _hurd_dtablesize. Unlock it right after having
44721 finished _hurd_dtable allocation.
44723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44725 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44726 * sysdeps/mach/hurd/configure: Regenerated.
44727 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44728 special-casing to...
44729 * sysdeps/gnu/configure.in: ... this new file.
44730 * sysdeps/unix/sysv/linux/configure: Regenerated.
44731 * sysdeps/gnu/configure: New generated file.
44733 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44734 for Linux: use nsec instead of usec, as well as:
44735 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44736 members of type struct timespec.
44737 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44739 (struct stat64): Likewise.
44740 (_STATBUF_ST_NSEC): New macro.
44741 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44743 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44744 __strtoul_internal rather than strtoul.
44746 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44748 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44751 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44753 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44754 which preserves existing values.
44755 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44757 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44759 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44760 TIMEOUT values. Return EINVAL for NFDS values either negative or
44761 greater than FD_SETSIZE.
44763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44765 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44766 allocated, call __vm_protect to finish enabling the existing space, and
44767 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44768 allocate the remainder.
44770 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44772 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44773 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44777 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44778 sysdeps/mach/hurd/readlink.c.
44780 * posix/tst-sysconf.c (posix_options): Only use
44781 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44782 _POSIX_SYNCHRONIZED_IO when they are defined
44783 * sysdeps/mach/hurd/bits/posix_opt.h:
44784 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44785 (_XOPEN_REALTIME): Undefine macro.
44786 (_XOPEN_REALTIME_THREADS): Undefine macro.
44787 (_XOPEN_SHM): Undefine macro.
44788 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44790 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44792 (_POSIX_ASYNC_IO): Undefine macro.
44793 (_POSIX_PRIORITIZED_IO): Undefine macro.
44794 (_POSIX_SPIN_LOCKS): Define macro to -1.
44796 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44797 SA_NODEFER, SA_RESETHAND.
44798 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44799 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44802 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44804 * elf/Makefile (pldd-modules): Define unconditionally.
44806 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44808 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44810 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44812 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44813 Return ENOENT when name is empty.
44814 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44818 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44820 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44824 Fix mlock in all cases except non-readable pages.
44825 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44826 instead of VM_PROT_ALL as parameter to __vm_wire function.
44828 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44829 (__mkdir): When path is `/', just fail with EEXIST.
44830 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44834 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44835 <sys/uio.h> (for writev).
44836 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44837 and <sys/param.h> (for MIN).
44839 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44841 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44842 REQUESTED_TIME. Properly set the remaining time and return EINTR
44845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44847 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44848 Depend on against $(link-rpcuserlibs).
44850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44852 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44853 (__libc_stack_end): Do not use attribute_relro.
44854 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44855 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44856 to libthread-provided value.
44857 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44863 * bits/libc-lock.h (__libc_once_get): New macro.
44864 * sysdeps/mach/bits/libc-lock.h: Likewise.
44865 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44866 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44867 instead of using implementation details.
44869 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44870 * libio/freopen.c: Likewise.
44871 * libio/freopen64.c: Likewise.
44872 * misc/syslog.c: Likewise.
44873 * nscd/connections.c: Likewise.
44874 * nscd/netgroupcache.c: Likewise.
44875 * sysdeps/posix/getcwd.c: Likewise.
44877 2012-05-10 Roland McGrath <roland@hack.frob.com>
44879 * math/w_ilogbf.c: Add #include <limits.h>.
44881 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44883 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44884 path instead of returning without unlocking.
44886 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44887 immediate-write ioctls.
44888 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44892 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44893 __builtin_frame_address instead of making assumptions about the
44894 location of the return address relative to DATA. Force early load of
44895 the return address.
44896 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44897 __builtin_frame_address.
44900 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44901 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44902 implement dup3 and do some further code clean-ups.
44903 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44904 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44908 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44910 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44911 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44912 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44913 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44914 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44917 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44918 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44919 when handler == SIG_ERR, not when handler != SIG_ERR.
44921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44923 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44924 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44927 accept4 for GNU Hurd.
44928 * include/sys/socket.h (__libc_accept4): New prototype.
44929 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44930 to implement __libc_accept4.
44931 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44933 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44935 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44936 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44937 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44938 signal-defines.sym.
44940 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44942 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44944 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44946 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44947 assertion on O_CLOEXEC flag.
44948 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44949 * hurd/intern-fd.c: Likewise.
44950 * hurd/port2fd.c: Likewise.
44952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44955 * bits/in.h (IPV6_PKTINFO): Define new macro.
44956 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44958 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44963 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44965 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44966 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44968 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44969 * math/libm-test.inc (logb_test) : Additional logb tests.
44971 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44972 Andreas Jaeger <aj@suse.de>
44974 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44975 * configure: Regenerated.
44976 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44977 * config.make.in (link-obsolete-rpc): New substituted variable.
44978 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44979 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44980 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44981 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44982 so that libc.a contains the symbols.
44983 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44984 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44985 * sunrpc/auth_none.c: Likewise.
44986 * sunrpc/auth_unix.c: Likewise.
44987 * sunrpc/authdes_prot.c: Likewise.
44988 * sunrpc/authuxprot.c: Likewise.
44989 * sunrpc/clnt_gen.c: Likewise.
44990 * sunrpc/clnt_perr.c: Likewise.
44991 * sunrpc/clnt_raw.c: Likewise.
44992 * sunrpc/clnt_simp.c: Likewise.
44993 * sunrpc/clnt_tcp.c: Likewise.
44994 * sunrpc/clnt_udp.c: Likewise.
44995 * sunrpc/clnt_unix.c: Likewise.
44996 * sunrpc/des_crypt.c: Likewise.
44997 * sunrpc/des_soft.c: Likewise.
44998 * sunrpc/get_myaddr.c: Likewise.
44999 * sunrpc/key_call.c: Likewise.
45000 * sunrpc/key_prot.c: Likewise.
45001 * sunrpc/netname.c: Likewise.
45002 * sunrpc/pm_getmaps.c: Likewise.
45003 * sunrpc/pm_getport.c: Likewise.
45004 * sunrpc/pmap_clnt.c: Likewise.
45005 * sunrpc/pmap_prot.c: Likewise.
45006 * sunrpc/pmap_prot2.c: Likewise.
45007 * sunrpc/pmap_rmt.c: Likewise.
45008 * sunrpc/publickey.c: Likewise.
45009 * sunrpc/rpc_cmsg.c: Likewise.
45010 * sunrpc/rpc_common.c: Likewise.
45011 * sunrpc/rpc_dtable.c: Likewise.
45012 * sunrpc/rpc_prot.c: Likewise.
45013 * sunrpc/rpc_thread.c: Likewise.
45014 * sunrpc/rtime.c: Likewise.
45015 * sunrpc/svc.c: Likewise.
45016 * sunrpc/svc_auth.c: Likewise.
45017 * sunrpc/svc_raw.c: Likewise.
45018 * sunrpc/svc_run.c: Likewise.
45019 * sunrpc/svc_tcp.c: Likewise.
45020 * sunrpc/svc_udp.c: Likewise.
45021 * sunrpc/svc_unix.c: Likewise.
45022 * sunrpc/svcauth_des.c: Likewise.
45023 * sunrpc/xcrypt.c: Likewise.
45024 * sunrpc/xdr.c: Likewise.
45025 * sunrpc/xdr_array.c: Likewise.
45026 * sunrpc/xdr_float.c: Likewise.
45027 * sunrpc/xdr_intXX_t.c: Likewise.
45028 * sunrpc/xdr_mem.c: Likewise.
45029 * sunrpc/xdr_rec.c: Likewise.
45030 * sunrpc/xdr_ref.c: Likewise.
45031 * sunrpc/xdr_sizeof.c: Likewise.
45032 * sunrpc/xdr_stdio.c: Likewise.
45034 2012-05-10 Roland McGrath <roland@hack.frob.com>
45036 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45037 change. Update copyright years.
45039 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45041 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45043 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45044 Joseph Myers <joseph@codesourcery.com>
45045 Paul Pluzhnikov <ppluzhnikov@google.com>
45048 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45050 [cross-compiling] (extra-libs): Likewise.
45051 [cross-compiling] (extra-libs-others): Likewise.
45052 [cross-compiling] (librpcsvc-routines): Likewise.
45053 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45054 [cross-compiling] (omit-deps): Likewise.
45055 (sunrpc-CPPFLAGS): New variable.
45056 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45057 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45058 (cross-rpcgen-objs): New variable.
45059 (extra-objs): Append $(cross-rpcgen-objs).
45060 ($(cross-rpcgen-objs)): New rule.
45061 ($(objpfx)cross-rpcgen): Likewise.
45062 (rpcgen-cmd): Define to use $(built-program-file). Expand
45064 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45065 ($(objpfx)x%.stmp): Likewise.
45066 * sunrpc/proto.h [IS_IN_build] (_): Define.
45067 [IS_IN_build] (_libc_intl_domainname): Likewise.
45069 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45072 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45073 and R_X86_64_TPOFF64.
45075 2012-05-10 Joseph Myers <joseph@codesourcery.com>
45077 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45078 sysdeps/unix/sysv/syscalls.list.
45081 * sysdeps/unix/sysv/syscalls.list: Remove file.
45083 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45086 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45087 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45088 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45089 (__LC_IDENTIFICATION): Make these macros useful in #if
45090 expressions, as required by C99.
45092 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45094 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45095 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45098 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45100 * stdlib/longlong.h: Updated from GCC.
45102 2012-05-09 Andreas Jaeger <aj@suse.de>
45104 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45105 default is first entry.
45106 (run_mode): Set type.
45107 (main): Remove informal message about syslog.
45108 (options): Fix typo.
45111 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45114 (llrintf): Likewise.
45115 (llrint): Likewise.
45118 (nearbyint): Likewise.
45119 (nearbyintf): Likewise.
45121 2012-05-09 Andreas Jaeger <aj@suse.de>
45122 Pedro Alves <palves@redhat.com>
45124 * nscd/nscd.c (run_mode): Use enum.
45125 (main): Cleanup coding style issue.
45127 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
45128 Andreas Jaeger <aj@suse.de>
45130 * nscd/nscd.c (go_background): Replaced with...
45131 (run_mode): ... this.
45132 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45133 (options): Add -F --foreground.
45134 (main): Implement it.
45135 (parse_opt): Parse it.
45137 2012-05-09 Andreas Jaeger <aj@suse.de>
45140 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45141 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45142 -Wconversion warning.
45143 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45146 2012-05-09 Joseph Myers <joseph@codesourcery.com>
45148 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45150 (LC_ALL): Use macro-int-constant.
45151 (LC_COLLATE): Likewise.
45152 (LC_CTYPE): Likewise.
45153 (LC_MESSAGES): Likewise.
45154 (LC_MONETARY): Likewise.
45155 (LC_NUMERIC): Likewise.
45156 (LC_TIME): Likewise.
45157 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45158 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45160 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45162 [C99-based standards] (float_t): Expect type.
45163 [C99-based standards] (double_t): Expect type.
45164 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45166 [C99-based standards] (HUGE_VALL): Likewise.
45167 [C99-based standards] (INFINITY): Likewise.
45168 [C99-based standards] (NAN): Likewise.
45169 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45170 [C99-based standards] (FP_NAN): Likewise.
45171 [C99-based standards] (FP_NORMAL): Likewise.
45172 [C99-based standards] (FP_SUBNORMAL): Likewise.
45173 [C99-based standards] (FP_ZERO): Likewise.
45174 [C99-based standards] (FP_FAST_FMA): Use
45175 optional-macro-int-constant. Specify type. Require == 1.
45176 [C99-based standards] (FP_FAST_FMAF): Likewise.
45177 [C99-based standards] (FP_FAST_FMAL): Likewise.
45178 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45179 [C99-based standards] (FP_ILOGBNAN): Likewise.
45180 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45182 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45183 [C99-based standards] (math_errhandling): Specify type.
45184 [ISO99 || ISO11] (signgam): Do not allow.
45185 [non-C99-based standards] (copysignf): Do not allow.
45186 [non-C99-based standards] (exp2f): Likewise.
45187 [non-C99-based standards] (log2f): Likewise.
45188 [non-C99-based standards] (modff): Allow.
45189 [non-C99-based standards] (erff): Do not allow.
45190 [non-C99-based standards] (erfcf): Likewise.
45191 [non-C99-based standards] (gammaf): Likewise.
45192 [non-C99-based standards] (hypotf): Likewise.
45193 [non-C99-based standards] (j0f): Likewise.
45194 [non-C99-based standards] (j1f): Likewise.
45195 [non-C99-based standards] (jnf): Likewise.
45196 [non-C99-based standards] (lgammaf): Likewise.
45197 [non-C99-based standards] (tgammaf): Likewise.
45198 [non-C99-based standards] (y0f): Likewise.
45199 [non-C99-based standards] (y1f): Likewise.
45200 [non-C99-based standards] (ynf): Likewise.
45201 [non-C99-based standards] (isnanf): Likewise.
45202 [non-C99-based standards] (acoshf): Likewise.
45203 [non-C99-based standards] (asinhf): Likewise.
45204 [non-C99-based standards] (atanhf): Likewise.
45205 [non-C99-based standards] (cbrtf): Likewise.
45206 [non-C99-based standards] (expm1f): Likewise.
45207 [non-C99-based standards] (ilogbf): Likewise.
45208 [non-C99-based standards] (log1pf): Likewise.
45209 [non-C99-based standards] (logbf): Likewise.
45210 [non-C99-based standards] (nextafterf): Likewise.
45211 [non-C99-based standards] (remainderf): Likewise.
45212 [non-C99-based standards] (rintf): Likewise.
45213 [non-C99-based standards] (scalbf): Likewise.
45214 [non-C99-based standards] (copysignl): Likewise.
45215 [non-C99-based standards] (exp2l): Likewise.
45216 [non-C99-based standards] (log2l): Likewise.
45217 [non-C99-based standards] (modfl): Allow.
45218 [non-C99-based standards] (erfl): Do not allow.
45219 [non-C99-based standards] (erfcl): Likewise.
45220 [non-C99-based standards] (gammal): Likewise.
45221 [non-C99-based standards] (hypotl): Likewise.
45222 [non-C99-based standards] (j0l): Likewise.
45223 [non-C99-based standards] (j1l): Likewise.
45224 [non-C99-based standards] (jnl): Likewise.
45225 [non-C99-based standards] (lgammal): Likewise.
45226 [non-C99-based standards] (tgammal): Likewise.
45227 [non-C99-based standards] (y0l): Likewise.
45228 [non-C99-based standards] (y1l): Likewise.
45229 [non-C99-based standards] (ynl): Likewise.
45230 [non-C99-based standards] (isnanl): Likewise.
45231 [non-C99-based standards] (acoshl): Likewise.
45232 [non-C99-based standards] (asinhl): Likewise.
45233 [non-C99-based standards] (atanhl): Likewise.
45234 [non-C99-based standards] (cbrtl): Likewise.
45235 [non-C99-based standards] (expm1l): Likewise.
45236 [non-C99-based standards] (ilogbl): Likewise.
45237 [non-C99-based standards] (log1pl): Likewise.
45238 [non-C99-based standards] (logbl): Likewise.
45239 [non-C99-based standards] (nextafterl): Likewise.
45240 [non-C99-based standards] (remainderl): Likewise.
45241 [non-C99-based standards] (rintl): Likewise.
45242 [non-C99-based standards] (scalbl): Likewise.
45243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45244 [non-C99-based standards] (FP_*): Do not allow.
45245 [C99-based standards] (FP_*): Change to
45246 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45247 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45249 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45250 (SIG_ERR): Likewise.
45251 [X/Open-based standards] (SIG_HOLD): Likewise.
45252 (SIG_IGN): Likewise.
45253 (SIGABRT): Use macro-int-constant. Specify type. Require
45255 (SIGFPE): Likewise.
45256 (SIGILL): Likewise.
45257 (SIGINT): Likewise.
45258 (SIGSEGV): Likewise.
45259 (SIGTER): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45264 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45265 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45266 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45278 [X/Open-based standards] (SIGTRAP): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45283 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45286 2012-05-08 Ian Wienand <ianw@vmware.com>
45289 * time/tzset.c (__tzset_parse_tz): Update default rules for
45290 daylight time changes in the Energy Policy Act of 2005.
45292 2012-05-09 Andreas Jaeger <aj@suse.de>
45295 * elf/ldconfig.c (parse_conf): Change string to make clear that
45296 ldconfig only issued a warning if ld.so.conf does not exist.
45298 2012-05-08 David S. Miller <davem@davemloft.net>
45300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45301 movxtod instead of popping the value on the stack.
45303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45305 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45307 * config.h.in: Add HAVE_ARM_PCS_VFP.
45309 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
45312 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45313 checking but the checks are disabled for any reason.
45315 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45317 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45318 and ELF64_R_TYPE with ELFW(R_TYPE).
45320 2012-05-08 Joseph Myers <joseph@codesourcery.com>
45322 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45323 (ulimit): Likewise.
45325 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45326 (settimeofday): Likewise.
45328 2012-05-08 Mike Frysinger <vapier@gentoo.org>
45330 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45331 a struct th_u2 inside the union, and move tu_block/tu_code into
45332 a new th_u3 union of tu_block/tu_code inside of that. Move
45333 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45334 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45335 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45336 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45337 (th_stuff): Change to th_u1.tu_stuff.
45339 (th_msg): Change to th_u1.th_u2.tu_data.
45341 2012-05-07 David S. Miller <davem@davemloft.net>
45343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45346 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45347 (SETUP_PIC_REG): Use it.
45348 (SETUP_PIC_REG_LEAF): Use it.
45350 2012-05-07 Joseph Myers <joseph@codesourcery.com>
45354 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45356 (EXPL_FINITE): Likewise.
45357 (FLDLOG): Likewise.
45358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45359 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45361 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45363 (EXPL_FINITE): Likewise.
45364 (FLDLOG): Likewise.
45365 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45366 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45368 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45369 test of -max_value argument for long double.
45370 * sysdeps/i386/fpu/libm-test-ulps: Update.
45371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45373 2012-05-06 David S. Miller <davem@davemloft.net>
45375 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45376 quad soft-float symbols whose references which are compiler
45378 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45380 2012-05-06 Joseph Myers <joseph@codesourcery.com>
45384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45386 (EXPL_FINITE): Likewise.
45387 (FLDLOG): Likewise.
45390 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45391 Adjust comments for base varying.
45392 (__expl_finite): Change alias to EXPL_FINITE.
45393 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45395 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45396 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45398 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45399 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45401 (EXPL_FINITE): Likewise.
45402 (FLDLOG): Likewise.
45405 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45406 Adjust comments for base varying.
45407 (__expl_finite): Change alias to EXPL_FINITE.
45408 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45413 * math/libm-test.inc (check_float_internal): Correct ulp
45414 calculation for subnormal expected results.
45416 2012-05-06 Andreas Jaeger <aj@suse.de>
45418 * Makeconfig (+math-flags): New, set to -frounding-math.
45419 (+cflags): Add +math-flags so that all of glibc gets compiled with
45422 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45424 2012-05-05 Joseph Myers <joseph@codesourcery.com>
45426 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45432 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45433 (__ieee754_expl): Allow for and saturate large arguments.
45434 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45435 (u_threshold): Likewise.
45436 (__exp): Call __ieee754_exp before checking for overflow and
45438 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45439 (u_threshold): Likewise.
45440 (__expf): Call __ieee754_expf before checking for overflow and
45442 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45443 (u_threshold): Likewise.
45444 (__expl): Call __ieee754_expl before checking for overflow and
45446 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45447 (__ieee754_expl): Allow for and saturate large arguments.
45448 * math/libm-test.inc (exp_test): Add another test. Do not allow
45449 missing overflow exception on overflow.
45450 (expm1_test): Do not allow missing overflow exception on overflow.
45452 * sysdeps/i386/fpu/e_expl.c: Move to ...
45453 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45454 rather than using inline asm.
45455 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45456 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45457 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45459 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45462 (signal): Likewise.
45466 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45468 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45469 sysdeps/unix/common/syscalls.list.
45470 (fchmod): Likewise.
45471 (fchown): Likewise.
45472 (ftruncate): Likewise.
45473 (getrusage): Likewise.
45474 (gettimeofday): Likewise.
45475 (setpgid): Likewise.
45476 (setregid): Likewise.
45477 (setreuid): Likewise.
45478 (sigaction): Likewise.
45479 (truncate): Likewise.
45480 (vhangup): Likewise.
45481 * sysdeps/unix/common/syscalls.list: Remove file.
45482 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45483 * sysdeps/unix/sysv/linux/Implies: Likewise.
45485 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45487 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45489 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45493 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45496 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45499 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45502 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45505 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45508 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45511 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45515 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45522 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45530 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45532 * sysdeps/unix/common/bits/dirent.h: Remove file.
45533 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45535 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45536 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45537 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45538 * sysdeps/unix/bsd/isatty.c: Likewise.
45539 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45540 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45541 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45543 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45547 long double comparison inaccuracies.
45548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45551 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45553 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45556 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45560 nonzero digits before rounding a hex value.
45561 * stdlib/tst-strtod.c (tests): Add another test.
45563 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45565 * sysdeps/s390/fpu/libm-test-ulps: Update.
45567 2012-05-03 Andreas Jaeger <aj@suse.de>
45569 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45570 does not get optimized out.
45571 (malloc_opt_barrier): New.
45573 2012-05-03 Andreas Jaeger <aj@suse.de>
45574 Roland McGrath <roland@hack.frob.com>
45576 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45577 intermediate file deletion.
45578 (generated): Add .symlist files.
45580 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45583 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45584 Redirect under this condition.
45585 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45586 [__USE_GNU] (__dprintf_chk): Not under this condition.
45587 [__USE_GNU] (__vdprintf_chk): Likewise.
45588 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45589 under this condition.
45590 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45591 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45592 [__USE_XOPEN2K8] (vdprintf): Likewise.
45593 [__USE_GNU] (__dprintf_chk): Not under this condition.
45594 [__USE_GNU] (__vdprintf_chk): Likewise.
45595 [__USE_GNU] (dprintf): Likewise.
45596 [__USE_GNU] (vdprintf): Likewise.
45598 2012-05-03 Roland McGrath <roland@hack.frob.com>
45600 * elf/Makefile (common-generated): Set this instead of generated for
45601 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45602 $(all-built-dso)-derived lists.
45604 2012-05-03 Andreas Jaeger <aj@suse.de>
45606 * sysdeps/i386/fpu/libm-test-ulps: Update.
45609 * FAQ.in: Likewise.
45610 * scripts/gen-FAQ.pl: Likewise.
45611 * manual/install.texi (Installation): Point to online location of
45613 * Makefile (files-for-dist): Remove FAQ.
45616 2012-05-02 Allan McRae <allan@archlinux.org>
45618 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45619 (LDFLAGS-reldepmod5.so): Likewise.
45620 (LDFLAGS-reldep6mod1.so): Likewise.
45621 (LDFLAGS-reldep6mod4.so): Likewise.
45622 (LDFLAGS-reldep8mod3.so): Likewise.
45623 (LDFLAGS-unload4mod1.so): Likewise.
45624 (LDFLAGS-unload4mod2.so): Likewise.
45625 (LDFLAGS-tst-initorder): Likewise.
45626 (LDFLAGS-tst-initordera2.so): Likewise.
45627 (LDFLAGS-tst-initordera3.so): Likewise.
45628 (LDFLAGS-tst-initordera4.so): Likewise.
45629 (LDFLAGS-tst-initorderb2.so): Likewise.
45630 (LDFLAGS-noload): Likewise.
45631 (LDFLAGS-next): Likewise.
45632 (LDFLAGS-order2mod1.so): Likewise.
45633 (LDFLAGS-order2mod2.so): Likewise.
45634 (LDFLAGS-tst-initorder2): Likewise.
45635 (LDFLAGS-tst-initorder2a.so): Likewise.
45636 (LDFLAGS-tst-initorder2b.so): Likewise.
45637 (LDFLAGS-tst-initorder2c.so): Likewise.
45638 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45640 2012-05-02 David S. Miller <davem@davemloft.net>
45642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45644 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45647 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45649 2012-05-02 Andreas Jaeger <aj@suse.de>
45651 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45652 since we manipulate rounding mode.
45653 (CPPFLAGS-test-idouble.c): Likewise.
45654 (CPPFLAGS-test-ifloat.c): Likewise.
45655 (CFLAGS-test-ldouble.c): Likewise.
45656 (CFLAGS-test-double.c): Likewise.
45657 (CFLAGS-test-float.c): Likewise.
45658 (CFLAGS-test-misc.c): Likewise.
45659 (CFLAGS-test-test-fenv.c): Likewise.
45661 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45666 comparisons to determine direction to adjust input.
45668 2012-05-01 Roland McGrath <roland@hack.frob.com>
45670 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45671 output to the target.
45673 * scripts/localplt.awk: New file.
45674 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45675 (check-localplt-CFLAGS): Variable removed.
45676 ($(all-built-dso:=.jmprel)): New static pattern rule.
45677 (generated): Add those targets.
45678 (localplt-built-dso): New variable.
45679 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45681 * elf/check-localplt.c: File removed.
45683 * scripts/check-execstack.awk: New file.
45684 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45685 (check-execstack-CFLAGS): Variable removed.
45686 ($(objpfx)check-execstack.h): Target removed.
45687 ($(objpfx)execstack-default): New target.
45688 (generated): Add that instead of check-execstack.h.
45689 ($(all-built-dso:=.phdr)): New static pattern rule.
45690 (generated): Add those targets.
45691 * elf/check-execstack.c: File removed.
45693 * scripts/check-textrel.awk: New file.
45694 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45695 (check-textrel-CFLAGS): Variable removed.
45696 (all-built-dso): Use := to define.o
45697 ($(all-built-dso:=.dyn)): New static pattern rule.
45698 (generated): Add those targets.
45699 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45700 * config.make.in (READELF): New substituted variable.
45701 * elf/check-textrel.c: File removed.
45703 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45705 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45707 * conform/data/ctype.h-data [C99-based standards] (isblank):
45709 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45710 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45712 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45713 Specify type. Require positive value.
45714 (EILSEQ): Likewise.
45715 (ERANGE): Likewise.
45716 [ISO || POSIX] (EILSEQ): Do not expect.
45717 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45718 Specify type. Require positive value.
45719 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45720 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45721 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45722 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45723 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45724 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45725 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45726 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45727 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45728 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45729 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45730 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45731 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45732 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45733 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45734 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45735 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45736 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45737 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45738 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45739 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45740 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45741 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45742 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45743 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45744 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45745 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45746 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45747 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45748 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45749 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45750 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45751 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45752 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45753 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45754 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45755 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45756 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45757 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45758 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45759 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45760 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45761 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45762 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45763 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45764 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45765 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45766 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45767 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45768 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45769 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45770 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45771 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45772 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45773 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45774 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45775 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45776 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45777 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45778 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45779 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45780 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45781 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45782 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45783 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45784 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45785 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45786 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45787 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45788 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45789 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45790 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45791 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45792 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45793 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45794 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45795 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45797 (FLT_ROUNDS): Expect as macro, not constant.
45798 (FLT_MANT_DIG): Use macro-int-constant.
45799 (DBL_MANT_DIG): Likewise.
45800 (LDBL_MANT_DIG): Likewise.
45801 (FLT_DIG): Likewise.
45802 (DBL_DIG): Likewise.
45803 (LDBL_DIG): Likewise.
45804 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45805 (DBL_MIN_EXP): Likewise.
45806 (LDBL_MIN_EXP): Likewise.
45807 (FLT_MAX_EXP): Use macro-int-constant.
45808 (DBL_MAX_EXP): Likewise.
45809 (LDBL_MAX_EXP): Likewise.
45810 (FLT_MAX_10_EXP): Likewise.
45811 (DBL_MAX_10_EXP): Likewise.
45812 (LDBL_MAX_10_EXP): Likewise.
45813 (FLT_MAX): Use macro-constant.
45814 (DBL_MAX): Likewise.
45815 (LDBL_MAX): Likewise.
45816 (FLT_EPSILON): Use macro-constant. Give upper bound.
45817 (DBL_EPSILON): Likewise.
45818 (LDBL_EPSILON): Likewise.
45819 (FLT_MIN): Likewise.
45820 (DBL_MIN): Likewise.
45821 (LDBL_MIN): Likewise.
45822 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45823 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45824 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45825 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45826 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45827 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45828 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45829 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45830 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45831 [ISO11] (FLT_TRUE_MIN): Likewise.
45832 [ISO11] (LDBL_TRUE_MIN): Likewise.
45833 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45834 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45835 (SCHAR_MIN): Use macro-int-constant. Specify type.
45836 (SCHAR_MAX): Likewise.
45837 (UCHAR_MAX): Likewise.
45838 (CHAR_MIN): Likewise.
45839 (CHAR_MAX): Likewise.
45840 (MB_LEN_MAX): Use macro-int-constant.
45841 (SHRT_MIN): Use macro-int-constant. Specify type.
45842 (SHRT_MAX): Likewise.
45843 (USHRT_MAX): Likewise.
45844 (INT_MAX): Likewise.
45845 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45847 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45849 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45851 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45852 bound negative. Suffix upper bound with "L".
45853 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45855 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45857 [C99-based standards] (LLONG_MAX): Likewise.
45858 [C99-based standards] (ULLONG_MAX): Likewise.
45859 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45861 [ISO11] (max_align_t): Require type.
45862 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45864 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45865 from $CFLAGS, without defining away __attribute__ calls.
45866 (checknamespace): Use $CFLAGS_namespace.
45868 * conform/conformtest.pl (@keywords): Only include C99 keywords
45869 for standards based on C99 or C11.
45871 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45873 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45876 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45877 usability of symbols in #if.
45879 * conform/conformtest.pl: If macro or constant types start
45880 "promoted:", expect the symbol to be of the following type
45881 promoted by the integer promotions.
45883 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45884 in one place. Also handle "macro-constant".
45886 * conform/conformtest.pl: Only accept expected macro values with
45887 "==". Parse all "macro" lines in one place.
45888 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45890 * conform/conformtest.pl: Handle braced types on "constant" lines
45891 instead of handling "typed-constant".
45892 * conform/data/signal.h-data: Use "constant" instead of
45895 * conform/conformtest.pl: Handle "optional-" at start of lines in
45896 one place rather than duplicating several cases. Handle each
45897 format of "macro" line with initial "optional-".
45899 * conform/conformtest.pl: Only accept expected constant or
45900 optional-constant values with "==". Parse all "constant" lines in
45901 one place. Parse all "optional-constant" lines in one place.
45902 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45903 * conform/data/fmtmsg.h-data: Likewise.
45904 * conform/data/netinet/in.h-data: Likewise.
45905 * conform/data/tar.h-data: Likewise.
45906 * conform/data/limits.h-data: Use "==" form on "constant" and
45907 "optional-constant" lines.
45909 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45910 Use -std=c99 for XOPEN2K.
45911 (@knownproblems): Remove.
45912 (newtoken): Don't check %isknown.
45914 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45915 Do not expect macro.
45916 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45917 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45918 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45919 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45920 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45921 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45922 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45923 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45924 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45925 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45926 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45927 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45928 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45929 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45930 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45931 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45932 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45933 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45934 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45935 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45936 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45937 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45939 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45940 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45941 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45942 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45943 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45944 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45945 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45946 [XPG3] (acosh): Likewise.
45947 [XPG3] (asinh): Likewise.
45948 [XPG3] (atanh): Likewise.
45949 [XPG3] (cbrt): Likewise.
45950 [XPG3] (expm1): Likewise.
45951 [XPG3] (ilogb): Likewise.
45952 [XPG3] (log1p): Likewise.
45953 [XPG3] (logb): Likewise.
45954 [XPG3] (nextafter): Likewise.
45955 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45956 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45957 [XPG3] (remainder): Likewise.
45958 [XPG3] (rint): Likewise.
45959 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45960 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45961 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45962 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45963 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45964 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45965 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45966 [UNIX98 || XOPEN2K] (scalb): Expect.
45967 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45968 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45969 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45970 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45971 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45972 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45973 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45974 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45975 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45976 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45977 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45978 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45979 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45980 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45981 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45982 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45983 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45984 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45985 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45986 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45987 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45988 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45989 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45990 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45991 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45992 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45993 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45994 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45995 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45996 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45997 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45998 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45999 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46000 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46001 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46002 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46003 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46004 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46005 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46006 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46007 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46008 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46009 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46010 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46011 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46012 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46013 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46014 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46015 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46016 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46017 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46018 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46019 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46020 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46021 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46022 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46023 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46024 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46025 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46026 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46027 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46028 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46029 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46030 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46031 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46032 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46033 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46034 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46035 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46036 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46037 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46038 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46039 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46040 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46041 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46042 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46043 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46044 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46045 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46046 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46047 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46048 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46049 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46050 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46051 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46052 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46053 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46054 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46055 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46056 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46057 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46058 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46059 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46060 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46061 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46062 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46063 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46064 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46065 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46066 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46067 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46068 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46069 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46070 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46071 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46072 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46073 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46074 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46075 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46076 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46077 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46078 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46079 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46080 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46081 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46082 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46083 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46084 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46085 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46086 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46087 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46088 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46089 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46090 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46091 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46092 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46093 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46094 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46095 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46096 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46097 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46098 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46099 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46100 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46101 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46102 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46103 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46105 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46106 _XOPEN_SOURCE_EXTENDED for XPG4.
46108 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46110 * Makeconfig (localtime): Remove variable.
46111 (inst_localtime-file): Likewise.
46113 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46134 2012-05-01 Joseph Myers <joseph@codesourcery.com>
46138 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46139 comparisons to determine direction to adjust input.
46140 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46141 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46142 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46144 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46146 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46148 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46149 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46151 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46153 * math/libm-test.inc (nexttoward_test): Add more tests.
46155 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46159 in version GLIBC_2.1, not GLIBC_2.0.
46160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46163 2012-04-30 Joseph Myers <joseph@codesourcery.com>
46166 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46169 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46170 * math/libm-test.inc (acos_test): Add more tests.
46171 (asin_test): Likewise.
46172 * sysdeps/i386/fpu/libm-test-ulps: Update.
46173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46176 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46178 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46179 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46180 * math/libm-test.inc (acos_test_tonearest): New function.
46181 (acos_test_towardzero): Likewise.
46182 (acos_test_downward): Likewise.
46183 (acos_test_upward): Likewise.
46184 (asin_test_tonearest): Likewise.
46185 (asin_test_towardzero): Likewise.
46186 (asin_test_downward): Likewise.
46187 (asin_test_upward): Likewise.
46188 (main): Call the new functions.
46189 * sysdeps/i386/fpu/libm-test-ulps: Update.
46190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46194 * math/e_exp10.c: Include <float.h>.
46195 (__ieee754_exp10): Handle underflow here rather than multiplying
46196 large negative argument by M_LN10.
46197 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46199 * math/e_exp10l.c: Include <float.h>.
46200 (__ieee754_exp10l): Handle underflow here rather than multiplying
46201 large negative argument by M_LN10l.
46202 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46203 spurious overflow exception on underflow.
46205 2012-04-29 Marek Polacek <polacek@redhat.com>
46207 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46208 (__fortify_function): New macro.
46209 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46210 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46211 __extern_always_inline.
46212 * libio/bits/stdio2.h: Likewise.
46213 * libio/bits/stdio.h: Likewise.
46214 * string/string.h: Likewise.
46215 * string/bits/string3.h: Likewise.
46216 * include/stdio.h: Likewise.
46217 * stdlib/bits/stdlib.h: Likewise.
46218 * stdlib/stdlib.h: Likewise.
46219 * rt/bits/mqueue2.h: Likewise.
46220 * rt/mqueue.h: Likewise.
46221 * posix/bits/unistd.h: Likewise.
46222 * posix/unistd.h: Likewise.
46223 * io/bits/poll2.h: Likewise.
46224 * io/bits/fcntl2.h: Likewise.
46225 * io/fcntl.h: Likewise.
46226 * io/sys/poll.h: Likewise.
46227 * misc/bits/syslog.h: Likewise.
46228 * misc/bits/syslog-ldbl.h: Likewise.
46229 * misc/sys/syslog.h: Likewise.
46230 * socket/bits/socket2.h: Likewise.
46231 * socket/sys/socket.h: Likewise.
46232 * debug/tst-chk1.c: Likewise.
46233 * wcsmbs/bits/wchar2.h: Likewise.
46234 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46235 * wcsmbs/wchar.h: Likewise.
46237 2012-04-29 Andreas Jaeger <aj@suse.de>
46239 * Makerules (tests): Remove enable-check-abi protection.
46240 (check-abi-warn): Remove.
46241 (check-abi-%): Remove check-abi-warn usage.
46243 * configure.in: Remove check-abi configure option.
46244 * configure: Regenerated.
46245 * config.make.in (enable-check-abi): Remove.
46247 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46250 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46251 double functions to double *_finite functions.
46254 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46255 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46257 * stdio-common/Makefile (tests): Add tst-sprintf3.
46258 * stdio-common/tst-sprintf3.c: New file.
46260 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46261 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46263 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46265 * conform/conformtest.pl: Remove duplicate typed-constant
46268 2012-04-28 David S. Miller <davem@davemloft.net>
46270 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46271 (check-abi-%): Remove AWK script prerequisite and explicit
46273 (check-abi): Rewrite to just diff the symlist with the abilist.
46274 (config-tls, config-abi-config): Delete, no longer used.
46275 (update-abi-%): Remove AWK script and explicit abilist directory.
46276 (update-abi): Rewrite to simply compare and conditionally copy the
46277 symlist and the sysdep abilist file. Remove update-abi-config
46279 * abilist/ld.abilist: Remove.
46280 * abilist/libBrokenLocale.abilist: Remove.
46281 * abilist/libanl.abilist: Remove.
46282 * abilist/libcrypt.abilist: Remove.
46283 * abilist/libdl.abilist: Remove.
46284 * abilist/librt.abilist: Remove.
46285 * abilist/libthread_db.abilist: Remove.
46286 * abilist/libutil.abilist: Remove.
46287 * scripts/extract-abilist.awk: Remove.
46288 * scripts/merge-abilist.awk: Remove.
46289 * sysdeps/generic/libcidn.abilist: New file.
46290 * sysdeps/generic/libnss_compat.abilist: New file.
46291 * sysdeps/generic/libnss_db.abilist: New file.
46292 * sysdeps/generic/libnss_dns.abilist: New file.
46293 * sysdeps/generic/libnss_files.abilist: New file.
46294 * sysdeps/generic/libnss_hesiod.abilist: New file.
46295 * sysdeps/generic/libnss_nis.abilist: New file.
46296 * sysdeps/generic/libnss_nisplus.abilist: New file.
46297 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46298 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46299 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46302 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46303 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46304 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46305 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46306 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46307 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46308 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46309 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46311 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46312 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46313 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46314 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46316 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46317 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46318 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46319 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46320 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46321 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46323 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46324 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46325 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46327 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46430 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46431 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46432 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46434 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46435 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46436 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46437 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46438 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46439 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46440 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46441 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46442 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46443 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46495 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46497 * conform/conformtest.pl: Fix typo in handling typed-constant from
46500 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46502 * README: Cut down references to pre-2.6 Linux kernels and
46503 Linuxthreads. Update lists of configurations in libc and ports
46504 and sort alphabetically. Say "or newer" with Linux kernel version
46507 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46509 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46512 * math/libm-test.inc (logb_test_downward): New test to expose
46513 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46516 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46519 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46521 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46522 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46524 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46526 * sysdeps/unix/i386/brk.S: Remove file.
46527 * sysdeps/unix/i386/dl-brk.S: Likewise.
46528 * sysdeps/unix/i386/pipe.S: Likewise.
46529 * sysdeps/unix/i386/sigreturn.S: Likewise.
46530 * sysdeps/unix/i386/syscall.S: Likewise.
46531 * sysdeps/unix/i386/vfork.S: Likewise.
46532 * sysdeps/unix/i386/wait.S: Likewise.
46534 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46535 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46537 * configure.in (arm*-none*): Do not allow without
46538 --enable-hacker-mode.
46539 (netbsd*): Remove case setting base_os.
46540 (386bsd*): Likewise.
46541 (freebsd*): Likewise.
46544 (sunos*): Likewise.
46545 (ultrix*): Likewise.
46546 (newsos*): Likewise.
46547 (dynix*): Likewise.
46553 (minix*): Likewise.
46554 (irix4*): Likewise.
46555 (irix6*): Likewise.
46556 (solaris[2-9]*): Likewise.
46558 * configure: Regenerated.
46560 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46563 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46564 overflow or cancellation in calculating denominator.
46565 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46566 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46567 down expression to avoid unexpected rounding in newer GCCs.
46568 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46570 2012-04-26 David S. Miller <davem@davemloft.net>
46572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46573 long-double compat symbols.
46574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46588 2012-04-25 David S. Miller <davem@davemloft.net>
46590 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46591 HWCAP_* values only after the memory barriers have been defined.
46592 (atomic_full_barrier): Define.
46593 (atomic_read_barrier): Define.
46594 (atomic_write_barrier): Define.
46596 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46598 * shlib-versions: Add libgcc_s version information.
46599 * sysdeps/generic/libgcc_s.h: Remove.
46600 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46602 * sysdeps/gnu/unwind-resume.c: Likewise.
46603 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46605 2012-04-25 David S. Miller <davem@davemloft.net>
46607 * sysdeps/unix/sparc/brk.S: Delete.
46608 * sysdeps/unix/sparc/dl-brk.S: Delete.
46609 * sysdeps/unix/sparc/pipe.S: Delete.
46610 * sysdeps/unix/sparc/sysdep.S: Delete.
46611 * sysdeps/unix/sparc/sysdep.h: Delete.
46612 * sysdeps/unix/sparc/vfork.S: Delete.
46613 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46614 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46615 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46616 (ret_ERRVAL, r0, r1, MOVE): Define.
46617 (JUMPTARGET): Remove.
46618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46619 sysdeps/unix/sparc/sysdep.h
46620 (ENTRY, END): Remove.
46621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46623 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46625 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46626 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46629 * timezone/README: Update upstream location and email address for
46631 * timezone/zdump.c: Update from tzcode 2012b.
46632 * timezone/zic.c: Likewise.
46634 * configure.in (libc_cv_as_needed): Remove test.
46635 * configure: Regenerated.
46636 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46637 conditional definition.
46638 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46639 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46640 * config.make.in (have-as-needed): Remove variable.
46642 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46643 Paul Pluzhnikov <ppluzhnikov@google.com>
46645 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46648 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46650 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46651 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46652 * sysdeps/sh/strlen.S: Likewise.
46654 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46656 * sysdeps/unix/fork.S: Remove file.
46657 * sysdeps/unix/i386/fork.S: Likewise.
46658 * sysdeps/unix/sparc/fork.S: Likewise.
46660 * sysdeps/unix/system.c: Remove file.
46661 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46663 * sysdeps/unix/getegid.S: Remove file.
46664 * sysdeps/unix/geteuid.S: Likewise.
46666 2012-04-24 Roland McGrath <roland@hack.frob.com>
46668 * scripts/check-localplt.awk: New file.
46669 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46671 * scripts/data/localplt-generic.data: Add a comment.
46673 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46674 NODE when __dir_mkfile failed.
46675 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46676 Reported by Ludovic Courtès <ludo@gnu.org>.
46678 2012-04-24 Andreas Jaeger <aj@suse.de>
46680 * Makerules (common-clean): Also remove gen-as-const-headers
46683 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46685 * Makerules (native-compile): Do not change working directory for
46686 build. Use $(OUTPUT_OPTION) in command.
46687 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46689 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46692 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46693 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46694 * math/libm-test.inc (floor_test): Add more tests.
46695 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46697 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46699 * sysdeps/unix/getdents.c: Remove file.
46700 * sysdeps/unix/sysv/getdents.c: Likewise.
46701 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46703 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46704 sysdeps/unix/mman/syscalls.list.
46706 (mprotect): Likewise.
46708 (munmap): Likewise.
46709 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46710 * sysdeps/unix/mman/syscalls.list: Remove.
46711 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46713 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46714 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46715 * configure: Regenerated.
46716 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46717 $(libgcc_s_suffix).
46718 * config.make.in (libgcc_s_suffix): Remove variable.
46720 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46722 * sysdeps/unix/sysv/gethostname.c: Move to ...
46723 * sysdeps/posix/gethostname.c: ... here.
46725 * sysdeps/unix/execve.S: Remove file.
46727 * sysdeps/unix/_exit.S: Remove file.
46729 2012-04-23 Andreas Jaeger <aj@suse.de>
46732 * manual/Makefile: Remove make dist support, there's no
46733 need for a stand-alone documentation tar ball.
46734 (TEXI2DVI): Define always, it's not in Makeconfig.
46737 (edition): Removed.
46738 (glibc-doc-$(edition).tar): Removed
46742 (ETAGS): Remove, it's in Makeconfig.
46743 (move-if-change): Remove, it's in Makeconfig.
46745 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46748 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46749 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46750 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46751 (strtod_l, strtof_l, strtold_l): Remove __wur.
46752 It is not necessarily an error to ignore strtol's return value.
46753 One can reliably look at the stored endptr to decide whether
46754 the number had valid syntax.
46756 2012-04-21 Andreas Jaeger <aj@suse.de>
46759 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46761 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46763 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46764 * sysdeps/unix/sysv/Versions: Remove file.
46766 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46771 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46774 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46775 version from __vm86.
46777 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46779 * sysdeps/unix/common/lxstat.c: Remove file.
46780 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46782 * sysdeps/unix/sysv/Makefile: Remove file.
46784 * sysdeps/unix/sysv/direct.h: Remove file.
46786 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46787 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46788 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46789 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46790 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46791 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46792 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46794 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46796 * sysdeps/unix/xmknod.c: Remove file.
46797 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46799 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46801 * sysdeps/unix/sysv/i386/time.S: Remove file.
46803 * sysdeps/unix/fxstat.c: Remove file.
46804 * sysdeps/unix/xstat.c: Likewise.
46805 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46807 * sysdeps/unix/sysv/sigaction.c: Remove file.
46809 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46810 (sysdep_headers): Remove variable.
46811 [termio.h not in sysdep_headers] (generated): Likewise.
46812 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46813 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46814 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46815 * sysdeps/unix/sysv/tcflow.c: Likewise.
46816 * sysdeps/unix/sysv/tcflush.c: Likewise.
46817 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46818 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46819 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46820 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46821 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46823 * sysdeps/unix/siglist.c: Remove file.
46825 * sysdeps/unix/getppid.S: Remove file.
46827 * sysdeps/unix/mkdir.c: Remove file.
46828 * sysdeps/unix/rmdir.c: Likewise.
46830 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46832 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46834 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46835 errlist-compat value.
46837 2012-04-18 David S. Miller <davem@davemloft.net>
46839 * sysdeps/generic/memcopy.h (reg_char): Delete.
46840 * debug/strcat_chk.c: Use char, not reg_char.
46841 * debug/strcpy_chk.c: Likewise.
46842 * debug/strncat_chk.c: Likewise.
46843 * debug/strncpy_chk.c: Likewise.
46844 * string/memchr.c: Likewise.
46845 * string/memrchr.c: Likewise.
46846 * string/rawmemchr.c: Likewise.
46847 * string/strcat.c: Likewise.
46848 * string/strchr.c: Likewise.
46849 * string/strchrnul.c: Likewise.
46850 * string/strcmp.c: Likewise.
46851 * string/strcpy.c: Likewise.
46852 * string/strncat.c: Likewise.
46853 * string/strncmp.c: Likewise.
46854 * string/strncpy.c: Likewise.
46856 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46858 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46859 __builtin_memcopy is called when src and dest ranges are known to not
46862 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46865 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46866 fwd_align_merge macro call.
46867 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46868 bwd_align_merge macro call.
46869 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46871 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46873 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46874 bwd_align_merge macros.
46875 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46876 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46877 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46879 2012-04-18 David S. Miller <davem@davemloft.net>
46881 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46883 2012-04-18 Andreas Jaeger <aj@suse.de>
46886 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46887 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46888 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46890 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46891 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46892 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46894 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46895 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46896 Adjust for changed ldbl-128 files.
46898 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46899 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46902 2012-04-17 David S. Miller <davem@davemloft.net>
46904 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46906 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46908 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46909 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46910 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46911 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46912 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46913 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46915 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46918 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46919 * math/libm-test.inc: Add ilogb errno and exception tests.
46920 * math/w_ilogb.c: New file: ilogb wrapper.
46921 * math/w_ilogbf.c: New file: ilogbf wrapper.
46922 * math/w_ilogbl.c: New file: ilogbl wrapper.
46923 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46924 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46925 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46926 exception being thrown with 0.0 as argument.
46927 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46928 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46929 exception being thrown with 0.0 as argument.
46930 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46931 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46932 exception being thrown with 0.0 as argument.
46933 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46934 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46935 exception being thrown with 0.0 as argument.
46936 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46937 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46938 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46939 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46940 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46941 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46942 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46943 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46944 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46946 2012-04-17 Petr Baudis <pasky@ucw.cz>
46948 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46951 2012-04-16 Marek Polacek <polacek@redhat.com>
46953 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46955 2012-04-16 Marek Polacek <polacek@redhat.com>
46957 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46958 operands of fdivp instruction.
46960 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46962 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46963 * elf/tst-auditmod3b.c: Likewise.
46964 * elf/tst-auditmod4b.c: Likewise.
46965 * elf/tst-auditmod5b.c: Likewise.
46966 * elf/tst-auditmod6b.c: Likewise.
46967 * elf/tst-auditmod6c.c: Likewise.
46968 * elf/tst-auditmod7b.c: Likewise.
46969 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46970 * sysdeps/x86_64/preconfigure.in: Likewise.
46971 * sysdeps/x86_64/preconfigure: Regenerated.
46973 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46975 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46978 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46981 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46983 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46986 * locale/iso-639.def: Fix gl language name. Spotted by
46989 2012-04-12 Roland McGrath <roland@hack.frob.com>
46992 * libio/libio.h (__io_write_fn): Update comment.
46994 2012-04-12 Petr Baudis <pasky@ucw.cz>
46997 * stdio.texi (Hook Functions): The user provided writer function
46998 is not allowed to return -1.
47000 2012-04-11 David S. Miller <davem@davemloft.net>
47002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47004 2012-04-11 Mike Frysinger <vapier@gentoo.org>
47006 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47007 Add a leading slash to rtkaio.
47009 2012-04-11 Jim Meyering <meyering@redhat.com>
47012 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47013 It is not necessarily an error to ignore fwrite's return
47014 value. One can reliably use ferror to test for errors after
47017 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47019 * bits/types.h (__snseconds_t): New type.
47020 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47022 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47024 (__SNSECONDS_T_TYPE): Likewise.
47025 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47026 (__SNSECONDS_T_TYPE): Likewise.
47027 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47028 (__SNSECONDS_T_TYPE): Likewise.
47030 2012-04-10 Andreas Jaeger <aj@suse.de>
47033 * manual/time.texi (Processor Time): Return type of times is
47034 elapsed real time since an arbitrary point in the past.
47035 (CPU Time): Move CLK_TCK from here...
47036 (Processor Time): ...to here. Correct description.
47037 * manual/conf.texi (Constants for Sysconf): Correct description of
47040 2012-04-10 David S. Miller <davem@davemloft.net>
47043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47044 where the is a gap between DT_REL(A) and DT_JMPREL.
47046 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47048 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47049 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47050 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47052 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47054 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47055 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47056 (dl_main): Handle --inhibit-cache.
47057 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47059 * elf/dl-load.c (_dl_map_object): Use it.
47060 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47062 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47065 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47066 (__ieee754_powl): Saturate large exponents rather than testing for
47067 overflow of y*log2(x).
47068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47069 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47073 * math/s_ctan.c: Include <float.h>.
47074 (__ctan): Avoid internal overflow or cancellation in calculating
47076 * math/s_ctanf.c: Likewise.
47077 * math/s_ctanl.c: Likewise.
47078 * math/s_ctanh.c: Likewise.
47079 * math/s_ctanhf.c: Likewise.
47080 * math/s_ctanhl.c: Likewise.
47081 * math/libm-test.inc (ctan_test): Add more tests.
47082 (ctanh_test): Likewise.
47083 * sysdeps/i386/fpu/libm-test-ulps: Update.
47084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47086 2012-04-09 Andreas Jaeger <aj@suse.de>
47089 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47090 is an optional BSD extension.
47093 * manual/stdio.texi (Opening Streams): Document additional fopen
47096 2012-04-09 Roland McGrath <roland@hack.frob.com>
47098 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47099 %eax without telling the compiler.
47101 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47104 * manual/install.texi: Use sourceware.org.
47106 2012-04-09 Joseph Myers <joseph@codesourcery.com>
47109 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47110 (__ieee754_pow): Generate overflow and underflow using huge*huge
47111 and tiny*tiny rather than just returning constant infinity or zero
47112 for large exponents.
47113 * math/libm-test.inc (pow_test): Require overflow exceptions for
47114 applicable cases of large exponents.
47117 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47118 (__ieee754_pow): Use iterative multiplication algorithm only for
47119 integer exponents with absolute value below 1024. Check for odd
47120 integer exponents when using algorithm for real exponents.
47121 * math/libm-test.inc (pow_test): Add more tests.
47122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47124 2012-04-08 Joseph Myers <joseph@codesourcery.com>
47127 * math/libm-test.inc (exp_test): Do not allow overflow exception
47130 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47133 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47134 instead of __kernel_standard_f.
47136 2012-04-08 Mike Frysinger <vapier@gentoo.org>
47138 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47139 * sysdeps/x86_64/memset_chk.S: Likewise.
47141 2012-04-08 Andreas Jaeger <aj@suse.de>
47144 * manual/startup.texi (Environment Access): Describe return value
47145 for putenv and setenv.
47148 * manual/filesys.texi (Directory Entries): Add description for
47152 * manual/filesys.texi (Directory Entries): Clarify that it's file
47153 system not operating system in the description of DT_UNKNOWN.
47156 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47158 2012-04-08 Stephen Compall <s11@member.fsf.org>
47161 * manual/llio.texi (Opening and Closing Files): Add cross
47162 reference to explain mode argument.
47164 2012-04-07 Mike Frysinger <vapier@gentoo.org>
47166 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47167 * sysdeps/x86_64/memset_chk.S: Likewise.
47169 2012-04-07 David S. Miller <davem@davemloft.net>
47171 * elf/elf.h (R_SPARC_WDISP10): Define.
47172 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47174 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47175 R_SPARC_SIZE64 and R_SPARC_H34.
47177 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47180 conditions and remove no longer applicable assertion.
47182 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47184 * bits/byteswap.h: Include <features.h>.
47185 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47186 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47188 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47190 * bits/byteswap.h (__bswap_16): Removed.
47191 Include <bits/byteswap-16.h> to get __bswap_16.
47192 * sysdeps/i386/bits/byteswap.h: Likewise.
47193 * sysdeps/s390/bits/byteswap.h: Likewise.
47194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47195 * bits/byteswap-16.h: New file.
47196 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47197 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47198 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47199 * string/Makefile (headers): Add bits/byteswap-16.h.
47201 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47204 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47206 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47207 * nss/tst-nss-static.c: New.
47209 2012-04-06 Robert Millan <rmh@gnu.org>
47212 * manual/llio.texi (File Position Primitive): lseek
47213 refers to WHENCE when it really means OFFSET.
47215 2012-04-06 Andreas Jaeger <aj@suse.de>
47217 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47218 strncmp declarations.
47220 * abilist/libc.abilist: Add __poll and __ppoll.
47222 2012-04-05 David S. Miller <davem@davemloft.net>
47224 * scripts/check-local-headers.sh: Accept a host triplet in the
47225 path matched by the exclude regexp.
47227 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47229 * sysdeps/powerpc/powerpc32/dl-machine.h
47230 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47231 * sysdeps/s390/s390-32/dl-machine.h
47232 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47233 * sysdeps/sparc/sparc32/dl-machine.h
47234 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47235 * sysdeps/sparc/sparc64/dl-machine.h
47236 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47238 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47240 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47241 undefined symbol errors.
47243 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47246 2012-04-05 Michael Matz <matz@suse.de>
47249 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47251 2012-04-05 Andreas Jaeger <aj@suse.de>
47254 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47257 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47259 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47260 which ROUND is no valid rounding mode.
47262 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47266 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47268 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47270 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47271 an exception using FPU order intentionally.
47273 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47275 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47276 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47277 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47278 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47280 2012-04-05 Simon Josefsson <simon@josefsson.org>
47283 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47284 EINVAL when BUFLEN is too smal.
47286 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47289 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47290 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47292 2012-04-03 Andreas Jaeger <aj@suse.de>
47295 * manual/setjmp.texi (System V contexts): Fix sentence.
47298 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47299 New macro for this case.
47300 [!__GNUC__] (__bswap_64): New inline function for this case.
47301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47302 * bits/byteswap.h: Likewise.
47303 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47304 ull, guard with __GLIBC_HAVE_LONG_LONG.
47306 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47307 __GLIBC_HAVE_LONG_LONG.
47309 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47310 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47312 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47315 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47316 inptr and inend, rather than using last_ch.
47318 2012-04-02 David S. Miller <davem@davemloft.net>
47320 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47321 * stdio-common/printf-parse.h (read_int): Change return type to
47322 'int', return -1 on INT_MAX overflow.
47323 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47324 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47325 overflows INT_MAX. Check for overflow of in-format-string precision
47326 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47327 SIZE_MAX not INT_MAX for integer overflow test.
47328 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47329 skip the construct in the format string but do not record anything.
47330 * stdio-common/bug22.c: Adjust to test both width/prevision
47331 INT_MAX overflow as well as total length INT_MAX overflow. Check
47332 explicitly for proper errno values.
47334 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47336 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47338 * string/test-strcmp.c [! WIDE]: Likewise.
47339 * time/tst-mktime2.c: Likewise for INT_MAX.
47340 * string/test-string.h: #include <sys/param.h> for MIN.
47342 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47343 * sysdeps/i386/init-first.c (init): Likewise.
47344 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47345 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47346 * sysdeps/sh/init-first.c (init): Likewise.
47348 2012-04-01 Ulrich Drepper <drepper@gmail.com>
47350 * po/ru.po: Update from translation team.
47351 * po/vi.po: Likewise.
47353 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47355 * resolv/nss_dns/dns-host.c: Merge copyright years.
47357 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47359 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47360 Optimize memcpy with prefetch if
47361 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47362 src, dst pointers have unequal 16 byte alignments.
47364 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47367 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47368 from a CNAME entry and return the minimum ttl for the query.
47369 (gaih_getanswer_slice): Likewise.
47371 2012-03-30 Jeff Law <law@redhat.com>
47373 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47375 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47376 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47378 * resolv/nss_dns/dns-host.c: Update copyright year.
47380 2012-03-30 Ulrich Drepper <drepper@gmail.com>
47382 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47383 requests to save a system call. Fix check that all bytes are sent.
47385 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47386 comments for sendmmsg.
47388 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47391 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47392 with only 1 character between 0x0041 and 0x01b0.
47393 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47394 * wcsmbs/tst-mbsnrtowcs.c: New file.
47396 2012-03-29 David S. Miller <davem@davemloft.net>
47398 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47399 small copies by hand.
47401 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47404 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47405 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47408 2012-03-28 David S. Miller <davem@davemloft.net>
47410 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47411 that branches into memcpy.
47412 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47415 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47416 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47418 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47419 implementation too.
47420 * sysdeps/sparc/mempcpy.S: New file.
47422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47423 the IFUNC routine in the libc case.
47424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47426 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47427 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47428 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47429 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47430 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47431 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47432 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47433 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47435 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47436 loop to 256 bytes instead of 64 bytes and fix test signedness.
47438 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47439 * sysdeps/sparc/sparc32/Makefile: rather than here...
47440 * sysdeps/sparc/sparc64/Makefile: and here.
47442 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47444 * malloc/mallocbug.c: Avoid warnings about unused variables.
47446 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47449 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47450 in the right place. Discard and retry query if response is
47451 larger than input buffer size.
47453 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47458 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47459 x for large integer exponent.
47460 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47461 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47462 sign of result as needed afterwards.
47463 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47464 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47465 result for underflowing pow the same as for overflow.
47466 (__kernel_standard_l): Handle powl overflow and underflow here
47467 rather than calling __kernel_standard.
47468 * math/libm-test.inc (pow_test): Add more tests.
47483 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47484 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47485 (__kernel_standard_l): New function.
47486 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47488 * math/w_acosl.c (__acosl): Likewise.
47489 * math/w_asinl.c (__asinl): Likewise.
47490 * math/w_atan2l.c (__atan2l): Likewise.
47491 * math/w_atanhl.c (__atanhl): Likewise.
47492 * math/w_coshl.c (__coshl): Likewise.
47493 * math/w_exp10l.c (__exp10l): Likewise.
47494 * math/w_exp2l.c (__exp2l): Likewise.
47495 * math/w_fmodl.c (__fmodl): Likewise.
47496 * math/w_hypotl.c (__hypotl): Likewise.
47497 * math/w_j0l.c (__j0l, __y0l): Likewise.
47498 * math/w_j1l.c (__j1l, __y1l): Likewise.
47499 * math/w_jnl.c (__jnl, __ynl): Likewise.
47500 * math/w_lgammal.c (__lgammal): Likewise.
47501 * math/w_log10l.c (__log10l): Likewise.
47502 * math/w_log2l.c (__log2l): Likewise.
47503 * math/w_logl.c (__logl): Likewise.
47504 * math/w_powl.c (__powl): Likewise.
47505 * math/w_remainderl.c (__remainderl): Likewise.
47506 * math/w_scalbl.c (sysv_scalbl): Likewise.
47507 * math/w_sinhl.c (__sinhl): Likewise.
47508 * math/w_sqrtl.c (__sqrtl): Likewise.
47509 * math/w_tgammal.c (__tgammal): Likewise.
47510 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47511 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47512 * math/libm-test.inc (acos_test): Add more tests.
47513 (acosh_test): Likewise.
47514 (asin_test): Likewise.
47515 (atanh_test): Likewise.
47516 (exp_test): Likewise.
47517 (exp10_test): Likewise.
47518 (exp2_test): Likewise.
47519 (expm1_test): Likewise.
47520 (lgamma_test): Likewise.
47521 (log_test): Likewise.
47522 (log10_test): Likewise.
47523 (log1p_test): Likewise.
47524 (log2_test): Likewise.
47525 (pow_test): Do not allow some spurious overflow exceptions.
47526 (sqrt_test): Add more tests.
47527 (tgamma_test): Likewise.
47528 (y0_test): Likewise.
47529 (y1_test): Likewise.
47530 (yn_test): Likewise.
47532 2012-03-27 Anton Blanchard <anton@samba.org>
47534 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47536 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47537 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47538 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47540 2012-03-27 David S. Miller <davem@davemloft.net>
47542 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47544 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47545 have-as-vis3 check.
47547 2012-03-27 Andreas Jaeger <aj@suse.de>
47549 * sysdeps/x86_64/elf/configure.in: Moved to ...
47550 * sysdeps/x86_64/configure.in: ... here.
47551 * sysdeps/x86_64/elf/start.S: Moved to ...
47552 * sysdeps/x86_64/start.S: ... here.
47553 * sysdeps/x86_64/elf/configure: Delete.
47555 * sysdeps/x86_64/configure.in: Merge contents from
47556 sysdeps/i386/configure.in (without i686 check).
47558 * sysdeps/i386/elf/Versions: Merge into ...
47559 * sysdeps/i386/Versions: ... this.
47560 * sysdeps/i386/elf/Versions: Delete file.
47561 * sysdeps/i386/elf/start.S: Moved to ...
47562 * sysdeps/i386/start.S: ...here.
47563 * sysdeps/i386/elf/configure.in: Merge into...
47564 * sysdeps/i386/configure.in: ...here.
47565 * sysdeps/i386/elf/configure.in: Delete file.
47566 * sysdeps/i386/elf/configure: Delete file.
47568 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47569 * debug/backtracesyms.c: ... here.
47570 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47571 * debug/backtracesymsfd.c: ... here.
47572 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47573 * sysdeps/generic/ifunc-sel.h: ... here.
47575 * sysdeps/unix/i386/start.c: Delete file.
47576 * sysdeps/unix/sparc/start.c: Delete file.
47577 * sysdeps/unix/start.c: Delete file.
47579 * sysdeps/sh/elf/configure.in: Moved to ...
47580 * sysdeps/sh/configure.in: ... here.
47581 * sysdeps/sh/elf/start.S: Moved to ...
47582 * sysdeps/sh/start.S: ... here.
47583 * sysdeps/sh/elf/configure: Delete file.
47585 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47586 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47587 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47588 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47589 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47590 * sysdeps/powerpc/powerpc64/start.S: here.
47591 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47592 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47593 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47594 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47595 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47597 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47598 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47599 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47600 * sysdeps/powerpc/powerpc32/start.S: ... here.
47601 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47602 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47603 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47605 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47606 * sysdeps/powerpc/ifunc-sel.h: ... here.
47607 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47608 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47610 * sysdeps/sparc/elf/configure.in: Moved to ...
47611 * sysdeps/sparc/configure.in: ... here.
47612 * sysdeps/sparc/elf/configure: Delete file.
47613 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47614 * sysdeps/sparc/sparc32/start.S: ... here.
47615 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47616 * sysdeps/sparc/sparc64/start.S: ... here.
47617 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47618 * sysdeps/sparc/sparc32/Makefile: ... this.
47619 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47620 * sysdeps/sparc/sparc64/Makefile: ... this.
47622 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47623 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47624 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47625 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47626 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47627 * sysdeps/s390/s390-32/setjmp.S: ... here.
47628 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47629 * sysdeps/s390/s390-32/configure.in: ... here.
47630 * sysdeps/s390/s390-32/elf/configure: Delete file.
47631 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47632 * sysdeps/s390/s390-32/start.S: ... here.
47634 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47635 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47636 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47637 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47638 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47639 * sysdeps/s390/s390-64/setjmp.S: ... here.
47640 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47641 * sysdeps/s390/s390-64/configure.in: ... here
47642 * sysdeps/s390/s390-64/elf/configure: Delete file.
47643 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47644 * sysdeps/s390/s390-64/start.S: ... here.
47645 * sysdeps/s390/s390-64/elf/configure: Delete.
47647 * configure.in: Remove support for elf directories in sysdeps.
47649 * configure: Regenerated.
47650 * sysdeps/i386/configure: Regenerated.
47651 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47652 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47653 * sysdeps/s390/s390-32/configure: Regenerated.
47654 * sysdeps/s390/s390-64/configure: Regenerated.
47655 * sysdeps/sh/configure: Regenerated.
47656 * sysdeps/sparc/configure: Regenerated.
47657 * sysdeps/x86_64/configure: Regenerated.
47659 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47663 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47664 denormal result into account.
47666 2012-03-25 Roland McGrath <roland@hack.frob.com>
47668 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47669 Reported by Allan McRae <allan@archlinux.org>.
47671 2012-03-23 Jeff Law <law@redhat.com>
47673 * nss/getnssent.c (__nss_getent): Fix typo.
47675 2012-03-23 David S. Miller <davem@davemloft.net>
47677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47679 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47681 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47682 to pad to uint64_t for each field.
47683 (dl_tls_index): Replace unsigned long with uint64_t.
47685 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47686 Paul Pluzhnikov <ppluzhnikov@google.com>
47689 * grp/Makefile (otherlibs): Don't set it.
47690 * inet/Makefile (otherlibs): Likewise.
47691 * login/Makefile (otherlibs): Likewise.
47692 * nscd/Makefile (otherlibs): Likewise.
47693 * posix/Makefile (otherlibs): Likewise.
47694 * pwd/Makefile (otherlibs): Likewise.
47695 * rt/Makefile (otherlibs): Likewise.
47696 * sunrpc/Makefile (otherlibs): Likewise.
47697 * nss/Makefile (otherlibs): Likewise.
47698 Add libnss_files to routines and static-only-routines.
47699 ($(objpfx)getent): Remove rule.
47700 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47701 static-only-routines.
47703 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47706 * math/s_cexp.c: Include <float.h>.
47707 (__cexp): Handle exp result overflowing not necessarily
47708 overflowing both real and imaginary parts of result.
47709 * math/s_cexpf.c: Likewise.
47710 * math/s_cexpl.c: Likewise.
47711 * math/libm-test.inc (cexp_test): Add more tests.
47712 * sysdeps/i386/fpu/libm-test-ulps: Update.
47713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47715 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47717 * include/link.h (ELFW): New macro.
47718 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47719 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47721 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47723 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47726 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47728 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47730 (struct La_x32_retval): Likewise.
47732 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47734 * sysdeps/x86_64/preconfigure.in: New file.
47735 * sysdeps/x86_64/preconfigure: New generated file.
47737 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47740 * math/e_exp2l.c: Include <float.h>.
47741 (__ieee754_exp2l): Handle overflow and underflow cases
47742 separately. Only pass fractional part of argument to
47744 * math/libm-test.inc (exp2_test): Add more tests.
47746 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47747 negating x to take absolute value.
47748 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47750 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47751 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47753 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47754 computing low part if x was negated.
47755 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47757 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47759 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47760 la_x32_gnu_pltexit.
47761 (pltexit): Cast int_retval to ptrdiff_t.
47762 * elf/tst-auditmod3b.c: Likewise.
47763 * elf/tst-auditmod4b.c: Likewise.
47764 * elf/tst-auditmod5b.c: Likewise.
47765 * elf/tst-auditmod6b.c: Likewise.
47766 * elf/tst-auditmod6c.c: Likewise.
47767 * elf/tst-auditmod7b.c: Likewise.
47769 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47770 and x32_gnu_pltexit.
47772 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47773 __ELF_NATIVE_CLASS.
47774 (La_x32_regs): New macro.
47775 (La_x32_retval): Likewise.
47776 (la_x32_gnu_pltenter): New function prototype.
47777 (la_x32_gnu_pltexit): Likewise.
47779 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47781 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47786 * configure.in (libc_cv_cc_nofma): Check for option to disable
47787 generation of FMA instructions.
47788 * configure: Regenerate.
47789 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47790 * sysdeps/ieee754/dbl-64/Makefile: New file.
47791 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47792 Remove brandred-fma4.
47793 (CFLAGS-brandred-fma4.c): Remove.
47794 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47797 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47800 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47802 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47803 LLONG_MAX != LONG_MAX.
47804 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47805 (_fitoa_word): Likewise.
47806 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47807 LLONG_MAX != LONG_MAX.
47808 * stdio-common/_itowa.h: Include <_itoa.h>.
47809 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47810 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47811 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47812 only if not defined.
47813 (_ITOA_WORD_TYPE): Likewise.
47814 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47815 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47817 2012-03-21 David S. Miller <davem@davemloft.net>
47819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47821 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47823 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47824 of x86_64 when setting libc_cv_slibdir, libdir and
47826 * sysdeps/unix/sysv/linux/configure: Regenerated.
47828 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47830 * manual/lang.texi (Old Varargs): Remove section.
47831 (How Variadic): Update menu.
47832 (va_start): Do not mention varargs.h.
47834 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47835 Joseph Myers <joseph@codesourcery.com>
47837 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47839 * configure: Regenerated.
47841 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47843 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47844 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47847 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47850 * Makefile (files-for-dist): Remove NOTES.
47851 (NOTES): Remove rule.
47852 * README: Don't refer to NOTES.
47853 * manual/creature.texi: Don't include macros.texi.
47854 * manual/intro.texi (creature.texi): Remove comment referring to
47857 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47858 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47859 * configure: Regenerated.
47860 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47861 LIBC_TRY_CC_OPTION.
47862 (libc_cv_as_i686): Likewise.
47863 (libc_cv_cc_avx): Likewise.
47864 (libc_cv_cc_sse2avx): Likewise.
47865 (libc_cv_cc_fma4): Likewise.
47866 (libc_cv_cc_novzeroupper): Likewise.
47867 * sysdeps/i386/configure: Regenerated.
47870 * sysdeps/i386/fpu/s_cexp.S: Remove.
47871 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47872 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47873 * math/libm-test.inc (cexp_test): Add more tests.
47874 * sysdeps/i386/fpu/libm-test-ulps: Update.
47875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47877 2012-03-21 Allan McRae <allan@archlinux.org>
47879 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47881 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47884 * math/w_exp2.c: Do not include <float.h>.
47885 (o_threshold, u_threshold): Remove.
47886 (__exp2): Calculate result before checking finiteness and calling
47888 * math/w_exp2f.c: Likewise.
47889 * math/w_exp2l.c: Likewise.
47890 * math/libm-test.inc (exp2_test): Require overflow exception for
47894 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47895 range of signed 64-bit integers before using fistpll. Remove
47896 checks for whether integers fit in mantissa bits.
47897 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47898 the range of signed 32-bit integers before using fistpl. Remove
47899 checks for whether integers fit in mantissa bits.
47900 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47901 (__ieee754_powl): Test for y outside the range of signed 64-bit
47902 integers before using fistpll. Reduce 64-bit values to 63-bit
47904 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47905 divide-by-zero is raised for zero to large negative powers.
47906 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47907 (__ieee754_powl): Test for y outside the range of signed 64-bit
47908 integers before using fistpll. Reduce 64-bit values to 63-bit
47910 * math/libm-test.inc (pow_test): Add more tests.
47912 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47914 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47915 <stdio-common/_itoa.h>.
47916 * debug/segfault.c: Likewise.
47917 * elf/dl-cache.c: Likewise.
47918 * elf/dl-minimal.c: Likewise.
47919 * elf/dl-misc.c: Likewise.
47920 * elf/dl-sysdep.c: Likewise.
47921 * elf/dl-version.c: Likewise.
47922 * elf/rtld.c: Likewise.
47923 * hurd/hurdsock.c: Likewise.
47924 * hurd/lookup-retry.c: Likewise.
47925 * malloc/malloc.c: Likewise.
47926 * malloc/mtrace.c: Likewise.
47927 * nscd/nscd_getgr_r.c: Likewise.
47928 * nscd/nscd_getpw_r.c: Likewise.
47929 * nscd/nscd_getserv_r.c: Likewise.
47930 * posix/getopt_init.c: Likewise.
47931 * posix/wordexp.c: Likewise.
47932 * stdio-common/_itoa.c: Likewise.
47933 * stdio-common/printf_fphex.c: Likewise.
47934 * stdio-common/vfprintf.c: Likewise.
47935 * string/_strerror.c: Likewise.
47936 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47937 * sysdeps/i386/i686/hp-timing.h: Likewise.
47938 * sysdeps/mach/_strerror.c: Likewise.
47939 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47940 * sysdeps/mach/hurd/sethostid.c: Likewise.
47941 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47942 * sysdeps/mach/xpg-strerror.c: Likewise.
47943 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47944 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47945 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47946 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47947 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47948 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47949 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47950 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47951 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47952 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47953 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47954 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47955 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47956 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47957 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47958 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47959 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47960 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47961 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47962 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47963 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47965 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47967 * stdio-common/_itoa.h: Moved to ...
47968 * sysdeps/generic/_itoa.h: Here.
47970 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47972 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47973 instead of "_itoa.h" and "_itowa.h".
47974 * stdio-common/vfprintf.: Likewise.
47976 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47978 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47980 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47981 (__signbit): Likwise.
47982 (llrintf): Likwise.
47985 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47987 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47990 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47992 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47993 OVERFLOW_EXCEPTION_OK.
47994 * math/libm-test.inc ("Philosophy"): Update comment about
47996 (OVERFLOW_EXCEPTION): Define.
47997 (OVERFLOW_EXCEPTION_OK): Likewise.
47998 (INVALID_EXCEPTION_OK): Renumber.
47999 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48000 (IGNORE_ZERO_INF_SIGN): Likewise.
48001 (test_exceptions): Handle FE_OVERFLOW.
48002 (exp10_test): Expect overflow exceptions.
48003 (exp2_test): Likewise.
48004 (expm1_test): Likewise.
48005 (nextafter_test): Likewise.
48006 (pow_test): Likewise.
48007 (scalbn_test): Likewise.
48008 (scalbln_test): Likewise.
48010 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48012 * sysdeps/x86_64/bits/atomic.h
48013 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48015 (atomic_exchange_acq): Likewise.
48016 (__arch_exchange_and_add_body): Likewise.
48017 (__arch_add_body): Likewise.
48018 (atomic_add_negative): Likewise.
48019 (atomic_add_zero): Likewise.
48021 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48023 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48024 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48026 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48028 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48029 Check __x86_64__ instead of __WORDSIZE.
48031 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48033 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48035 2012-03-19 David S. Miller <davem@davemloft.net>
48037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48039 * sysdeps/sparc/fpu/fenv_private.h: New file.
48040 * sysdeps/sparc/fpu/math_private.h: Use it.
48041 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48043 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48044 (libc_feholdexcept_setroundl): Remove.
48045 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48047 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48048 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48050 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48052 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48053 int64_t instead of long int.
48054 (INSERT_WORDS64): Likwise.
48056 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48058 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48059 _Unwind_GetCFA return to _Unwind_Ptr first.
48061 2012-03-19 Joseph Myers <joseph@codesourcery.com>
48064 * math/s_clog.c: Include <float.h>.
48065 (__clog): Scale large or subnormal inputs.
48066 * math/s_clogf.c: Likewise.
48067 * math/s_clogl.c: Likewise.
48068 * math/s_clog10.c: Include <float.h>.
48069 (M_LOG10_2): Define.
48070 (__clog10): Scale large or subnormal inputs.
48071 * math/s_clog10f.c: Likewise.
48072 * math/s_clog10l.c: Likewise.
48073 * math/libm-test.inc (clog_test): Add more tests.
48074 (clog10_test): Likewise.
48075 * sysdeps/i386/fpu/libm-test-ulps: Update.
48076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48079 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48081 * math/libm-test.inc (atan2_test): Add another test.
48083 * Makerules (common-objdir-compile): Remove.
48084 * sysdeps/unix/Makefile (config-generated): Do not add
48085 $(unix-generated) to variable.
48086 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48087 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48089 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48091 [generic bits/local_lim.h] (before-compile): Do not append to
48093 [generic bits/local_lim.h] (common-generated): Likewise.
48094 [generic sys/param.h] (before-compile): Do not append to variable.
48095 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48096 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48097 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48098 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48100 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48101 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48102 [generic sys/param.h] ($(addprefix
48103 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48104 [generic sys/param.h] (common-generated): Do not append to
48106 [generic sys/param.h] (sysdep_headers): Likewise.
48107 [generic bits/errno.h] (before-compile): Do not append to
48109 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48111 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48112 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48113 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48114 [generic bits/errno.h] (common-generated): Do not append to
48116 [generic bits/ioctls.h] (before-compile): Do not append to
48118 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48120 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48121 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48122 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48124 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48125 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48126 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48127 [generic bits/ioctls.h] (common-generated): Do not append to
48129 [generic sys/syscall.h] (syscall.h): Remove variable.
48130 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48132 [generic sys/syscall.h] (before-compile): Do not append to
48134 [generic sys/syscall.h] (common-generated): Likewise.
48135 * sysdeps/unix/errnos-tmpl.c: Remove file.
48136 * sysdeps/unix/errnos.awk: Likewise.
48137 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48138 * sysdeps/unix/ioctls.awk: Likewise.
48139 * sysdeps/unix/mk-local_lim.c: Likewise.
48140 * sysdeps/unix/snarf-ioctls: Likewise.
48142 2012-03-19 Richard Henderson <rth@twiddle.net>
48144 * sysdeps/i386/fpu/fenv_private.h: New file.
48145 * sysdeps/i386/fpu/math_private.h: Use it.
48146 (math_opt_barrier, math_force_eval): Remove.
48147 (libc_feholdexcept_setround_53bit): Remove.
48148 (libc_feupdateenv_53bit): Remove.
48149 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48150 (math_opt_barrier, math_force_eval): Remove.
48151 (libc_feholdexcept): Remove.
48152 (libc_feholdexcept_setround): Remove.
48153 (libc_fetestexcept, libc_fesetenv): Remove.
48154 (libc_feupdateenv_test): Remove.
48155 (libc_feupdateenv, libc_feholdsetround): Remove.
48156 (libc_feresetround): Remove.
48158 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48159 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48161 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48162 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48163 (libc_feupdateenv_testl): New.
48164 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48165 (libc_feupdateenv_testf): New.
48166 (libc_feupdateenv): Use libc_feupdateenv_test.
48167 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48168 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48170 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48171 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48172 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48173 (libc_feresetround_noex): New.
48174 (libc_feresetround_noexf): New.
48175 (libc_feresetround_noexl): New.
48176 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48177 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48178 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48179 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48182 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48184 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48185 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48186 SET_RESTORE_ROUND_NOEX.
48187 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48188 SET_RESTORE_ROUND_NOEXF.
48189 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48190 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48191 (libc_feholdsetroundf): New.
48192 (libc_feresetround, libc_feresetroundf): New.
48194 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48195 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48196 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48198 * sysdeps/generic/math_private.h: Include <fenv.h>.
48199 (default_libc_feholdexcept): New.
48200 (default_libc_feholdexcept_setround): New.
48201 (default_libc_fesetenv, default_libc_feupdateenv): New.
48202 (libc_feholdexcept): Only define if undefined.
48203 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48204 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48205 (libc_feholdexcept_setroundl): Likewise.
48206 (libc_feholdexcept_setround_53bit): Likewise.
48207 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48208 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48209 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48210 (libc_feupdateenv_53bit): Likewise.
48211 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48212 (libc_feholdexcept): Convert from macro to inline function.
48213 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48214 (libc_fesetenv, libc_feupdateenv): Likewise.
48216 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48217 not previously defined.
48218 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48219 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48220 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48221 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48222 * sysdeps/ieee754/flt-32/math_private.h: New file.
48223 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48224 math_private.h below SET_FLOAT_WORD.
48225 (__isnan, __isinf_ns, __finite): Remove.
48226 (__isnanf, __isinf_nsf, __finitef): Remove.
48228 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48232 2012-03-17 David S. Miller <davem@davemloft.net>
48235 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48238 2012-03-16 David S. Miller <davem@davemloft.net>
48240 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48244 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48246 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48247 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48248 sysdep_routines when subdir is sysvipc.
48249 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48250 __getshmlba helper.
48252 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48254 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48256 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48259 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48261 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48262 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48263 (__lround): Renamed to ...
48264 (__llround): This. Replace long int with long long int.
48265 Define lround functions as aliases of llround functions.
48266 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48268 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48270 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48271 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48272 adresses to uintptr_t. Replace "long int" and "unsigned long
48273 int" with "greg_t" on va_arg.
48275 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48277 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48278 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48280 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48281 Move e_machine check before EI_CLASS check. Handle x32
48282 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48283 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48284 SKIP_EM_IA_64 and include
48285 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48287 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48288 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48289 (add_system_dir): New macro.
48291 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48292 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48294 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48305 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48307 * math/w_j0f.c (j0f): Likewise.
48309 * math/w_j0l.c (__j0l): Likewise.
48311 * math/w_j1.c (j1): Likewise.
48313 * math/w_j1f.c (j1f): Likewise.
48315 * math/w_j1l.c (__j1l): Likewise.
48317 * math/w_jn.c (jn): Likewise.
48319 * math/w_jnf.c (jnf): Likewise.
48321 * math/w_jnl.c (__jnl): Likewise.
48323 * math/libm-test.inc (j0_test): Add more tests.
48324 (j1_test): Likewise.
48325 (jn_test): Likewise. Add trailing semicolon to existing test.
48326 (y0_test): Likewise.
48327 (y1_test): Likewise.
48328 * sysdeps/i386/fpu/libm-test-ulps: Update.
48329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48333 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48334 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48335 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48336 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48337 (__tanl): Set errno for infinite argument.
48338 * sysdeps/i386/fpu/mptan.c: Remove.
48339 * sysdeps/i386/fpu/s_tan.S: Likewise.
48340 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48341 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48342 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48343 * math/libm-test.inc (tan_test): Add more tests and enable more
48344 tests for double and long double.
48345 * sysdeps/i386/fpu/libm-test-ulps: Update.
48346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48348 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48350 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48351 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48353 2012-03-16 Roland McGrath <roland@hack.frob.com>
48355 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48356 * configure.in: Use it for both main tree and add-ons.
48357 * configure: Regenerated.
48359 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48361 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48363 2012-03-16 Joseph Myers <joseph@codesourcery.com>
48365 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48369 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48370 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48371 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48375 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48376 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48377 != 0 for prec == 2.
48378 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48379 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48380 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48381 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48382 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48383 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48384 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48385 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48386 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48387 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48388 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48389 * math/libm-test.inc (cos_test): Add more tests and enable more
48390 tests for long double.
48391 (sin_test): Likewise.
48392 (sincos_test): Likewise.
48393 * sysdeps/i386/fpu/libm-test-ulps: Update.
48394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48396 2012-03-16 David S. Miller <davem@davemloft.net>
48398 * sysdeps/sparc/fpu/math_private.h: New file.
48400 2012-03-15 David S. Miller <davem@davemloft.net>
48402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
48405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48416 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48417 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48419 * sysdeps/sparc/sparc-ifunc.h: New file.
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48458 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48462 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48465 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48467 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48471 2012-03-15 Andreas Jaeger <aj@suse.de>
48474 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48475 ieee754/flt-32 implementation for sin, cos and sincos.
48476 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48477 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48478 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48479 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48480 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48481 ieee754/flt-32 implementation for tan.
48483 * math/libm-test.inc (cos_test): Enable some large input tests for
48485 (sin_test): Likewise.
48486 (sincos_test): Likewise.
48487 (tan_test): Add tests for large input.
48489 * sysdeps/i386/fpu/libm-test-ulps: Update.
48491 2012-03-15 Andreas Jaeger <aj@suse.de>
48494 * math/libm-test.inc (cos_test): Add more test cases.
48495 (sin_test): Likewise.
48496 (sincos_test): Likewise.
48498 2012-03-15 Andreas Jaeger <aj@suse.de>
48501 * math/libm-test.inc (cos_test): Add a test case for large input
48503 (sin_test): Likewise.
48504 (sincos_test): Likewise.
48506 2012-03-15 Andreas Jaeger <aj@suse.de>
48507 Joseph Myers <joseph@codesourcery.com>
48510 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48511 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48512 * sysdeps/i386/fpu/branred.c: Likewise.
48513 * sysdeps/i386/fpu/dosincos.c: Likewise.
48514 * sysdeps/i386/fpu/mpa.c: Likewise.
48515 * sysdeps/i386/fpu/s_cos.S: Likewise.
48516 * sysdeps/i386/fpu/s_sin.S: Likewise.
48517 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48518 * sysdeps/i386/fpu/sincos32.c: Likewise.
48520 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48522 (libc_feupdateenv_53bit): Define.
48523 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48525 (libc_feupdateenv_53bit): Define.
48527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48528 53 bit (without extend i386 double precision).
48530 * math/libm-test.inc (sincos_test): Add tests for large input.
48534 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48536 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48540 2012-03-15 David S. Miller <davem@davemloft.net>
48542 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48543 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48544 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48545 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48569 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48570 fmin/fmax sysdep routines.
48571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48573 2012-03-14 David S. Miller <davem@davemloft.net>
48575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48595 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48603 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48647 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48652 * sysdeps/sparc/configure.in: New file.
48653 * sysdeps/sparc/configure: Generate.
48654 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48655 * configure: Regenerate.
48656 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48657 * config.make.in (have-as-vis3): New.
48658 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48659 available use -Av9d instead of -Av9a.
48660 * sysdeps/sparc/sparc64/Makefile: Likewise.
48661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48671 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48676 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48677 fzeros/fnegs to load 0x80000000 into a float register instead of
48679 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48681 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48685 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48686 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48687 ($(inst_includedir)/bits/syscall.h): Remove rule.
48688 ($(objpfx)bits/syscall.d): Include instead of
48689 $(objpfx)syscall-list.d.
48690 (generated): Change syscall-list.h and syscall-list.d to
48691 bits/syscall.h and bits/syscall.d.
48693 2012-03-14 Roland McGrath <roland@hack.frob.com>
48696 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48698 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48701 * math/s_csqrt.c: Include <float.h>.
48702 (__csqrt): Scale large or subnormal inputs.
48703 * math/s_csqrtf.c: Likewise.
48704 * math/s_csqrtl.c: Likewise.
48705 * math/libm-test.inc (csqrt_test): Add more tests.
48706 * sysdeps/i386/fpu/libm-test-ulps: Update.
48707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48710 * math/libm-test.inc (hypot_test): Add more tests.
48712 2012-03-13 David S. Miller <davem@davemloft.net>
48715 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48716 double-precision for the calculation instead of scaling.
48718 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48720 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48721 manipulate bits before adding and subtracting TWO52[sx].
48722 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48723 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48727 2012-03-13 David S. Miller <davem@davemloft.net>
48729 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48730 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48732 rtld-global-offsets.h
48733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48735 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48738 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48740 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48741 'err' in the ifdef scope in which it is actually used.
48743 * nss/nss_db/db-init.c: Include string.h
48745 2012-03-12 David S. Miller <davem@davemloft.net>
48747 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48748 masking out of the most significant byte of random value used.
48749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48750 Fix coding style in previous change.
48752 * sysdeps/unix/sysv/linux/kernel-features.h
48753 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48754 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48756 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48759 2012-03-11 David S. Miller <davem@davemloft.net>
48761 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48762 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48763 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48764 for 'resultvar' otherwise things get truncated on 64-bit.
48766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48767 Fix masking out of the most significant byte of random value used.
48769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48771 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48775 2012-03-09 David S. Miller <davem@davemloft.net>
48777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48778 variables with appropriate CPP guards.
48779 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48780 from the frame pointer, not the stack pointer. Correct layout
48781 comments. Fix test on resulting framesize and the management of
48782 the outregs buffer for pltexit. Preserve floating point return
48783 values across _dl_call_pltexit call.
48784 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48785 framesize and the management of the outregs buffer for pltexit.
48786 Preserve floating point return values across _dl_call_pltexit
48788 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48789 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48790 (la_sparc64_gnu_pltexit): New functions.
48791 (print_exit): Fix format string for return register value.
48793 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48795 * sunrpc/Makefile (others): Add rpcgen.
48796 ($(objpfx)rpcgen): Remove special build rule and dependency on
48798 * sunrpc/rpcgen.c: New file.
48800 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48803 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48804 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48805 * sysdeps/i386/crti.S: Likewise.
48806 * sysdeps/i386/crtn.S: Likewise.
48807 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48808 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48809 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48810 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48811 * sysdeps/sh/crti.S: Likewise.
48812 * sysdeps/sh/crtn.S: Likewise.
48813 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48816 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48818 * locale/programs/locfile-kw.gperf: Likewise.
48819 * locale/programs/charmap-kw.h: Regenerated.
48820 * locale/programs/locfile-kw.h: Likewise.
48823 * intl/plural.y: Replace FSF snail mail address with URL.
48824 * intl/plural.c: Regenerated.
48826 2012-03-09 Richard Henderson <rth@twiddle.net>
48828 * include/math_private.h: Remove file.
48829 * math/math_private.h: Move file ...
48830 * sysdeps/generic/math_private.h: ... here.
48832 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48833 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48834 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48836 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48837 and <math_private.h>.
48838 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48839 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48840 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48841 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48842 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48843 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48844 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48846 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48847 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48849 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48850 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48852 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48853 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48854 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48855 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48856 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48857 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48859 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48860 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48862 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48863 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48864 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48868 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48869 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48870 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48871 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48872 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48875 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48876 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48877 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48878 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48879 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48880 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48881 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48882 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48884 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48885 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48886 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48887 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48888 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48889 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48890 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48891 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48892 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48893 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48894 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48895 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48896 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48897 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48898 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48899 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48901 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48902 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48903 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48904 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48905 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48906 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48908 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48910 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48912 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48917 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48918 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48919 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48920 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48921 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48922 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48925 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48926 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48927 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48928 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48929 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48930 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48931 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48932 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48933 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48934 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48935 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48936 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48938 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48939 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48940 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48941 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48942 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48943 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48944 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48945 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48946 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48948 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48949 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48950 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48951 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48952 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48954 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48955 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48956 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48957 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48958 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48959 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48960 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48961 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48962 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48963 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48964 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48966 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48967 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48968 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48969 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48970 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48971 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48972 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48973 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48974 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48975 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48976 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48977 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48978 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48979 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48980 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48981 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48982 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48983 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48984 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48985 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48986 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48987 * sysdeps/ieee754/k_standard.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48993 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48994 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48995 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48997 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48998 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48999 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49000 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49001 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49002 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49003 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49005 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49006 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49008 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49011 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49013 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49014 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49015 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49016 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49017 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49018 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49019 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49020 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49021 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49022 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49023 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49028 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49029 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49030 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49031 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49033 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49034 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49035 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49036 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49038 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49039 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49040 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49041 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49043 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49044 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49045 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49046 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49047 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49049 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49050 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49051 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49054 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49055 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49057 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49058 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49060 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49061 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49062 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49063 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49064 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49065 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49067 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49068 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49070 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49071 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49072 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49073 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49074 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49075 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49076 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49078 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49079 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49080 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49081 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49082 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49083 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49084 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49085 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49086 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49087 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49088 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49089 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49092 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49093 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49094 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49095 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49096 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49097 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49098 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49099 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49100 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49102 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49103 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49104 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49105 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49106 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49107 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49108 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49109 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49110 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49112 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49115 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49116 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49121 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49123 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49124 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49127 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49128 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49129 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49130 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49131 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49133 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49136 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49137 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49138 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49139 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49143 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49144 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49145 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49146 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49148 * sysdeps/ieee754/s_lib_version.c: Likewise.
49149 * sysdeps/ieee754/s_matherr.c: Likewise.
49150 * sysdeps/ieee754/s_signgam.c: Likewise.
49151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49153 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49154 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49155 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49156 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49157 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49158 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49159 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49160 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49161 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49162 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49165 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49166 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49167 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49168 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49169 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49173 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49175 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49176 * sunrpc/rpc_main.c: Likewise.
49177 * sunrpc/rpc_svcout.c: Likewise.
49179 2012-03-09 David S. Miller <davem@davemloft.net>
49181 * include/math_private.h: New file.
49183 2012-03-09 Joseph Myers <joseph@codesourcery.com>
49185 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49186 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49187 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49188 from <bits/socket_type.h>.
49189 (enum __socket_type): Don't define here.
49190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49192 bits/socket_type.h.
49195 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49196 checking __USE_GNU.
49198 * Makerules ($(inst_includedir)/%.h): New rule.
49199 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49200 (install-others): Remove variable setting.
49201 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49203 2012-03-08 Richard Henderson <rth@twiddle.net>
49205 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49206 from macro to inline function; merge with the
49207 !__LIBC_INTERNAL_MATH_INLINES version.
49208 (__ieee754_sqrtf): Likewise.
49210 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49211 to inline function.
49212 (__rintf, __floor, __floorf): Likewise.
49214 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49215 macro to inline function.
49216 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49219 not <math/math_private.h>.
49221 2012-03-08 David S. Miller <davem@davemloft.net>
49223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49225 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49227 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49229 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49231 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49232 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49234 2012-03-08 Ulrich Drepper <drepper@gmail.com>
49236 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49237 be defined individually, they must be defined as a block. Define
49238 S for printing a string instead of hidint the different by using a
49239 macro for adding the 'l'.
49240 * stdio-common/tst-fphex-wide.c: Adjust.
49242 2012-03-07 Marek Polacek <polacek@redhat.com>
49244 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49246 2012-03-08 Marek Polacek <polacek@redhat.com>
49249 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49250 * stdio-common/tst-fphex.c: Define a few macros to make the
49251 test reusable. Use them.
49252 * stdio-common/tst-fphex-wide.c: New file.
49254 2012-03-08 Joseph Myers <joseph@codesourcery.com>
49257 * manual/macros.texi (gnusystems): New macro.
49258 (nongnusystems): Likewise.
49259 (gnulinuxhurdsystems): Likewise.
49260 (gnuhurdsystems): Likewise..
49261 (gnulinuxsystems): Likewise.
49262 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49263 variants of the GNU system, not "GNU system".
49264 * manual/conf.texi: Likewise.
49265 * manual/errno.texi: Likewise. Update example of errno macro
49267 * manual/filesys.texi: Likewise.
49268 (getumask): Document as specific to GNU/Hurd.
49269 * manual/install.texi: Likewise. Reword some references to
49271 * manual/intro.texi: Likewise.
49272 * manual/io.texi: Likewise.
49273 (File Name Portability): Detail which constraints are inapplicable
49274 to all GNU systems and which are only inapplicable to GNU/Hurd.
49275 * manual/job.texi: Likewise.
49276 * manual/llio.texi: Likewise.
49277 (O_NOCTTY): Document as present on GNU/Linux.
49278 * manual/maint.texi: Likewise.
49279 * manual/memory.texi: Likewise.
49280 * manual/pattern.texi: Likewise.
49281 * manual/pipe.texi: Likewise.
49282 * manual/process.texi: Likewise.
49283 * manual/resource.texi: Likewise.
49284 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49286 * manual/setjmp.texi: Likewise.
49287 * manual/signal.texi: Likewise.
49288 * manual/startup.texi: Likewise.
49289 * manual/stdio.texi: Likewise.
49290 * manual/terminal.texi: Likewise.
49291 (ONLCR): Document as POSIX.
49292 (OXTABS): Document availability on GNU/Linux as XTABS.
49293 (ONOEOT): Document availability separately from other bits.
49294 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49295 * manual/time.texi: Likewise.
49296 * manual/users.texi: Likewise.
49297 * INSTALL: Regenerated.
49298 * sysdeps/gnu/errlist.c: Regenerated.
49300 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49301 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49302 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49304 * configure: Regenerated.
49306 2012-03-07 Joseph Myers <joseph@codesourcery.com>
49308 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49309 default includes instead of AC_HEADER_CHECK.
49310 * sysdeps/i386/configure: Regenerated.
49313 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49314 * math/s_cacoshf.c (__cacoshf): Likewise.
49315 * math/s_cacoshl.c (__cacoshl): Likewise.
49316 * math/s_casinh.c (__casinh): Set signs of result from argument.
49317 * math/s_casinhf.c (__casinhf): Likewise.
49318 * math/s_casinhl.c (__casinhl): Likewise.
49319 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49320 (casinh_test): Add more tests.
49321 * sysdeps/i386/fpu/libm-test-ulps: Update.
49322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49324 2012-03-07 Ulrich Drepper <drepper@gmail.com>
49326 * po/zh_TW.po: Update from translation team.
49328 * login/Makefile (distribute): Remove variable.
49329 * catgets/Makefile: Likewise.
49330 * mach/Makefile: Likewise.
49331 * malloc/Makefile: Likewise.
49332 * misc/Makefile: Likewise.
49333 * iconv/Makefile: Likewise.
49334 * nscd/Makefile: Likewise.
49335 * hurd/Makefile: Likewise.
49336 * manual/Makefile: Likewise.
49337 * locale/Makefile: Likewise.
49338 * intl/Makefile: Likewise.
49339 * conform/Makefile: Likewise.
49340 * nss/Makefile: Likewise.
49341 * time/Makefile: Likewise.
49342 * soft-fp/Makefile: Likewise.
49343 * dirent/Makefile: Likewise.
49344 * gmon/Makefile: Likewise.
49345 * po/Makefile: Likewise.
49346 * rt/Makefile: Likewise.
49347 * socket/Makefile: Likewise.
49348 * math/Makefile: Likewise.
49349 * signal/Makefile: Likewise.
49350 * debug/Makefile: Likewise.
49351 * elf/Makefile: Likewise.
49352 * timezone/Makefile: Likewise.
49353 * stdlib/Makefile: Likewise.
49354 * iconvdata/Makefile: Likewise.
49355 * sunrpc/Makefile: Likewise.
49356 * io/Makefile: Likewise.
49357 * argp/Makefile: Likewise.
49358 * inet/Makefile: Likewise.
49359 * hesiod/Makefile: Likewise.
49360 * grp/Makefile: Likewise.
49361 * csu/Makefile: Likewise.
49362 * wctype/Makefile: Likewise.
49363 * crypt/Makefile: Likewise.
49364 * libio/Makefile: Likewise.
49365 * string/Makefile: Likewise.
49366 * nis/Makefile: Likewise.
49367 * resolv/Makefile: Likewise.
49368 * stdio-common/Makefile: Likewise.
49369 * wcsmbs/Makefile: Likewise.
49370 * dlfcn/Makefile: Likewise.
49371 * posix/Makefile: Likewise.
49374 * timezone/Makefile: Don't install timezone files, just the programs
49377 2012-03-06 Ulrich Drepper <drepper@gmail.com>
49379 * nss/databases.def: Add missing gshadow entry.
49381 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49383 2012-03-06 Marek Polacek <polacek@redhat.com>
49386 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49387 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49388 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49389 * stdio-common/tst-long-dbl-fphex.c: New file.
49391 2012-03-06 David S. Miller <davem@davemloft.net>
49393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49394 (set_obp_int): New function.
49395 (get_obp_int): New function.
49396 (__get_clockfreq_via_dev_openprom): Likewise.
49397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49398 Avoid unused variable warnings on 'val' and use builtin_expect.
49399 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49401 (INLINE_CLONE_SYSCALL): Likewise.
49403 2012-03-05 David S. Miller <davem@davemloft.net>
49405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49407 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49411 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49412 only for |x| >= 40.
49413 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49415 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
49417 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49418 Replace gettimeofday with __vdso_gettimeofday.
49420 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49421 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49422 __vdso_clock_gettime and __vdso_getcpu.
49424 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49425 time with __vdso_time.
49427 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49429 * manual/lang.texi (size_t): Note types to which size_t may be
49430 equivalent with the GNU C Library, but do not describe when
49431 differences between them are significant.
49433 2012-03-05 Andreas Jaeger <aj@suse.de>
49435 * sysdeps/i386/fpu/libm-test-ulps: Update.
49437 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49440 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49441 (__ieee754_pow): Save and restore rounding mode and use
49442 round-to-nearest for main computations.
49443 * math/libm-test.inc (pow_test_tonearest): New function.
49444 (pow_test_towardzero): Likewise.
49445 (pow_test_downward): Likewise.
49446 (pow_test_upward): Likewise.
49447 (main): Call the new functions.
49448 * sysdeps/i386/fpu/libm-test-ulps: Update.
49449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49452 * math/libm-test.inc (cosh_test_tonearest): New function.
49453 (cosh_test_towardzero): Likewise.
49454 (cosh_test_downward): Likewise.
49455 (cosh_test_upward): Likewise.
49456 (sinh_test_tonearest): Likewise.
49457 (sinh_test_towardzero): Likewise.
49458 (sinh_test_downward): Likewise.
49459 (sinh_test_upward): Likewise.
49460 (main): Call the new functions.
49461 * sysdeps/i386/fpu/libm-test-ulps: Update.
49462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49464 2012-03-05 Tom de Vries <tom@codesourcery.com>
49466 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49467 default stack guard is set in last bytes.
49468 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49470 2012-03-05 Kees Cook <keescook@chromium.org>
49472 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49475 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49476 possibly allocate from heap instead of stack.
49477 * stdio-common/bug-vfprintf-nargs.c: New file.
49478 * stdio-common/Makefile (tests): Add nargs overflow test.
49480 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49484 2012-03-03 Marek Polacek <polacek@redhat.com>
49486 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49487 * math/math_private.h: Likewise.
49488 * stdlib/tst-strtod.c: Likewise.
49489 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49490 * sysdeps/x86_64/bits/atomic.h: Likewise.
49492 2012-03-02 David S. Miller <davem@davemloft.net>
49494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49498 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49499 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49500 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49501 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49503 2012-03-02 Roland McGrath <roland@hack.frob.com>
49506 * manual/examples/README: New file, says the example source files
49507 can be used under GPL>=2.
49508 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49509 line containing just "*/".
49510 * manual/examples/add.c: Add copyright header (GPL>=2).
49511 * manual/examples/argp-ex1.c: Likewise.
49512 * manual/examples/argp-ex2.c: Likewise.
49513 * manual/examples/argp-ex3.c: Likewise.
49514 * manual/examples/argp-ex4.c: Likewise.
49515 * manual/examples/atexit.c: Likewise.
49516 * manual/examples/db.c: Likewise.
49517 * manual/examples/dir.c: Likewise.
49518 * manual/examples/dir2.c: Likewise.
49519 * manual/examples/execinfo.c: Likewise.
49520 * manual/examples/filecli.c: Likewise.
49521 * manual/examples/filesrv.c: Likewise.
49522 * manual/examples/fmtmsgexpl.c: Likewise.
49523 * manual/examples/genpass.c: Likewise.
49524 * manual/examples/inetcli.c: Likewise.
49525 * manual/examples/inetsrv.c: Likewise.
49526 * manual/examples/isockad.c: Likewise.
49527 * manual/examples/longopt.c: Likewise.
49528 * manual/examples/memopen.c: Likewise.
49529 * manual/examples/memstrm.c: Likewise.
49530 * manual/examples/mkfsock.c: Likewise.
49531 * manual/examples/mkisock.c: Likewise.
49532 * manual/examples/mygetpass.c: Likewise.
49533 * manual/examples/pipe.c: Likewise.
49534 * manual/examples/popen.c: Likewise.
49535 * manual/examples/rprintf.c: Likewise.
49536 * manual/examples/search.c: Likewise.
49537 * manual/examples/select.c: Likewise.
49538 * manual/examples/setjmp.c: Likewise.
49539 * manual/examples/sigh1.c: Likewise.
49540 * manual/examples/sigusr.c: Likewise.
49541 * manual/examples/stpcpy.c: Likewise.
49542 * manual/examples/strdupa.c: Likewise.
49543 * manual/examples/strftim.c: Likewise.
49544 * manual/examples/strncat.c: Likewise.
49545 * manual/examples/subopt.c: Likewise.
49546 * manual/examples/swapcontext.c: Likewise.
49547 * manual/examples/termios.c: Likewise.
49548 * manual/examples/testopt.c: Likewise.
49549 * manual/examples/testpass.c: Likewise.
49550 * manual/examples/timeval_subtract.c: Likewise.
49553 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49555 * manual/timeval_subtract.c.texi: ... here, new file.
49557 2012-03-02 David S. Miller <davem@davemloft.net>
49559 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49561 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49564 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49565 (__sin): Save and restore rounding mode and use round-to-nearest
49566 for all computations.
49567 (__cos): Save and restore rounding mode and use round-to-nearest
49568 for all computations.
49569 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49571 (tan): Save and restore rounding mode and use round-to-nearest for
49573 * math/libm-test.inc (cos_test_tonearest): New function.
49574 (cos_test_towardzero): Likewise.
49575 (cos_test_downward): Likewise.
49576 (cos_test_upward): Likewise.
49577 (sin_test_tonearest): Likewise.
49578 (sin_test_towardzero): Likewise.
49579 (sin_test_downward): Likewise.
49580 (sin_test_upward): Likewise.
49581 (tan_test_tonearest): Likewise.
49582 (tan_test_towardzero): Likewise.
49583 (tan_test_downward): Likewise.
49584 (tan_test_upward): Likewise.
49585 (main): Call the new functions.
49586 * sysdeps/i386/fpu/libm-test-ulps: Update.
49587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49590 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49591 small n, then large n, before computing and testing k+n.
49592 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49593 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49597 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49598 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49603 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49604 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49605 * math/libm-test.inc (scalbn_test): Add more tests.
49606 (scalbln_test): Likewise.
49608 * manual/filesys.texi (mode_t): Describe constraints on size and
49609 signedness, not exact equivalence to a particular type.
49611 (ino64_t): Likewise.
49613 (nlink_t): Likewise.
49614 (blkcnt_t): Likewise.
49615 (blkcnt64_t): Likewise.
49616 * manual/llio.texi (off_t): Likewise.
49619 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49620 (__ieee754_exp): Save and restore rounding mode and use
49621 round-to-nearest for all computations.
49622 * math/libm-test.inc (exp_test_tonearest): New function.
49623 (exp_test_towardzero): Likewise.
49624 (exp_test_downward): Likewise.
49625 (exp_test_upward): Likewise.
49626 (main): Call the new functions.
49627 * sysdeps/i386/fpu/libm-test-ulps: Update.
49628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49630 2012-03-01 Chris Demetriou <cgd@google.com>
49632 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49633 have predictable order.
49635 2012-03-01 David S. Miller <davem@davemloft.net>
49637 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49639 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49640 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49641 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49642 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49644 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49645 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49646 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49648 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49649 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49650 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49651 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49652 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49656 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49657 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49658 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49660 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49661 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49662 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49663 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49664 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49667 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49668 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49669 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49670 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49672 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49673 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49674 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49675 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49676 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49677 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49678 * sysdeps/sparc/elf/configure: Regenerated.
49680 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49682 * configure.in (AS, LD): Require binutils 2.20 or later.
49683 * configure: Regenerated.
49684 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49685 as required minimum version.
49686 * INSTALL: Regenerated.
49690 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49691 before squaring exponent.
49692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49693 bottom long double and 27 bits of top long double before squaring
49695 * math/libm-test.inc (erfc_test): Add more tests.
49696 * sysdeps/i386/fpu/libm-test-ulps: Update.
49697 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49700 2012-03-01 Kai Tietz <ktietz@redhat.com>
49702 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49703 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49704 containing bit-fields.
49705 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49706 * soft-fp/single.h (_FP_UNION_S): Likewise.
49707 * soft-fp/double.h (_FP_UNION_D): Likewise.
49709 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49712 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49713 not include ../strcmp.S.
49714 [USE_AS_STRNCASECMP_L]: Likewise.
49715 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49716 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49717 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49718 (__strncasecmp_l_ia32): Define as alias to
49719 __strncasecmp_l_nonascii.
49722 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49723 * sysdeps/i386/fpu/libm-test-ulps: Update.
49724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49726 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49729 2012-02-29 Jeff Law <law@redhat.com>
49731 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49732 out of bounds read.
49734 2012-02-29 Marek Polacek <polacek@redhat.com>
49737 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49738 * elf/Makefile: Add rules to run tst-unused-dep.out.
49740 2012-02-28 David S. Miller <davem@davemloft.net>
49742 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49743 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49746 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49747 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49749 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49751 * math/libm-test.inc (llround_test): Move one test from
49752 lround_test. Use TEST_f_L in moved test.
49753 (lround_test): Move misplaced test to llround_test. Add testcase
49756 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49758 * sysdeps/x86_64/fpu/e_expf.S: New file.
49759 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49761 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49764 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49765 of remain_len that may cause incomplete multi-byte character and
49767 * posix/bug-regex33.c: New file.
49768 * posix/Makefile (tests): Add bug-regex33.
49770 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49772 * manual/macros.texi: New file.
49773 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49774 * manual/libc.texinfo: Include macros.texi.
49775 * manual/creatute.texi: Likewise.
49776 * manual/install.texi: Likewise.
49777 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49778 @glibcadj{} in references to the GNU C Library.
49779 * manual/charset.texi: Likewise.
49780 * manual/conf.texi: Likewise.
49781 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49782 when not using those macros.
49783 * manual/creature.texi: Likewise.
49784 * manual/crypt.texi: Likewise.
49785 * manual/errno.texi: Likewise.
49786 * manual/filesys.texi: Likewise.
49787 * manual/header.texi: Likewise.
49788 * manual/install.texi: Likewise.
49789 * manual/intro.texi: Likewise.
49790 * manual/io.texi: Likewise.
49791 * manual/job.texi: Likewise.
49792 * manual/lang.texi: Likewise.
49793 * manual/libc.texiinfo: Likewise.
49794 * manual/llio.texi: Likewise.
49795 * manual/locale.texi: Likewise.
49796 * manual/maint.texi: Likewise.
49797 * manual/math.texi: Likewise.
49798 * manual/memory.texi: Likewise.
49799 * manual/message.texi: Likewise.
49800 * manual/nss.texi: Likewise.
49801 * manual/pattern.texi: Likewise.
49802 * manual/process.texi: Likewise.
49803 * manual/resource.texi: Likewise.
49804 * manual/search.texi: Likewise.
49805 * manual/setjmp.texi: Likewise.
49806 * manual/signal.texi: Likewise.
49807 * manual/socket.texi: Likewise.
49808 * manual/startup.texi: Likewise.
49809 * manual/stdio.texi: Likewise.
49810 * manual/string.texi: Likewise.
49811 * manual/sysinfo.texi: Likewise.
49812 * manual/syslog.texi: Likewise.
49813 * manual/terminal.texi: Likewise.
49814 * manual/time.texi: Likewise.
49815 * manual/users.texi: Likewise.
49816 * INSTALL: Regenerated.
49817 * NOTES: Regenerated.
49818 * sysdeps/gnu/errlist.c: Regenerated.
49820 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49822 * include/dirent.h: Include <dirstream.h> before
49825 2012-02-28 David S. Miller <davem@davemloft.net>
49827 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49828 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49829 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49830 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49832 2012-02-27 David S. Miller <davem@davemloft.net>
49834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49836 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49837 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49840 frame pointer instead of stack pointer relative arg slot.
49841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49842 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49843 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49845 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49848 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49850 2012-02-27 David S. Miller <davem@davemloft.net>
49852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49856 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49857 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49858 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49859 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49861 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49863 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49864 later. Allow versions 5-9.
49865 * configure: Regenerated.
49866 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49867 required minimum version and 4.6 as recommended version. Do not
49868 mention bugs in GCC 2.7 and 2.8.
49869 * INSTALL: Regenerated.
49871 2012-02-27 David S. Miller <davem@davemloft.net>
49873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49877 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49878 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49879 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49880 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49882 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49883 manipulate bits before adding and subtracting TWO112[sx].
49884 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49886 2012-02-27 Roland McGrath <roland@hack.frob.com>
49889 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49890 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49891 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49892 being in POSIX, because they are in 1003.1-2008.
49894 * rt/tst-aio.c: Include <fcntl.h>.
49895 * rt/tst-aio7.c: Likewise.
49896 * rt/tst-aio64.c: Likewise.
49898 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49900 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49902 * manual/install.texi (--with-headers): Describe headers as
49903 interface headers, not private headers.
49904 (Specific advice for GNU/Linux systems): Describe use of headers
49905 from "make headers_install", not private headers from older
49907 * INSTALL: Regenerated.
49908 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49910 * sysdeps/unix/sysv/linux/configure: Regenerated.
49912 * manual/llio.texi (fclean): Remove documentation.
49914 * manual/Makefile (libc-texi-generated): New variable. Include
49916 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49917 $(libc-texi-generated), not duplicated list of files.
49918 (version.texi, stamp-version): New rules.
49919 (realclean): Remove $(libc-texi-generated), not individual files
49920 from that list. Do not remove dir-add.texinfo.
49921 * manual/libc.texinfo: Comment out uses of edition numbers and
49922 references to printed manual. Remove last-updated dates.
49923 (EDITION): Comment out.
49925 (VERSION, UPDATED): Remove.
49926 (version.texi): Include.
49928 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49930 * sysdeps/posix/spawni.c: Include <signal.h>.
49931 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49932 * sysdeps/pthread/aio_fsync.c: Likewise.
49934 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49936 * conform/Makefile (tests): Run only when not cross-compiling and
49937 when fast-check is not defined.
49939 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49940 * conform/data/limits.h-data: Fixes for POSIX2008.
49941 * conform/run-conformtest.sh: Run all tests.
49942 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49944 * include/bits/dlfcn.h: Likewise.
49945 * include/langinfo.h: Likewise.
49946 * include/monetary.h: Likewise.
49947 * include/sys/poll.h: Likewise.
49949 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49951 * posix/spawn.h: Define __need_sigset_t.
49952 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49953 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49954 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49955 to get sigevent_t only.
49956 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49957 only for __USE_GNU.
49958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49959 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49960 process_vm_writev only for __USE_GNU.
49961 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49963 * conform/Makefile: For now ignore errors from run-conformtest.
49964 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49965 POSIX to avoid namespace pollution. Don't prepend headers.
49966 * conform/data/aio.h-data: Fixes for POSIX testing.
49967 * conform/data/fcntl.h-data: Likewise.
49968 * conform/data/glob.h-data: Likewise.
49969 * conform/data/grp.h-data: Likewise.
49970 * conform/data/pthread.h-data: Likewise.
49971 * conform/data/pwd.h-data: Likewise.
49972 * conform/data/signal.h-data: Likewise.
49973 * conform/data/spawn.h-data: Likewise.
49974 * conform/data/stdio.h-data: Likewise.
49975 * conform/data/stdlib.h-data: Likewise.
49976 * conform/data/stropts.h-data: Likewise.
49977 * conform/data/sys/mman.h-data: Likewise.
49978 * conform/data/sys/stat.h-data: Likewise.
49979 * conform/data/sys/types.h-data: Likewise.
49980 * conform/data/sys/wait.h-data: Likewise.
49981 * conform/data/time.h-data: Likewise.
49982 * conform/data/unistd.h-data: Likewise.
49983 * conform/data/utime.h-data: Likewise.
49985 * io/sys/stat.h: fchmod was always in POSIX.
49986 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49987 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49988 * rt/aio.h: Define __need_timespec before including <time.h>.
49989 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49990 struct. Add forward declaration of pthread_attr_t and use it in
49992 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49993 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49994 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49995 always remove CLK_TCK definition.
49997 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49999 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50001 2012-02-25 Ulrich Drepper <drepper@gmail.com>
50003 * conform/run-conformtest.sh: New file.
50004 * conform/Makefile: Run run-conformtest for tests.
50005 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50008 * conform/data/uchar.h-data: New file.
50009 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50010 * conform/data/arpa/inet.h-data: Likewise.
50011 * conform/data/assert.h-data: Likewise.
50012 * conform/data/complex.h-data: Likewise.
50013 * conform/data/cpio.h-data: Likewise.
50014 * conform/data/ctype.h-data: Likewise.
50015 * conform/data/dirent.h-data: Likewise.
50016 * conform/data/dlfcn.h-data: Likewise.
50017 * conform/data/errno.h-data: Likewise.
50018 * conform/data/fcntl.h-data: Likewise.
50019 * conform/data/float.h-data: Likewise.
50020 * conform/data/fmtmsg.h-data: Likewise.
50021 * conform/data/fnmatch.h-data: Likewise.
50022 * conform/data/ftw.h-data: Likewise.
50023 * conform/data/glob.h-data: Likewise.
50024 * conform/data/grp.h-data: Likewise.
50025 * conform/data/iconv.h-data: Likewise.
50026 * conform/data/inttypes.h-data: Likewise.
50027 * conform/data/langinfo.h-data: Likewise.
50028 * conform/data/libgen.h-data: Likewise.
50029 * conform/data/limits.h-data: Likewise.
50030 * conform/data/locale.h-data: Likewise.
50031 * conform/data/math.h-data: Likewise.
50032 * conform/data/monetary.h-data: Likewise.
50033 * conform/data/mqueue.h-data: Likewise.
50034 * conform/data/ndbm.h-data: Likewise.
50035 * conform/data/net/if.h-data: Likewise.
50036 * conform/data/netdb.h-data: Likewise.
50037 * conform/data/netinet/in.h-data: Likewise.
50038 * conform/data/nl_types.h-data: Likewise.
50039 * conform/data/poll.h-data: Likewise.
50040 * conform/data/pthread.h-data: Likewise.
50041 * conform/data/pwd.h-data: Likewise.
50042 * conform/data/regex.h-data: Likewise.
50043 * conform/data/sched.h-data: Likewise.
50044 * conform/data/search.h-data: Likewise.
50045 * conform/data/semaphore.h-data: Likewise.
50046 * conform/data/setjmp.h-data: Likewise.
50047 * conform/data/signal.h-data: Likewise.
50048 * conform/data/spawn.h-data: Likewise.
50049 * conform/data/stdarg.h-data: Likewise.
50050 * conform/data/stdio.h-data: Likewise.
50051 * conform/data/stdlib.h-data: Likewise.
50052 * conform/data/string.h-data: Likewise.
50053 * conform/data/strings.h-data: Likewise.
50054 * conform/data/stropts.h-data: Likewise.
50055 * conform/data/sys/ipc.h-data: Likewise.
50056 * conform/data/sys/mman.h-data: Likewise.
50057 * conform/data/sys/msg.h-data: Likewise.
50058 * conform/data/sys/resource.h-data: Likewise.
50059 * conform/data/sys/select.h-data: Likewise.
50060 * conform/data/sys/sem.h-data: Likewise.
50061 * conform/data/sys/shm.h-data: Likewise.
50062 * conform/data/sys/socket.h-data: Likewise.
50063 * conform/data/sys/stat.h-data: Likewise.
50064 * conform/data/sys/statvfs.h-data: Likewise.
50065 * conform/data/sys/time.h-data: Likewise.
50066 * conform/data/sys/timeb.h-data: Likewise.
50067 * conform/data/sys/times.h-data: Likewise.
50068 * conform/data/sys/types.h-data: Likewise.
50069 * conform/data/sys/uio.h-data: Likewise.
50070 * conform/data/sys/un.h-data: Likewise.
50071 * conform/data/sys/utsname.h-data: Likewise.
50072 * conform/data/sys/wait.h-data: Likewise.
50073 * conform/data/syslog.h-data: Likewise.
50074 * conform/data/tar.h-data: Likewise.
50075 * conform/data/termios.h-data: Likewise.
50076 * conform/data/utime.h-data: Likewise.
50077 * conform/data/utmpx.h-data: Likewise.
50078 * conform/data/varargs.h-data: Likewise.
50079 * conform/data/wchar.h-data: Likewise.
50080 * conform/data/wctype.h-data: Likewise.
50081 * conform/data/wordexp.h-data: Likewise.
50083 * include/stropts.h: New file.
50084 * include/uchar.h: New file.
50085 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50086 * include/assert.h: Likewise.
50087 * include/ctype.h: Likewise.
50088 * include/dirent.h: Likewise.
50089 * include/dlfcn.h: Likewise.
50090 * include/fcntl.h: Likewise.
50091 * include/fnmatch.h: Likewise.
50092 * include/glob.h: Likewise.
50093 * include/grp.h: Likewise.
50094 * include/libio.h: Likewise.
50095 * include/locale.h: Likewise.
50096 * include/math.h: Likewise.
50097 * include/net/if.h: Likewise.
50098 * include/netdb.h: Likewise.
50099 * include/netinet/in.h: Likewise.
50100 * include/pthread.h: Likewise.
50101 * include/pwd.h: Likewise.
50102 * include/regex.h: Likewise.
50103 * include/sched.h: Likewise.
50104 * include/search.h: Likewise.
50105 * include/setjmp.h: Likewise.
50106 * include/signal.h: Likewise.
50107 * include/stdio.h: Likewise.
50108 * include/stdlib.h: Likewise.
50109 * include/string.h: Likewise.
50110 * include/sys/cdefs.h: Likewise.
50111 * include/sys/mman.h: Likewise.
50112 * include/sys/msg.h: Likewise.
50113 * include/sys/resource.h: Likewise.
50114 * include/sys/select.h: Likewise.
50115 * include/sys/socket.h: Likewise.
50116 * include/sys/stat.h: Likewise.
50117 * include/sys/statvfs.h: Likewise.
50118 * include/sys/time.h: Likewise.
50119 * include/sys/times.h: Likewise.
50120 * include/sys/uio.h: Likewise.
50121 * include/sys/utsname.h: Likewise.
50122 * include/sys/wait.h: Likewise.
50123 * include/termios.h: Likewise.
50124 * include/time.h: Likewise.
50125 * include/ulimit.h: Likewise.
50126 * include/unistd.h: Likewise.
50127 * include/utime.h: Likewise.
50128 * include/wchar.h: Likewise.
50129 * include/wctype.h: Likewise.
50130 * include/wordexp.h: Likewise.
50132 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50134 * time/time.h: TIME_UTC must be a macro.
50135 Make timespec_get available for ISO C11 only as well.
50137 2012-02-24 Ulrich Drepper <drepper@gmail.com>
50139 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50140 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50142 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50144 * configure.in: Use -o not -a in test for unsupported multi-arch.
50146 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50148 * manual/texinfo.tex: Update to version 2012-01-19.16.
50150 2012-02-24 Joseph Myers <joseph@codesourcery.com>
50152 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50154 2012-02-24 Roland McGrath <roland@hack.frob.com>
50157 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50158 * manual/fdl-1.3.texi: New file.
50159 * manual/fdl-1.1.texi: File removed.
50162 * manual/libc.texinfo (FDL_VERSION): New @set.
50163 Use it for mention of FDL in cover text.
50164 (Documentation License): Use it in @include file name.
50166 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50167 Roland McGrath <roland@hack.frob.com>
50170 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50171 (not LONG_LONG_MAX and LONG_LONG_MIN.
50172 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50173 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50175 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50177 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50181 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50182 manipulate bits before adding and subtracting TWO23[sx].
50183 * math/libm-test.inc (nearbyint_test): Add more tests.
50185 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50188 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50189 bits before adding and subtracting TWO23[sx].
50190 * math/libm-test.inc (rint_test): Add more tests.
50191 (rint_test_tonearest): Likewise.
50192 (rint_test_towardzero): Likewise.
50193 (rint_test_downward): Likewise.
50194 (rint_test_upward: Likewise.
50196 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50199 * include/stdc-predef.h: New file. Extracted from features.h.
50200 * include/features.h: Include stdc-predef.h.
50201 * Makefile (headers): Add stdc-predef.h.
50202 * CONFORMANCE (Compiler limitations): Update.
50204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
50206 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50208 2012-02-21 David S. Miller <davem@davemloft.net>
50210 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50211 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50213 2012-02-20 David S. Miller <davem@davemloft.net>
50215 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50216 using a normal save/restore sequence, rather than allocating a
50217 dummy stack frame just to store a frame pointer and restore.
50218 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50220 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50222 * manual/install.texi: Fix stray word in line-wrapped comment.
50224 2012-02-20 David S. Miller <davem@davemloft.net>
50226 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50227 both binutils and gcc support GOTDATA.
50229 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50230 "rd %pc" in the PIC register setup sequences.
50232 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50233 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50234 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50235 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50236 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50239 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50241 (SYSCALL_ERROR_HANDLER): Likewise.
50242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50245 (SYSCALL_ERROR_HANDLER): Likewise.
50247 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50248 (HAVE_GCC_GOTDATA): New.
50249 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50250 relocation support in both binutils and gcc.
50251 * sysdeps/sparc/elf/configure: Regenerate.
50253 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50254 * sysdeps/sparc/sparc32/elf/configure: Delete.
50255 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50256 * sysdeps/sparc/sparc64/elf/configure: Delete.
50257 * sysdeps/sparc/elf/configure.in: New file.
50258 * sysdeps/sparc/elf/configure: Generate.
50260 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50261 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50262 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50263 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50264 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50266 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50268 * manual/install.texi: Do not mention specific glibc version
50270 * manual/libc.texinfo (VERSION, UPDATED): Update.
50271 (@copying): Use @copyright{} and range of years.
50273 2012-02-21 Joseph Myers <joseph@codesourcery.com>
50276 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50277 [crti.S not in sysdirs] (generated): Do not append.
50278 [crti.S not in sysdirs] (omit-deps): Likewise.
50279 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50280 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50281 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50282 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50283 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50285 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50286 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50287 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50288 * csu/defs.awk: Remove file.
50289 * sysdeps/generic/initfini.c: Likewise.
50290 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50292 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50295 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50297 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50298 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50299 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50300 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50301 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50302 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50304 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50305 (__EPOLL_PACKED): Define to empty if not defined by
50307 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50311 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50313 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50314 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50315 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50316 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50318 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50322 2012-02-20 Joseph Myers <joseph@codesourcery.com>
50324 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50326 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50327 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50331 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50333 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50334 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50336 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50338 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50339 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50341 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50343 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50346 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50348 * math/w_acos.c: Use non-signaling floating-point comparisons.
50349 * math/w_acosf.c: Likewise.
50350 * math/w_acosh.c: Likewise.
50351 * math/w_acoshf.c: Likewise.
50352 * math/w_acoshl.c: Likewise.
50353 * math/w_acosl.c: Likewise.
50354 * math/w_asin.c: Likewise.
50355 * math/w_asinf.c: Likewise.
50356 * math/w_asinl.c: Likewise.
50357 * math/w_atanh.c: Likewise.
50358 * math/w_atanhf.c: Likewise.
50359 * math/w_atanhl.c: Likewise.
50360 * math/w_exp2.c: Likewise.
50361 * math/w_exp2f.c: Likewise.
50362 * math/w_exp2l.c: Likewise.
50363 * math/w_j0.c: Likewise.
50364 * math/w_j0f.c: Likewise.
50365 * math/w_j0l.c: Likewise.
50366 * math/w_j1.c: Likewise.
50367 * math/w_j1f.c: Likewise.
50368 * math/w_j1l.c: Likewise.
50369 * math/w_jn.c: Likewise.
50370 * math/w_jnf.c: Likewise.
50371 * math/w_log.c: Likewise.
50372 * math/w_log10.c: Likewise.
50373 * math/w_log10f.c: Likewise.
50374 * math/w_log10l.c: Likewise.
50375 * math/w_log2.c: Likewise.
50376 * math/w_log2f.c: Likewise.
50377 * math/w_log2l.c: Likewise.
50378 * math/w_logf.c: Likewise.
50379 * math/w_logl.c: Likewise.
50380 * math/w_sqrt.c: Likewise.
50381 * math/w_sqrtf.c: Likewise.
50382 * math/w_sqrtl.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50385 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50386 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50387 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50389 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50392 * manual/string.texi (strnlen): Use correct parameter name in
50393 equivalent expression.
50395 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50398 * manual/users.texi (seteuid): Consistently use neweuid for
50401 2012-02-19 Joseph Myers <joseph@codesourcery.com>
50404 * manual/nss.texi (Services in the NSS configuration): Correct
50405 list of services in example configuration file.
50407 2012-02-19 Nick Bowler <nbowler@draconx.ca>
50410 * manual/arith.texi: Remove statements about negative zero
50411 behaving identically to zero.
50413 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50416 * manual/install.texi: Do not document upgrading from libc5.
50418 2012-02-18 Joseph Myers <joseph@codesourcery.com>
50421 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50423 2012-02-18 David S. Miller <davem@davemloft.net>
50425 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50426 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50427 %o7 across the call.
50428 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50430 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50431 SETUP_PIC_REG_LEAF.
50432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50433 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50434 * sysdeps/sparc/crtn.S: Likewise.
50436 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50438 * aout/Makefile: Remove.
50440 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50443 * manual/examples/argp-ex1.c (main): Format definition in GNU
50445 * manual/examples/argp-ex2.c (main): Likewise.
50446 * manual/examples/argp-ex3.c (main): Likewise.
50447 * manual/examples/argp-ex4.c (main): Likewise.
50448 * manual/examples/longopt.c (main): Use new-style prototype
50450 * manual/examples/strncat.c (main): Specify return type and use
50451 (void) for arguments.
50452 * manual/examples/subopt.c (main): Use char **argv argument.
50454 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50457 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50460 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50463 * manual/string.texi (strchr): Change when strchrnul is
50466 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50469 * manual/locale.texi (setlocale): Document LOCPATH.
50471 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50474 * manual/process.texi (execle): Move @dots{} before last argument.
50476 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50479 * manual/charset.texi (Generic Charset Conversion): Fix typo
50480 (LC_TYPE -> LC_CTYPE).
50482 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50485 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50486 (scalbnf): Likewise.
50487 (scalbnl): Likewise.
50488 (scalbln): Likewise.
50489 (scalblnf): Likewise.
50490 (scalblnl): Likewise.
50491 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50492 (vwarnx): Likewise.
50495 * manual/filesys.texi (telldir): Use braces around return type.
50496 * manual/llio.texi (mmap): Add space after comma.
50497 (mmap64): Likewise.
50498 * manual/math.texi (jn): Use @var{} on parameter names.
50504 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50506 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50508 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50509 (sched_get_priority_max): Likewise.
50510 * manual/signal.texi (sigvec): Add space after comma.
50511 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50513 (if_indextoname): Likewise.
50514 (if_freenameindex): Likewise.
50515 (sendto): Use ',' instead of '.' in prototype.
50516 * manual/startup.texi (syscall): Use @dots{} instead of literal
50518 * manual/stdio.texi (__fpending): Separate initial words of
50519 paragraph from @deftypefun line.
50520 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50522 (vsyslog): Use @var{} on parameter names.
50523 * manual/terminal.texi (stty): Use @var{} on parameter names.
50524 * manual/users.texi (getutmp): Use @var{} on parameter names.
50525 (getutmpx): Likewise.
50527 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50530 * manual/stdio.texi (fopen): Fix typos in description of
50533 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50536 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50537 get clock_id definition.
50539 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50542 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50543 (madvise): Cast every argument to void on its own.
50545 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50548 * manual/startup.texi (Exit Status): Fix typo.
50550 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50553 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50554 * manual/examples/argp-ex2.c: Likewise.
50555 * manual/examples/argp-ex3.c: Likewise.
50557 2012-02-16 Richard Henderson <rth@redhat.com>
50559 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50560 * sysdeps/s390/s390-32/initfini.c: Remove.
50561 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50562 * sysdeps/s390/s390-64/initfini.c: Remove.
50564 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50566 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50567 compiler output for sysdeps/generic/initfini.c.
50568 * sysdeps/sh/elf/initfini.c: Remove file.
50570 2012-02-16 David S. Miller <davem@davemloft.net>
50573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50575 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50576 * sysdeps/sparc/crti.S: New file.
50577 * sysdeps/sparc/crtn.S: New file.
50578 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50579 * sysdeps/sparc/sparc64/Makefile: Likewise.
50581 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50584 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50586 2012-02-15 Roland McGrath <roland@hack.frob.com>
50589 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50591 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50592 (write, read, close): Likewise.
50593 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50595 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50597 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50598 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50599 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50600 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50602 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50606 2012-02-14 Marek Polacek <polacek@redhat.com>
50608 * sysdeps/x86_64/crti.S: New file.
50609 * sysdeps/x86_64/crtn.S: New file.
50610 * sysdeps/x86_64/elf/initfini.c: Remove file.
50612 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50614 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50615 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50616 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50617 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50619 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50623 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50625 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50626 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50627 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50628 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50630 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50634 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50636 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50637 __feraiseexcept instead of feraiseexcept.
50639 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50640 nanosleep invocations.
50641 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50642 strings, and add error checking for a nanosleep invocations.
50644 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50646 Replace FSF snail mail address with URLs, as per GNU coding standards.
50647 Most of the snail mail addresses were wrong anyway, and omitting
50648 them makes the source code easier to maintain. Almost all of the
50649 changes are to license notices and to locale LC_IDENTIFICATION
50650 addresses, except for this one:
50651 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50652 not its snail mail address.
50654 2012-02-09 Richard Henderson <rth@twiddle.net>
50656 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50657 of kernel-features.h.
50659 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50661 2012-02-08 Marek Polacek <polacek@redhat.com>
50663 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50664 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50665 * sysdeps/gnu/_G_config.h: Likewise.
50666 * sysdeps/generic/_G_config.h: Likewise.
50668 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50670 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50674 * sysdeps/powerpc/powerpc32/crti.S: New file.
50675 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50676 * sysdeps/powerpc/powerpc64/crti.S: New file.
50677 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50679 * Makeconfig (have-initfini): Don't set.
50680 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50681 * configure.in (nopic_initfini): Don't substitute.
50682 * config.h.in (HAVE_INITFINI): Don't #undef.
50683 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50684 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50686 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50688 Support crti.S and crtn.S provided directly by architectures.
50689 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50690 [crti.S in sysdirs] (omit-deps): Likewise.
50691 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50692 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50693 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50694 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50695 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50696 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50697 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50698 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50699 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50700 compiler output for sysdeps/generic/initfini.c.
50701 * sysdeps/i386/elf/Makefile: Remove file.
50702 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50704 2012-02-07 Marek Polacek <polacek@redhat.com>
50706 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50707 * sysdeps/gnu/_G_config.h: Likewise.
50708 * sysdeps/mach/hurd/_G_config.h: Likewise.
50710 2012-02-07 Marek Polacek <polacek@redhat.com>
50712 * math/Makefile (tests): Add tst-CMPLX2.
50713 * math/tst-CMPLX2.c: New file.
50715 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50719 * math/libm-test.inc (jn_test): Add missing L suffix.
50721 2012-02-06 Marek Polacek <polacek@redhat.com>
50723 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50724 * sysdeps/i386/fpu/e_powf.S: Likewise.
50725 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50726 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50727 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50728 * sysdeps/i386/fpu/e_pow.S: Likewise.
50729 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50730 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50731 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50732 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50733 * sysdeps/i386/fpu/e_log2.S: Likewise.
50734 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50735 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50736 * sysdeps/i386/fpu/e_powl.S: Likewise.
50737 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50739 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50740 * sysdeps/i386/fpu/e_logl.S: Likewise.
50741 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50742 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50743 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50744 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50745 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50746 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50747 * sysdeps/i386/fpu/e_log.S: Likewise.
50748 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50750 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50751 * sysdeps/i386/fpu/e_logf.S: Likewise.
50752 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50753 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50754 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50755 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50756 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50757 * sysdeps/i386/fpu/e_log10.S: Likewise.
50758 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50759 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50760 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50761 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50762 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50763 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50764 * sysdeps/i386/asm-syntax.h: Likewise.
50765 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50766 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50767 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50768 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50769 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50770 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50771 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50772 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50773 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50774 * sysdeps/powerpc/sysdep.h: Likewise.
50775 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50776 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50778 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50781 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50783 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50785 * sysdeps/i386/sysdep.h: Include <features.h>.
50786 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50789 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50791 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50793 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50796 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50798 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50799 (SETUP_PIC_REG): Use GET_PC_THUNK.
50800 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50803 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50805 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50806 for non-PIC compilation.
50807 (SETUP_PIC_REG): Add .p2align directive.
50808 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50809 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50810 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50811 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50812 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50813 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50814 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50815 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50816 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50817 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50818 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50819 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50820 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50821 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50822 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50823 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50824 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50825 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50826 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50827 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50828 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50829 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50830 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50831 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50834 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50836 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50837 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50838 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50840 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50841 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50842 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50843 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50844 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50845 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50846 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50847 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50848 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50850 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50852 * math/tst-CMPLX.c: Include <stdio.h>.
50854 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50856 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50858 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50859 * sysdeps/sparc/bits/mathdef.h: Likewise.
50861 2012-01-31 Marek Polacek <polacek@redhat.com>
50863 * libio/libio.h: Don't define _PARAMS.
50864 * locale/programs/config.h: Don't define PARAMS.
50865 * stdlib/strtol_l.c: Likewise.
50866 (__strtol_l): Remove PARAMS from the prototype.
50868 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50870 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50871 names. Just use the correct names. Remove unnecessary wrapper
50873 * malloc/arena.c: Likewise.
50874 * malloc/hooks.c: Likewise.
50876 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50877 ARENA_TEST says not to. Simplify test for creation of a new arena.
50878 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50880 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50882 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50884 (update_get_addr): New function.
50885 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50886 GET_ADDR_MODULE parameter.
50888 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50890 * crypt/cert.c: Remove __STDC__ conditionals.
50891 * crypt/crypt-entry.c: Likewise.
50892 * crypt/crypt_util.c: Likewise.
50893 * libio/filedoalloc.c: Likewise.
50894 * libio/fileops.c: Likewise.
50895 * libio/genops.c: Likewise.
50896 * libio/iofclose.c: Likewise.
50897 * libio/iofdopen.c: Likewise.
50898 * libio/iofopen.c: Likewise.
50899 * libio/iofopen64.c: Likewise.
50900 * libio/iogetdelim.c: Likewise.
50901 * libio/iopopen.c: Likewise.
50902 * libio/obprintf.c: Likewise.
50903 * libio/oldfileops.c: Likewise.
50904 * libio/oldiofclose.c: Likewise.
50905 * libio/oldiofdopen.c: Likewise.
50906 * libio/oldiofopen.c: Likewise.
50907 * libio/oldiopopen.c: Likewise.
50908 * libio/wfiledoalloc.c: Likewise.
50909 * libio/wgenops.c: Likewise.
50910 * locale/programs/xmalloc.c: Likewise.
50911 * misc/syslog.c: Likewise.
50912 * stdio-common/xbug.c: Likewise.
50913 * string/memchr.c: Likewise.
50914 * string/memcmp.c: Likewise.
50915 * string/memrchr.c: Likewise.
50916 * string/rawmemchr.c: Likewise.
50917 * sysdeps/posix/getcwd.c: Likewise.
50918 * time/strftime_l.c: Likewise.
50920 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50922 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50923 * config.make.in (config-cflags-sse2avx): Define.
50924 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50927 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50929 * scripts/config.guess: Update from upstream config git repository.
50930 * scripts/config.sub: Likewise.
50932 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50934 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50936 (R_TILEPRO_*, R_TILEGX_*): New macros.
50938 * scripts/firstversions.awk: Fix bug in version range handling.
50940 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50942 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50944 * include/sys/epoll.h: New file.
50945 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50948 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50950 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50951 Avoid unnecessary __WORDSIZE == 64 test.
50952 (fmaxf): Use VEX format if possible.
50957 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50958 * math/math_private.h: Remove libc_fegetround* and
50960 * sysdeps/i386/configure.in: Check for -msse2avx.
50961 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50962 also if SSE2AVX is defined.
50963 Remove libc_fegetround* and libc_fesetround*.
50964 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50965 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50968 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50969 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50970 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50971 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50972 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50974 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50976 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50978 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50980 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50982 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50985 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50987 * Makeconfig (libm): Define.
50988 * elf/Makefile: Add rules to build and run tst-relsort1.
50989 * elf/tst-relsort1.c: New file.
50990 * elf/tst-relsort1mod1.c: New file.
50991 * elf/tst-relsort1mod2.c: New file.
50993 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50995 * math/s_ldexp.c: Remove __STDC__ conditionals.
50996 * math/s_ldexpf.c: Likewise.
50997 * math/s_ldexpl.c: Likewise.
50998 * math/s_nextafter.c: Likewise.
50999 * math/s_nexttowardf.c: Likewise.
51000 * math/s_significand.c: Likewise.
51001 * math/s_significandf.c: Likewise.
51002 * math/s_significandl.c: Likewise.
51003 * math/w_jnl.c: Likewise.
51004 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51005 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51006 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51007 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51008 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51010 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51011 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51012 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51016 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51017 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51018 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51020 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51021 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51023 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51024 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51025 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51026 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51027 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51028 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51029 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51030 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51031 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51032 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51033 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51034 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51035 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51036 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51037 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51038 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51039 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51040 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51041 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51042 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51043 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51044 * sysdeps/ieee754/k_standard.c: Likewise.
51045 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51046 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51048 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51049 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51050 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51051 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51052 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51053 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51054 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51055 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51056 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51057 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51058 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51059 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51061 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51062 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51063 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51064 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51065 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51066 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51067 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51068 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51069 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51070 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51073 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51074 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51075 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51076 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51077 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51078 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51079 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51080 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51081 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51082 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51083 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51084 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51085 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51088 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51089 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51090 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51091 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51092 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51093 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51094 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51095 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51101 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51103 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51104 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51105 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51106 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51107 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51108 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51109 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51110 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51111 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51112 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51113 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51114 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51115 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51116 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51117 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51118 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51119 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51120 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51121 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51122 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51123 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51124 * sysdeps/ieee754/s_matherr.c: Likewise.
51125 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51126 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51130 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51132 * crypt/md5.h: Remove __STDC__ conditionals.
51133 * libio/libioP.h: Likewise.
51134 * locale/programs/config.h: Likewise.
51135 * sysdeps/generic/sysdep.h: Likewise.
51136 * sysdeps/i386/asm-syntax.h: Likewise.
51137 * sysdeps/s390/asm-syntax.h: Likewise.
51138 * sysdeps/unix/sysdep.h: Likewise.
51139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51142 2012-01-26 Joseph Myers <joseph@codesourcery.com>
51144 * libio/libio.h: Remove __STDC__ conditionals.
51145 * malloc/obstack.h: Likewise.
51146 * math/complex.h: Likewise.
51147 * math/math.h: Likewise.
51148 * sysdeps/generic/_G_config.h: Likewise.
51149 * sysdeps/gnu/_G_config.h: Likewise.
51150 * sysdeps/mach/hurd/_G_config.h: Likewise.
51151 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51152 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51153 * sysdeps/sparc/bits/mathdef.h: Likewise.
51155 2012-01-26 Ulrich Drepper <drepper@gmail.com>
51158 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51159 Clean up HAS_* macros.
51160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51161 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51163 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51165 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51166 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51167 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51169 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51171 2012-01-25 Joseph Myers <joseph@codesourcery.com>
51173 * elf/tst-unique3.cc (gets): Remove declaration.
51174 * elf/tst-unique3lib.cc (gets): Likewise.
51175 * elf/tst-unique3lib2.cc (gets): Likewise.
51176 * elf/tst-unique4.cc (gets): Likewise.
51178 2012-01-24 Ulrich Drepper <drepper@gmail.com>
51180 * include/stdio.h: Add C++ protection. Add gets declarations and
51182 * debug/tst-chk1.c: Don't declare gets here.
51183 * stdio-common/tst-gets.c: Likewise.
51185 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51187 * posix/glob: Remove directory.
51189 2012-01-24 Joseph Myers <joseph@codesourcery.com>
51191 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51193 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51195 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51196 of the non-standard EPFNOSUPPORT.
51198 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51200 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51201 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51202 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51204 2012-01-21 Ulrich Drepper <drepper@gmail.com>
51206 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51208 2012-01-20 Ulrich Drepper <drepper@gmail.com>
51210 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51212 * nscd/grpcache.c (cache_addgr): Likewise.
51213 * nscd/hstcache.c (cache_addhst): Likewise.
51214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51215 * nscd/pwdcache.c (cache_addpw): Likewise.
51216 * nscd/servicescache.c (cache_addserv): Likewise.
51218 2012-01-16 Ulrich Drepper <drepper@gmail.com>
51220 * malloc/malloc.c: Various cleanups.
51221 * malloc/hooks.c: Likewise.
51223 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51224 * stdlib/bug-fmtmsg1.c: New file.
51226 * stdlib/fmtmsg.c (init): Add missing unlock.
51227 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51229 2012-01-12 Marek Polacek <polacek@redhat.com>
51231 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51234 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51236 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51237 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51238 macro to ensure uniqueness of label name.
51239 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51240 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51242 2012-01-11 Ulrich Drepper <drepper@gmail.com>
51244 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51246 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51247 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51248 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51251 2012-01-10 Ulrich Drepper <drepper@gmail.com>
51253 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51255 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51256 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51257 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51259 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51261 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51262 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51263 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51264 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51266 * math/bits/math-finite.h: Add ldexp support.
51268 2012-01-10 Marek Polacek <polacek@redhat.com>
51270 * locale/programs/localedef.h (show_archive_content): Add noreturn
51273 2012-01-09 Ulrich Drepper <drepper@gmail.com>
51275 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51277 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51279 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51281 * io/Makefile (headers): Add bits/poll2.h.
51283 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51286 typo #include statement.
51288 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51290 * include/sys/cdefs.h: Define __attribute_alloc_size.
51291 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51292 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51293 * elf/pldd.c: Likewise.
51294 * iconv/iconv_charmap.c: Likewise.
51295 * iconv/iconvconfig.c: Likewise.
51296 * iconv/strtab.c: Likewise.
51297 * locale/programs/locale.c: Likewise.
51298 * locale/programs/localedef.h: Likewise.
51299 * locale/programs/simple-hash.c: Likewise.
51300 * nscd/nscd.h: Likewise.
51301 * nss/makedb.c: Likewise.
51302 * sysdeps/generic/ldconfig.h: Likewise.
51303 * locale/programs/localedef.c: Remove xmalloc prototype.
51304 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51306 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51308 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51311 2012-01-08 Ulrich Drepper <drepper@gmail.com>
51313 * math/Makefile (tests): Add tst-CMPLX.
51314 * math/tst-CMPLX.c: New file.
51316 * math/complex.h (CMPLXL): Fix typo.
51318 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51319 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51321 * debug/tst-chk1.c: Add poll and ppoll tests.
51322 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51323 * include/sys/poll.h: Add hidden proto for ppoll.
51324 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51325 * sysdeps/mach/hurd/ppoll.c: Likewise.
51326 * io/ppoll.c: Likewise.
51327 * debug/poll_chk.c: New file.
51328 * debug/ppoll_chk.c: New file.
51329 * include/bits/poll2.h: New file.
51330 * io/bits/poll2.h: New file.
51333 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51335 * configure.in: static is always set to yes. Remove.
51336 * config.make.in: Don't set build-static.
51337 * Makeconfig: Remove use of build-static.
51338 * dlfcn/Makefile: Likewise.
51339 * elf/Makefile: Likewise.
51340 * math/Makefile: Likewise.
51341 * misc/Makefile: Likewise.
51342 * nptl/Makefile: Likewise.
51343 * sysdeps/mach/hurd/Makefile: Likewise.
51345 * configure.in: PWD_P is not used anymore.
51346 * config.make.in: Remove PWD_P entry.
51348 * configure.in: Remove last remnants of RANLIB.
51349 No need to check for signed size_t anymore.
51350 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51352 Remove __builtin_expect test because we require at least gcc 3.4.
51353 * aclocal.m4: Likewise.
51355 * wcsmbs/mbrtoc16.c: Implement using towc function.
51356 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51357 * wcsmbs/wcsmbsload.c: Likewise.
51358 * iconv/gconv_simple.c: Likewise.
51359 * iconv/gconv_int.h: Likewise.
51360 * iconv/gconv_builtin.h: Likewise.
51361 * iconv/iconv_prog.c: Remove CHAR16 handling.
51363 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51365 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51367 * configure.in: Remove --with-elf and --enable-bounded options.
51368 Dont set base_machine for ia64. More non-ELF conditions removed.
51369 Remove testing and setting of leading underscore information.
51370 * config.make.in (build-bounded): Set to no.
51371 * config.h.in: Remove NO_UNDERSCORES entry.
51372 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51374 * csu/start.c: Remove !NO_UNDERSCORE code.
51375 * locale/localeinfo.h: Likewise.
51376 * sysdeps/generic/machine-gmon.h: Likewise.
51377 * sysdeps/generic/sysdep.h: Likewise.
51378 * sysdeps/i386/sysdep.h: Likewise.
51379 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51380 * sysdeps/mach/sysdep.h: Likewise.
51381 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51382 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51383 * sysdeps/sh/sysdep.h: Likewise.
51384 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51385 * sysdeps/unix/i386/sysdep.S: Likewise.
51386 * sysdeps/unix/sparc/start.c: Likewise.
51387 * sysdeps/unix/sparc/sysdep.S: Likewise.
51388 * sysdeps/unix/sparc/sysdep.h: Likewise.
51389 * sysdeps/unix/start.c: Likewise.
51390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51391 * sysdeps/x86_64/sysdep.h: Likewise.
51393 2012-01-07 Ulrich Drepper <drepper@gmail.com>
51396 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51398 * argp/argp-fmtstream.h: Use const instead __const.
51399 * argp/argp.h: Likewise.
51400 * assert/assert.h: Likewise.
51401 * bits/fenv.h: Likewise.
51402 * bits/sched.h: Likewise.
51403 * bits/sigset.h: Likewise.
51404 * bits/sigthread.h: Likewise.
51405 * catgets/nl_types.h: Likewise.
51406 * conform/data/pthread.h-data: Likewise.
51407 * crypt/crypt-private.h: Likewise.
51408 * crypt/crypt.h: Likewise.
51409 * crypt/crypt_util.c: Likewise.
51410 * ctype/ctype.h: Likewise.
51411 * debug/execinfo.h: Likewise.
51412 * debug/mbsnrtowcs_chk.c: Likewise.
51413 * debug/mbsrtowcs_chk.c: Likewise.
51414 * debug/wcsnrtombs_chk.c: Likewise.
51415 * debug/wcsrtombs_chk.c: Likewise.
51416 * debug/wcstombs_chk.c: Likewise.
51417 * dirent/dirent.h: Likewise.
51418 * dlfcn/dlfcn.h: Likewise.
51419 * elf/neededtest4.c: Likewise.
51420 * grp/grp.h: Likewise.
51421 * gshadow/gshadow.h: Likewise.
51422 * iconv/gconv.h: Likewise.
51423 * iconv/gconv_int.h: Likewise.
51424 * iconv/gconv_simple.c: Likewise.
51425 * iconv/iconv.h: Likewise.
51426 * iconv/loop.c: Likewise.
51427 * iconv/skeleton.c: Likewise.
51428 * include/aio.h: Likewise.
51429 * include/aliases.h: Likewise.
51430 * include/argz.h: Likewise.
51431 * include/arpa/inet.h: Likewise.
51432 * include/assert.h: Likewise.
51433 * include/dirent.h: Likewise.
51434 * include/dlfcn.h: Likewise.
51435 * include/execinfo.h: Likewise.
51436 * include/fcntl.h: Likewise.
51437 * include/fenv.h: Likewise.
51438 * include/glob.h: Likewise.
51439 * include/grp.h: Likewise.
51440 * include/libintl.h: Likewise.
51441 * include/mntent.h: Likewise.
51442 * include/netdb.h: Likewise.
51443 * include/pwd.h: Likewise.
51444 * include/rpc/netdb.h: Likewise.
51445 * include/sched.h: Likewise.
51446 * include/search.h: Likewise.
51447 * include/shadow.h: Likewise.
51448 * include/signal.h: Likewise.
51449 * include/stdio.h: Likewise.
51450 * include/stdlib.h: Likewise.
51451 * include/string.h: Likewise.
51452 * include/sys/socket.h: Likewise.
51453 * include/sys/stat.h: Likewise.
51454 * include/sys/statfs.h: Likewise.
51455 * include/sys/statvfs.h: Likewise.
51456 * include/sys/syslog.h: Likewise.
51457 * include/sys/time.h: Likewise.
51458 * include/sys/uio.h: Likewise.
51459 * include/time.h: Likewise.
51460 * include/unistd.h: Likewise.
51461 * include/utmp.h: Likewise.
51462 * include/wchar.h: Likewise.
51463 * include/wctype.h: Likewise.
51464 * inet/aliases.h: Likewise.
51465 * inet/arpa/inet.h: Likewise.
51466 * inet/netinet/ether.h: Likewise.
51467 * inet/netinet/in.h: Likewise.
51468 * intl/libintl.h: Likewise.
51469 * io/bits/fcntl2.h: Likewise.
51470 * io/fcntl.h: Likewise.
51471 * io/ftw.h: Likewise.
51472 * io/sys/poll.h: Likewise.
51473 * io/sys/stat.h: Likewise.
51474 * io/sys/statfs.h: Likewise.
51475 * io/sys/statvfs.h: Likewise.
51476 * io/utime.h: Likewise.
51477 * libio/bits/stdio.h: Likewise.
51478 * libio/bits/stdio2.h: Likewise.
51479 * libio/libio.h: Likewise.
51480 * libio/libioP.h: Likewise.
51481 * libio/stdio.h: Likewise.
51482 * locale/lc-ctype.c: Likewise.
51483 * locale/locale.h: Likewise.
51484 * login/utmp.h: Likewise.
51485 * malloc/arena.c: Likewise.
51486 * malloc/malloc.c: Likewise.
51487 * malloc/malloc.h: Likewise.
51488 * malloc/mcheck.c: Likewise.
51489 * malloc/mtrace.c: Likewise.
51490 * math/bits/mathcalls.h: Likewise.
51491 * math/fenv.h: Likewise.
51492 * math/math_private.h: Likewise.
51493 * misc/bits/error.h: Likewise.
51494 * misc/bits/syslog.h: Likewise.
51495 * misc/err.h: Likewise.
51496 * misc/error.h: Likewise.
51497 * misc/fstab.h: Likewise.
51498 * misc/mntent.h: Likewise.
51499 * misc/regexp.h: Likewise.
51500 * misc/search.h: Likewise.
51501 * misc/sgtty.h: Likewise.
51502 * misc/sys/mman.h: Likewise.
51503 * misc/sys/syslog.h: Likewise.
51504 * misc/sys/uio.h: Likewise.
51505 * misc/sys/xattr.h: Likewise.
51506 * misc/ttyent.h: Likewise.
51507 * nis/rpcsvc/ypclnt.h: Likewise.
51508 * nss/nss.h: Likewise.
51509 * posix/bits/unistd.h: Likewise.
51510 * posix/fnmatch.h: Likewise.
51511 * posix/glob.h: Likewise.
51512 * posix/sched.h: Likewise.
51513 * posix/spawn.h: Likewise.
51514 * posix/sys/wait.h: Likewise.
51515 * posix/unistd.h: Likewise.
51516 * posix/wordexp.h: Likewise.
51517 * pwd/pwd.h: Likewise.
51518 * resolv/netdb.h: Likewise.
51519 * resource/sys/resource.h: Likewise.
51520 * rt/aio.h: Likewise.
51521 * rt/bits/mqueue2.h: Likewise.
51522 * rt/mqueue.h: Likewise.
51523 * shadow/shadow.h: Likewise.
51524 * signal/signal.h: Likewise.
51525 * socket/send.c: Likewise.
51526 * socket/sendto.c: Likewise.
51527 * socket/sys/socket.h: Likewise.
51528 * stdio-common/printf.h: Likewise.
51529 * stdlib/bits/stdlib.h: Likewise.
51530 * stdlib/fmtmsg.h: Likewise.
51531 * stdlib/monetary.h: Likewise.
51532 * stdlib/stdlib.h: Likewise.
51533 * stdlib/ucontext.h: Likewise.
51534 * streams/stropts.h: Likewise.
51535 * string/argz.h: Likewise.
51536 * string/bits/string2.h: Likewise.
51537 * string/string.h: Likewise.
51538 * string/strings.h: Likewise.
51539 * sunrpc/rpc/auth.h: Likewise.
51540 * sunrpc/rpc/auth_des.h: Likewise.
51541 * sunrpc/rpc/clnt.h: Likewise.
51542 * sunrpc/rpc/netdb.h: Likewise.
51543 * sunrpc/rpc/pmap_clnt.h: Likewise.
51544 * sunrpc/rpc/xdr.h: Likewise.
51545 * sysdeps/generic/inttypes.h: Likewise.
51546 * sysdeps/generic/net/if.h: Likewise.
51547 * sysdeps/generic/sys/swap.h: Likewise.
51548 * sysdeps/gnu/net/if.h: Likewise.
51549 * sysdeps/gnu/utmpx.h: Likewise.
51550 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51551 * sysdeps/i386/i486/bits/string.h: Likewise.
51552 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51553 * sysdeps/s390/bits/string.h: Likewise.
51554 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51555 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51556 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51557 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51558 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51559 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51560 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51561 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51562 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51563 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51564 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51565 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51566 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51567 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51568 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51569 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51570 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51572 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51573 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51574 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51575 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51576 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51577 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51578 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51579 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51580 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51581 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51582 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51583 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51584 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51585 * sysvipc/sys/ipc.h: Likewise.
51586 * sysvipc/sys/msg.h: Likewise.
51587 * sysvipc/sys/sem.h: Likewise.
51588 * sysvipc/sys/shm.h: Likewise.
51589 * termios/termios.h: Likewise.
51590 * time/sys/time.h: Likewise.
51591 * time/time.h: Likewise.
51592 * wcsmbs/bits/wchar2.h: Likewise.
51593 * wcsmbs/uchar.h: Likewise.
51594 * wcsmbs/wchar.h: Likewise.
51595 * wctype/wctype.h: Likewise.
51598 * Makeconfig: Remove all but ELF support including AIX support.
51599 * Makerules: Likewise.
51600 * config.h.in: Likewise.
51601 * config.make.in: Likewise.
51602 * configure: Likewise.
51603 * configure.in: Likewise.
51604 * csu/Makefile: Likewise.
51605 * csu/version.c: Likewise.
51606 * debug/Makefile: Likewise.
51607 * dlfcn/Makefile: Likewise.
51608 * elf/Makefile: Likewise.
51609 * extra-lib.mk: Likewise.
51610 * iconv/Makefile: Likewise.
51611 * include/libc-symbols.h: Likewise.
51612 * include/shlib-compat.h: Likewise.
51613 * resolv/Makefile: Likewise.
51614 * resolv/res_libc.c: Likewise.
51615 * rt/Makefile: Likewise.
51616 * sysdeps/i386/asm-syntax.h: Likewise.
51617 * sysdeps/i386/sysdep.h: Likewise.
51618 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51619 * sysdeps/mach/sysdep.h: Likewise.
51620 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51621 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51622 * sysdeps/s390/asm-syntax.h: Likewise.
51623 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51625 * sysdeps/sh/sysdep.h: Likewise.
51626 * sysdeps/unix/sparc/sysdep.h: Likewise.
51627 * sysdeps/wordsize-32/divdi3.c: Likewise.
51628 * sysdeps/x86_64/sysdep.h: Likewise.
51630 * argp/Versions: Remove _argp_unlock_xxx.
51633 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51634 * abilist/libBrokenLocale.abilist: Likewise.
51635 * abilist/libanl.abilist: Likewise.
51636 * abilist/libc.abilist: Likewise.
51637 * abilist/libcrypt.abilist: Likewise.
51638 * abilist/libdl.abilist: Likewise.
51639 * abilist/libm.abilist: Likewise.
51640 * abilist/libnsl.abilist: Likewise.
51641 * abilist/libpthread.abilist: Likewise.
51642 * abilist/libresolv.abilist: Likewise.
51643 * abilist/librt.abilist: Likewise.
51644 * abilist/libthread_db.abilist: Likewise.
51645 * abilist/libutil.abilist: Likewise.
51646 * abilist/libnss_db.abilist: New file.
51648 * scripts/abilist.awk: Add support for indirect functions.
51650 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51652 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51654 * shlib-versions: Remove entries for ports architectures.
51656 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51658 * elf/stackguard-macros.h: Remove support for IA-64.
51659 * elf/tst-auditmod1.c: Likewise.
51660 * sysdeps/generic/ldsodefs.h: Likewise.
51662 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51663 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51667 * configure.in: Remove --enable-omitfp support.
51669 * config.make.in: Likewise.
51670 * Makeconfig: Likewise.
51671 * manual/install.texi: Likewise.
51673 In case anyone cares, the IA-64 architecture could move to ports.
51674 * sysdeps/ia64/*: Removed.
51675 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51676 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51679 * configure.in: Remove entries for unsupported architectures.
51682 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51683 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51685 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51686 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51687 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51688 fall back to using wcrtomb.
51689 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51690 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51692 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51693 * wcsmbs/tst-c16c32-1.c: New file.
51695 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51698 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51700 * elf/tst-unique3.cc: Add explicit declaration of gets.
51701 * elf/tst-unique3lib.cc: Likewise.
51702 * elf/tst-unique3lib2.cc: Likewise.
51703 * elf/tst-unique4.cc: Likewise.
51705 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51707 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51710 * assert/assert.h (static_assert): Don't define for C++.
51711 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51712 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51714 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51716 * iconv/loop.c (single loop): Fix assertion in storing of
51719 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51721 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51723 * posix/getconf.c: Update copyright year.
51724 * nss/getent.c: Likewise.
51725 * nss/makedb.c: Likewise.
51726 * iconv/iconvconfig.c: Likewise.
51727 * iconv/iconv_prog.c: Likewise.
51728 * elf/ldconfig.c: Likewise.
51729 * elf/pldd.c: Likewise.
51730 * elf/sotruss.ksh: Likewise.
51731 * catgets/gencat.c: Likewise.
51732 * csu/version.c: Likewise.
51733 * elf/ldd.bash.in: Likewise.
51734 * elf/sprof.c (print_version): Likewise.
51735 * locale/programs/locale.c: Likewise.
51736 * locale/programs/localedef.c: Likewise.
51737 * login/programs/pt_chown.c: Likewise.
51738 * nscd/nscd.c (print_version): Likewise.
51739 * debug/xtrace.sh: Likewise.
51740 * malloc/memusage.sh: Likewise.
51741 * malloc/mtrace.pl: Likewise.
51742 * debug/catchsegv.sh: Likewise.
51744 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51746 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51749 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51752 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51753 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51755 * iconv/gconv_int.h: Likewise.
51756 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51757 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51758 from libc for GLIBC_2.16.
51759 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51760 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51761 * wcsmbs/uchar.h: Really define mbstate_t.
51762 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51763 * wcsmbs/c16rtomb.c: New file.
51764 * wcsmbs/mbrtoc16.c: New file.
51765 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51766 for C/POSIX locale.
51767 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51768 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51770 * wcsmbs/wchar.h: Add missing __restrict.
51772 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51775 * time/Makefile (routines): Add timespec_get.
51776 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51777 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51778 timespec for ISO C11.
51779 * time/timespec_get.c: New file.
51780 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51781 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51784 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51785 * stdlib/stdlib.h: Declare aligned_alloc.
51786 * Versions.def: Add GLIBC_2.16 for libc.
51787 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51790 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51793 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51797 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51800 * assert/assert.h (static_assert): Define.
51802 * version.h: Update for 2.16 development version.
51805 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51808 * version.h (RELEASE): Bump for 2.15 release.
51809 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51811 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51812 Patch by Marek Polacek <mpolacek@redhat.com>.
51814 * bits/byteswap.h: Protect long long constants with __extension__.
51815 * sysdeps/i386/bits/byteswap.h: Likewise.
51816 * sysdeps/ia64/bits/byteswap.h: Likewise.
51817 * sysdeps/s390/bits/byteswap.h: Likewise.
51818 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51820 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51823 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51824 destination buffer.
51825 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51827 2011-12-23 Marek Polacek <polacek@redhat.com>
51829 * elf/dl-addr.c (determine_info): Add inline keyword.
51830 * elf/tst-auditmod4b.c (check_avx): Likewise.
51831 * elf/tst-auditmod6b.c (check_avx): Likewise.
51832 * elf/tst-auditmod6c.c (check_avx): Likewise.
51833 * elf/tst-auditmod7b.c (check_avx): Likewise.
51835 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51837 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51840 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51843 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51844 processing for last bytes.
51846 2011-08-06 Bruno Haible <bruno@clisp.org>
51849 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51850 U+0385, not to U+1FEE.
51853 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51854 entry for U+00A5 U+0301.
51856 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51859 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51860 buffer for the output is too small.
51862 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51866 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51867 SSE flags if possible.
51869 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51872 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51873 processing for last bytes.
51875 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51877 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51878 (syscall-list-default-options, syscall-list-default-condition)
51879 (syscall-list-includes): Define.
51880 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51881 list of ABIs and options and #if conditions for each ABI. Do not
51882 handle common syscalls between ABIs specially.
51883 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51885 (syscall-list-variants, syscall-list-32bit-options)
51886 (syscall-list-32bit-condition, syscall-list-64bit-options)
51887 (syscall-list-64bit-condition): Define.
51888 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51889 (syscall-list-variants, syscall-list-32bit-options)
51890 (syscall-list-32bit-condition, syscall-list-64bit-options)
51891 (syscall-list-64bit-condition): Define.
51892 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51894 (syscall-list-variants, syscall-list-32bit-options)
51895 (syscall-list-32bit-condition, syscall-list-64bit-options)
51896 (syscall-list-64bit-condition): Define.
51897 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51899 (syscall-list-variants, syscall-list-32bit-options)
51900 (syscall-list-32bit-condition, syscall-list-64bit-options)
51901 (syscall-list-64bit-condition): Define.
51903 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51905 * locale/iso-639.def: Add brx entry.
51908 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51909 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51911 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51912 __feraiseexcept_renamed.
51914 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51917 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51918 EPOLLET with unsigned values.
51919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51922 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51923 to large cancellation.
51924 * math/s_cacoshf.c: Likewise.
51925 * math/s_cacoshl.c: Likewise.
51927 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51931 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51932 * math/s_cacoshf.c: Likewise.
51933 * math/s_cacoshl.c: Likewise.
51935 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51938 * iconv/gconv.h: Define __GCONV_SWAP.
51939 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51940 * iconvdata/utf-16.c: Likewise.
51941 * iconvdata/utf-32.c: Likewise.
51943 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51946 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51947 numerator after shifting it by one limb.
51949 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51951 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51952 under [__USE_EXTERN_INLINES].
51954 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51957 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51959 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51961 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51962 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51964 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51965 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51966 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51967 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51968 for strncasecmp/strncasecmp_l compilation.
51969 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51970 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51972 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51975 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51978 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51981 * time/tzfile.c (__tzfile_read): Check values from file header.
51983 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51985 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51986 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51987 * powerpc/powerpc32/dl-start.S: Likewise.
51988 * powerpc/powerpc32/elf/start.S: Likewise.
51989 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51990 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51991 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51992 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51993 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51994 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51995 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51996 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51997 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51998 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51999 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52000 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52001 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52002 * powerpc/powerpc32/memset.S: Likewise.
52003 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52004 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52005 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52006 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52007 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52008 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52009 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52010 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52011 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52012 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52013 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52014 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52015 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52017 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52019 * math/libm-test.inc: Added more nearbyint tests.
52020 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52025 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52027 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52030 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52032 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52033 Add wcscpy-ssse3 wcscpy-c.
52034 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52035 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52036 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52037 * sysdeps/x86_64/wcschr.S: New file.
52038 * sysdeps/x86_64/wcsrchr.S: New file.
52039 * string/test-strcmp.c: Remove checking of wcscmp function for
52041 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52042 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52043 wcsrchr-sse2 wcsrchr-c.
52044 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52045 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52046 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52047 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52048 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52049 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52050 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52051 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52052 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52053 * wcsmbc/wcschr.c (WCSCHR): New macro.
52055 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52057 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52058 * wcsmbs/test-wcsrchr.c: New file.
52059 * string/test-strrchr.c: Add wcsrchr support.
52061 * wcsmbs/test-wcscpy.c: New file.
52062 * string/test-strcpy.c: Add wcscpy support.
52065 2011-12-10 Ulrich Drepper <drepper@gmail.com>
52067 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52070 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52073 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52075 2011-12-04 Ulrich Drepper <drepper@gmail.com>
52077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52078 Minor optimizations.
52080 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52081 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52082 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52084 2011-12-03 Ulrich Drepper <drepper@gmail.com>
52086 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52087 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52088 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52089 for gcc to avoid warnings.
52090 * inet/Makefile (tests): Add tst-checks.
52091 * inet/tst-checks.c: New file.
52093 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52096 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52099 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52100 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52102 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52104 2011-12-02 Ulrich Drepper <drepper@gmail.com>
52106 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52109 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52111 2011-11-29 Joseph Myers <joseph@codesourcery.com>
52113 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52114 conditional on GCC version.
52115 (__arch_compare_and_exchange_val_8_acq)
52116 (__arch_compare_and_exchange_val_16_acq)
52117 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52118 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52119 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52121 2011-12-02 Joseph Myers <joseph@codesourcery.com>
52123 * sysdeps/sh/backtrace.c: New file.
52125 2011-12-02 Andreas Schwab <schwab@redhat.com>
52127 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52130 2011-12-01 Andreas Schwab <schwab@redhat.com>
52132 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52133 falling back to utime.
52135 2011-11-30 Andreas Schwab <schwab@redhat.com>
52137 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52138 expectations for float.
52140 2011-11-29 Andreas Schwab <schwab@redhat.com>
52142 * locale/weight.h (findidx): Add parameter len.
52143 * locale/weightwc.h (findidx): Likewise.
52144 * posix/fnmatch_loop.c (FCT): Adjust caller.
52145 * posix/regcomp.c (build_equiv_class): Likewise.
52146 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52147 * posix/regexec.c (check_node_accept_bytes): Likewise.
52148 * string/strcoll_l.c (STRCOLL): Likewise.
52149 * string/strxfrm_l.c (STRXFRM): Likewise.
52151 2011-11-17 Ulrich Drepper <drepper@gmail.com>
52153 * Makefile.in: Remove CVSOPT handling.
52154 * configure.in: Remove use of AC_REVISION.
52155 * iconvdata/Makefile (distribute): No need to filter out CVS.
52156 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52159 2011-11-16 Andreas Schwab <schwab@redhat.com>
52161 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52162 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52163 [USE_AS_STRNCASECMP_L]: Likewise.
52164 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52165 NO_TLS_DIRECT_SEG_REFS.
52166 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52167 Fix argument offsets for non-PIC.
52168 [USE_AS_STRNCASECMP_L]: Likewise.
52169 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52170 NO_TLS_DIRECT_SEG_REFS.
52172 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52174 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52176 * locale/loadlocale.c (_nl_load_locale): Likewise.
52178 2011-11-15 Andreas Schwab <schwab@redhat.com>
52180 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52181 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52182 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52183 (SYSCALL_GETTIME): Set errno on error.
52185 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52186 count references to noai6ai_cached.
52188 2011-11-15 Ulrich Drepper <drepper@gmail.com>
52190 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52192 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52193 FD_CLOEXEC for /proc/self/maps.
52195 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52196 FD_CLOEXEC for /proc/meminfo.
52198 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52201 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52202 FD_CLOEXEC for given file.
52204 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52206 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52207 FD_CLOEXEC for /etc/hosts.
52208 (_gethtent): Likewise.
52210 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52212 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52213 cancellation and set FD_CLOEXEC for /etc/netgroup.
52215 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52216 reading /etc/publickey.
52218 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52219 allow cancellation when reading /etc/group.
52221 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52223 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52225 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52226 when using data file.
52228 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52230 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52231 (write_nis_obj): Use "c" and "e" in fopen.
52233 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52235 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52237 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52239 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52241 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52244 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52246 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52248 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52250 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52251 file parsing and set FD_CLOEXEC.
52253 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52255 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52257 2011-11-14 Andreas Schwab <schwab@redhat.com>
52259 * malloc/arena.c (arena_get2): Don't call reused_arena when
52260 _int_new_arena failed.
52262 2011-11-14 Ulrich Drepper <drepper@gmail.com>
52264 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52265 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52267 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52268 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52269 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52270 to compile strcasecmp and strncasecmp.
52271 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52272 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52276 2011-11-13 Ulrich Drepper <drepper@gmail.com>
52278 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52279 locale-defines.sym to gen-as-const-headers.
52280 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52281 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52282 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52283 to compile strcasecmp and strncasecmp.
52284 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52285 strcasecmp_l and strncasecmp_l.
52286 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52287 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52288 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52289 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52290 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52291 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52292 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52293 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52294 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52295 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52296 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52298 2011-11-12 Ulrich Drepper <drepper@gmail.com>
52300 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52301 result of SYSDEP_GETTIME_CPU to retval.
52302 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52303 parameter list to macro. Remove trailing semicolon. Adjust users.
52305 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52308 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52310 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52312 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52313 from unused variable.
52315 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52317 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52320 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52323 * sunrpc/rpc_prot.c (rejected): Fix case value.
52325 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52326 unsigned long long int to avoid warnings in shift.
52328 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52330 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52333 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52334 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52335 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52337 * nis/nis_table.c (nis_list): Use variable of correct type for
52338 result of __follow_path call.
52340 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52342 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52343 of math functions ceil, trunc, floor, round, and sqrt, when
52344 avaliable on the platform.
52345 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52347 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52348 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52349 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52351 2011-10-30 Marek Polacek <mpolacek@redhat.com>
52353 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52354 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52356 2011-11-11 Roland McGrath <roland@hack.frob.com>
52358 * include/unistd.h: Fix __readlink return type.
52359 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52361 2011-11-11 Ulrich Drepper <drepper@gmail.com>
52363 * stdlib/ucontext.h: Undo last change for makecontext.
52365 2011-11-11 Andreas Schwab <schwab@redhat.com>
52367 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52369 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52370 * setjmp/setjmp.h: Mark functions as non-leaf.
52371 * setjmp/bits/setjmp2.h: Likewise.
52372 * stdlib/ucontext.h: Likewise.
52374 2011-11-10 Andreas Schwab <schwab@redhat.com>
52376 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52377 (reused_arena): Don't check arena limit.
52378 (arena_get2): Atomically check arena limit.
52380 2011-11-08 Ulrich Drepper <drepper@gmail.com>
52382 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52383 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52388 2011-11-07 Andreas Schwab <schwab@redhat.com>
52390 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52391 handler when locking.
52393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52394 Fix size of allocated buffer.
52396 2011-11-04 Andreas Schwab <schwab@redhat.com>
52399 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52400 declarations for long double functions.
52401 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52403 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52405 2011-11-03 Andreas Schwab <schwab@redhat.com>
52407 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52410 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52413 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52415 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52417 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52419 * include/alloca.h (stackinfo_alloca_round): Define.
52420 (extend_alloca): Use it.
52421 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52422 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52425 * scripts/check-local-headers.sh: Ignore libaudit.h.
52427 * nscd/Makefile (extra-objs): Make recursively expanded.
52429 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52431 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52434 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52435 * posix/tst-rfc3484-2.c: Likewise.
52436 * posix/tst-rfc3484-3.c: Likewise.
52438 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52440 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52442 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52443 process_vm_writev from libc using GLIBC_2.15 version.
52445 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52447 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52449 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52452 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52455 * nss/getent.c (initgroups_keys): Show error message in case no group
52458 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52459 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52460 __bump_nl_timestamp.
52461 * nscd/connections (nscd_init): When host database is served open
52462 netlink socket and request notification about configuration changes.
52463 (main_loop_poll): Track netlink file descriptor and bump timestamp
52464 in case data becomes available.
52465 (main_loop_epoll): Likewise.
52466 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52467 (database_pers_head): Add extra_data fileds.
52468 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52469 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52470 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52472 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52473 in6ai data, call __free_in6ai.
52474 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52475 Add -DHAVE_NETLINK.
52476 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52477 interface information. Reuse previous data if netlink timestamp
52479 (__bump_nl_timestamp): New function.
52480 (__free_in6ai): New function.
52482 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52484 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52485 close_not_cancel_no_status here.
52486 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52488 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52491 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52494 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52495 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52496 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52498 2011-07-03 Andreas Jaeger <aj@suse.de>
52501 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52502 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52503 * math/libm-test.inc (sin_test): Add test case.
52505 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52508 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52509 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52511 * elf/chroot_canon.c (chroot_canon): Cleanups.
52513 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52516 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52517 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52519 * string/test-strchr.c: Make usable for strchrnul testing.
52520 * string/test-strchrnul.c: New file.
52521 * string/Makefile (strop-tests): Add strchrnul.
52523 * po/it.po: Update from translation team.
52524 * po/es.po: Likewise.
52526 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52528 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52529 the three constants needed as parameters. Drop the others.
52530 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52531 __m128i_strloadu_tolower.
52532 Create and initialize variable zero and use it in all the places
52533 where _mm_setzero_si128 was used.
52535 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52536 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52537 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52538 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52540 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52541 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52542 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52543 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52544 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52545 __mpranred, __mptan.
52546 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52547 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52548 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52549 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52550 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52551 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52553 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52554 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52556 2011-10-28 Andreas Schwab <schwab@redhat.com>
52558 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52559 redefine if SHARED.
52560 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52562 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52563 wide char related routines to wcsmbs subdir.
52565 2011-10-27 Andreas Schwab <schwab@redhat.com>
52568 * misc/sys/cdefs.h (__THROWNL): Define.
52569 * posix/unistd.h: Use __THREADNL instead of __THREAD
52570 for memory synchronization functions.
52572 2011-10-26 Roland McGrath <roland@hack.frob.com>
52575 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52577 * manual/stdio.texi (Obstack Streams): Node removed.
52579 2011-10-26 Andreas Schwab <schwab@redhat.com>
52581 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52582 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52583 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52585 * math/math_private.h (math_force_eval): Allow non-addressable
52587 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52589 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52591 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52592 file is not needed.
52594 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52595 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52596 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52597 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52599 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52600 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52601 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52603 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52604 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52605 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52606 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52608 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52609 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52610 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52611 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52612 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52613 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52614 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52615 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52616 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52617 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52618 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52619 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52620 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52621 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52623 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52624 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52627 place. Use VEX encoding when compiling for AVX.
52629 2011-10-25 Andreas Schwab <schwab@redhat.com>
52631 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52632 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52634 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52636 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52638 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52639 useless if() expression.
52640 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52642 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52643 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52644 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52645 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52646 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52647 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52648 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52649 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52650 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52651 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52652 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52653 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52654 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52655 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52656 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52657 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52658 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52660 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52662 2011-10-25 Andreas Schwab <schwab@redhat.com>
52664 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52668 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52670 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52671 .text section. Avoid duplicate constants.
52672 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52679 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52680 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52681 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52682 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52684 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52685 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52686 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52687 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52688 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52689 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52690 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52692 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52693 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52694 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52695 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52696 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52697 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52698 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52699 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52700 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52701 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52702 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52703 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52704 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52705 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52706 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52707 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52708 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52709 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52710 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52711 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52712 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52713 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52714 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52715 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52716 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52718 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52720 * sysdeps/x86_64/dla.h: Move to ...
52721 * sysdeps/x86_64/fpu/dla.h: ...here.
52722 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52723 situations. Use __builtin_fma only for gcc 4.6 and up.
52725 * config.make.in: Add have-mfma4 entry.
52726 * configure.in: Substitute libc_cv_cc_fma4.
52727 * math/Makefile (dbl-only-routines): Add sincostab.
52728 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52729 Use __sincostab not sincos.
52730 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52732 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52737 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52738 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52739 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52740 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52742 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52743 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52745 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52746 define aliases when function name is a macro.
52747 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52748 sysdeps/ieee754/dbl-64/sincos.tbl.
52749 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52750 fma4-enabled routines.
52751 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52752 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52753 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52754 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52756 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52758 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52759 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52760 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52761 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52762 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52763 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52764 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52765 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52766 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52767 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52768 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52769 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52770 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52771 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52772 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52773 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52774 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52775 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52776 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52778 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52779 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52780 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52782 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52786 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52789 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52790 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52793 2011-10-24 Andreas Schwab <schwab@redhat.com>
52795 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52797 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52799 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52801 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52803 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52805 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52806 Remove unused variable magic_bits.
52807 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52809 * string/strnlen.c: Define and use STRNLEN macro.
52810 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52811 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52813 * wcsmbs/wcslen.c: Define and use WCSLEN.
52814 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52815 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52816 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52817 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52818 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52819 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52820 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52822 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52825 strnlen-sse2-no-bsf.
52826 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52828 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52829 Add strnlen support.
52830 (USE_AS_STRNLEN): New macro.
52831 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52832 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52833 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52834 * sysdeps/x86_64/wcslen.S: New file.
52836 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52839 XMM-moves are used for copying on small sizes.
52841 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52843 * wcsmbs/Makefile (strop-tests): Add wcschr.
52844 * wcsmbs/test-wcschr.c: New file.
52845 * string/test-strchr.c: Update.
52846 Add wcschr support.
52849 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52851 * wcsmbs/Makefile (strop-tests): Add wcslen.
52852 * wcsmbs/test-wcslen.c: New file.
52853 * string/test-strlen.c: Update.
52854 Add wcslen support.
52857 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52859 * po/it.po: Update from translation team.
52861 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52863 * sysdeps/x86_64/wcscmp.S: Update.
52864 Fix wrong comparison semantics.
52865 wcscmp shall use signed comparison not unsigned.
52866 Don't use substraction to avoid overflow bug.
52867 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52868 * wcsmbc/wcscmp.c: Likewise.
52869 * string/test-strcmp.c: Likewise.
52870 Add new tests to check cases with negative values.
52872 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52874 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52875 * sysdeps/x86_64/dla.h: ...here. New file.
52876 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52879 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52880 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52881 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52886 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52889 __ynl_finite aliases.
52891 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52895 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52897 [DLA_FMA] (EMULV): Use DLA_FMA.
52898 [DLA_FMA] (MUL12): Use EMULV.
52899 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52900 that are not needed.
52901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52906 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52909 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52911 * math/s_nan.c: Undef __nan.
52912 * math/s_nanf.c: Undef __nanf.
52913 * math/s_nanl.c: Undef __nanl.
52914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52917 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52919 * math/s_catan.c: Add branch predictions.
52920 * math/s_catanf.c: Likewise.
52921 * math/s_catanh.c: Likewise.
52922 * math/s_catanhf.c: Likewise.
52923 * math/s_catanhl.c: Likewise.
52924 * math/s_catanl.c: Likewise.
52925 * math/s_cexp.c: Likewise.
52926 * math/s_cexpf.c: Likewise.
52927 * math/s_cexpl.c: Likewise.
52928 * math/s_clog.c: Likewise.
52929 * math/s_clog10.c: Likewise.
52930 * math/s_clog10f.c: Likewise.
52931 * math/s_clog10l.c: Likewise.
52932 * math/s_clogf.c: Likewise.
52933 * math/s_clogl.c: Likewise.
52934 * math/s_csqrt.c: Likewise.
52935 * math/s_csqrtf.c: Likewise.
52936 * math/s_csqrtl.c: Likewise.
52937 * math/s_ctanf.c: Likewise.
52938 * math/s_ctanh.c: Likewise.
52939 * math/s_ctanhf.c: Likewise.
52940 * math/s_ctanhl.c: Likewise.
52941 * math/s_ctanl.c: Likewise.
52943 * math/math_private.h: Define __nan, __nanf, __nanl.
52944 * math/s_cacosh.c: Include <math_private.h>.
52945 * math/s_cacoshl.c: Likewise.
52946 * math/s_casinh.c: Likewise.
52947 * math/s_casinhf.c: Likewise.
52948 * math/s_casinhl.c: Likewise.
52949 * math/s_ccos.c: Rely entire on ccosh.
52950 * math/s_ccosf.c: Rely entire on ccoshf.
52951 * math/s_ccosl.c: Rely entirely on ccoshl.
52952 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52953 Remove tests for FE_INVALID.
52954 * math/s_ccoshf.c: Likewise.
52955 * math/s_ccoshl.c: Likewise.
52956 * math/s_csin.c: Likewise.
52957 * math/s_csinf.c: Likewise.
52958 * math/s_csinh.c Likewise.
52959 * math/s_csinhf.c: Likewise.
52960 * math/s_csinhl.c: Likewise.
52961 * math/s_csinl.c: Likewise.
52962 * math/s_ctan.c: Likewise.
52963 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52964 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52967 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52970 compilation problems.
52972 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52975 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52977 * sysdeps/i386/configure.in: Test for -mfma4 option.
52978 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52979 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52980 COMMON_CPUID_INDEX_80000001.
52981 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52982 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52983 use it if FMA3 is not supported.
52984 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52986 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52987 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52989 2011-10-20 Andreas Schwab <schwab@redhat.com>
52992 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52993 it would create a cycle with a link time dependency.
52995 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52997 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52999 * string/Makefile (strop-tests): Add rawmemchr.
53000 * string/test-rawmemchr.c: New file.
53002 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53004 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53005 when compiling str{,n}casecmp and when AVX is available. Hook up
53006 new optimized code in initializers.
53008 2011-10-19 Andreas Schwab <schwab@redhat.com>
53010 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53011 __feraiseexcept instead of feraiseexcept.
53013 2011-10-18 Ulrich Drepper <drepper@gmail.com>
53015 * math/math_private.h: Define defaults for libc_fetestexcept and
53017 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53018 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53019 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53020 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53021 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53022 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53023 libc_fetestexcept and libc_feupdateenv.
53025 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53026 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53027 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53028 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53029 libc_feholdexcept_setround.
53031 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53032 Add s_nearbyint-c and s_nearbyintf-c.
53033 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53034 nearbyintf inlines.
53035 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53036 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53037 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53038 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53040 * math/math_private.h: Define defaults for libc_fegetround,
53041 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53042 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53043 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53044 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53045 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53046 standard functions.
53047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53048 Remove comments and hacks for old compiler versions.
53049 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53050 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53051 libc_feholdexceptl.
53053 2011-10-18 Andreas Schwab <schwab@redhat.com>
53055 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53056 (__feraiseexcept_renamed): Add __NTH.
53057 (feraiseexcept): Add __NTH. Rename local variables to fix
53058 namespace violations.
53060 2011-10-17 Ulrich Drepper <drepper@gmail.com>
53062 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53064 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53066 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53067 recently added interfaces.
53068 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53070 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53071 about macro parameter expansion.
53073 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53074 __NO_MATH_INLINES is defined. Cleanups.
53076 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53077 and __floorf is target has SSE4.1.
53078 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53079 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53080 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53081 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53083 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53085 (floorf): Likewise.
53087 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53089 2011-10-17 Andreas Schwab <schwab@redhat.com>
53091 * misc/sys/cdefs.h: Fix last change.
53093 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53096 2011-10-16 Ulrich Drepper <drepper@gmail.com>
53098 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53100 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53101 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53102 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53103 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53105 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53106 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53107 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53108 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53109 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53110 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53111 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53112 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53113 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53114 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53115 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53116 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53117 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53119 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53120 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53121 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53123 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53124 ceil, ceilf, floor, floorf.
53126 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53127 Perform IRELATIVE relocations last.
53129 * elf/do-rel.h: Add another parameter nrelative, replacing the
53130 local variable with the same name. Change name of the function
53131 to end in Rel or Rela (uppercase).
53132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53133 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53134 elf_dynamic_do_##reloc function.
53136 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53138 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53139 is sufficient, at least on modern CPUs.
53141 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53143 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53144 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53146 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53148 * math/bits/math-finite.h: Add entries for exp.
53149 * math/e_expl.c: Add __*_finite alias.
53150 * sysdeps/i386/fpu/e_exp.S: Likewise.
53151 * sysdeps/i386/fpu/e_expf.S: Likewise.
53152 * sysdeps/i386/fpu/e_expl.c: Likewise.
53153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53154 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53157 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53158 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53159 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53161 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53162 is sufficient, at least on modern CPUs.
53164 * ctype/ctype-info.c (__ctype_init): Define.
53165 * include/ctype.h (__ctype_init): Declare.
53166 (__ctype_b_loc): The variable is always initialized.
53167 (__ctype_toupper_loc): Likewise.
53168 (__ctype_tolower_loc): Likewise.
53169 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53170 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53172 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53174 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53176 * configure.in: Also look in $cxxmachine/include for C++ system
53179 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53181 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53182 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53183 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53184 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53185 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53186 (USE_AS_WMEMCMP): New macro.
53188 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53189 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53190 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53191 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53193 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53194 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53195 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53196 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53197 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53198 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53199 (USE_AS_WMEMCMP): New macro.
53200 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53201 * sysdeps/string/test-memcmp.c: Update.
53202 Fix simple_wmemcmp.
53204 * wcsmbs/wmemcmp.c: Update.
53205 (WMEMCMP): New macro.
53208 2011-10-12 Andreas Jaeger <aj@suse.de>
53211 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53213 2011-10-15 Ulrich Drepper <drepper@gmail.com>
53215 * libio/iofwide.c (do_length): Avoid warning.
53217 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53219 2011-10-14 Ulrich Drepper <drepper@gmail.com>
53221 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53223 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53224 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53225 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53226 * sysdeps/i386/i686/fpu/e_log.S: New file.
53227 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53228 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53230 * ctype/ctype.h: Add support for inlined isXXX functions when
53231 compiling C++ code.
53233 2011-10-14 Andreas Schwab <schwab@redhat.com>
53235 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53237 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53239 2011-10-13 Roland McGrath <roland@hack.frob.com>
53242 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53244 2011-10-13 Andreas Schwab <schwab@redhat.com>
53246 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53247 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53250 * sysdeps/x86_64/memrchr.S: Check for zero size.
53252 * string/stratcliff.c: Add memrchr tests.
53254 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53257 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53258 rawmemchr-sse2 rawmemchr-sse2-bsf.
53259 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53260 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53261 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53262 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53263 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53264 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53265 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53266 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53267 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53268 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53269 * string/memrchr.c (MEMRCHR): New macro.
53271 2011-10-12 Ulrich Drepper <drepper@gmail.com>
53273 Add integration with gcc's -ffinite-math-only and optimize wrapper
53275 * Versions.def: Define GLIBC_2.15 version for libm.
53276 * math/Makefile (headers): Add bits/math-finite.h.
53277 * math/bits/math-finite.h: New file.
53278 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53279 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53280 * math/e_acoshl.c: Add __*_finite alias.
53281 * math/e_acosl.c: Likewise.
53282 * math/e_asinl.c: Likewise.
53283 * math/e_atan2l.c: Likewise.
53284 * math/e_atanhl.c: Likewise.
53285 * math/e_coshl.c: Likewise.
53286 * math/e_exp10.c: Likewise.
53287 * math/e_exp10f.c: Likewise.
53288 * math/e_exp10l.c: Likewise.
53289 * math/e_exp2l.c: Likewise.
53290 * math/e_fmodl.c: Likewise.
53291 * math/e_gammal_r.c: Likewise.
53292 * math/e_hypotl.c: Likewise.
53293 * math/e_j0l.c: Likewise.
53294 * math/e_j1l.c: Likewise.
53295 * math/e_jnl.c: Likewise.
53296 * math/e_lgammal_r.c: Likewise.
53297 * math/e_log10l.c: Likewise.
53298 * math/e_log2l.c: Likewise.
53299 * math/e_logl.c: Likewise.
53300 * math/e_powl.c: Likewise.
53301 * math/e_sinhl.c: Likewise.
53302 * math/e_sqrtl.c: Likewise.
53303 * math/e_scalb.c: Completely rewritten and optimized.
53304 * math/e_scalbf.c: Likewise.
53305 * math/e_scalbl.c: Likewise.
53306 * math/w_acos.c: Likewise.
53307 * math/w_acosf.c: Likewise.
53308 * math/w_acosl.c: Likewise.
53309 * math/w_acosh.c: Likewise.
53310 * math/w_acoshf.c: Likewise.
53311 * math/w_acoshl.c: Likewise.
53312 * math/w_asin.c: Likewise.
53313 * math/w_asinf.c: Likewise.
53314 * math/w_asinl.c: Likewise.
53315 * math/w_atan2.c: Likewise.
53316 * math/w_atan2f.c: Likewise.
53317 * math/w_atan2l.c: Likewise.
53318 * math/w_atanh.c: Likewise.
53319 * math/w_atanhf.c: Likewise.
53320 * math/w_atanhl.c: Likewise.
53321 * math/w_exp10.c: Likewise.
53322 * math/w_exp10f.c: Likewise.
53323 * math/w_exp10l.c: Likewise.
53324 * math/w_fmod.c: Likewise.
53325 * math/w_fmodf.c: Likewise.
53326 * math/w_fmodl.c: Likewise.
53327 * math/w_j0.c: Likewise.
53328 * math/w_j0f.c: Likewise.
53329 * math/w_j0l.c: Likewise.
53330 * math/w_j1.c: Likewise.
53331 * math/w_j1f.c: Likewise.
53332 * math/w_j1l.c: Likewise.
53333 * math/w_jn.c: Likewise.
53334 * math/w_jnf.c: Likewise.
53335 * math/w_log.c: Likewise.
53336 * math/w_logf.c: Likewise.
53337 * math/w_logl.c: Likewise.
53338 * math/w_log10.c: Likewise.
53339 * math/w_log10f.c: Likewise.
53340 * math/w_log10l.c: Likewise.
53341 * math/w_log2.c: Likewise.
53342 * math/w_log2f.c: Likewise.
53343 * math/w_log2l.c: Likewise.
53344 * math/w_pow.c: Likewise.
53345 * math/w_powf.c: Likewise.
53346 * math/w_powl.c: Likewise.
53347 * math/w_remainder.c: Likewise.
53348 * math/w_remainderf.c: Likewise.
53349 * math/w_remainderl.c: Likewise.
53350 * math/w_scalb.c: Likewise.
53351 * math/w_scalbf.c: Likewise.
53352 * math/w_scalbl.c: Likewise.
53353 * math/w_sqrt.c: Likewise.
53354 * math/w_sqrtf.c: Likewise.
53355 * math/w_sqrtl.c: Likewise.
53356 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53357 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53359 * math/math_private.h: Declare __kernel_standard_f.
53360 * math/w_cosh.c: Remove cruft and optimize a bit.
53361 * math/w_coshf.c: Likewise.
53362 * math/w_coshl.c: Likewise.
53363 * math/w_exp2.c: Likewise.
53364 * math/w_exp2f.c: Likewise.
53365 * math/w_exp2l.c: Likewise.
53366 * math/w_hypot.c: Likewise.
53367 * math/w_hypotf.c: Likewise.
53368 * math/w_hypotl.c: Likewise.
53369 * math/w_lgamma.c: Likewise.
53370 * math/w_lgamma_r.c: Likewise.
53371 * math/w_lgammaf.c: Likewise.
53372 * math/w_lgammaf_r.c: Likewise.
53373 * math/w_lgammal.c: Likewise.
53374 * math/w_lgammal_r.c: Likewise.
53375 * math/w_sinh.c: Likewise.
53376 * math/w_sinhf.c: Likewise.
53377 * math/w_sinhl.c: Likewise.
53378 * math/w_tgamma.c: Likewise.
53379 * math/w_tgammaf.c: Likewise.
53380 * math/w_tgammal.c: Likewise.
53381 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53383 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53384 Minor optimizations. Pretty printing. Remove cruft.
53385 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53386 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53388 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53389 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53390 * sysdeps/i386/fpu/e_asin.S: Likewise.
53391 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53392 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53393 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53394 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53395 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53396 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53398 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53399 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53400 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53401 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53402 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53403 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53404 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53405 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53406 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53407 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53408 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53409 * sysdeps/i386/fpu/e_log.S: Likewise.
53410 * sysdeps/i386/fpu/e_log10.S: Likewise.
53411 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53413 * sysdeps/i386/fpu/e_log2.S: Likewise.
53414 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53415 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53416 * sysdeps/i386/fpu/e_logf.S: Likewise.
53417 * sysdeps/i386/fpu/e_logl.S: Likewise.
53418 * sysdeps/i386/fpu/e_pow.S: Likewise.
53419 * sysdeps/i386/fpu/e_powf.S: Likewise.
53420 * sysdeps/i386/fpu/e_powl.S: Likewise.
53421 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53422 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53423 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53424 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53426 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53427 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53428 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53429 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53430 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53431 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53433 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53434 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53435 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53436 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53437 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53438 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53439 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53440 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53441 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53443 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53444 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53446 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53447 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53448 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53450 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53451 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53452 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53453 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53454 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53455 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53456 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53457 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53458 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53459 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53460 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53461 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53462 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53463 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53464 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53465 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53466 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53467 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53468 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53469 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53470 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53471 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53472 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53473 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53474 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53475 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53476 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53477 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53478 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53479 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53480 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53481 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53482 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53484 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53485 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53486 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53487 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53488 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53489 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53490 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53491 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53493 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53495 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53496 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53497 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53498 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53504 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53507 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53508 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53509 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53510 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53511 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53512 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53513 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53514 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53515 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53516 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53517 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53518 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53519 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53520 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53521 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53522 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53523 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53527 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53528 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53529 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53530 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53531 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53532 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53533 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53534 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53535 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53536 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53537 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53538 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53539 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53540 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53541 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53542 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53543 (__isnanf): Likewise.
53544 (__isinf_ns): Likewise.
53545 (__isinf_nsf): Likewise.
53546 (__finite): Likewise.
53547 (__finitef): Likewise.
53548 (__ieee754_sqrt): Define as macro.
53549 (__ieee754_sqrtf): Define as macro.
53550 (__ieee754_sqrtl): Define as macro.
53551 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53553 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53554 __FINITE_MATH_ONLY__ consistent.
53555 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53557 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53559 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53562 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53564 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53566 * po/ja.po: Update from translation team.
53568 2011-10-08 Roland McGrath <roland@hack.frob.com>
53570 * locale/programs/locarchive.c (prepare_address_space): New function.
53571 (create_archive, enlarge_archive, open_archive): Use it.
53573 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53574 inside [SHARED], where it is used.
53576 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53578 * nss/getent.c (netgroup_keys): Remove unused variable.
53579 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53581 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53583 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53584 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53585 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53586 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53587 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53588 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53589 * math/Makefile (libm-calls): Add s_isinf_ns.
53590 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53591 * math/multc3.c: Likewise.
53592 * math/s_casin.c: Likewise.
53593 * math/s_casinf.c: Likewise.
53594 * math/s_casinl.c: Likewise.
53595 * math/s_ccos.c: Likewise.
53596 * math/s_ccosf.c: Likewise.
53597 * math/s_ccosl.c: Likewise.
53598 * math/s_ctan.c: Likewise.
53599 * math/s_ctanf.c: Likewise.
53600 * math/s_ctanh.c: Likewise.
53601 * math/s_ctanhf.c: Likewise.
53602 * math/s_ctanhl.c: Likewise.
53603 * math/s_ctanl.c: Likewise.
53604 * math/w_fmod.c: Likewise.
53605 * math/w_fmodf.c: Likewise.
53606 * math/w_fmodl.c: Likewise.
53607 * math/w_remainder.c: Likewise.
53608 * math/w_remainderf.c: Likewise.
53609 * math/w_remainderl.c: Likewise.
53610 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53611 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53612 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53614 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53615 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53616 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53617 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53619 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53621 * stdio-common/printf_fphex.c: Likewise.
53622 * stdio-common/printf_size.c: Likewise.
53624 * math/e_exp10.c: Include math_private.h using <...> not "...".
53625 * math/e_exp10f.c: Likewise.
53626 * math/e_exp10l.c: Likewise.
53627 * math/e_exp2l.c: Likewise.
53628 * math/e_j0l.c: Likewise.
53629 * math/e_j1l.c: Likewise.
53630 * math/e_jnl.c: Likewise.
53631 * math/e_lgammal_r.c: Likewise.
53632 * math/e_rem_pio2l.c: Likewise.
53633 * math/e_scalb.c: Likewise.
53634 * math/e_scalbf.c: Likewise.
53635 * math/e_scalbl.c: Likewise.
53636 * math/k_cosl.c: Likewise.
53637 * math/k_sinl.c: Likewise.
53638 * math/k_tanl.c: Likewise.
53639 * math/s_cacoshf.c: Likewise.
53640 * math/s_catan.c: Likewise.
53641 * math/s_catanf.c: Likewise.
53642 * math/s_catanh.c: Likewise.
53643 * math/s_catanhf.c: Likewise.
53644 * math/s_catanhl.c: Likewise.
53645 * math/s_catanl.c: Likewise.
53646 * math/s_ccosh.c: Likewise.
53647 * math/s_ccoshf.c: Likewise.
53648 * math/s_ccoshl.c: Likewise.
53649 * math/s_cexp.c: Likewise.
53650 * math/s_cexpf.c: Likewise.
53651 * math/s_cexpl.c: Likewise.
53652 * math/s_clog.c: Likewise.
53653 * math/s_clog10.c: Likewise.
53654 * math/s_clog10f.c: Likewise.
53655 * math/s_clog10l.c: Likewise.
53656 * math/s_clogf.c: Likewise.
53657 * math/s_clogl.c: Likewise.
53658 * math/s_csin.c: Likewise.
53659 * math/s_csinf.c: Likewise.
53660 * math/s_csinh.c: Likewise.
53661 * math/s_csinhf.c: Likewise.
53662 * math/s_csinhl.c: Likewise.
53663 * math/s_csinl.c: Likewise.
53664 * math/s_csqrt.c: Likewise.
53665 * math/s_csqrtf.c: Likewise.
53666 * math/s_csqrtl.c: Likewise.
53667 * math/s_ctan.c: Likewise.
53668 * math/s_ctanf.c: Likewise.
53669 * math/s_ctanh.c: Likewise.
53670 * math/s_ctanhf.c: Likewise.
53671 * math/s_ctanhl.c: Likewise.
53672 * math/s_ctanl.c: Likewise.
53673 * math/s_ldexp.c: Likewise.
53674 * math/s_ldexpf.c: Likewise.
53675 * math/s_ldexpl.c: Likewise.
53676 * math/s_significand.c: Likewise.
53677 * math/s_significandf.c: Likewise.
53678 * math/s_significandl.c: Likewise.
53679 * math/w_acos.c: Likewise.
53680 * math/w_acosf.c: Likewise.
53681 * math/w_acosh.c: Likewise.
53682 * math/w_acoshf.c: Likewise.
53683 * math/w_acoshl.c: Likewise.
53684 * math/w_acosl.c: Likewise.
53685 * math/w_asin.c: Likewise.
53686 * math/w_asinf.c: Likewise.
53687 * math/w_asinl.c: Likewise.
53688 * math/w_atan2.c: Likewise.
53689 * math/w_atan2f.c: Likewise.
53690 * math/w_atan2l.c: Likewise.
53691 * math/w_atanh.c: Likewise.
53692 * math/w_atanhf.c: Likewise.
53693 * math/w_atanhl.c: Likewise.
53694 * math/w_cosh.c: Likewise.
53695 * math/w_coshf.c: Likewise.
53696 * math/w_coshl.c: Likewise.
53697 * math/w_dremf.c: Likewise.
53698 * math/w_exp10.c: Likewise.
53699 * math/w_exp10f.c: Likewise.
53700 * math/w_exp10l.c: Likewise.
53701 * math/w_exp2.c: Likewise.
53702 * math/w_exp2f.c: Likewise.
53703 * math/w_fmod.c: Likewise.
53704 * math/w_fmodf.c: Likewise.
53705 * math/w_fmodl.c: Likewise.
53706 * math/w_hypot.c: Likewise.
53707 * math/w_hypotf.c: Likewise.
53708 * math/w_hypotl.c: Likewise.
53709 * math/w_j0.c: Likewise.
53710 * math/w_j0f.c: Likewise.
53711 * math/w_j0l.c: Likewise.
53712 * math/w_j1.c: Likewise.
53713 * math/w_j1f.c: Likewise.
53714 * math/w_j1l.c: Likewise.
53715 * math/w_jn.c: Likewise.
53716 * math/w_jnf.c: Likewise.
53717 * math/w_jnl.c: Likewise.
53718 * math/w_lgamma.c: Likewise.
53719 * math/w_lgamma_r.c: Likewise.
53720 * math/w_lgammaf.c: Likewise.
53721 * math/w_lgammaf_r.c: Likewise.
53722 * math/w_lgammal.c: Likewise.
53723 * math/w_lgammal_r.c: Likewise.
53724 * math/w_log.c: Likewise.
53725 * math/w_log10.c: Likewise.
53726 * math/w_log10f.c: Likewise.
53727 * math/w_log10l.c: Likewise.
53728 * math/w_log2.c: Likewise.
53729 * math/w_log2f.c: Likewise.
53730 * math/w_log2l.c: Likewise.
53731 * math/w_logf.c: Likewise.
53732 * math/w_logl.c: Likewise.
53733 * math/w_pow.c: Likewise.
53734 * math/w_powf.c: Likewise.
53735 * math/w_powl.c: Likewise.
53736 * math/w_remainder.c: Likewise.
53737 * math/w_remainderf.c: Likewise.
53738 * math/w_remainderl.c: Likewise.
53739 * math/w_scalb.c: Likewise.
53740 * math/w_scalbf.c: Likewise.
53741 * math/w_scalbl.c: Likewise.
53742 * math/w_sinh.c: Likewise.
53743 * math/w_sinhf.c: Likewise.
53744 * math/w_sinhl.c: Likewise.
53745 * math/w_sqrt.c: Likewise.
53746 * math/w_sqrtf.c: Likewise.
53747 * math/w_sqrtl.c: Likewise.
53748 * math/w_tgamma.c: Likewise.
53749 * math/w_tgammaf.c: Likewise.
53750 * math/w_tgammal.c: Likewise.
53752 * po/ja.po: Update from translation team.
53754 2011-09-29 Andreas Jaeger <aj@suse.de>
53757 * sunrpc/netname.c (netname2host): Fix logic.
53761 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53763 * math/w_remainder.c (__remainder): Likewise.
53764 * math/w_remainderf.c (__remainderf): Likewise.
53765 * math/libm-test.inc (remainder_test): Add test cases.
53767 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53769 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53772 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53774 * string/test-memcmp.c: Avoid unncessary #defines.
53775 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53777 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53779 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53780 Use new sse2 version for core i3 - i7 as it's faster
53781 than sse42 version.
53782 (bit_Prefer_PMINUB_for_stringop): New.
53783 * sysdeps/x86_64/rawmemchr.S: Update.
53784 Replace with faster SSE2 version.
53785 * sysdeps/x86_64/memrchr.S: New file.
53786 * sysdeps/x86_64/memchr.S: Update.
53787 Replace with faster SSE2 version.
53789 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53791 * elf/dl-load.c (lose): Add cast to avoid warning.
53793 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53795 * po/ca.po: Update from translation team.
53797 * inet/getnetgrent_r.c: Hook up nscd.
53798 * nscd/Makefile (routines): Add nscd_netgroup.
53799 (nscd-modules): Add netgroupcache.
53800 (CFLAGS-netgroupcache.c): Define.
53801 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53802 (cache_search): Add const to second parameter.
53803 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53805 (dbs): Add netgrdb entry.
53806 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53807 (verify_persistent_db): Handle netgrdb.
53808 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53809 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53811 (netgroup_response_header): Define.
53812 (innetgroup_response_header): Define.
53813 (datahead): Add netgroup_response_header and innetgroup_response_header
53815 * nscd/nscd.conf: Add entries for netgroup cache.
53816 * nscd/nscd.h (dbtype): Add netgrdb.
53817 (_PATH_NSCD_NETGROUP_DB): Define.
53818 (netgroup_iov_disabled): Declare.
53819 (xmalloc, xcalloc, xrealloc): Move declarations here.
53820 (cache_search): Adjust prototype.
53821 Add netgroup-related prototypes.
53822 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53823 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53824 (__nscd_innetgr): Declare.
53825 * nscd/selinux.c (perms): Use access_vector_t as element type and
53826 add netgroup-related initializers.
53827 * nscd/netgroupcache.c: New file.
53828 * nscd/nscd_netgroup.c: New file.
53829 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53830 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53831 For four parameters use innetgr.
53832 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53833 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53834 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53835 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53837 * nscd/connections.c (register_traced_file): Don't register file
53838 for disabled databases.
53840 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53842 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53844 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53845 from tree and freeing node.
53847 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53849 * nss/nsswitch.c (__nss_database_lookup): Handle
53850 nss_parse_service_list out of memory case.
53852 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53854 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53855 out of memory case.
53857 2011-10-04 Andreas Schwab <schwab@redhat.com>
53859 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53860 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53862 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53863 elf_machine_rela, elf_machine_lazy_rel.
53864 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53865 (ELF_DYNAMIC_DO_REL): Likewise.
53866 (ELF_DYNAMIC_DO_RELA): Likewise.
53867 (ELF_DYNAMIC_RELOCATE): Likewise.
53868 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53869 to ELF_DYNAMIC_DO_REL.
53870 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53871 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53872 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53874 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53875 skip_ifunc, don't call ifunc function if non-zero.
53876 (elf_machine_rela): Likewise.
53877 (elf_machine_lazy_rel): Likewise.
53878 (elf_machine_lazy_rela): Likewise.
53879 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53880 (elf_machine_lazy_rel): Likewise.
53881 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53883 (elf_machine_lazy_rel): Likewise.
53884 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53886 (elf_machine_lazy_rel): Likewise.
53887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53888 (elf_machine_lazy_rel): Likewise.
53889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53890 (elf_machine_lazy_rel): Likewise.
53891 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53892 (elf_machine_lazy_rel): Likewise.
53893 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53894 (elf_machine_lazy_rel): Likewise.
53895 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53896 (elf_machine_lazy_rel): Likewise.
53897 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53898 (elf_machine_lazy_rel): Likewise.
53900 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53902 * nss/nss_files/files-init.c (_nss_files_init): Use static
53903 initialization for all the *_traced_file variables.
53905 2011-09-28 Andreas Schwab <schwab@redhat.com>
53907 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53909 2011-09-27 Roland McGrath <roland@hack.frob.com>
53912 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53914 2011-09-27 Andreas Schwab <schwab@redhat.com>
53916 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53917 Reread the line before reparsing it.
53919 2011-09-26 Andreas Schwab <schwab@redhat.com>
53921 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53923 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53924 Maxim Kuvyrkov <maxim@codesourcery.com>
53925 Joseph Myers <joseph@codesourcery.com>
53927 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53928 if needed for __stack_chk_guard.
53930 2011-09-19 Roland McGrath <roland@hack.frob.com>
53932 * sysdeps/posix/spawni.c (script_execute): Always define it.
53933 It will be optimized away if unused.
53934 (maybe_script_execute): New function.
53935 (__spawni): Call it.
53937 * Makerules: Don't include tls.make.
53938 (config-tls): Always set to thread.
53939 * tls.make.c: File removed.
53941 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53943 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53944 * config.make.in (CPPFLAGS-config): New substituted variable.
53946 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53948 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53951 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53952 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53954 2011-09-15 Roland McGrath <roland@hack.frob.com>
53956 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53957 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53958 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53959 (CALL_FAIL): Likewise.
53960 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53961 (CALL_FAIL): Macro removed.
53962 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53964 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53966 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53967 for __FINITE_MATH_ONLY__ == 1.
53969 2011-09-15 Andreas Schwab <schwab@redhat.com>
53971 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53972 __ieee754_sqrt instead of sqrt.
53973 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53974 __ieee754_sqrtf instead of sqrtf.
53975 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53976 __floorf instead of floorf.
53977 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53978 __floorf, __truncf instead of floorf, truncf.
53980 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53982 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53984 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53985 __extern_always_inline.
53986 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53989 2011-09-14 Andreas Schwab <schwab@redhat.com>
53991 * elf/rtld.c (dl_main): Also relocate in dependency order when
53992 doing symbol dependency testing.
53994 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53997 Always define `refsym'.
53999 2011-09-13 Andreas Schwab <schwab@redhat.com>
54001 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54002 (__FD_ELT): Renamed from __FDELT.
54003 * misc/bits/select2.h (__FD_ELT): Likewise.
54004 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54005 __FD_MASK instead of __FDELT, __FDMASK.
54006 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54008 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54011 * elf/Makefile (gen-ldd): Fix pattern.
54013 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54014 (init_tls): Likewise.
54016 2011-09-12 Ulrich Drepper <drepper@gmail.com>
54018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54020 2011-09-12 Andreas Schwab <schwab@redhat.com>
54022 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54023 `struct cmsghdr *' instead of `void *'.
54024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54027 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54029 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54031 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54032 ldd_rewrite_script.
54034 2011-09-11 Ulrich Drepper <drepper@gmail.com>
54036 * configure.in: Remove --with-tls option.
54037 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54038 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54039 out in case it is missing.
54040 * sysdeps/ia64/elf/configure.in: Likewise.
54041 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54042 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54043 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54044 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54045 * sysdeps/sh/elf/configure.in: Likewise.
54046 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54047 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54048 * sysdeps/x86_64/elf/configure.in: Likewise.
54049 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54050 * sysdeps/mach/hurd/tls.h: Likewise.
54053 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54056 * configure.in: Fix use of AC_INIT.
54058 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54060 2011-09-10 Ulrich Drepper <drepper@gmail.com>
54062 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54064 * malloc/hooks.c: Likewise.
54067 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54068 variables statically.
54069 (narenas): Initialize.
54070 (list_lock): Initialize.
54071 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54072 initializtion of main_arena and list_lock. Small cleanups.
54073 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54074 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54075 Add initializers to main_arena and mp_.
54076 (malloc_state): Remove pagesize member. Change all users to use
54079 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54080 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54081 is always initialized.
54083 * malloc/malloc.c: Removed unused configurations and dead code.
54084 * malloc/arena.c: Likewise.
54085 * malloc/hooks.c: Likewise.
54086 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54088 * include/tls.h: Removed. USE___THREAD must always be defined.
54089 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54090 * elf/dl-libc.c: Likewise.
54091 * elf/dl-tsd.c: Likewise.
54092 * include/errno.h: Likewise.
54093 * include/netdb.h: Likewise.
54094 * include/resolv.h: Likewise.
54095 * inet/herrno-loc.c: Likewise.
54096 * inet/herrno.c: Likewise.
54097 * malloc/arena.c: Likewise.
54098 * malloc/hooks.c: Likewise.
54099 * malloc/malloc.c: Likewise.
54100 * resolv/res-state.c: Likewise.
54101 * resolv/res_libc.c: Likewise.
54102 * sysdeps/i386/dl-machine.h: Likewise.
54103 * sysdeps/ia64/dl-machine.h: Likewise.
54104 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54105 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54106 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54107 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54108 * sysdeps/sh/dl-machine.h: Likewise.
54109 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54110 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54111 * sysdeps/unix/i386/sysdep.S: Likewise.
54112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54113 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54115 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54118 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54121 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54122 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54123 * sysdeps/x86_64/dl-machine.h: Likewise.
54124 * tls.make.c: Likewise.
54126 * configure.in: Remove --with-__thread option. Make tests for
54127 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54128 tls_model attribute fail if no support is available. Remove
54130 * Makeconfig: Adjust for dropped configure option. All features are
54132 * Makerules: Likewise.
54133 * Versions.def: Likewise.
54134 * argp/argp-fmtstream.c: Likewise.
54135 * argp/argp-fmtstream.h: Likewise.
54136 * argp/argp-help.c: Likewise.
54137 * assert/assert.c: Likewise.
54138 * config.h.in: Likewise.
54139 * config.make.in: Likewise.
54140 * configure: Likewise.
54141 * configure.in: Likewise.
54142 * csu/Versions: Likewise.
54143 * csu/init.c: Likewise.
54144 * elf/tst-audit2.c: Likewise.
54145 * elf/tst-tls10.c: Likewise.
54146 * elf/tst-tls10.h: Likewise.
54147 * elf/tst-tls11.c: Likewise.
54148 * elf/tst-tls12.c: Likewise.
54149 * elf/tst-tls14.c: Likewise.
54150 * elf/tst-tlsmod11.c: Likewise.
54151 * elf/tst-tlsmod12.c: Likewise.
54152 * elf/tst-tlsmod13.c: Likewise.
54153 * elf/tst-tlsmod13a.c: Likewise.
54154 * elf/tst-tlsmod14a.c: Likewise.
54155 * elf/tst-tlsmod15b.c: Likewise.
54156 * elf/tst-tlsmod16a.c: Likewise.
54157 * elf/tst-tlsmod16b.c: Likewise.
54158 * elf/tst-tlsmod7.c: Likewise.
54159 * elf/tst-tlsmod8.c: Likewise.
54160 * elf/tst-tlsmod9.c: Likewise.
54161 * gmon/gmon.c: Likewise.
54162 * grp/fgetgrent_r.c: Likewise.
54163 * grp/putgrent.c: Likewise.
54164 * hurd/fopenport.c: Likewise.
54165 * include/libc-symbols.h: Likewise.
54166 * include/tls.h: Likewise.
54167 * intl/gettextP.h: Likewise.
54168 * intl/loadinfo.h: Likewise.
54169 * locale/global-locale.c: Likewise.
54170 * locale/localeinfo.h: Likewise.
54171 * mach/devstream.c: Likewise.
54172 * malloc/arena.c: Likewise.
54173 * malloc/set-freeres.c: Likewise.
54174 * misc/err.c: Likewise.
54175 * misc/getttyent.c: Likewise.
54176 * misc/mntent_r.c: Likewise.
54177 * posix/getopt.c: Likewise.
54178 * posix/wordexp.c: Likewise.
54179 * pwd/fgetpwent_r.c: Likewise.
54180 * resolv/Versions: Likewise.
54181 * resolv/res_hconf.c: Likewise.
54182 * shadow/fgetspent_r.c: Likewise.
54183 * shadow/putspent.c: Likewise.
54184 * stdio-common/printf_fphex.c: Likewise.
54185 * stdio-common/tmpfile.c: Likewise.
54186 * stdlib/abort.c: Likewise.
54187 * stdlib/fmtmsg.c: Likewise.
54188 * sunrpc/auth_unix.c: Likewise.
54189 * sunrpc/clnt_perr.c: Likewise.
54190 * sunrpc/clnt_tcp.c: Likewise.
54191 * sunrpc/clnt_udp.c: Likewise.
54192 * sunrpc/clnt_unix.c: Likewise.
54193 * sunrpc/openchild.c: Likewise.
54194 * sunrpc/svc_simple.c: Likewise.
54195 * sunrpc/svc_tcp.c: Likewise.
54196 * sunrpc/svc_udp.c: Likewise.
54197 * sunrpc/svc_unix.c: Likewise.
54198 * sunrpc/xdr.c: Likewise.
54199 * sunrpc/xdr_array.c: Likewise.
54200 * sunrpc/xdr_rec.c: Likewise.
54201 * sunrpc/xdr_ref.c: Likewise.
54202 * sunrpc/xdr_stdio.c: Likewise.
54204 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54206 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54208 2011-07-03 Andreas Jaeger <aj@suse.de>
54210 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54211 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54212 regenerate with gen-libm-tests.pl.
54214 2010-05-12 Petr Baudis <pasky@suse.cz>
54217 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54218 around j0() zero points by switching to j1().
54219 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54222 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54224 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54226 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54228 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54231 Patch in part by Pavel Roskin <proski@gnu.org>.
54234 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54236 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54237 Free memory block if necessary.
54240 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54241 be NULL. Don't lock in this case.
54243 2011-09-09 Roland McGrath <roland@hack.frob.com>
54245 * elf/elf.h (ELFOSABI_GNU): New macro.
54246 (ELFOSABI_LINUX): Define to that.
54248 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54250 * string/strncat.c (strncat): Undef the symbol in case it has been
54251 defined in bits/string.h.
54253 2011-09-09 Ulrich Drepper <drepper@gmail.com>
54255 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54257 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54260 2011-08-17 Andreas Jaeger <aj@suse.de>
54262 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54264 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54265 Ian Lance Taylor <iant@google.com>
54267 * math/libm-test.inc (lround_test): New testcase.
54268 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54270 2011-09-08 Ulrich Drepper <drepper@gmail.com>
54272 * Makefile: Remove support for automatic cvs check-ins.
54273 * Makerules: Likewise.
54274 * config.make.in: Likewise.
54275 * configure.in: Likewise.
54276 * intl/Makefile: Likewise.
54277 * locale/Makefile: Likewise.
54278 * po/Makefile: Likewise.
54279 * posix/Makefile: Likewise.
54280 * sysdeps/gnu/Makefile: Likewise.
54281 * sysdeps/mach/hurd/Makefile: Likewise.
54282 * sysdeps/sparc/sparc32/Makefile: Likewise.
54285 * posix/Makefile (bug-regex32-ENV): Define.
54286 Patch by John Stanley <jpsinthemix@verizon.net>.
54288 * misc/Makefile (headers): Add bits/select2.h.
54289 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54290 * misc/bits/select2.h: New file.
54291 * include/bits/select2.h: New file.
54292 * debug/Makefile (routines): Add fdelt_chk.
54293 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54294 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54296 * debug/fdelt_chk.c: New file.
54298 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54299 * wcsmbs/test-wmemcmp.c: Likewise.
54300 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54301 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54303 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54305 * string/Makefile (strop-tests): Add memcmp.
54306 * string/test-wmemcmp.c: New file.
54307 * string/test-memcmp.c: Add wmemcmp support.
54309 2011-09-08 Roland McGrath <roland@hack.frob.com>
54312 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54315 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54316 garbage value in a __mach_port_mod_refs call in the cases of the
54317 task-self and thread-self ports.
54319 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54321 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54323 2011-09-08 Andreas Schwab <schwab@redhat.com>
54325 * elf/dl-load.c (lose): Check for non-null L.
54327 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54329 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54331 * elf/dl-libc.c (dlerror_run): Pass back error code from
54335 * elf/dl-load.c (lose): Free l_origin if it is valid.
54337 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54339 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54342 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54343 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54344 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54346 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54348 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54349 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54350 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54351 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54352 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54353 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54354 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54355 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54356 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54357 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54359 2011-08-15 Alan Modra <amodra@gmail.com>
54362 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54363 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54364 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54365 ppc_mcount to static-only-routines.
54366 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54368 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54369 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54371 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54373 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54374 for finite and infinity parameters.
54376 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54378 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54379 and add nop instructions for throughput optimization.
54380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54382 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54384 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54385 aligned copy for power7 with vector-scalar instructions.
54386 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54388 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54393 2011-09-07 Andreas Schwab <schwab@redhat.com>
54396 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54399 2011-09-07 Ulrich Drepper <drepper@gmail.com>
54401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54402 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54403 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54404 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54407 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54410 Forgot to demangle the pointer.
54412 * sysdeps/i386/sysdep.h: Define atom_text_section.
54413 * sysdeps/x86_64/sysdep.h: Likewise.
54414 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54415 section with atom_text_section.
54416 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54418 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54420 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54422 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54423 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54424 already be defined. Change to take two parameters and don't assign
54425 result to variable. Adjust all users.
54426 Define INTERNAL_GETTIME if not already defined.
54427 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54430 HAVE_CLOCK_GETTIME_VSYSCALL.
54431 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54434 gettimeofday vsyscall, just use time.
54436 2011-09-06 Andreas Schwab <schwab@redhat.com>
54438 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54441 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54443 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54447 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54448 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54449 syscall if possible.
54451 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54453 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54454 e_ident. Don't pass to find_mapsXX.
54455 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54457 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54459 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54460 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54461 * sysdeps/x86_64/multiarch/strchr.S: Update.
54462 Check bit_slow_BSF bit.
54463 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54464 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54465 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54467 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54470 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54472 (tryshell): Define.
54473 (__spawni): Change last parameter to be flag. Test
54474 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54475 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54476 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54477 * posix/spawni.c: Likewise.
54478 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54479 * posix/spawnp.c: Likewise. Change normal version to use
54480 SPAWN_XFLAGS_USE_PATH.
54481 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54482 SPAWN_XFLAGS_TRY_SHELL.
54485 * posix/glob.h: Remove gcc 1.x support.
54488 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54490 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54493 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54495 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54496 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54497 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54499 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54502 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54504 * sysdeps/x86_64/wcscmp.S: New file.
54506 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54507 wcscmp-c wcscmp-sse2
54508 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54509 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54510 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54511 * wcsmbs/wcscmp.c: Allow renaming.
54513 2011-09-05 David S. Miller <davem@davemloft.net>
54515 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54516 stack slot, rather than the struct return pointer slot.
54517 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54518 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54520 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54522 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54524 * po/ja.po: Update from translation team.
54527 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54528 kernel in 64-bit binaries.
54530 2011-09-01 David S. Miller <davem@davemloft.net>
54532 * elf/elf.h (HWCAP_SPARC_*): Move to..
54533 * sysdeps/sparc/sysdep.h: this new file and add new values.
54534 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54535 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54536 _DL_HWCAP_COUNT to 24.
54537 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54539 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54540 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54541 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54543 instead of magic constants.
54544 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54546 2011-08-31 David S. Miller <davem@davemloft.net>
54548 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54550 Reimplement to do errno handling inline.
54551 (SYSCALL_ERROR_HANDLER): New macro.
54552 (__SYSCALL_STRING): Do not do errno handling in asm.
54553 (__CLONE_SYSCALL_STRING): Delete.
54554 (__INTERNAL_SYSCALL_STRING): Delete.
54555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54556 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54557 (PSEUDO): Reimplement to do errno handling inline.
54558 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54559 (SYSCALL_ERROR_HANDLER): New macro.
54560 (__SYSCALL_STRING): Do not do errno handling in asm.
54561 (__CLONE_SYSCALL_STRING): Delete.
54562 (__INTERNAL_SYSCALL_STRING): Delete.
54563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54564 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54566 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54567 (inline_syscall*): Add 'err' argument.
54568 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54569 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54570 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54571 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54573 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54574 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54576 2011-08-30 Andreas Schwab <schwab@redhat.com>
54578 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54580 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54582 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54585 2011-08-24 David S. Miller <davem@davemloft.net>
54587 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54589 2011-08-24 Andreas Schwab <schwab@redhat.com>
54591 * elf/Makefile: Add rules to build and run unload8 test.
54592 * elf/unload8.c: New file.
54593 * elf/unload8mod1.c: New file.
54594 * elf/unload8mod1x.c: New file.
54595 * elf/unload8mod2.c: New file.
54596 * elf/unload8mod3.c: New file.
54598 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54601 2011-08-23 David S. Miller <davem@davemloft.net>
54603 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54604 subtract stack bias.
54605 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54606 %sp not %fp in calculations.
54607 (_JMPBUF_UNWINDS_ADJ): Likewise.
54609 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54610 (aio_suspend): Call it to force an exception region around the
54611 AIO_MISC_WAIT() invocation.
54613 2011-08-23 Andreas Schwab <schwab@redhat.com>
54615 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54618 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54620 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54622 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54623 and <dl-machine.h>.
54624 (Elf64_FuncDesc): Remove.
54626 2011-08-22 David S. Miller <davem@davemloft.net>
54628 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54629 sigaltstack check, add missing cfi directives.
54630 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54631 missing cfi directives, and sigaltstack handling.
54633 2011-08-16 Andreas Schwab <schwab@redhat.com>
54636 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54637 object is seen twice.
54638 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54640 * elf/Makefile (distribute): Add tst-initorder2.c.
54641 (tests): Add tst-initorder2.
54642 (modules-names): Add tst-initorder2a tst-initorder2b
54643 tst-initorder2c tst-initorder2d. Add rules to build them.
54644 ($(objpfx)tst-initorder2.out): New rule.
54645 * elf/tst-initorder2.c: New file.
54646 * elf/tst-initorder2.exp: New file.
54648 2011-08-22 Andreas Schwab <schwab@redhat.com>
54650 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54652 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54653 dependencies back to end of function.
54655 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54656 $(elfobjdir)/ld.so.
54658 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54661 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54662 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54663 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54664 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54665 of __vdso_gettimeofday.
54666 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54667 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54669 (_libc_vdso_platform_setup): Remove initialization of
54670 __vdso_gettimeofday and __vdso_time.
54672 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54674 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54675 and fgetc_unlocked.
54676 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54679 * elf/dl-open.c (add_to_global): Report additions to the global scope
54680 for LD_DEBUG=scopes.
54681 (dl_open_worker): Also print scope of newly loaded dependencies.
54682 (_dl_show_scope): Indicate if there is no scope.
54685 * stdio-common/Makefile (tests): Add bug24.
54686 * stdio-common/bug24.c: New file.
54688 2011-08-19 Andreas Jaeger <aj@suse.de>
54691 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54692 non-existant file when using close-on-exec mode.
54694 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54697 the very first instruction.
54699 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54700 the CFI state in the end.
54701 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54702 inclusion of dl-trampoline.h.
54703 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54705 2011-08-19 Andreas Schwab <schwab@redhat.com>
54707 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54708 expectations for long double.
54710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54711 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54713 2011-08-14 David S. Miller <davem@davemloft.net>
54715 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54716 artificual limit depends upon the system page size.
54718 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54720 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54721 * resolv/Makefile: Define CFLAGS-libresolv.
54723 2011-08-17 Andreas Schwab <schwab@redhat.com>
54725 * nss/makedb.c (compute_tables): Make variables used in nested
54728 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54730 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54731 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54732 if buffer was too small.
54734 * elf/pldd.c (main): Attach to all threads in the process.
54735 Rewrite /proc handling to use *at functions.
54737 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54739 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54740 specifies first scope to show.
54741 (dl_open_worker): Update callers. Move printing scope of new
54742 object to before the relocation.
54743 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54744 * sysdeps/generic/ldsodefs.h: Update declaration.
54746 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54747 string for the scope number.
54749 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54751 * nscd/servicescache.c (cache_addserv): Make sure written is always
54754 2011-08-14 Roland McGrath <roland@hack.frob.com>
54756 * sysdeps/i386/i486/bits/atomic.h
54757 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54758 statement expression, so as to suppress "set but not used" warning.
54759 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54761 * string/strncat.c (STRNCAT): Use prototype definition.
54763 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54764 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54766 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54767 (localedef-modules): Add localedef.
54768 (locale-modules): Add locale.
54770 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54771 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54772 to avoid a warning.
54774 2011-08-14 David S. Miller <davem@davemloft.net>
54776 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54777 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54779 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54781 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54782 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54783 * elf/rtld.c (dl_main): Set l_name of vDSO.
54784 Call _dl_show_scope when DL_DEBUG_SCOPES.
54785 (process_dl_debug): Recognize scopes flag and also set it for all.
54786 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54787 Declare _dl_show_scope.
54789 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54790 (do_dlopen): Pass caller_dlopen to dl_open.
54791 (__libc_dlopen_mode): Initialize caller_dlopen.
54793 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54794 of libc. Make tolower call locale-independent. Optimize a bit by
54795 using isdigit instead of isalnum.
54796 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54798 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54800 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54801 was a dependency or dynamically loaded.
54803 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54805 * intl/l10nflist.c: Allow architecture-specific pop function.
54806 * sysdeps/x86_64/l10nflist.c: New file.
54808 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54811 2011-08-10 Andreas Schwab <schwab@redhat.com>
54813 * include/dirent.h: Add libc_hidden_proto for scandirat and
54814 scandirat64. Don't declare __scandirat64.
54815 * dirent/scandirat.c: Add libc_hidden_def.
54816 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54817 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54819 2011-08-10 David S. Miller <davem@davemloft.net>
54821 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54824 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54825 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54827 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54829 * Versions.def [libc]: Add GLIBC_2.15.
54830 * dirent/Makefile (routines): Add scandirat and scandirat64.
54831 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54833 * dirent/dirent.h: Declare scandirat and scandirat64.
54834 * dirent/scandirat.c: New file.
54835 * dirent/scandirat64.c: New file.
54836 * sysdeps/wordsize-64/scandirat.c: New file.
54837 * sysdeps/wordsize-64/scandirat64.c: New file.
54838 * dirent/opendir.c: Define opendirat.
54839 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54841 * dirent/scandir64.c: Adjust for scandir.c change.
54842 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54843 __scandirat64, and __scandir_cancel_handler.
54844 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54845 additional parameter and use openat instead of open (outside of ld.so).
54846 Add new __opendir as wrapper around __opendirat.
54847 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54848 here without requiring old scandirat implementation.
54850 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54852 * dirent/scandir.c (cancel_handler): Renamed to
54853 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54854 defined. Adjust users.
54855 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54856 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54858 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54860 * string/test-string.h (IMPL): Use __STRING to expand name and then
54863 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54866 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54868 * string/Makefile: Update.
54869 (strop-tests): Append strncat.
54870 * string/test-wcscmp.c: New file.
54871 New comprehensive test for wcscmp.
54872 * string/test-strcmp.c: Update.
54873 (WIDE): New define.
54875 2011-07-22 Andreas Schwab <schwab@redhat.com>
54877 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54880 2011-07-26 Andreas Schwab <schwab@redhat.com>
54882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54883 encoding to ACE if AI_IDN.
54885 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54887 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54888 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54890 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54893 Fix overflow bug in strncat.
54894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54896 * string/test-strncat.c: Update.
54897 Add new tests for checking overflow bugs.
54899 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54902 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54903 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54904 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54905 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54906 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54907 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54908 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54909 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54912 (USE_AS_STRCAT): Define.
54913 Add strcat and strncat support.
54914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54916 2011-07-25 Andreas Schwab <schwab@redhat.com>
54918 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54919 __n bigger than INT_MAX+1.
54920 (__strncmp_g): Likewise.
54922 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54924 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54925 * libio/stido.h: Likewise.
54927 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54932 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54933 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54934 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54935 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54939 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54944 (_dl_x86_64_save_sse): Likewise.
54946 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54948 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54950 (_dl_x86_64_save_sse): Likewise.
54952 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54954 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54956 2011-07-21 Andreas Schwab <schwab@redhat.com>
54958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54960 (_dl_x86_64_save_sse): Use correct AVX check.
54962 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54964 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54965 bug in strncpy/strncat.
54966 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54968 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54970 * string/tester.c (test_strcat): Add tests for different alignments
54971 of source and destination.
54972 (test_strncat): Likewise.
54974 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54977 * posix/glob.c (glob): Check passed in values before using them in
54978 expressions to avoid some overflows.
54979 (glob_in_dir): Likewise.
54982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54983 check for AVX enablement so that we don't crash with old kernels and
54985 * elf/tst-audit4.c: Add same checks here.
54986 * elf/tst-audit6.c: Likewise.
54988 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54990 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54992 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54994 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54996 * po/cs.po: Update from translation team.
54997 * po/bg.po: Likewise.
54999 2011-07-12 Marek Polacek <mpolacek@redhat.com>
55001 * misc/sys/cdefs.h: Add support for const attribute.
55002 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55003 to gnu_dev_{major,minor,makedev} functions.
55005 2011-07-20 Marek Polacek <mpolacek@redhat.com>
55007 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55009 2011-07-20 Andreas Schwab <schwab@redhat.com>
55011 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55014 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55017 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55018 register in order to avoid conflicts with the soft frame pointer
55019 being held in r11 when necessary.
55020 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55021 (INTERNAL_VSYSCALL_NCS): Likewise.
55023 2011-07-14 Marek Polacek <mpolacek@redhat.com>
55025 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55026 * elf/dl-fini.c (_dl_fini): Adjust caller.
55027 * elf/dl-close.c (_dl_close_worker): Likewise.
55028 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55030 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55032 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55033 "aux_cache->nlibs < 0".
55035 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55036 in the reload-count case.
55038 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55041 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55042 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55043 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55044 * sysdeps/x86_64/multiarch/strcat.S: New file.
55045 * sysdeps/x86_64/multiarch/strncat.S: New file.
55046 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55047 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55048 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55049 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55051 (USE_AS_STRCAT): Define.
55052 Add strcat and strncat support.
55053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55054 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55055 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55056 * string/strncat.c: Update.
55057 (USE_AS_STRNCAT): Define.
55058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55059 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55061 * sysdeps/x86_64/multiarch/init-arch.h
55062 (bit_Prefer_PMINUB_for_stringop): New.
55063 (index_Prefer_PMINUB_for_stringop): Likewise.
55064 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55065 bit_Prefer_PMINUB_for_stringop.
55067 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55069 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55071 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55072 of casting of buffer.
55073 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55074 buffer32 and buffer64.
55075 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55076 writes instead of casting of buffer.
55077 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55079 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55082 2011-07-19 Andreas Schwab <schwab@redhat.com>
55084 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55086 2011-07-19 Ulrich Drepper <drepper@gmail.com>
55088 * nscd/nscd.c (termination_handler): Don't do anything for a database
55089 if it has not yet been initialized.
55091 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55093 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55095 2011-07-15 Marek Polacek <mpolacek@redhat.com>
55097 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55099 2011-07-18 Ulrich Drepper <drepper@gmail.com>
55101 * po/nl.po: Update from translation team.
55102 * po/sv.po: Likewise.
55104 2011-07-16 Roland McGrath <roland@hack.frob.com>
55106 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55107 now disallowed by GCC.
55109 * configure.in (use-default-link): Default to yes if a test -shared
55110 link meets our qualifications.
55111 * configure: Regenerated.
55113 * config.make.in (output-format): New variable.
55114 * configure.in: Check for ld --print-output-format support.
55115 * configure: Regenerated.
55116 * Makerules ($(common-objpfx)format.lds)
55117 [$(output-format) != unknown]: Just use $(output-format),
55118 instead of the linker-script munging.
55120 2011-07-14 Roland McGrath <roland@hack.frob.com>
55122 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55123 of $(common-objpfx)shlib.lds.
55124 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55126 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55127 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55129 * configure.in (-z relro check): Adjust test code to add a large
55130 writable data section after it.
55131 * configure: Regenerated.
55133 2011-07-11 Roland McGrath <roland@hack.frob.com>
55135 * configure.in (-z relro check): Fix test code to make the variable
55137 * configure: Regenerated.
55139 2011-07-11 Ulrich Drepper <drepper@gmail.com>
55141 * nscd/nscd.h (struct traced_file): Define.
55142 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55143 elements. Add traced_files.
55144 (inotify_fd): Declare.
55145 (register_traced_file): Declare.
55146 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55147 (inotify_fd): Export.
55148 (resolv_conf_descr): Remove.
55149 (nscd_init): Move inotify descriptor creation to main.
55150 Don't register files for notification here.
55151 (register_traced_file): New function.
55152 (invalidate_cache): Don't use reset_res to determine whether to call
55153 res_init, go through the list of registered files.
55154 (main_loop_poll): The inotify descriptors are now stored in the
55155 structures for the traced files.
55156 (main_loop_epoll): Likewise
55157 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55158 to __nss_disable_nscd.
55159 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55160 for a database anymore. Check the records for all the registered
55162 * nss/Makefile (libnss_files-routines): Add files-init.
55163 (libnss_db-routines): Add db-init.
55164 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55165 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55166 * nss/nss_db/db-init.c: New file.
55167 * nss/nss_files/files-init.c: New file.
55168 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55169 __nss_lookup_function.
55170 (__nss_lookup_function): Call nss_load_library.
55171 (nss_load_all_libraries): New function.
55172 (__nss_disable_nscd): Take parameter with callback function for files
55173 to register. Set is_nscd. Load all the DSOs for the NSS modules
55174 used for the cached services.
55175 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55176 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55177 options for features to all the files in nscd.
55179 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55181 2011-07-10 Roland McGrath <roland@hack.frob.com>
55183 * csu/elf-init.c (__libc_csu_init): Comment typo.
55185 2011-07-09 Ulrich Drepper <drepper@gmail.com>
55187 * po/pl.po: Update from translation team.
55188 * po/ja.po: Likewise.
55189 * po/ru.po: Likewise.
55190 * po/ko.po: Likewise.
55191 * po/fr.po: Likewise.
55193 2011-07-09 Roland McGrath <roland@hack.frob.com>
55195 * configure.in (.ctors/.dtors header and trailer check):
55196 Use an empirical test on a built program.
55197 * configure: Regenerated.
55199 * configure.in (-z relro check): Use an empirical test on a built DSO.
55200 Detect, but do not require, on ia64.
55201 * configure: Regenerated.
55203 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55204 Update tests that use readelf to use $READELF instead.
55205 * configure: Regenerated.
55207 2011-07-08 Ulrich Drepper <drepper@gmail.com>
55209 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55210 if the result is not used.
55212 2011-07-05 Andreas Jaeger <aj@suse.de>
55215 * stdlib/tst-strtod.c: Add testcase.
55217 2011-07-07 Ulrich Drepper <drepper@gmail.com>
55219 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55220 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55221 The latter has a higher limit. Take additional parameter to pass to
55223 (__pathconf): Pass file to __statfs_link_max.
55224 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55226 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55230 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55231 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55233 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55234 (__statfs_filesize_max): Likewise.
55235 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55237 2011-07-05 Andreas Jaeger <aj@suse.de>
55239 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55241 2011-07-06 Marek Polacek <mpolacek@redhat.com>
55243 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55245 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55248 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55250 * Makefile (strop-tests): Add strncat.
55251 * string/test-strncat.c: New file.
55253 2011-06-30 Marek Polacek <mpolacek@redhat.com>
55255 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55257 2011-06-21 Andreas Jaeger <aj@suse.de>
55259 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55260 Copy rule from iconvdata/Makefile.
55262 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55265 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55266 but no long options are defined, just return 'W'.
55268 2011-06-22 Marek Polacek <mpolacek@redhat.com>
55271 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55273 2011-07-06 Ulrich Drepper <drepper@gmail.com>
55275 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55277 (innetgr): Likewise.
55279 2011-07-05 Roland McGrath <roland@hack.frob.com>
55281 * config.make.in (install_root): Default to $(DESTDIR).
55283 2011-07-05 Ulrich Drepper <drepper@gmail.com>
55285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55287 2011-07-02 Roland McGrath <roland@hack.frob.com>
55289 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55291 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55292 containing directory rather than embedding absolute directory names.
55294 * scripts/check-local-headers.sh: Rewritten using awk.
55295 Match by word, not by line. Print error messages for matches.
55296 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55298 * Makerules [shlib-lds-flags empty]:
55299 ($(common-objpfx)libc_pic.opts): New target.
55300 ($(common-objpfx)libc_pic.os.clean): New target.
55301 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55303 * config.make.in (OBJCOPY): New variable.
55304 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55305 * configure: Regenerated.
55307 * config.make.in (use-default-link): New variable.
55308 * configure.in (use_default_link): Grok --with-default-link to set it.
55309 * configure: Regenerated.
55310 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55311 (shlib-lds, shlib-lds-flags): Define to empty.
55313 * Makerules (shlib-lds): New variable.
55314 (shlib-lds-flags): New variable.
55315 (build-shlib, build-moduile, build-module-asneeded): Use it.
55316 ($(common-objpfx)libc.so): Use $(shlib-lds).
55317 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55318 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55320 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55321 DT_FLAGS/DT_FLAGS_1 with zero flags.
55323 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55324 linker script munging.
55326 2011-07-02 Ulrich Drepper <drepper@gmail.com>
55328 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55330 * crypt/sha512.c (sha512_process_block): Perform total addition using
55331 128-bit if possible.
55332 (__sha512_finish_ctx): Likewise.
55333 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55335 * crypt/sha256.c (SWAP64): Define.
55336 (sha256_process_block): Perform total addition using 64-bit if
55338 (__sha256_finish_ctx): Likewise.
55340 2011-07-01 Ulrich Drepper <drepper@gmail.com>
55342 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55344 * nscd/hstcache.c (cache_addhst): Likewise.
55345 * nscd/grpcache.c (cache_addgr): Likewise.
55346 * nscd/aicache.c (addhstaiX): Likewise
55347 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55349 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
55351 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55353 * nscd/hstcache.c (cache_addhst): Likewise.
55354 * nscd/grpcache.c (cache_addgr): Likewise.
55355 * nscd/aicache.c (addhstaiX): Likewise
55357 2011-07-01 Andreas Schwab <schwab@redhat.com>
55359 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55360 domain only when needed.
55362 2011-06-30 Andreas Schwab <schwab@redhat.com>
55364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55365 is always restored.
55367 2011-06-29 Ulrich Drepper <drepper@gmail.com>
55369 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55370 are re-adding the entry.
55371 * nscd/servicescache.c (cache_addserv): Likewise.
55373 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55375 * sysdeps/generic/dl-irel.h: fix protection against multiple
55377 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55379 2011-06-28 Ulrich Drepper <drepper@gmail.com>
55382 * malloc/memusage.sh: Fix quoting in message.
55383 * debug/xtrace.sh: Likewise.
55385 * configure.in: Remove support for --experimental-malloc option, make
55387 * config.make.in: Likewise.
55388 * malloc/Makefile: Likewise.
55390 2011-06-27 Andreas Schwab <schwab@redhat.com>
55392 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55393 two-byte characters.
55395 2011-06-27 Roland McGrath <roland@hack.frob.com>
55397 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55398 AC_CACHE_CHECK invocation.
55399 * configure: Regenerated.
55401 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55403 2011-06-27 Ulrich Drepper <drepper@gmail.com>
55406 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55407 bit from old_res_options.
55409 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55411 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55412 value type for setfct.
55414 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55417 __gettimeofday instead of gettimeofday.
55419 2011-06-26 Ulrich Drepper <drepper@gmail.com>
55421 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55423 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55425 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55430 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55433 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55434 strcpy-sse2-unaligned strncpy-sse2-unaligned
55435 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55436 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55437 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55438 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55439 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55440 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55442 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55443 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55444 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55445 (STRCPY): Support SSE2 and SSSE3 versions.
55447 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55450 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55451 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55452 kernels which artificially limit size of requests.
55454 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55457 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55458 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55459 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55460 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55461 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55462 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55463 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55464 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55466 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55467 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55468 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55469 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55470 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55472 Enable unaligned load optimization for Intel Core i3, i5 and i7
55474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55476 (index_Fast_Unaligned_Load): Define.
55477 (HAS_FAST_UNALIGNED_LOAD): Define.
55479 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55481 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55483 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55487 until it is clear that the information is realy needed.
55488 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55490 2011-06-22 Andreas Schwab <schwab@redhat.com>
55492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55494 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55497 /sys/devices/system/cpu/online if it is usable.
55499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55500 reading the information from the /proc filesystem to once a second.
55502 2011-06-21 Andreas Jaeger <aj@suse.de>
55504 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55505 NULL after inclusion of kernel headers.
55507 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55509 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55510 calls to internal_setent.
55513 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55514 addresses using gethostbyname4_r ignore IPv4 addresses.
55516 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55517 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55519 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55521 2011-06-20 David S. Miller <davem@davemloft.net>
55523 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55525 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55527 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55528 (elf_irel): Use it.
55529 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55530 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55531 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55532 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55533 * sysdeps/x86_64/dl-irel.h: Likewise.
55535 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55536 * elf/dl-sym.c: Likewise.
55538 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55540 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55541 need to dereference resplen2.
55543 2011-06-14 Andreas Schwab <schwab@redhat.com>
55545 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55547 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55549 * Makeconfig: Define vardbdir and inst_vardbdir.
55550 * nss/Makefile: Add rules to install db-Makefile.
55552 * nss/nss_db/db-XXX.c: Cleanup.
55554 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55555 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55557 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55558 * nss/makedb.c: Implement -g option to specify that value strings
55559 are generated and should not be added to table iterated over for
55561 * nss/nss_db/db-initgroups.c: New file.
55563 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55566 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55567 (internal_getgrouplist): Adjust to name change.
55568 Update use_initgroups_entry if this is not the first call.
55569 * nss/databases.def: Add initgroups entry.
55571 * nss/makedb.c (compute_tables): Check result of multiple hash table
55572 sizes to minimize maximum chain length.
55574 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55576 * Versions.def: Add entry for libnss_db.
55577 * shlib-versions: Likewise.
55578 * nss/Makefile: Add rules to build libnss_db.
55579 * nss/Versions: Add libnss_db information. Organize libnss_files
55581 * nss/db-Makefile: Add gshadow support. Change rules for the new
55582 makedb progra. Some minor improvements to generate smaller files.
55583 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55585 * nss/makedb.c: ...here.
55586 Improve database format to be smaller and require less memory at
55588 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55590 * nss/nss_db/db-netgrp.c: Likewise.
55591 * nss/nss_db/db-open.c: Likewise.
55592 * nss/nss_files/flies-XXX.x: Adjust comments.
55593 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55594 * nss/nss_files/files-grp.c: Likewise.
55595 * nss/nss_files/files-hosts.c: Likewise.
55596 * nss/nss_files/files-network.c: Likewise.
55597 * nss/nss_files/files-proto.c: Likewise.
55598 * nss/nss_files/files-pwd.c: Likewise.
55599 * nss/nss_files/files-rpc.c: Likewise.
55600 * nss/nss_files/files-service.c: Likewise.
55601 * nss/nss_files/files-sgrp.c: Likewise.
55602 * nss/nss_files/files-spwd.c: Likewise.
55603 * nss/nss_db/db-alias.c: Removed.
55604 * nss/nss_db/dummy-db.h: Removed.
55606 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55608 * nss/makedb.c: Rewritten to not use database library.
55609 * nss/Makefile: Update to build new makedb program.
55611 2011-06-14 Andreas Jaeger <aj@suse.de>
55613 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55614 memset declaration.
55616 2011-06-10 Andreas Schwab <schwab@redhat.com>
55618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55621 2011-06-10 Roland McGrath <roland@hack.frob.com>
55623 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55624 * elf/Makefile ($(objpfx)ld.so): Likewise.
55626 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55627 Don't list ld.so twice in dependencies.
55629 * posix/bug-regex31.c: Include <stdlib.h>.
55631 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55633 * nis/nss_compat/compat-spwd.c
55634 (getspent_next_nss_netgr): Remove unused variable.
55635 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55637 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55638 nonmembers" output to use the right array.
55640 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55642 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55644 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55645 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55646 * catgets/gencat.c (read_input_file): Likewise.
55647 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55649 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55650 variable definition inside #if's controlling its use.
55652 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55654 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55656 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55658 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55661 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55663 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55664 * configure: Regenerated.
55666 * Makerules: Revert last change.
55667 * elf/Makefile: Likewise.
55669 2011-06-09 Roland McGrath <roland@hack.frob.com>
55671 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55672 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55673 (reloc-link): Likewise.
55675 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55677 * elf/Makefile: Add rules to build pldd.
55678 * elf/pldd.c: New file.
55679 * elf/pldd-xx.c: New file.
55681 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55683 * version.h: Update for 2.15 development version.
55685 2011-06-07 David S. Miller <davem@davemloft.net>
55687 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55689 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55690 elf_machine_lazy_rel): Likewise.
55691 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55692 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55693 elf_machine_lazy_rel): Likewise.
55694 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55695 dl_hwcap via passed in argument.
55696 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55699 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55701 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55703 2011-06-06 Roland McGrath <roland@hack.frob.com>
55706 * manual/fdl-1.1.texi: New file, verbatim from:
55707 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55708 * manual/lgpl-2.1.texi: New file, verbatim from:
55709 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55710 * manual/Makefile (licenses): New variable, list those new file names.
55712 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55714 * manual/fdl.texi: File removed.
55715 * manual/lesser.texi: File removed.
55716 * manual/libc.texinfo (Copying, Documentation License):
55717 Use new @include file names, put @appendix directive before @include.
55719 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55722 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55723 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55724 (mq_open): Add __NTH.
55726 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55729 Assume Intel Core i3/i5/i7 processor if AVX is available.
55731 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55736 2011-05-31 Andreas Schwab <schwab@redhat.com>
55738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55739 memory. Use alloca_account. Fix memory leak when retrying.
55741 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55743 * version.h (RELEASE): Bump for 2.14 release.
55744 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55746 * config.make.in (RANLIB): Remove entry.
55748 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55750 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55751 (libc.pot): Work around missing support for .ksh extension in xgettext.
55754 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55755 if both request failed.
55756 (send_dg): In case of server errors clear resplen or *resplen2.
55759 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55760 when there are multiple maps.
55761 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55762 (_dl_fini): Remove test here.
55764 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55766 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55769 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55770 bit from old_res_options.
55771 (gaih_inet): Likewise.
55774 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55777 * resolv/res_init.c (res_setoptions): Make the code more compact.
55780 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55784 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55786 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55789 * malloc/malloc.h: Declare malloc hook variables as volatile.
55791 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55795 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55796 raise in the comment.
55797 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55798 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55799 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55801 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55804 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55805 grow the buffers more if it already has to be sufficient.
55806 (build_wcs_upper_buffer): Likewise.
55807 * posix/regexec.c (check_matching): Likewise.
55808 (clean_state_log_if_needed): Likewise.
55809 (extend_buffers): Don't enlarge buffers beyond size of the input
55811 Patches mostly by Emil Wojak <emil@wojak.eu>.
55812 * posix/bug-regex32.c: New file.
55813 * posix/Makefile (tests): Add bug-regex32.
55815 * locale/findlocale.c (_nl_find_locale): Return right away if
55816 _nl_explode_name failed.
55817 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55819 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55821 * debug/xtrace.sh: Unify messages.
55822 * malloc/memusage.sh: Likewise.
55825 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55826 time symbol from vDSO. Substitute with vsyscall if not available.
55827 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55831 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55832 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55833 Add sendmmsg and internal_sendmmsg.
55834 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55835 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55836 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55838 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55839 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55840 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55842 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55845 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55846 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55848 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55852 * iconvdata/Makefile (tests): Add bug-iconv9.
55853 * iconvdata/bug-iconv9.c: New file.
55855 2011-05-27 Andreas Schwab <schwab@redhat.com>
55858 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55860 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55863 (struct user_regs_struct): Change intcs field back to cs.
55865 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55867 * po/ja.po: Update from translation team.
55869 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55872 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55873 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55875 2011-05-20 Andreas Schwab <schwab@redhat.com>
55877 * stdlib/longlong.h: Update from GCC.
55879 2011-05-23 Andreas Schwab <schwab@redhat.com>
55881 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55883 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55884 Add parameter name.
55885 (__sysconf): Pass it down.
55887 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55890 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55892 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55893 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55894 add in in __libc_use_alloca calls. Adjust callers.
55895 (glob): Use malloc in some situations.
55897 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55898 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55901 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55903 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55904 and CLOCK_BOOTTIME_ALARM.
55907 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55910 * string/_strerror.c (__strerror_r): Print negative errors as signed
55914 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55915 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55916 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55918 * configure.in: Fix typo in redirection and correct removal of test
55919 files in two cases.
55922 * locale/setlocale.c (new_composite_name): Fix test to check for
55923 identical name of all categories.
55926 * libio/filedoalloc.c (local_isatty): New function.
55927 (_IO_file_doallocate): Use local_isatty.
55928 * stdio-common/perror.c (perror): In case a new stream is used
55929 forward the stream error.
55930 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55933 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55938 * include/alloca.h (extend_alloca_account): Define.
55941 * posix/regex.h: Fix comments with documentation of user-accessible
55942 fields after compilation and describe correct free'ing of pattern
55943 after re_compile_pattern.
55944 Patch by Reuben Thomas <rrt@sc3d.org>.
55946 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55948 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55949 and -mno-altivec to prevent the compiler from using Altivec and/or
55950 VSX instructions when the corresponding registers are not available.
55952 2011-05-19 Andreas Schwab <schwab@redhat.com>
55954 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55956 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55958 * libio/freopen.c (freopen): Use __dup2, not dup2.
55959 * libio/freopen64.c (freopen64): Likewise.
55961 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55964 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55965 * math/Makefile (tests): Add test-powl.
55966 (CFLAGS-test-powl.c): Define.
55967 * math/test-powl.c: New file.
55969 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55971 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55973 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55976 * iconvdata/gb18030.c: Update to GB18020-2005.
55978 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55980 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55981 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55982 Patch by Aharon Robbins <arnold@skeeve.com>.
55985 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55989 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55990 through underflows.
55993 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55994 point to strings before performing equality test for error_one_per_line
55998 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56001 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56002 (struct user_fpregs_struct): Avoid __uint*_t types.
56005 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56006 symbol info. Use it instead of calling _dl_addr locally.
56007 (lock_and_info): New function.
56008 (tr_freehook): Call lock_and_info and pass symbol info as additional
56009 parameter to tr_where.
56010 (tr_mallochook): Likewise.
56011 (tr_reallochook): Likewise.
56012 (tr_memalignhook): Likewise.
56014 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56015 used and couldn't be at all thread-safe.
56017 2011-05-15 Ulrich Drepper <drepper@gmail.com>
56019 * libio/freopen.c (freopen): Don't close old file descriptor
56020 before the new one is opened. Instead dup the new file descriptor
56021 to the old one after the new stream is created.
56022 * libio/freopen64.c (freopen64): Likewise.
56023 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56024 * libio/fileops.c (_IO_new_file_close_it): Handle new
56025 _IO_FLAGS2_NOCLOSE flag.
56026 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56027 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56028 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56029 _IO_FLAGS2_NOCLOSE flag.
56030 * include/unistd.h: Add hidden_proto for dup3.
56031 Define __have_dup3.
56032 * io/dup3.c: Define hidden symbol.
56033 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56036 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56037 when an incomplete long option is used.
56038 * posix/tst-getopt_long1.c: New file.
56039 * posix/Makefile (tests): Add tst-getopt_long1.
56042 * scripts/config.guess: Update from autoconf-2.68.
56043 * scripts/config.sub: Likewise.
56046 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56048 (has_cpuclock): ...this. New function.
56049 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56050 macro here based on has_cpuclock code.
56053 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56054 First byte (not low byte) is now always NUL.
56055 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56058 Use non-cancelable interfaces.
56061 * locale/iso-639.def: Add entry for Sorani.
56064 * include/stdlib.h: Move include protection to the right place.
56065 Define abort_msg_s. Declare __abort_msg with it.
56066 * stdlib/abort.c (__abort_msg): Adjust type.
56067 * assert/assert.c (__assert_fail_base): New function. Majority
56068 of code from __assert_fail. Allocate memory for __abort_msg with
56070 (__assert_fail): Now call __assert_fail_base.
56071 * assert/assert-perr.c: Remove bulk of implementation. Use
56072 __assert_fail_base.
56073 * include/assert.hL Declare __assert_fail_base.
56074 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56076 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56078 2011-05-14 Ulrich Drepper <drepper@gmail.com>
56082 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56083 until all modules are registered in the DTV.
56084 * elf/Makefile: Add rules to build and run tst-tls19.
56085 * elf/tst-tls19.c: New file.
56086 * elf/tst-tls19mod1.c: New file.
56087 * elf/tst-tls19mod2.c: New file.
56088 * elf/tst-tls19mod3.c: New file.
56089 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56092 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56096 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56097 two-byte sequence errors.
56098 * iconvdata/Makefile (tests): Add bug-iconv8.
56099 * iconvdata/bug-iconv8.c: New file.
56102 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56105 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56108 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56109 (dummy_getcfa): New function.
56110 (init): Get _Unwind_GetCFA address, use dummy if not found.
56111 (backtrace_helper): In recursion check, also check whether CFA changes.
56112 (__backtrace): Completely initialize arg.
56114 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56115 storing incomplete byte sequence in state object. Avoid testing for
56116 guaranteed too small input if we know there is enough data available.
56118 2011-05-11 Andreas Schwab <schwab@redhat.com>
56120 * Makeconfig (+link-pie): Indent.
56121 * Rules (binaries-pie): Define if $(have-fpie) and
56123 (binaries-shared): Also filter out $(binaries-pie).
56124 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56125 * nscd/Makefile (others-pie): Add nscd.
56126 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56127 ($(objpfx)nscd): Remove command override.
56128 * login/Makefile (others-pie): Add pt_chown.
56129 ($(objpfx)pt_chown): Remove command override.
56130 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56131 remove command overrides.
56133 2011-05-13 Ulrich Drepper <drepper@gmail.com>
56135 * libio/tst_putwc.c: Fix error messages.
56138 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56139 currently writing and seek to current position when not.
56140 * libio/Makefile (tests): Add bug-fclose1.
56141 * libio/bug-fclose1.c: New file.
56143 2011-05-12 Ulrich Drepper <drepper@gmail.com>
56146 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56147 don't set DF_1_NODELETE here.
56148 (do_lookup_x): When entering new entry test for copy relocation
56149 and if necessary set DF_1_NODELETE flag.
56150 * elf/tst-unique4.cc: New file.
56151 * elf/tst-unique4.h: New file.
56152 * elf/tst-unique4lib.cc: New file.
56153 * elf/Makefile: Add rules to build and run tst-unique4.
56154 Patch by Piotr Bury <pbury@goahead.com>.
56156 2011-05-11 Ulrich Drepper <drepper@gmail.com>
56159 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56162 * misc/mntent_r.c (addmntent): Flush the stream after the output
56165 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56166 (is_trusted_path_normalize): Skip initial colon. Append slash
56167 to empty buffer. Duplicate is_trusted_path code but allow
56168 constructed patch to be prefix.
56169 (is_dst): Allow $ORIGIN followed by /.
56170 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56171 Correct testing of result of is_trusted_path_normalize
56172 (decompose_rpath): Fix warning.
56174 2011-05-10 Ulrich Drepper <drepper@gmail.com>
56177 * grp/initgroups.c (internal_getgrouplist): When we found the service
56178 list through the initgroups entry in nsswitch.conf do not always
56179 continue on a successful lookup. Don't always use the
56180 __nss_group_database value if it is set.
56181 * nss/nsswitch.conf (initgroups): Change action for successful db
56182 lookup to continue for compatibility.
56184 2011-05-09 Ulrich Drepper <drepper@gmail.com>
56187 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56189 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56191 * iconvdata/tst-tables.sh: Likewise.
56192 * iconvdata/cp770.c: New file.
56193 * iconvdata/cp771.c: New file.
56194 * iconvdata/cp772.c: New file.
56195 * iconvdata/cp773.c: New file.
56196 * iconvdata/cp774.c: New file.
56197 * iconvdata/testdata/CP770: New file.
56198 * iconvdata/testdata/CP770..UTF8: New file.
56199 * iconvdata/testdata/CP771: New file.
56200 * iconvdata/testdata/CP771..UTF8: New file.
56201 * iconvdata/testdata/CP772: New file.
56202 * iconvdata/testdata/CP772..UTF8: New file.
56203 * iconvdata/testdata/CP773: New file.
56204 * iconvdata/testdata/CP773..UTF8: New file.
56205 * iconvdata/testdata/CP774: New file.
56206 * iconvdata/testdata/CP774..UTF8: New file.
56208 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56210 * iconvdata/gen-8bit-gap.sh: Likewise.
56211 * iconvdata/gen-8bit.sh: Likewise.
56213 * locale/iso-639.def: Add ary entry.
56216 * locale/C-translit.h.in: Add U20A1 transliteration.
56219 * locale/iso-639.def: Add wae entry.
56220 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56223 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56227 * locale/C-translit.h.in: Add entry for U20B9.
56228 Patch by pravin.d.s@gmail.com.
56230 2011-05-08 Ulrich Drepper <drepper@gmail.com>
56233 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56234 ENAMETOOLONG use generic getcwd.
56235 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56236 in rtld. Use *stat64.
56237 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56238 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56239 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56240 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56241 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56242 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56243 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56244 __fstatat64 macros.
56245 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56246 * dirent/rewinddir.c: Add libc_hidden_def.
56247 * sysdeps/mach/hurd/rewinddir.c: Likewise.
56248 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
56250 * include/dirent.h (__alloc_dir): Add flags parameter.
56251 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56252 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56254 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56255 from fdopendir if O_CLOEXEC is already set.
56257 2011-03-15 Alan Modra <amodra@gmail.com>
56259 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56260 l_tls_firstbyte_offset non-zero. Save padding offset in
56261 l_tls_firstbyte_offset for later use.
56262 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56263 freeing static tls block.
56265 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56267 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56268 where #ifdef was intended. The intent is to prevent ARG_MAX from
56269 being defined by the kernel headers.
56271 2011-05-07 Ulrich Drepper <drepper@gmail.com>
56274 * resolv/resolv.h: Define RES_NOTLDQUERY.
56275 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56276 no-tld-query and set RES_NOTLDQUERY.
56277 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56278 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56279 modern BIND to search name as TLD unless forbidden.
56281 2011-05-07 Petr Baudis <pasky@suse.cz>
56282 Ulrich Drepper <drepper@gmail.com>
56285 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56286 (is_trusted_path): ...to here.
56287 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56288 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56289 using is_trusted_path_normalize() in setuid scripts.
56291 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56293 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56294 __BEGIN/__END_DECLS.
56296 2011-05-06 Ulrich Drepper <drepper@gmail.com>
56298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56299 NSS_STATUS_NOTFOUND if no record was found.
56301 2011-05-05 Andreas Schwab <schwab@redhat.com>
56303 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56304 (headers-not-in-tirpc): Remove rpc/netdb.h
56305 * resolv/netdb.h: Revert last change.
56307 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56309 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56310 circular dependency between libgcc.a and libc.a.
56312 2011-05-05 Andreas Schwab <schwab@redhat.com>
56314 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56315 * nis/Makefile: Don't install rpcsvc/*.
56316 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56317 instead of <rpc/types.h>.
56318 (MAXHOSTNAMELEN): Define.
56320 2011-05-03 Andreas Schwab <schwab@redhat.com>
56322 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56324 2011-04-28 Maciej Babinski <mbabinski@google.com>
56327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56328 gethostbyname4_r when IPv6 results are possible.
56330 2011-05-02 Ulrich Drepper <drepper@gmail.com>
56333 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56334 _PC_PIPE_BUF handling.
56336 2011-04-30 Bruno Haible <bruno@clisp.org>
56339 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56340 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56342 * inet/getnameinfo.c (getnameinfo): Likewise.
56344 2011-04-29 Ulrich Drepper <drepper@gmail.com>
56346 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56347 to groups setting in database lookup.
56348 * nss/nsswitch.conf: Add initgroups entry.
56350 2011-04-22 Ulrich Drepper <drepper@gmail.com>
56353 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56355 Patch by Eric Blake <eblake@redhat.com>.
56357 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56359 * sunrpc/Makefile (need-export-routines): Add svc_run.
56360 (routines): Remove svc_run.
56361 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56362 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56363 * sunrpc/svc_run.c (svc_run): Likewise.
56364 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56366 2011-04-21 Ulrich Drepper <drepper@gmail.com>
56368 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56369 problem in reallocation in last patch.
56371 2011-04-20 Ulrich Drepper <drepper@gmail.com>
56373 * sunrpc/Makefile: Move inclusion of Rules.
56375 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56377 * nss/nss_files/files-initgroups.c: New file.
56378 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56379 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56380 _nss_files_initgroups_dyn.
56382 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56384 * elf/elf.h (R_ARM_IRELATIVE): Define.
56386 2011-04-19 Ulrich Drepper <drepper@gmail.com>
56388 * po/ru.po: Update from translation team.
56390 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56392 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56395 2011-02-06 Mike Frysinger <vapier@gentoo.org>
56398 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56399 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56401 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56402 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56404 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56406 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56408 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56409 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56410 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56412 2011-04-17 Ulrich Drepper <drepper@gmail.com>
56415 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56417 * stdlib/bug-getcontext.c: New file.
56418 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56420 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56422 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56423 instructions into .machine "z9-109".
56424 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56425 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56427 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56429 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56430 between environment variables and auxiliary vector.
56432 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56434 * Makefile: Add rules to build linkobj/libc.so.
56435 * include/libc-symbols.h: Define libc_hidden_nolink.
56436 * include/rpc/auth.h: Mark functions which are to be hidden.
56437 * include/rpc/auth_des.h: Likewise.
56438 * include/rpc/auth_unix.h: Likewise.
56439 * include/rpc/clnt.h: Likewise.
56440 * include/rpc/des_crypt.h: Likewise.
56441 * include/rpc/key_prot.h: Likewise.
56442 * include/rpc/pmap_clnt.h: Likewise.
56443 * include/rpc/pmap_prot.h: Likewise.
56444 * include/rpc/pmap_rmt.h: Likewise.
56445 * include/rpc/rpc_msg.h: Likewise.
56446 * include/rpc/svc.h: Likewise.
56447 * include/rpc/svc_auth.h: Likewise.
56448 * include/rpc/xdr.h: Likewise.
56449 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56450 * nss/Makefile: Likewise.
56451 * sunrpc/Makefile: Don't install headers. Build library with normal
56452 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56453 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56454 for the compat linking library. Remove use of INTDEF/INTUSE.
56455 * sunrpc/auth_none.c: Likewise.
56456 * sunrpc/auth_unix.c: Likewise.
56457 * sunrpc/authdes_prot.c: Likewise.
56458 * sunrpc/authuxprot.c: Likewise.
56459 * sunrpc/clnt_gen.c: Likewise.
56460 * sunrpc/clnt_perr.c: Likewise.
56461 * sunrpc/clnt_raw.c: Likewise.
56462 * sunrpc/clnt_simp.c: Likewise.
56463 * sunrpc/clnt_tcp.c: Likewise.
56464 * sunrpc/clnt_udp.c: Likewise.
56465 * sunrpc/clnt_unix.c: Likewise.
56466 * sunrpc/des_crypt.c: Likewise.
56467 * sunrpc/des_soft.c: Likewise.
56468 * sunrpc/get_myaddr.c: Likewise.
56469 * sunrpc/key_call.c: Likewise.
56470 * sunrpc/key_prot.c: Likewise.
56471 * sunrpc/netname.c: Likewise.
56472 * sunrpc/pm_getmaps.c: Likewise.
56473 * sunrpc/pm_getport.c: Likewise.
56474 * sunrpc/pmap_clnt.c: Likewise.
56475 * sunrpc/pmap_prot.c: Likewise.
56476 * sunrpc/pmap_prot2.c: Likewise.
56477 * sunrpc/pmap_rmt.c: Likewise.
56478 * sunrpc/publickey.c: Likewise.
56479 * sunrpc/rpc_cmsg.c: Likewise.
56480 * sunrpc/rpc_common.c: Likewise.
56481 * sunrpc/rpc_dtable.c: Likewise.
56482 * sunrpc/rpc_prot.c: Likewise.
56483 * sunrpc/rpc_thread.c: Likewise.
56484 * sunrpc/rtime.c: Likewise.
56485 * sunrpc/svc.c: Likewise.
56486 * sunrpc/svc_auth.c: Likewise.
56487 * sunrpc/svc_authux.c: Likewise.
56488 * sunrpc/svc_raw.c: Likewise.
56489 * sunrpc/svc_run.c: Likewise.
56490 * sunrpc/svc_simple.c: Likewise.
56491 * sunrpc/svc_tcp.c: Likewise.
56492 * sunrpc/svc_udp.c: Likewise.
56493 * sunrpc/svc_unix.c: Likewise.
56494 * sunrpc/svcauth_des.c: Likewise.
56495 * sunrpc/xcrypt.c: Likewise.
56496 * sunrpc/xdr.c: Likewise.
56497 * sunrpc/xdr_array.c: Likewise.
56498 * sunrpc/xdr_float.c: Likewise.
56499 * sunrpc/xdr_intXX_t.c: Likewise.
56500 * sunrpc/xdr_mem.c: Likewise.
56501 * sunrpc/xdr_rec.c: Likewise.
56502 * sunrpc/xdr_ref.c: Likewise.
56503 * sunrpc/xdr_sizeof.c: Likewise.
56504 * sunrpc/xdr_stdio.c: Likewise.
56506 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56509 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56510 * sysdeps/ia64/dl-tls.h: Likewise.
56511 * sysdeps/powerpc/dl-tls.h: Likewise.
56512 * sysdeps/s390/dl-tls.h: Likewise.
56513 * sysdeps/sh/dl-tls.h: Likewise.
56514 * sysdeps/sparc/dl-tls.h: Likewise.
56515 * sysdeps/x86_64/dl-tls.h: Likewise.
56516 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56518 2011-03-14 Andreas Schwab <schwab@redhat.com>
56520 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56521 rpath element also skip the following colon.
56522 (expand_dynamic_string_token): Add is_path parameter and pass
56523 down to DL_DST_REQUIRED and _dl_dst_substitute.
56524 (decompose_rpath): Call expand_dynamic_string_token with
56525 non-zero is_path. Ignore empty rpaths.
56526 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56529 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56534 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56537 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56538 Patch by Filipe David Manana <fdmanana@apache.org>.
56540 2011-04-07 Andreas Schwab <schwab@redhat.com>
56542 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56543 Maintain aligned stack.
56544 (CHECK_RSP): Remove unused macro.
56546 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56548 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56549 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56551 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56553 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56555 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56557 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56560 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56561 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56562 * sysdeps/x86_64/memmove.c: New file.
56563 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56564 (memcpy): Renamed to ...
56565 (__new_memcpy): This.
56566 (memcpy): Provide GLIBC_2_14 memcpy.
56567 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56568 (memcpy): Provide GLIBC_2_2_5 memcpy.
56570 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56573 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56575 2011-03-30 Andreas Schwab <schwab@redhat.com>
56577 * misc/syncfs.c: New file.
56578 * misc/Makefile (routines): Add syncfs.
56579 * posix/unistd.h: Declare syncfs.
56580 * sysdeps/unix/syscalls.list: Add syncfs.
56582 2011-04-01 Andreas Schwab <schwab@redhat.com>
56584 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56591 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56592 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56594 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56598 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56604 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56605 sync_file_range.c with -fexceptions.
56606 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56607 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56608 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56609 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56610 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56611 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56612 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56613 sync_file_range as cancellation point
56614 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56615 now a wrapper around __call_sync_file_range with cancellation handling.
56616 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56617 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56618 function name to __call_sync_file_range.
56619 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56620 Add call_sync_file_range.
56622 2011-04-01 Andreas Schwab <schwab@redhat.com>
56624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56627 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56629 * iconv/iconv.h: Fix typo in comment.
56630 * io/fcntl.h: Likewise.
56631 * libio/stdio.h: Likewise.
56632 * posix/spawn.h: Likewise.
56633 * posix/unistd.h: Likewise.
56634 * stdlib/stdlib.h: Likewise.
56635 * time/time.h: Likewise.
56636 * wcsmbs/wchar.h: Likewise.
56638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56639 open_by_handle): Add.
56640 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56641 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56642 Augment a few comments.
56643 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56645 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56648 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56651 * io/fcntl.h (AT_EMPTY_PATH): Define.
56653 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56655 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56656 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56657 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56659 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56660 * Versions.def: Add GLIBC_2.14.
56661 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56664 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56666 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56668 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56670 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56673 * string/test-strncmp.c (do_page_test): New function.
56674 (check2): Likewise.
56675 (test_main): Call check2.
56676 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56678 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56682 Handle cache information in CPU leaf 4.
56683 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56685 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56688 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56689 character representation.
56690 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56692 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56694 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56695 END(__isnan) to END(__isnanf) to match function entry point/label
56696 EALIGN(__isnanf,...).
56698 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56700 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56702 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56705 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56706 copy from the symbol referenced in the relocation to initialize the
56708 Patch by Piotr Bury <pbury@goahead.com>.
56709 * elf/Makefile: Add rules to build and tst-unique3.
56710 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56711 * elf/tst-unique3.cc: New file.
56712 * elf/tst-unique3.h: New file.
56713 * elf/tst-unique3lib.cc: New file.
56714 * elf/tst-unique3lib2.cc: New file.
56716 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56718 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56720 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56721 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56724 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56726 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56727 to-be-loaded object along a path to loader is ld.so.
56729 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56730 Ulrich Drepper <drepper@gmail.com>
56732 * sysdeps/x86_64/memset.S: After aligning destination, code
56733 branches to different locations depending on the value of
56734 misalignment, when multiarch is enabled. Fix this.
56736 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56738 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56739 Set _x86_64_preferred_memory_instruction for AMD processsors.
56740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56741 Set bit_Prefer_SSE_for_memop for AMD processors.
56743 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56745 * libio/fmemopen.c (fmemopen): Optimize a bit.
56747 2011-03-03 Andreas Schwab <schwab@redhat.com>
56749 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56751 2011-03-03 Roland McGrath <roland@redhat.com>
56753 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56755 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56757 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56758 __bzero_ultra1 instead of __memset_ultra1.
56760 2011-02-23 Andreas Schwab <schwab@redhat.com>
56761 Ulrich Drepper <drepper@gmail.com>
56764 * include/link.h (struct link_map): Add l_orig_initfini.
56765 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56766 returning unsuccessfully.
56767 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56768 close of a file loaded at startup, restore the original l_initfini
56770 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56771 list, store the pointer.
56772 * elf/Makefile ($(objpfx)noload-mem): New rule.
56773 (noload-ENV): Define.
56774 (tests): Add $(objpfx)noload-mem.
56775 * elf/noload.c: Include <memcheck.h>.
56776 (main): Call mtrace. Close all opened handles.
56778 2011-02-17 Andreas Schwab <schwab@redhat.com>
56781 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56782 dependencies are missing.
56784 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56786 Fix __if_freereq crash: Unlike the generic version which uses free,
56788 * sysdeps/mach/hurd/ifreq.h: New file.
56790 2011-01-27 Petr Baudis <pasky@suse.cz>
56791 Ulrich Drepper <drepper@gmail.com>
56794 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56795 to extend_alloca().
56796 * stdio-common/bug23.c: New file.
56797 * stdio-common/Makefile (tests): Add bug23.
56799 2010-09-28 Andreas Schwab <schwab@redhat.com>
56800 Ulrich Drepper <drepper@gmail.com>
56803 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56804 before performing relro protection. At old place add assertion
56805 to make sure nothing changed.
56807 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56808 Glauber de Oliveira Costa <glommer@gmail.com>
56810 * elf/elf.h: Add new ARM TLS relocs.
56812 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56815 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56817 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56819 * sysdeps/wordsize-64/tst-writev.c: New file.
56821 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56823 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56824 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56825 insns in _dl_start to prevent a TOC reference before relocs are
56828 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56831 * Makeconfig: Remove RANLIB definition.
56832 * Makerules: Don't use RANLIB.
56833 * aclocal.m4: Remove ranlib test.
56834 * configure.in: No need to check for ranlib.
56835 * elf/rtld-Rules: Don't use RANLIB.
56837 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56839 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56841 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56842 inclusion protection macro.
56844 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56845 SIGRTMIN and SIGRTMAX and print information in that case only when
56846 SIGRTMIN is defined.
56848 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56850 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56851 arginfo fn returning -1.
56853 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56854 and thousands string is zero terminated.
56856 2011-02-03 Andreas Schwab <schwab@redhat.com>
56858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56859 sysdeps/unix/sysv/linux/bits/socket.h.
56861 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56863 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56864 (__CPU_COUNT): Remove old macros.
56865 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56866 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56867 (__CPU_ALLOC, __CPU_FREE): Add macros.
56868 (__sched_cpualloc, __sched_cpufree): Add declarations.
56870 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56872 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56873 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56874 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56875 (readdhstai): Return value of addhstaiX call.
56876 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56877 (addgrbyX): Return value returned by cache_addgr.
56878 (readdgrbyname): Return value returned by addgrbyX.
56879 (readdgrbygid): Likewise.
56880 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56881 (addpwbyX): Return value returned by cache_addpw.
56882 (readdpwbyname): Return value returned by addhstbyX.
56883 (readdpwbyuid): Likewise.
56884 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56885 (addservbyX): Return value returned by cache_addserv.
56886 (readdservbyname): Return value returned by addservbyX:
56887 (readdservbyport): Likewise.
56888 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56889 (addhstbyX): Return value returned by cache_addhst.
56890 (readdhstbyname): Return value returned by addhstbyX.
56891 (readdhstbyaddr): Likewise.
56892 (readdhstbynamev6): Likewise.
56893 (readdhstbyaddrv6): Likewise.
56894 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56895 (readdinitgroups): Return value returned by addinitgroupsX.
56896 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56897 (prune_cache): Keep track of timeout value of re-added entries.
56898 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56899 * nscd/nscd.h: Adjust prototypes of readd* functions.
56901 2011-02-04 Roland McGrath <roland@redhat.com>
56903 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56904 (nis_stats): Likewise.
56905 * nis/nis_modify.c (nis_modify): Likewise.
56906 * nis/nis_remove.c (nis_remove): Likewise.
56907 * nis/nis_add.c (nis_add): Likewise.
56909 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56911 * posix/fnmatch_loop.c: Add some consts.
56913 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56915 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56918 * config.make.in (config-cflags-novzeroupper): Define.
56919 * configure.in: Substitute libc_cv_cc_novzeroupper.
56920 * elf/Makefile (AVX-CFLAGS): Define.
56921 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56922 (CFLAGS-tst-auditmod4a.c): Likewise.
56923 (CFLAGS-tst-auditmod4b.c): Likewise.
56924 (CFLAGS-tst-auditmod6b.c): Likewise.
56925 (CFLAGS-tst-auditmod6c.c): Likewise.
56926 (CFLAGS-tst-auditmod7b.c): Likewise.
56927 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56929 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56931 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56932 function to the callback.
56933 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56935 2011-02-02 Andreas Schwab <schwab@redhat.com>
56937 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56940 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56943 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56945 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56947 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56950 * elf/Makefile: Add rules to build and run new test.
56951 * elf/tst-initorder.c: New file.
56952 * elf/tst-initorder.exp: New file.
56953 * elf/tst-initordera1.c: New file.
56954 * elf/tst-initordera2.c: New file.
56955 * elf/tst-initordera3.c: New file.
56956 * elf/tst-initordera4.c: New file.
56957 * elf/tst-initorderb1.c: New file.
56958 * elf/tst-initorderb2.c: New file.
56959 * elf/tst-order-a1.c: New file.
56960 * elf/tst-order-a2.c: New file.
56961 * elf/tst-order-a3.c: New file.
56962 * elf/tst-order-a4.c: New file.
56963 * elf/tst-order-b1.c: New file.
56964 * elf/tst-order-b2.c: New file.
56965 * elf/tst-order-main.c: New file.
56966 New test case by George Gensure <werkt0@gmail.com>.
56968 2010-10-01 Andreas Schwab <schwab@redhat.com>
56970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56971 decoding ACE if AI_CANONIDN.
56973 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56975 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56977 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56979 * version.h (RELEASE): Bump for 2.13 release.
56980 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56982 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56986 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56987 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56988 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56989 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56990 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56993 * posix/getconf.c: Update copyright year.
56994 * catgets/gencat.c: Likewise.
56995 * csu/version.c: Likewise.
56996 * debug/catchsegv.sh: Likewise.
56997 * debug/xtrace.sh: Likewise.
56998 * elf/ldconfig.c: Likewise.
56999 * elf/ldd.bash.in: Likewise.
57000 * elf/sprof.c (print_version): Likewise.
57001 * iconv/iconv_prog.c: Likewise.
57002 * iconv/iconvconfig.c: Likewise.
57003 * locale/programs/locale.c: Likewise.
57004 * locale/programs/localedef.c: Likewise.
57005 * malloc/memusage.sh: Likewise.
57006 * malloc/mtrace.pl: Likewise.
57007 * nscd/nscd.c (print_version): Likewise.
57008 * nss/getent.c: Likewise.
57010 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57011 PF_CAIF, and PF_ALG.
57012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57014 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57016 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57017 (modules-names): Use them.
57018 (ifunc-test-modules, ifunc-pie-tests): Define.
57019 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57020 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57021 (test-extras): Likewise.
57022 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57023 $(compile-command.c).
57024 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57025 (all-built-dso): Define.
57026 (check-textrel.out, check-execstack.out): Depend on it.
57028 * configure.in: Don't override --enable-multi-arch.
57030 2011-01-15 Ulrich Drepper <drepper@gmail.com>
57033 * nscd/hstcache.c (tryagain): Define.
57034 (cache_addhst): Return tryagain not notfound for temporary errors.
57035 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57038 2011-01-14 Ulrich Drepper <drepper@gmail.com>
57041 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57042 to make the syscall.
57043 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57046 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57047 and fall back to matching as normal character if the string ends before
57048 the matching ']' is found. This is what POSIX requires.
57049 * posix/testfnm.c: Adjust test result.
57050 * posix/globtest.sh: Adjust test result. Add new test.
57051 * posix/tst-fnmatch.input: Likewise.
57052 * posix/tst-fnmatch2.c: Add new test.
57054 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57056 * elf/Makefile (check-execstack): Revert last change. Depend on
57058 (check-execstack.h): New target.
57059 (generated): Add check-execstack.h.
57060 * elf/check-execstack.c: Include "check-execstack.h".
57061 (main): Revert last change.
57062 (handle_file): Return zero if GNU_STACK is absent and
57063 DEFAULT_STACK_PERMS doesn't include PF_X.
57065 2011-01-13 Ulrich Drepper <drepper@gmail.com>
57067 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57068 in child fails because the descriptor is already closed.
57069 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57070 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57071 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57074 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57078 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57079 temporary buffer used to handle multi lookups locally.
57080 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57082 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57084 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57087 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57089 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57090 alignment for SSE2.
57092 2011-01-12 Ulrich Drepper <drepper@gmail.com>
57095 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57096 characters. When rounding increased number of integer digits recompute
57098 * stdio-common/tst-grouping.c: New file.
57099 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57101 2011-01-09 Ulrich Drepper <drepper@gmail.com>
57103 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57104 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57106 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57108 * bits/select.h: Likewise.
57110 2011-01-08 Ulrich Drepper <drepper@gmail.com>
57112 * po/ja.po: Update from translation team.
57114 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
57117 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57118 implementation just like for lxstat, fxstatat, et al.
57120 2010-12-27 Jim Meyering <meyering@redhat.com>
57123 * posix/regexec.c (build_trtable): Return failure indication upon
57124 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57126 2010-12-25 Ulrich Drepper <drepper@gmail.com>
57129 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57130 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57131 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57132 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57135 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57138 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57139 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57141 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57143 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57144 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57145 script has SORT_BY_INIT_PRIORITY.
57146 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57147 NO_CTORS_DTORS_SECTIONS is defined.
57148 * elf/soinit.c: Likewise.
57149 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57150 NO_CTORS_DTORS_SECTIONS is defined.
57151 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57152 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57153 * sysdeps/sh/init-first.c: Likewise.
57154 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57156 2010-12-24 Ulrich Drepper <drepper@gmail.com>
57158 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57159 always use the slow path.
57161 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57163 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57164 similar rule which adds the sysdep directories to the header search in
57165 order to pick up the correct platform stackinfo.h.
57166 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57167 perform test if it is, otherwise return successfully without testing.
57168 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57169 DEFAULT_STACK_PERMS define in stackinfo.h.
57170 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57171 defined in stackinfo.h.
57172 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57173 DEFAULT_STACK_PERMS defined in stackinfo.h.
57174 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57175 * sysdeps/ia64/stackinfo.h: Likewise.
57176 * sysdeps/s390/stackinfo.h: Likewise.
57177 * sysdeps/sh/stackinfo.h: Likewise.
57178 * sysdeps/sparc/stackinfo.h: Likewise.
57179 * sysdeps/x86_64/stackinfo.h: Likewise.
57180 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57181 PF_X for powerpc64. Retain PF_X for powerpc32.
57183 2010-12-19 Ulrich Drepper <drepper@gmail.com>
57185 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57187 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57188 GETDENTS_64BIT_ALIGNED.
57190 2010-12-14 Ulrich Drepper <dreper@gmail.com>
57192 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57194 2010-12-10 Andreas Schwab <schwab@redhat.com>
57196 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57199 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57200 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57202 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57203 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57205 2010-12-09 Ulrich Drepper <drepper@gmail.com>
57208 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57211 2010-12-09 Jakub Jelinek <jakub@redhat.com>
57213 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57215 2010-12-03 Ulrich Drepper <drepper@gmail.com>
57217 * po/it.po: Update from translation team.
57219 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57224 2010-11-30 Ulrich Drepper <drepper@gmail.com>
57226 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57228 2010-11-24 Andreas Schwab <schwab@redhat.com>
57230 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57232 (gaih_getanswer_slice): Likewise.
57234 2010-10-20 Jakub Jelinek <jakub@redhat.com>
57236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57238 2010-05-31 Petr Baudis <pasky@suse.cz>
57241 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57242 silently even in the chroot mode.
57244 2010-11-22 Ulrich Drepper <drepper@gmail.com>
57246 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57247 last patch a bit. Pretty printing
57249 2010-05-31 Petr Baudis <pasky@suse.cz>
57252 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57253 initialization of skip_initgroups_dyn.
57255 2010-11-19 Ulrich Drepper <drepper@gmail.com>
57257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57258 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57260 2010-11-16 Ulrich Drepper <drepper@gmail.com>
57262 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57264 2010-11-11 Andreas Schwab <schwab@redhat.com>
57266 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57267 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57268 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57269 ($(objpfx)tst-fnmatch-mem): New rule.
57270 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57271 * posix/tst-fnmatch.c (main): Call mtrace.
57273 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57276 Support Intel processor model 6 and model 0x2c.
57278 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
57280 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57283 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57286 * string/test-strncasecmp.c (check_result): New function.
57287 (do_one_test): Use it.
57288 (check1): New function.
57289 (test_main): Use it.
57290 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57291 Support strcasecmp and strncasecmp.
57293 2010-11-08 Ulrich Drepper <drepper@gmail.com>
57296 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57297 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57299 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57301 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57305 * sysdeps/x86_64/multiarch/bzero.S: New file.
57306 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57307 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57308 * sysdeps/x86_64/multiarch/memset.S: New file.
57309 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57311 Set bit_Prefer_SSE_for_memop for Intel processors.
57312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57314 (index_Prefer_SSE_for_memop): Define.
57315 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57317 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
57319 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57320 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57322 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57325 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57326 (__x86_64_raw_data_cache_size_half): Likewise.
57327 (__x86_64_raw_shared_cache_size): Likewise.
57328 (__x86_64_raw_shared_cache_size_half): Likewise.
57330 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57331 (__x86_64_raw_data_cache_size_half): Likewise.
57332 (__x86_64_raw_shared_cache_size): Likewise.
57333 (__x86_64_raw_shared_cache_size_half): Likewise.
57334 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57335 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57336 and __x86_64_raw_shared_cache_size_half. Round
57337 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57338 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57339 to multiple of 256 bytes.
57341 2010-11-03 Ulrich Drepper <drepper@gmail.com>
57344 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57345 of inacessible symlinks. Verify result of symlink before returning it.
57346 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57347 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57349 2010-10-28 Erich Ritz <erichritz@gmail.com>
57351 * math/math.h (isinf): Fix typo in comment.
57353 2010-11-01 Ulrich Drepper <drepper@gmail.com>
57355 * po/da.po: Update from translation team.
57357 2010-10-26 Ulrich Drepper <drepper@gmail.com>
57359 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57360 is added to the list.
57362 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57363 Ulrich Drepper <drepper@gmail.com>
57365 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57366 the global list here. Move code to...
57367 (_dl_add_to_namespace_list): ...here. New function.
57368 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57369 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57370 * elf/dl-load.c (lose): Don't remove the element from the list.
57371 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57372 (_dl_map_object): Likewise.
57374 2010-10-25 Ulrich Drepper <drepper@gmail.com>
57377 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57378 into all bytes of SSE register.
57379 Patch by Richard Li <richardpku@gmail.com>.
57381 2010-10-24 Ulrich Drepper <drepper@gmail.com>
57384 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57387 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57389 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57390 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57391 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57392 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57397 2010-10-22 Andreas Schwab <schwab@redhat.com>
57399 * include/dlfcn.h (__RTLD_SECURE): Define.
57400 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57401 mode & __RTLD_SECURE instead.
57402 (open_path): Rename preloaded parameter to secure.
57403 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57404 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57405 * elf/dl-deps.c (openaux): Likewise.
57406 * elf/rtld.c (struct map_args): Remove is_preloaded.
57407 (map_doit): Don't use it.
57408 (dl_main): Likewise.
57409 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57410 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57412 2010-09-09 Andreas Schwab <schwab@redhat.com>
57414 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57415 (sysd-rules-targets): Remove duplicates.
57416 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57417 rtld-%.$o dependency.
57419 2010-10-18 Andreas Schwab <schwab@redhat.com>
57421 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57422 _dl_map_object do it.
57424 2010-10-19 Ulrich Drepper <drepper@gmail.com>
57426 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57427 fast fma builtins, define the macros in the C99 standard.
57428 (FP_FAST_FMAF): Likewise.
57429 (FP_FAST_FMAL): Likewise.
57430 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57432 * bits/mathdef.h: Update copyright year.
57433 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57435 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57437 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57438 builtins, define the macros in the C99 standard.
57439 (FP_FAST_FMAF): Likewise.
57440 (FP_FAST_FMAL): Likewise.
57441 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57443 (FP_FAST_FMAF): Likewise.
57445 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57448 * math/libm-test.inc (fma_test): Some new testcases.
57449 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57450 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57451 y and infinite z. Do multiplication by C already in long double.
57452 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57454 y and infinite z. Do bitwise or of inexact bit into u.d.
57455 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57456 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57457 * sysdeps/i386/fpu/s_fma.S: Removed.
57458 * sysdeps/i386/fpu/s_fmal.S: Removed.
57460 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57463 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57465 computation is not scheduled after fetestexcept. Fix value
57466 of minimum denormal long double.
57468 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57471 * math/libm-test.inc (fma_test): Add some more tests.
57472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57475 2010-10-15 Andreas Schwab <schwab@redhat.com>
57477 * scripts/data/localplt-s390-linux-gnu.data: New file.
57478 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57480 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57483 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57484 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57486 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57488 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57490 if one of x and y is very large and the other is subnormal.
57491 * sysdeps/s390/fpu/s_fmaf.c: New file.
57492 * sysdeps/s390/fpu/s_fma.c: New file.
57493 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57494 * sysdeps/powerpc/fpu/s_fma.S: New file.
57495 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57496 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57497 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57499 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57502 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57504 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57505 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57506 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57507 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57508 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57509 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57510 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57512 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57515 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57516 * posix/bug-regex31.input: Add test case.
57518 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57520 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57521 * posix/bug-regex31.input: New file.
57524 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57525 (parse_sub_exp): Fix last change, use postorder.
57527 * posix/bug-regex31.c: New file.
57528 * posix/Makefile: Add rules to build and run bug-regex31.
57530 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57533 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57536 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57537 to have entries in sys_siglist.
57540 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57543 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57546 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57547 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57548 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57549 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57550 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57551 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57552 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57553 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57554 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57555 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57556 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57557 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57558 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57559 * math/ftestexcept.c (fetestexcept): Likewise.
57560 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57561 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57562 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57563 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57564 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57565 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57566 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57568 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57571 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57574 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57576 * string/bug-strstr1.c: New file.
57577 * string/Makefile: Add rules to build and run bug-strstr1.
57579 2010-10-05 Eric Blake <eblake@redhat.com>
57582 * string/str-two-way.h (two_way_long_needle): Always clear memory
57583 when skipping input due to the shift table.
57585 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57588 * malloc/mcheck.c: Handle large requests.
57591 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57592 for strncmp and strncasecmp.
57593 * string/stratcliff.c: Add tests for strcmp and strncmp.
57594 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57596 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57598 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57601 2010-09-30 Andreas Jaeger <aj@suse.de>
57603 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57604 (CGROUP_SUPER_MAGIC): Define.
57605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57606 Handle btrfs and cgroup file systems.
57607 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57610 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57612 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57613 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57615 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57618 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57619 trying to locate the ELF header.
57621 2010-09-27 Andreas Schwab <schwab@redhat.com>
57624 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57625 Mask out sign-bit copies when constructing f_fsid.
57627 2010-09-24 Petr Baudis <pasky@suse.cz>
57629 * debug/stack_chk_fail_local.c: Add missing licence exception.
57630 * debug/warning-nop.c: Likewise.
57632 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57634 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57635 implementing getdents64 using getdents syscall, set d_type if
57636 __ASSUME_GETDENTS32_D_TYPE.
57638 2010-09-16 Andreas Schwab <schwab@redhat.com>
57640 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57641 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57643 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57646 * posix/unistd.h: Undo change of feature selection for ftruncate from
57649 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57651 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57654 2010-09-20 Andreas Schwab <schwab@redhat.com>
57656 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57658 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57660 2010-09-14 Andreas Schwab <schwab@redhat.com>
57662 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57663 variables after CHECK_SP call.
57664 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57666 2010-09-13 Andreas Schwab <schwab@redhat.com>
57667 Ulrich Drepper <drepper@redhat.com>
57669 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57670 re-relocationg ld.so.
57671 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57672 _dl_init_paths call.
57673 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57676 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57678 * resolv/res_init.c (__res_vinit): Count the default server we added.
57680 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57681 Ulrich Drepper <drepper@redhat.com>
57684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57685 (____longjmp_chk): Use %ebx for saving value across system call.
57688 2010-09-06 Andreas Schwab <schwab@redhat.com>
57690 * manual/Makefile: Don't mix pattern rules with normal rules.
57692 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57694 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57696 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57697 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57698 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57699 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57700 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57703 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57706 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57707 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57709 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57711 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57712 * sysdeps/x86_64/addmul_1.S: Likewise.
57713 * sysdeps/x86_64/lshift.S: Likewise.
57714 * sysdeps/x86_64/mul_1.S: Likewise.
57715 * sysdeps/x86_64/rshift.S: Likewise.
57716 * sysdeps/x86_64/sub_n.S: Likewise.
57717 * sysdeps/x86_64/submul_1.S: Likewise.
57719 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57721 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57722 Define __sched_param instead of SCHED_* and sched_param when
57723 <bits/sched.h> is included with __need_schedparam defined.
57724 * bits/sched.h [__need_schedparam]
57725 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57726 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57727 (__defined_schedparam): Define to 1.
57728 (__sched_param): New structure, identical to sched_param.
57729 (__need_schedparam): Undefine.
57731 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57733 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57734 (epoll_create1): Declare.
57736 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57738 2010-08-31 Andreas Schwab <schwab@redhat.com>
57741 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57742 shifting retval into place.
57744 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57746 * nis/rpcsvc/nis.h: Update copyright notice.
57747 * nis/rpcsvc/nis.x: Likewise.
57748 * nis/rpcsvc/nis_callback.h: Likewise.
57749 * nis/rpcsvc/nis_callback.x: Likewise.
57750 * nis/rpcsvc/nis_object.x: Likewise.
57751 * nis/rpcsvc/nis_tags.h: Likewise.
57752 * nis/rpcsvc/yp.h: Likewise.
57753 * nis/rpcsvc/yp.x: Likewise.
57754 * nis/rpcsvc/ypupd.h: Likewise.
57755 * nis/yp_xdr.c: Likewise.
57756 * nis/ypupdate_xdr.c: Likewise.
57758 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57759 mainly the body of pmap_getport. Add parameters to specify timeouts.
57760 (pmap_getport): Use __libc_rpc_getport.
57761 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57762 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57763 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57765 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57770 2010-08-27 Roland McGrath <roland@redhat.com>
57772 * sysdeps/i386/i686/multiarch/Makefile
57773 (CFLAGS-varshift.c): New variable.
57775 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57777 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57778 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57782 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57784 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57786 * sysdeps/x86_64/strlen.S: Unroll the loop.
57787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57788 strlen-sse2 strlen-sse2-bsf.
57789 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57790 __strlen_no_bsf if bit_Slow_BSF is set.
57791 (__strlen_sse42): Removed.
57792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57793 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57795 2010-08-25 Roland McGrath <roland@redhat.com>
57797 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57798 * sysdeps/x86_64/multiarch/varshift.c: New file.
57799 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57800 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57801 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57802 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57804 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57807 strlen-sse2 strlen-sse2-bsf.
57808 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57809 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57810 (__strlen_sse2): Removed.
57811 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57814 bit_Slow_BSF for Atom.
57815 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57816 (index_Slow_BSF): Define.
57817 (HAS_SLOW_BSF): Define.
57819 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57822 * resolv/res_init.c (__res_vinit): When no server address at all
57823 is given default to loopback.
57825 2010-08-24 Roland McGrath <roland@redhat.com>
57827 * configure.in: Remove config-name.h generation.
57828 * configure: Regenerated.
57829 * config-name.in: File removed.
57830 * scripts/config-uname.sh: New file.
57831 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57832 ($(objdir)config-name.h): New target.
57834 * sunrpc/rpc_parse.h: Avoid nested comment.
57836 2010-08-24 Richard Henderson <rth@redhat.com>
57837 Ulrich Drepper <drepper@redhat.com>
57838 H.J. Lu <hongjiu.lu@intel.com>
57840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57842 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57843 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57844 _mm_alignr_epi8 with _mm_loadu_si128.
57845 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57846 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57847 (__m128i_shift_right): Removed.
57848 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57849 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57850 * sysdeps/x86_64/multiarch/varshift.h: New file.
57851 * sysdeps/x86_64/multiarch/varshift.S: New file.
57853 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57855 * configure.in: Move assembler checks to before sysdep dir checking.
57857 2010-08-20 Petr Baudis <pasky@suse.cz>
57859 * LICENSES: Sync the sunrpc license.
57861 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57863 * sunrpc/auth_des.c: Update copyright notice once again.
57864 * sunrpc/auth_none.c: Likewise.
57865 * sunrpc/auth_unix.c: Likewise.
57866 * sunrpc/authdes_prot.c: Likewise.
57867 * sunrpc/authuxprot.c: Likewise.
57868 * sunrpc/bindrsvprt.c: Likewise.
57869 * sunrpc/clnt_gen.c: Likewise.
57870 * sunrpc/clnt_perr.c: Likewise.
57871 * sunrpc/clnt_raw.c: Likewise.
57872 * sunrpc/clnt_simp.c: Likewise.
57873 * sunrpc/clnt_tcp.c: Likewise.
57874 * sunrpc/clnt_udp.c: Likewise.
57875 * sunrpc/clnt_unix.c: Likewise.
57876 * sunrpc/des_crypt.c: Likewise.
57877 * sunrpc/des_soft.c: Likewise.
57878 * sunrpc/get_myaddr.c: Likewise.
57879 * sunrpc/getrpcport.c: Likewise.
57880 * sunrpc/key_call.c: Likewise.
57881 * sunrpc/key_prot.c: Likewise.
57882 * sunrpc/openchild.c: Likewise.
57883 * sunrpc/pm_getmaps.c: Likewise.
57884 * sunrpc/pm_getport.c: Likewise.
57885 * sunrpc/pmap_clnt.c: Likewise.
57886 * sunrpc/pmap_prot.c: Likewise.
57887 * sunrpc/pmap_prot2.c: Likewise.
57888 * sunrpc/pmap_rmt.c: Likewise.
57889 * sunrpc/rpc/auth.h: Likewise.
57890 * sunrpc/rpc/auth_unix.h: Likewise.
57891 * sunrpc/rpc/clnt.h: Likewise.
57892 * sunrpc/rpc/des_crypt.h: Likewise.
57893 * sunrpc/rpc/key_prot.h: Likewise.
57894 * sunrpc/rpc/netdb.h: Likewise.
57895 * sunrpc/rpc/pmap_clnt.h: Likewise.
57896 * sunrpc/rpc/pmap_prot.h: Likewise.
57897 * sunrpc/rpc/pmap_rmt.h: Likewise.
57898 * sunrpc/rpc/rpc.h: Likewise.
57899 * sunrpc/rpc/rpc_des.h: Likewise.
57900 * sunrpc/rpc/rpc_msg.h: Likewise.
57901 * sunrpc/rpc/svc.h: Likewise.
57902 * sunrpc/rpc/svc_auth.h: Likewise.
57903 * sunrpc/rpc/types.h: Likewise.
57904 * sunrpc/rpc/xdr.h: Likewise.
57905 * sunrpc/rpc_clntout.c: Likewise.
57906 * sunrpc/rpc_cmsg.c: Likewise.
57907 * sunrpc/rpc_common.c: Likewise.
57908 * sunrpc/rpc_cout.c: Likewise.
57909 * sunrpc/rpc_dtable.c: Likewise.
57910 * sunrpc/rpc_hout.c: Likewise.
57911 * sunrpc/rpc_main.c: Likewise.
57912 * sunrpc/rpc_parse.c: Likewise.
57913 * sunrpc/rpc_parse.h: Likewise.
57914 * sunrpc/rpc_prot.c: Likewise.
57915 * sunrpc/rpc_sample.c: Likewise.
57916 * sunrpc/rpc_scan.c: Likewise.
57917 * sunrpc/rpc_scan.h: Likewise.
57918 * sunrpc/rpc_svcout.c: Likewise.
57919 * sunrpc/rpc_tblout.c: Likewise.
57920 * sunrpc/rpc_util.c: Likewise.
57921 * sunrpc/rpc_util.h: Likewise.
57922 * sunrpc/rpcinfo.c: Likewise.
57923 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57924 * sunrpc/rpcsvc/key_prot.x: Likewise.
57925 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57926 * sunrpc/rpcsvc/mount.x: Likewise.
57927 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57928 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57929 * sunrpc/rpcsvc/rex.x: Likewise.
57930 * sunrpc/rpcsvc/rstat.x: Likewise.
57931 * sunrpc/rpcsvc/rusers.x: Likewise.
57932 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57933 * sunrpc/rpcsvc/spray.x: Likewise.
57934 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57935 * sunrpc/rtime.c: Likewise.
57936 * sunrpc/svc.c: Likewise.
57937 * sunrpc/svc_auth.c: Likewise.
57938 * sunrpc/svc_authux.c: Likewise.
57939 * sunrpc/svc_raw.c: Likewise.
57940 * sunrpc/svc_run.c: Likewise.
57941 * sunrpc/svc_simple.c: Likewise.
57942 * sunrpc/svc_tcp.c: Likewise.
57943 * sunrpc/svc_udp.c: Likewise.
57944 * sunrpc/svc_unix.c: Likewise.
57945 * sunrpc/svcauth_des.c: Likewise.
57946 * sunrpc/xcrypt.c: Likewise.
57947 * sunrpc/xdr.c: Likewise.
57948 * sunrpc/xdr_array.c: Likewise.
57949 * sunrpc/xdr_float.c: Likewise.
57950 * sunrpc/xdr_mem.c: Likewise.
57951 * sunrpc/xdr_rec.c: Likewise.
57952 * sunrpc/xdr_ref.c: Likewise.
57953 * sunrpc/xdr_sizeof.c: Likewise.
57954 * sunrpc/xdr_stdio.c: Likewise.
57956 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57959 2010-08-19 Andreas Schwab <schwab@redhat.com>
57961 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57963 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57965 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57966 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57967 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57968 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57969 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57970 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57971 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57972 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57973 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57974 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57975 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57976 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57977 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57978 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57980 2010-07-26 Anton Blanchard <anton@samba.org>
57982 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57983 * malloc/arena.c (heap_trim): Likewise.
57985 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57987 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57990 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57992 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57994 * sysdeps/i386/elf/Makefile: New file.
57996 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57998 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57999 from fanotify_init.
58000 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58001 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58003 2010-08-15 Ulrich Drepper <drepper@redhat.com>
58005 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58007 * sysdeps/multiarch/strcmp.S: Likewise.
58009 2010-08-14 Ulrich Drepper <drepper@redhat.com>
58011 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58012 strncase_l-nonascii.
58013 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58014 Add strncase_l-ssse3.
58015 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58016 * sysdeps/x86_64/strcmp.S: Likewise.
58017 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58018 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58019 * sysdeps/x86_64/strncase.S: New file.
58020 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58021 * sysdeps/x86_64/strncase_l.S: New file.
58022 * string/Makefile (strop-tests): Add strncasecmp.
58023 * string/test-strncasecmp.c: New file.
58025 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58028 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58029 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58031 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58033 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58035 2010-08-12 Ulrich Drepper <drepper@redhat.com>
58037 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58038 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58039 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58041 2010-05-01 Alan Modra <amodra@gmail.com>
58043 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58044 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58045 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58046 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58047 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58048 tidying. Don't tail-call __sigjmp_save for static lib.
58049 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58051 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58052 (CALL_MCOUNT): Add eh info, and nop after bl.
58053 (TAIL_CALL_SYSCALL_ERROR): New macro.
58054 (PSEUDO_RET): Use it.
58055 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58056 Correct save location of integer regs and cr.
58057 (_dl_profile_resolve): Correct cr save location. Delete nops
58058 after bl when SHARED. Reduce cfi size a little by better
58059 placement of cfi directives.
58060 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58061 make a stack frame. Instead use parm save area as a temp.
58062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58063 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58065 Don't make a stack frame for parent, use parm save area.
58066 Increase child stack frame to 112 bytes. Don't save unused reg,
58067 and adjust reg usage. Set up cfi on error recovery and
58068 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58070 (__makecontext): Add dummy nop after jump to exit.
58071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58072 Use correct parm save area and cr save, reduce stack frame.
58073 Correct cfi for possible PSEUDO_RET frame setup.
58074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58075 Branch to local label emitted by PSEUDO_RET rather than
58078 2010-08-12 Andreas Schwab <schwab@redhat.com>
58081 * locale/programs/locale.c (print_assignment): New function.
58082 (show_locale_vars): Use it.
58084 2010-08-11 Ulrich Drepper <drepper@redhat.com>
58086 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58088 (struct statfs64): Likewise.
58089 (_STATFS_F_FLAGS): Define.
58090 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58091 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58092 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58093 (ST_VALID): Define locally.
58094 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58095 __statvfs_getflags, use the provided value.
58096 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58097 __ASSUME_STATFS_F_FLAGS.
58099 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58101 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58102 Add sys/fanotify.h.
58103 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58104 fanotify_mask for GLIBC_2.13.
58105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58106 fanotify_init and fanotify_mark.
58107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58108 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58110 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58112 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58113 prlimit64 for GLIBC_2.13.
58114 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58116 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58119 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58120 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58121 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58124 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58127 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58128 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58130 * nss/Makefile: Add rules to build and run tst-nss-test1.
58131 * shlib-versions: Add entry for libnss_test1.
58132 * nss/nss_test1.c: New file.
58133 * nss/tst-nss-test1.c: New file.
58135 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58136 (__nss_configure_lookup): Set appropriate entry in
58137 __nss_configure_lookup to true.
58138 * nss/nsswitch.h: Define enum with indeces of databases in
58139 databases and __nss_database_custom arrays. Declare
58140 __nss_database_custom.
58141 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58142 to avoid using nscd when custom rules are installed.
58143 * nss/getXXbyYY_r.c: Likewise.
58144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58146 * nss/nss_files/files-parse.c: Whitespace fixes.
58148 2010-08-09 Ulrich Drepper <drepper@redhat.com>
58151 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58152 * posix/fnmatch_loop.c: Likewise.
58154 2010-07-17 Andi Kleen <ak@linux.intel.com>
58156 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58157 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58158 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58159 * Versions.def [GLIBC_2.13]: Add.
58161 2010-08-06 Ulrich Drepper <drepper@redhat.com>
58163 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58164 Also fail if tpwd after pwuid call is NULL.
58166 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58168 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58169 when converting to ms.
58171 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58173 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58174 EOPNOTSUPP errors with ENOTTY.
58175 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58176 EOPNOTSUPP errors with ENOTTY.
58178 2010-07-31 Ulrich Drepper <drepper@redhat.com>
58180 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58181 Add strcasecmp_l-ssse3.
58182 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58184 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58185 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58186 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58188 2010-07-30 Ulrich Drepper <drepper@redhat.com>
58190 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58192 * string/Makefile (strop-tests): Add strcasecmp.
58193 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58194 strcasecmp_l-nonascii.
58195 (gen-as-const-headers): Add locale-defines.sym.
58196 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58197 * sysdeps/x86_64/strcasecmp.S: New file.
58198 * sysdeps/x86_64/strcasecmp_l.S: New file.
58199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58200 * sysdeps/x86_64/locale-defines.sym: New file.
58201 * string/test-strcasecmp.c: New file.
58203 * string/test-strcasestr.c: Test both ends of the range of characters.
58204 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58206 2010-07-29 Roland McGrath <roland@redhat.com>
58209 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58211 2010-07-27 Ulrich Drepper <drepper@redhat.com>
58213 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58216 2010-07-27 Andreas Schwab <schwab@redhat.com>
58218 * manual/memory.texi (Malloc Tunable Parameters): Document
58221 2010-07-26 Roland McGrath <roland@redhat.com>
58224 * configure.in (-fgnu89-inline check): Set and substitute
58225 gnu89_inline, not libc_cv_gnu89_inline.
58226 * configure: Regenerated.
58227 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58229 2010-07-26 Ulrich Drepper <drepper@redhat.com>
58231 * string/test-strnlen.c: New file.
58232 * string/Makefile (strop-tests): Add strnlen.
58233 * string/tester.c (test_strnlen): Add a few more test cases.
58234 * string/tst-strlen.c: Better error reporting.
58236 * sysdeps/x86_64/strnlen.S: New file.
58238 2010-07-24 Ulrich Drepper <drepper@redhat.com>
58240 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58241 lower-latency instructions.
58243 2010-07-23 Ulrich Drepper <drepper@redhat.com>
58245 * string/test-strcasestr.c: New file.
58246 * string/test-strstr.c: New file.
58247 * string/Makefile (strop-tests): Add strstr and strcasestr.
58248 * string/str-two-way.h: Don't undefine MAX.
58249 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58251 2010-07-21 Andreas Schwab <schwab@redhat.com>
58253 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58254 strcasestr-nonascii.
58255 (CFLAGS-strcasestr-nonascii.c): Define.
58256 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58257 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58258 Remove unused attribute.
58260 2010-07-20 Roland McGrath <roland@redhat.com>
58262 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58263 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58264 ld.so.cache was broken. With it, there is no way to disable dsocaps
58265 like LD_HWCAP_MASK can disable hwcaps.
58267 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58269 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58271 2010-07-16 Ulrich Drepper <drepper@redhat.com>
58273 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58274 call in strcasestr.
58275 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58276 __strcasestr_sse42_nonascii.
58277 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58278 strcasestr-nonascii.c.
58279 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58281 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
58283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58288 2010-07-09 Ulrich Drepper <drepper@redhat.com>
58290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58293 2010-07-06 Andreas Schwab <schwab@redhat.com>
58296 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58299 2010-07-06 Ulrich Drepper <drepper@redhat.com>
58301 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58302 _PC_PIPE_BUF using F_GETPIPE_SZ.
58304 2010-07-05 Roland McGrath <roland@redhat.com>
58306 * manual/arith.texi (Rounding Functions): Fix rint description
58307 implicit in round description.
58309 2010-07-02 Ulrich Drepper <drepper@redhat.com>
58311 * elf/Makefile: Fix linking for a few tests to make recent linker
58314 2010-06-30 Andreas Schwab <schwab@redhat.com>
58316 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58317 $(common-objpfx)libc_nonshared.a.
58319 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
58321 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58322 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58323 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58324 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58325 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58326 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58327 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58328 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58343 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58344 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58345 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58346 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58347 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58348 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58349 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58350 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58351 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58352 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58353 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58354 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58370 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58372 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58373 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58374 * string/memmove.c (memmove): Renamed to ...
58375 (MEMMOVE): ...this. Default to memmove.
58376 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58377 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58380 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58381 mempcpy-ssse3-back memmove-ssse3-back.
58382 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58385 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58386 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58387 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58388 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58389 * sysdeps/x86_64/multiarch/memmove.c: New file.
58390 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58391 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58392 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58393 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58394 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58397 (index_Fast_Copy_Backward): Define.
58398 (HAS_ARCH_FEATURE): Define.
58399 (HAS_FAST_REP_STRING): Define.
58400 (HAS_FAST_COPY_BACKWARD): Define.
58402 2010-06-21 Andreas Schwab <schwab@redhat.com>
58404 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58405 Restore proper fallback handling.
58407 2010-06-19 Ulrich Drepper <drepper@redhat.com>
58410 * posix/group_member.c (__group_member): Correct checking loop.
58412 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58413 OOM in getpwuid_r correctly. Return error number when the caller
58414 should return, otherwise -1.
58415 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58416 call returning > 0 value.
58417 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58419 2010-06-07 Andreas Schwab <schwab@redhat.com>
58421 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58422 libc_nonshared.a from targets in modules-names.
58424 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58426 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58429 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58431 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58432 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58433 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58434 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58436 2010-06-02 Andreas Schwab <schwab@redhat.com>
58438 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58440 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58442 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58444 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58448 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58451 2010-06-14 Roland McGrath <roland@redhat.com>
58453 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58455 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58457 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58458 __REDIRECT followed by __THROW.
58459 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58460 * posix/getopt.h (getopt): Likewise.
58462 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58464 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58465 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58466 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58468 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58469 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58471 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58473 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58475 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58479 Properly check family and model.
58481 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58483 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58485 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58487 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58489 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58491 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58494 2010-05-19 Andreas Schwab <schwab@redhat.com>
58496 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58499 2010-05-21 Andreas Schwab <schwab@redhat.com>
58501 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58502 and internal_recvmmsg.
58503 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58504 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58505 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58506 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58508 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58509 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58510 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58512 2010-05-20 Andreas Schwab <schwab@redhat.com>
58514 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58516 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58518 POWER7 optimizations.
58519 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58520 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58522 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58524 * version.h: Update for 2.13 development version.
58526 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58528 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58529 exceptions. Return 0.
58531 2010-05-07 Roland McGrath <roland@redhat.com>
58533 * elf/ldconfig.c (main): Add a const.
58535 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58537 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58538 (args_options): Add no-idn option.
58539 (ahosts_keys_int): Add idn_flags to ai_flags.
58540 (parse_option): Handle 'i' option to clear idn_flags.
58542 * malloc/malloc.c (_int_free): Possible race in the most recently
58543 added check. Only act on the data if no current modification
58546 See ChangeLog.17 for earlier changes.